Commit Graph

225 Commits (2e0cc81c4e45b72e87b204b572a1331846f94e27)

Author SHA1 Message Date
Jo-Philipp Wich b7bc4ddfee [package] hostapd: support optional argument for the -v switch of hostapd and wpa_supplicant to query build features, e.g. hostapd -veap to test whether 802.11i support is compiled in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-12 17:26:13 +00:00
Jo-Philipp Wich 6905093fe4 [package] hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 14:22:56 +00:00
Felix Fietkau a5cf1ab288 hostapd: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-04 01:05:26 +00:00
Felix Fietkau 8ec6f0785b wpa_supplicant: increase the time between scans to reduce the number of hw resets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-20 14:45:38 +00:00
Jo-Philipp Wich fda7c3c00d [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-09 18:19:18 +00:00
Felix Fietkau 548f9edbf6 hostapd: add a workaround for driver issues in various android devices with texas instruments wifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-04 18:23:36 +00:00
Felix Fietkau c4db0dfda6 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-01 16:07:38 +00:00
Felix Fietkau 2e01b38a49 hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 08:23:13 +00:00
Jo-Philipp Wich 4b2acb71d3 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-20 00:13:58 +00:00
Felix Fietkau 33195c7399 hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 14:14:32 +00:00
Felix Fietkau 811dd70b8f hostapd: fix wds interface address handling for multi-bssid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 09:40:24 +00:00
Felix Fietkau 63022944e0 hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 09:40:19 +00:00
Felix Fietkau 9d7cebdc61 hostapd: refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:28:00 +00:00
Felix Fietkau b9b3a6aa48 hostapd: send EAPOL frames using the same WMM queue as management frames - fixes reconnect issues under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:20:19 +00:00
Felix Fietkau e183a088f6 hostapd: only advertise a single encryption type via WPS if multiple are supported - fixes windows 7 interop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:19:55 +00:00
Felix Fietkau b132141413 hostapd: fix a race condition related to assoc response tx status processing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:17 +00:00
Felix Fietkau c8eee43263 hostapd: update to 20110527, includes a client mode wpa auth fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:12 +00:00
Felix Fietkau c9f66260cb wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:16:25 +00:00
Felix Fietkau e11d870f52 hostapd: fix a few compile errors and warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-24 03:34:46 +00:00
Felix Fietkau f1c3e8b659 hostapd: update to 2011-04-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:35 +00:00
Felix Fietkau 7890b013ad hostapd: fix bridge handling for wds stations (#9257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:49 +00:00
Alexandros C. Couloumbis c5d516084c package/hostapd: cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:36:48 +00:00
Felix Fietkau f1f27abcc6 hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:30:16 +00:00
Vasilis Tsiligiannis 8c41f9f5a3 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:26 +00:00
Felix Fietkau 4476475e2c hostapd: write a stampfile when the random pool has been initialized - fixes rejected assoc attempts after hostapd restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 19:44:51 +00:00
Felix Fietkau 83cdf40c16 hostapd: update to 20110402, fixes issues with non-QoS clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 19:44:47 +00:00
Felix Fietkau de6b568a35 nl80211: send EAP frames as QoS data frames for QoS aware clients, should fix EAP rekeying timeout issues with intel clients (#8830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 11:38:35 +00:00
Felix Fietkau 0f5d91cdb3 hostapd: add more wps config methods to the config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:01:05 +00:00
Felix Fietkau bb5c25babc hostapd: make entropy collection contribute to the kernel pool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 21:00:54 +00:00
Felix Fietkau 0e823a1b02 hostapd: update to 2011-02-21, use PKG_MIRROR_MD5SUM, includes fixes for WPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 23:02:12 +00:00
Vasilis Tsiligiannis a096779b2e [package] hostapd: fix non-multicall hostapd compile (#9074)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 11:03:12 +00:00
Felix Fietkau fe94a18ab7 hostapd: add a patch to remove some unnecessary control interface functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 02:15:52 +00:00
Felix Fietkau daf32f2647 hostapd: add a separate config symbol for 802.11n driver support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:21:28 +00:00
Vasilis Tsiligiannis 92f1bd7ff2 [package] hostapd: Fix hostap driver for multicall binary builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 07:23:37 +00:00
Felix Fietkau 25791aaf8d hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:01:08 +00:00
Jo-Philipp Wich 9f1a6bc1fb [package] hostapd: allow mixed TKIP/CCMP for 11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 08:49:45 +00:00
Felix Fietkau 6691444d9a make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:13 +00:00
Felix Fietkau aae45a32b9 hostapd: update to 20110117
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 18:54:20 +00:00
Felix Fietkau 10bb2b1329 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:52:54 +00:00
Felix Fietkau e1225a7328 hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:49 +00:00
Felix Fietkau cc2240d92f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:48:38 +00:00
Felix Fietkau 21adab3df5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:48:31 +00:00
Jo-Philipp Wich c55c75f1d0 [package] hostapd: terminate mainloop if interface setup fails, prevents blocking init or /sbin/wifi if an incorrect channel is configured
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 22:02:52 +00:00
Felix Fietkau 7ae3b77890 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 00:57:41 +00:00
Felix Fietkau 80be8166aa hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-13 17:00:18 +00:00
Felix Fietkau e6eb9ff254 hostapd: update to 2010-11-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 22:39:19 +00:00
Felix Fietkau 08d9982314 hostapd: add some wpa related madwifi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-09 01:36:43 +00:00
Felix Fietkau be617d74f8 hostapd: update to 20101109, reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-09 01:36:36 +00:00
Vasilis Tsiligiannis b848594c3c [package] hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 10:39:29 +00:00
Felix Fietkau 991fcbd272 hostapd: move the madwifi segfault fix to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 13:49:34 +00:00