Commit Graph

142 Commits (3056f3aaa4de30050c32b5e81425eb889af2e7e9)

Author SHA1 Message Date
Travis Kemen bbdbc3b43b When enabling MFP, hostapd will read assoc_sa_query_max_timeout and
assoc_sa_query_retry_timeout from it's config file. Make these options
configurable in /etc/config/wireless. To make it clear that these
options are 802.11w related, I named them ieee80211w_max_timeout and
ieee80211w_retry_timeout instead.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:23:10 +00:00
Travis Kemen 3f7af4ef3e Enable management frame protection in hostapd, and make it configurable
in /etc/config/wireless. Since ath9k is currently the only driver that
supports MFP, it will only be enabled when ath9k is enabled.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:22:19 +00:00
Travis Kemen 650507a240 Enable management frame protection in wpa_supplicant, and make it
configurable in /etc/config/wireless.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:21:28 +00:00
Travis Kemen fd9e31f189 Cleanup redundant psk handling code in wpa_supplicant.sh.
(I sent this one to openwrt-devel before, but I am resending it as part of
this series because the next patch will also edit wpa_supplicant.sh).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:19:42 +00:00
Jo-Philipp Wich c456468ee3 [package] hostapd: always strip "11" from hwmode value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 22:35:58 +00:00
Nicolas Thill 69a27402c3 [package] use a common way of marking packages as not supported on specific targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 04:12:57 +00:00
Felix Fietkau eed6c55152 hostapd: restore wds sta state after the sta reassociates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:33:24 +00:00
Felix Fietkau d16b006295 hostapd: remove the hotplug script for adding wds station interfaces to a bridge - it suffers from race conditions. instead let hostapd add the interfaces to the bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:16:38 +00:00
Felix Fietkau 96f8b64220 hostapd: fix setting the station vlan for wds stations on reauthentication
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:16:32 +00:00
Felix Fietkau b93bed19e1 hostapd: upgrade to 20100309
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 17:36:10 +00:00
Felix Fietkau 0c1854f843 wpa_supplicant: fix bridging settings for wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 17:35:59 +00:00
Felix Fietkau 2ba4b4f580 hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:34:44 +00:00
Felix Fietkau 35458f9fd6 mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.

With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.

Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:07:21 +00:00
Felix Fietkau f1cb690aaa hostapd: select crda if mac80211 is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 18:29:03 +00:00
Felix Fietkau 1b563f5935 hostapd: fix wpad compile on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 18:28:46 +00:00
Felix Fietkau c285e5705b hostapd: move the roboswitch config override to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 18:28:42 +00:00
Felix Fietkau 7be190edbd mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 13:42:14 +00:00
Felix Fietkau 1374dbd04d hostapd: fix a segfault in the error path of the nl80211 bss interface add function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-02 02:51:06 +00:00
Felix Fietkau 6dd2997539 add me as a maintainer for a few other packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:24:55 +00:00
Felix Fietkau 74a7c7c3eb hostapd: fix segfault in mac80211 wds ap handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 16:08:02 +00:00
Felix Fietkau 985bb03e61 wpa_supplicant: add missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 21:48:37 +00:00
Felix Fietkau 890c1bdcbe hostapd: fix wpad compile error by preventing make spam from showing up in the cflags/ldflags dump files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 18:25:04 +00:00
Felix Fietkau c3a65ffc05 hostapd: fix compile error in the roboswitch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 15:12:57 +00:00
Felix Fietkau 0a45b1733b hostapd: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 14:33:42 +00:00
Felix Fietkau 0f6446ce4c hostapd: add a build variant for wpa_supplicant and one for a multicall hostapd+supplicant program (wpad) and remove the old wpa_supplicant package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 08:28:26 +00:00
Felix Fietkau 7b22da898b mac80211: restructure /lib/wifi/mac80211.sh
use the new multi-bss single instance hostapd mode
move mac80211 specific bits out of /lib/wifi/hostapd.sh
add a new option 'htmode' for switching between HT20 and HT40+,HT40-

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 02:26:05 +00:00
Felix Fietkau ace5b9f653 hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 02:26:00 +00:00
Felix Fietkau d508091f1e hostapd: remove all object files on config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19 18:23:06 +00:00
Felix Fietkau 4fc3bf3561 hostapd: fix compile error with madwifi enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 21:25:40 +00:00
Felix Fietkau 269f2b2c22 hostapd: upgrade to latest version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 16:55:19 +00:00
Felix Fietkau daddb72ac8 hostapd: parse the option for hiding the ESSID (#6310)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 19:10:54 +00:00
Felix Fietkau e99873dd96 hostapd: update to latest git, fixes ampdu settings in the beacon HT IE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 16:56:38 +00:00
Felix Fietkau 8f88338313 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 14:13:47 +00:00
Felix Fietkau 9ddb6d845c hostapd: fix rebuild checks (#6210)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-23 17:12:54 +00:00
Felix Fietkau 0f48fd8058 build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 07:08:39 +00:00
Hauke Mehrtens 1cd73da326 [hostapd-utils] fix build of hostapd-utils
This fixes #6158.
Thank you Will Dyson for your patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-14 12:21:25 +00:00
Felix Fietkau 6689068b34 hostapd: fix endian bugs in STA HT capability handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 14:15:13 +00:00
Felix Fietkau 0cd687487e hostapd: fix HT40 BSS scan checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 14:15:09 +00:00
Felix Fietkau 7e5995898f mac80211: fix a race condition when bringing up wds sta interfaces on the ap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 16:32:09 +00:00
Felix Fietkau 52b1e9bd2b hostapd: automatically add wds sta interfaces of an ap to the right bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 05:15:55 +00:00
Felix Fietkau 46b2f0a154 hostapd: implement wds ap support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 05:15:51 +00:00
Felix Fietkau 388ec02291 hostapd: update to latest git, remove openssl dependency for hostapd-full, it works with internal crypto now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 00:34:42 +00:00
Felix Fietkau a4bee0e590 hostapd: use the new build variants feature to clean up the makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 22:00:59 +00:00
Felix Fietkau 2f8e54f673 mac80211: fill some important capabilities into ht_capab in the hostapd config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 21:53:49 +00:00
Felix Fietkau 53c6087f48 hostapd: make compilation of the hostap driver conditional - saves 10k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:14:57 +00:00
Felix Fietkau 27c31f11b1 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:55:59 +00:00
Felix Fietkau a86094d4c7 hostapd: initialize wme to sane values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 18:55:03 +00:00
Florian Fainelli 88a05e95b0 [package] add additions from (#5149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-14 13:06:34 +00:00
Vasilis Tsiligiannis 8b4de5446f [package] hostapd: Remove deprecated 'debug' configuration variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 22:14:21 +00:00
Felix Fietkau 6e4e1d749f hostapd: prefer built-in crypto header files over external ones from STAGING_DIR (thx, russell)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 02:54:29 +00:00