Commit Graph

166 Commits (f7e576d8a7a882a5f6db558be256c1e216f86053)

Author SHA1 Message Date
Felix Fietkau dbd32699e8 hostapd: fix non-multicall wpa_supplicant compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 17:51:06 +00:00
Felix Fietkau 2c99d87747 hostapd: fix wpa_supplicant crash issues in WDS STA mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 03:14:48 +00:00
Felix Fietkau 80340ebdad hostapd: backport a fix to check for STA STBC capabilities before setting them (fixes #7464)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 16:16:32 +00:00
Vasilis Tsiligiannis 3bad36fbaf [package] hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 10:46:24 +00:00
Felix Fietkau 211bacfc87 move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:16 +00:00
Felix Fietkau 7c5114a298 hostapd: make rfkill support optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:22 +00:00
Felix Fietkau b94a8c0025 hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:17 +00:00
Felix Fietkau f18b70de7c hostapd: enable WPS for the full version of hostapd/wpa_supplicant/wpad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:07 +00:00
Felix Fietkau 4e3b1b46e5 hostapd: update to 2010-07-05
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:35:15 +00:00
Felix Fietkau 2f0e4377bd add missing dependencies for hostapd-utils and wpa-cli (#7421)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-03 23:32:45 +00:00
Jo-Philipp Wich 68d2ffe6c7 [package] hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 21:24:30 +00:00
Jo-Philipp Wich 38caa87e55 [package] hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 21:03:56 +00:00
Jo-Philipp Wich 63f2a286ce [package] hostapd: forgot the actual change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-16 20:28:11 +00:00
Jo-Philipp Wich 6223ca579c [package] hostapd: properly read eap_type from configuration when setting up wpa-supplicant, fixes WPA Enterprise in client mode (#7476)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-16 20:24:09 +00:00
Felix Fietkau a0744253b6 hostapd: fix line reordering leading to segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 23:38:15 +00:00
Felix Fietkau 69efd9371a wpa_supplicant: fix issues with the nl80211 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 22:03:49 +00:00
Felix Fietkau ebf5ee501b hostapd: add ap isolate support for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 23:08:03 +00:00
Felix Fietkau 2b3ae4b005 hostapd: update to 20100418 (0.7.2)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 17:24:07 +00:00
Felix Fietkau 52d29475e0 hostapd: fix segmentation fault on non-mac80211 drivers (#7202)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 21:25:14 +00:00
Felix Fietkau 8ec7ce619a hostapd: fix basic rate selection for 5ghz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 15:08:29 +00:00
Jo-Philipp Wich bba1d4a53c [package] hostapd: fixup madwifi turbo modes (#7060)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 15:16:33 +00:00
Gabor Juhos 5c331607b9 hostapd: fix build error caused by r20631
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 15:34:51 +00:00
Gabor Juhos 5c12503a18 hostapd: enable CONFIG_IEEE80211N for the rt2800 driver as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:31 +00:00
Felix Fietkau 641fd8fec8 hostapd: clean up openssl tls dependencies and build handling (fixes #6572)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 17:09:52 +00:00
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