Commit graph

200 commits

Author SHA1 Message Date
Jo-Philipp Wich
964feeb54d hostapd: introduce "wpa_pair_rekey" and "wpa_master_rekey" options, remove hardcoded wpa rekey intervals, remove hardcoded radius_acct_interim_interval as it might overrule the radius Acct-Interim-Interval attribute
SVN-Revision: 28207
2011-09-09 18:19:18 +00:00
Felix Fietkau
a84e64e432 hostapd: add a workaround for driver issues in various android devices with texas instruments wifi
SVN-Revision: 28167
2011-09-04 18:23:36 +00:00
Felix Fietkau
44616eca49 Revert "hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)" This is causing regressions for other clients
SVN-Revision: 28141
2011-09-01 16:07:38 +00:00
Felix Fietkau
c8b4192518 hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
SVN-Revision: 28111
2011-08-29 08:23:13 +00:00
Jo-Philipp Wich
cfc23e4c49 hostapd: introduce options to configure the logging behaviour. The config wifi-device section gains the following settings: * log_level (2) - Defines the minimum message level * log_80211 (true) - Log 802.11 events * log_8021x (true) - Log 802.1X events * log_radius (true) - Log RADIUS events * log_wpa (true) - Log WPA events * log_driver (true) - Log driver interface messages * log_iapp (true) - Log IAPP events * log_mlme (true) - Log MLME events
SVN-Revision: 28056
2011-08-20 00:13:58 +00:00
Felix Fietkau
35463493e8 hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
SVN-Revision: 27830
2011-07-29 14:14:32 +00:00
Felix Fietkau
32868c1a00 hostapd: fix wds interface address handling for multi-bssid
SVN-Revision: 27823
2011-07-29 09:40:24 +00:00
Felix Fietkau
3712ca3f9b hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
SVN-Revision: 27822
2011-07-29 09:40:19 +00:00
Felix Fietkau
7bab9b2f30 hostapd: refresh patch
SVN-Revision: 27571
2011-07-09 07:28:00 +00:00
Felix Fietkau
8edcfc5bff hostapd: send EAPOL frames using the same WMM queue as management frames - fixes reconnect issues under load
SVN-Revision: 27570
2011-07-09 07:20:19 +00:00
Felix Fietkau
57d9c06f09 hostapd: only advertise a single encryption type via WPS if multiple are supported - fixes windows 7 interop issues
SVN-Revision: 27569
2011-07-09 07:19:55 +00:00
Felix Fietkau
6e9542e392 hostapd: fix a race condition related to assoc response tx status processing
SVN-Revision: 27022
2011-05-28 16:27:17 +00:00
Felix Fietkau
1b2b3be64d hostapd: update to 20110527, includes a client mode wpa auth fix
SVN-Revision: 27021
2011-05-28 16:27:12 +00:00
Felix Fietkau
2b5517934d wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
SVN-Revision: 26764
2011-04-26 19:16:25 +00:00
Felix Fietkau
cbbe49a1d8 hostapd: fix a few compile errors and warnings
SVN-Revision: 26751
2011-04-24 03:34:46 +00:00
Felix Fietkau
d7bdfca6d0 hostapd: update to 2011-04-21
SVN-Revision: 26749
2011-04-23 21:34:35 +00:00
Felix Fietkau
ea07da5fe5 hostapd: fix bridge handling for wds stations (#9257)
SVN-Revision: 26724
2011-04-19 15:41:49 +00:00
Alexandros C. Couloumbis
9ec445154e package/hostapd: cosmetic fix
SVN-Revision: 26644
2011-04-13 13:36:48 +00:00
Felix Fietkau
768877966d hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
SVN-Revision: 26611
2011-04-12 17:30:16 +00:00
Vasilis Tsiligiannis
9d54c7aaaf hostapd: add accounting configuration to hostapd uci script
Hello

This patch add accounting configuration in hostapd.sh
It also change "server, port, key" to "auth_server, auth_port, auth_secret" but keep backward compatibility
Please patch backfire & trunk

Thanks in advance.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 26482
2011-04-05 15:09:26 +00:00
Felix Fietkau
6811425955 hostapd: write a stampfile when the random pool has been initialized - fixes rejected assoc attempts after hostapd restart
SVN-Revision: 26415
2011-04-02 19:44:51 +00:00
Felix Fietkau
8807b396ce hostapd: update to 20110402, fixes issues with non-QoS clients
SVN-Revision: 26414
2011-04-02 19:44:47 +00:00
Felix Fietkau
08eca8da80 nl80211: send EAP frames as QoS data frames for QoS aware clients, should fix EAP rekeying timeout issues with intel clients (#8830)
SVN-Revision: 26367
2011-03-30 11:38:35 +00:00
Felix Fietkau
516440649b hostapd: add more wps config methods to the config
SVN-Revision: 26288
2011-03-25 14:01:05 +00:00
Felix Fietkau
85b859a2b6 hostapd: make entropy collection contribute to the kernel pool
SVN-Revision: 26272
2011-03-22 21:00:54 +00:00
Felix Fietkau
e822e20348 hostapd: update to 2011-02-21, use PKG_MIRROR_MD5SUM, includes fixes for WPS
SVN-Revision: 26261
2011-03-21 23:02:12 +00:00
Vasilis Tsiligiannis
0e5f8f6904 hostapd: fix non-multicall hostapd compile (#9074)
SVN-Revision: 26220
2011-03-18 11:03:12 +00:00
Felix Fietkau
a75791b855 hostapd: add a patch to remove some unnecessary control interface functionality
SVN-Revision: 26216
2011-03-18 02:15:52 +00:00
Felix Fietkau
de2b5158a1 hostapd: add a separate config symbol for 802.11n driver support
SVN-Revision: 26212
2011-03-17 20:21:28 +00:00
Vasilis Tsiligiannis
6b0faf40e7 hostapd: Fix hostap driver for multicall binary builds
SVN-Revision: 26203
2011-03-17 07:23:37 +00:00
Felix Fietkau
0670771013 hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit
SVN-Revision: 25821
2011-03-02 12:01:08 +00:00
Jo-Philipp Wich
f1ac8cf285 hostapd: allow mixed TKIP/CCMP for 11n
SVN-Revision: 25543
2011-02-15 08:49:45 +00:00
Felix Fietkau
240b10673d make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
SVN-Revision: 25518
2011-02-13 14:18:13 +00:00
Felix Fietkau
0e6529d50c hostapd: update to 20110117
SVN-Revision: 25094
2011-01-24 18:54:20 +00:00
Felix Fietkau
b60332deb0 hostapd: Create one control interface per virtual bssid
Previously hostapd created one control interface /var/run/hostapd-phyX
which only contained the first virtual bssid (for example wlan0). In
order to access the other virtual bssids with hostapd_cli add all
virtual bssids to /var/run/hostapd-phyX by specifying the ctrl_interface
parameter per bssid.

Previously the control interface looked like:
	/var/run/hostapd-phyX/wlan0

Now, the control interface looks like this:
	/var/run/hostapd-phyX/wlan0
	/var/run/hostapd-phyX/wlan1
	...

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24985
2011-01-14 10:52:54 +00:00
Felix Fietkau
58ed4ded0e hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24724
2010-12-19 11:56:49 +00:00
Felix Fietkau
7ecd1c7484 hostapd: Add CONFIG_FULL_DYNAMIC_VLAN=y to hostapd-full.config
This allows hostapd to make use of the config option
"vlan_tagged_interface" to automatically create bridge and
VLAN interfaces in a fully dynamic way.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24722
2010-12-19 11:48:38 +00:00
Felix Fietkau
d08bc913a8 hostapd: Allow rsn_preauth configuration
Hostapd can allow preauthentication for WPA2-EAP networks when
the interfaces through which preauthentication is allowed are
configured.

Add a new param "rsn_preauth=0/1" to the configuration that enables
or disables preauthentication on the according bridge interface.

Preauthentication for unbridged networks is not considered in this
patch.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24721
2010-12-19 11:48:31 +00:00
Jo-Philipp Wich
73f313d035 hostapd: terminate mainloop if interface setup fails, prevents blocking init or /sbin/wifi if an incorrect channel is configured
SVN-Revision: 24041
2010-11-19 22:02:52 +00:00
Felix Fietkau
a72af79590 hostapd: back out a problematic madwifi change that worked around some issues with wep in madwifi (which may no longer be necessary), but broke dynamic WEP in AP mode (fixes #8267)
SVN-Revision: 24032
2010-11-19 00:57:41 +00:00
Felix Fietkau
336c7f084d hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
SVN-Revision: 23987
2010-11-13 17:00:18 +00:00
Felix Fietkau
814af8484e hostapd: update to 2010-11-11
SVN-Revision: 23969
2010-11-11 22:39:19 +00:00
Felix Fietkau
c7b77f16c7 hostapd: add some wpa related madwifi fixes
SVN-Revision: 23933
2010-11-09 01:36:43 +00:00
Felix Fietkau
327d4d9f67 hostapd: update to 20101109, reorganize patches
SVN-Revision: 23932
2010-11-09 01:36:36 +00:00
Vasilis Tsiligiannis
87cba7eb46 hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
SVN-Revision: 23817
2010-11-03 10:39:29 +00:00
Felix Fietkau
e0194cb763 hostapd: move the madwifi segfault fix to the right place
SVN-Revision: 23738
2010-10-31 13:49:34 +00:00
Jo-Philipp Wich
434c8dbf33 package/hostapd: fix crash in atheros driver (#8143) hapd->driver->set_operstate may happen when the drv_priv data is not initialized yet, this leads to a null pointer deref in the atheros driver. Protect the operstate call with a check for hapd->drv_priv.
SVN-Revision: 23715
2010-10-29 21:25:39 +00:00
Felix Fietkau
c1d125fb33 hostapd: do not restrict ht capabilities for ap+sta
SVN-Revision: 23674
2010-10-27 15:17:09 +00:00
Jo-Philipp Wich
0280ac8c92 Set auth_algs in hostapd.conf, make it configurable for WEP Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable by setting the encryption parameter of a wifi-iface to contain "open" (1, open system), "shared" (2, shared key), or "mixed" (3, permits both open system and shared key.) For example, use "wep+shared" for shared key authentication. The default is default is "open" as it is more secure than "shared" (although WEP is pretty weak regardless.) For non-WEP, "open" is always used.
https://dev.openwrt.org/ticket/8120

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23655
2010-10-27 11:11:04 +00:00
Felix Fietkau
e9378aa3cd hostapd: backport a fix for setting the IFF_RUNNING flag on AP mode interfaces
SVN-Revision: 23641
2010-10-26 13:47:12 +00:00