Commit graph

185 commits

Author SHA1 Message Date
Jo-Philipp Wich
5f895af9fb hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na
SVN-Revision: 22000
2010-06-30 21:24:30 +00:00
Jo-Philipp Wich
f391ff4ec8 hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
SVN-Revision: 21998
2010-06-30 21:03:56 +00:00
Jo-Philipp Wich
4289fa555e hostapd: forgot the actual change in previous commit
SVN-Revision: 21821
2010-06-16 20:28:11 +00:00
Jo-Philipp Wich
0d41e013c3 hostapd: properly read eap_type from configuration when setting up wpa-supplicant, fixes WPA Enterprise in client mode (#7476)
SVN-Revision: 21820
2010-06-16 20:24:09 +00:00
Felix Fietkau
4c1eacdd5a hostapd: fix line reordering leading to segfaults
SVN-Revision: 21323
2010-05-02 23:38:15 +00:00
Felix Fietkau
fd61253b66 wpa_supplicant: fix issues with the nl80211 driver
SVN-Revision: 21320
2010-05-02 22:03:49 +00:00
Felix Fietkau
db8b1922fc hostapd: add ap isolate support for mac80211
SVN-Revision: 21179
2010-04-26 23:08:03 +00:00
Felix Fietkau
b6ea79a06b hostapd: update to 20100418 (0.7.2)
SVN-Revision: 21142
2010-04-24 17:24:07 +00:00
Felix Fietkau
605fbb51ce hostapd: fix segmentation fault on non-mac80211 drivers (#7202)
SVN-Revision: 21065
2010-04-20 21:25:14 +00:00
Felix Fietkau
b131ab7914 hostapd: fix basic rate selection for 5ghz
SVN-Revision: 21043
2010-04-20 15:08:29 +00:00
Jo-Philipp Wich
38b256105d hostapd: fixup madwifi turbo modes (#7060)
SVN-Revision: 20675
2010-04-03 15:16:33 +00:00
Gabor Juhos
51670777c4 hostapd: fix build error caused by r20631
SVN-Revision: 20638
2010-03-31 15:34:51 +00:00
Gabor Juhos
b770d95485 hostapd: enable CONFIG_IEEE80211N for the rt2800 driver as well
SVN-Revision: 20631
2010-03-31 09:58:31 +00:00
Felix Fietkau
744a57c58f hostapd: clean up openssl tls dependencies and build handling (fixes #6572)
SVN-Revision: 20547
2010-03-28 17:09:52 +00:00
Travis Kemen
7a00430b3e 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>

SVN-Revision: 20397
2010-03-24 00:23:10 +00:00
Travis Kemen
22b92b3e13 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>

SVN-Revision: 20396
2010-03-24 00:22:19 +00:00
Travis Kemen
21f006f156 Enable management frame protection in wpa_supplicant, and make it configurable in /etc/config/wireless.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 20395
2010-03-24 00:21:28 +00:00
Travis Kemen
e74fbc183b 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>

SVN-Revision: 20394
2010-03-24 00:19:42 +00:00
Jo-Philipp Wich
90c566f557 hostapd: always strip "11" from hwmode value
SVN-Revision: 20363
2010-03-21 22:35:58 +00:00
Nicolas Thill
b4e99d33d9 use a common way of marking packages as not supported on specific targets
SVN-Revision: 20117
2010-03-10 04:12:57 +00:00
Felix Fietkau
5c02f218be hostapd: restore wds sta state after the sta reassociates
SVN-Revision: 20108
2010-03-09 21:33:24 +00:00
Felix Fietkau
ad1507756b 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
SVN-Revision: 20104
2010-03-09 21:16:38 +00:00
Felix Fietkau
875b9fc0ae hostapd: fix setting the station vlan for wds stations on reauthentication
SVN-Revision: 20103
2010-03-09 21:16:32 +00:00
Felix Fietkau
1aa0192b94 hostapd: upgrade to 20100309
SVN-Revision: 20090
2010-03-09 17:36:10 +00:00
Felix Fietkau
7fdbfef92f wpa_supplicant: fix bridging settings for wds
SVN-Revision: 20088
2010-03-09 17:35:59 +00:00
Felix Fietkau
31cfd93be4 hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
SVN-Revision: 19720
2010-02-19 01:34:44 +00:00
Felix Fietkau
d692a2340c 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.

SVN-Revision: 19718
2010-02-19 01:07:21 +00:00
Felix Fietkau
63b1d06a31 hostapd: select crda if mac80211 is selected
SVN-Revision: 19667
2010-02-16 18:29:03 +00:00
Felix Fietkau
756b82b7ec hostapd: fix wpad compile on powerpc
SVN-Revision: 19663
2010-02-16 18:28:46 +00:00
Felix Fietkau
002a278972 hostapd: move the roboswitch config override to the right place
SVN-Revision: 19662
2010-02-16 18:28:42 +00:00
Felix Fietkau
e1efddf19b mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
SVN-Revision: 19550
2010-02-08 13:42:14 +00:00
Felix Fietkau
4c776cf093 hostapd: fix a segfault in the error path of the nl80211 bss interface add function
SVN-Revision: 19496
2010-02-02 02:51:06 +00:00
Felix Fietkau
c830d6cfe7 add me as a maintainer for a few other packages
SVN-Revision: 19439
2010-01-31 12:24:55 +00:00
Felix Fietkau
d780bbd5ff hostapd: fix segfault in mac80211 wds ap handling
SVN-Revision: 19420
2010-01-30 16:08:02 +00:00
Felix Fietkau
6f0883ae22 wpa_supplicant: add missing dependencies
SVN-Revision: 19333
2010-01-25 21:48:37 +00:00
Felix Fietkau
74d986abeb hostapd: fix wpad compile error by preventing make spam from showing up in the cflags/ldflags dump files
SVN-Revision: 19295
2010-01-23 18:25:04 +00:00
Felix Fietkau
8499c45a73 hostapd: fix compile error in the roboswitch driver
SVN-Revision: 19290
2010-01-23 15:12:57 +00:00
Felix Fietkau
8e07eba864 hostapd: fix build error
SVN-Revision: 19289
2010-01-23 14:33:42 +00:00
Felix Fietkau
64268c7165 hostapd: add a build variant for wpa_supplicant and one for a multicall hostapd+supplicant program (wpad) and remove the old wpa_supplicant package
SVN-Revision: 19286
2010-01-23 08:28:26 +00:00
Felix Fietkau
ba7bfddaae 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-
SVN-Revision: 19235
2010-01-20 02:26:05 +00:00
Felix Fietkau
c61daab867 hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance
SVN-Revision: 19234
2010-01-20 02:26:00 +00:00
Felix Fietkau
43c96ad50c hostapd: remove all object files on config changes
SVN-Revision: 19229
2010-01-19 18:23:06 +00:00
Felix Fietkau
8ed8fe14b2 hostapd: fix compile error with madwifi enabled
SVN-Revision: 19080
2010-01-08 21:25:40 +00:00
Felix Fietkau
c40e11d79e hostapd: upgrade to latest version
SVN-Revision: 19077
2010-01-08 16:55:19 +00:00
Felix Fietkau
b4ea1b0ac3 hostapd: parse the option for hiding the ESSID (#6310)
SVN-Revision: 18727
2009-12-09 19:10:54 +00:00
Felix Fietkau
4ca03b54ee hostapd: update to latest git, fixes ampdu settings in the beacon HT IE
SVN-Revision: 18606
2009-11-29 16:56:38 +00:00
Felix Fietkau
7e3d67e546 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
SVN-Revision: 18602
2009-11-29 14:13:47 +00:00
Felix Fietkau
79fcadc146 hostapd: fix rebuild checks (#6210)
SVN-Revision: 18497
2009-11-23 17:12:54 +00:00
Felix Fietkau
f1da5431bb build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
SVN-Revision: 18464
2009-11-22 07:08:39 +00:00
Hauke Mehrtens
ac141eb667 fix build of hostapd-utils
This fixes #6158.
Thank you Will Dyson for your patch.

SVN-Revision: 18417
2009-11-14 12:21:25 +00:00
Felix Fietkau
2913dec9f1 hostapd: fix endian bugs in STA HT capability handling
SVN-Revision: 18405
2009-11-12 14:15:13 +00:00
Felix Fietkau
3036844666 hostapd: fix HT40 BSS scan checks
SVN-Revision: 18404
2009-11-12 14:15:09 +00:00
Felix Fietkau
c8c6f7ec39 mac80211: fix a race condition when bringing up wds sta interfaces on the ap
SVN-Revision: 18377
2009-11-11 16:32:09 +00:00
Felix Fietkau
5501cf6ed8 hostapd: automatically add wds sta interfaces of an ap to the right bridge
SVN-Revision: 18365
2009-11-11 05:15:55 +00:00
Felix Fietkau
36eccaad21 hostapd: implement wds ap support
SVN-Revision: 18364
2009-11-11 05:15:51 +00:00
Felix Fietkau
a8ea28ad90 hostapd: update to latest git, remove openssl dependency for hostapd-full, it works with internal crypto now
SVN-Revision: 18360
2009-11-11 00:34:42 +00:00
Felix Fietkau
8a89f203a0 hostapd: use the new build variants feature to clean up the makefile
SVN-Revision: 18358
2009-11-10 22:00:59 +00:00
Felix Fietkau
875d957512 mac80211: fill some important capabilities into ht_capab in the hostapd config
SVN-Revision: 18293
2009-11-04 21:53:49 +00:00
Felix Fietkau
a7cba046e6 hostapd: make compilation of the hostap driver conditional - saves 10k uncompressed
SVN-Revision: 18107
2009-10-20 21:14:57 +00:00
Felix Fietkau
6e9ada01c0 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051
2009-10-17 04:55:59 +00:00
Felix Fietkau
260d749684 hostapd: initialize wme to sane values
SVN-Revision: 17823
2009-10-02 18:55:03 +00:00
Florian Fainelli
838c1d7cd0 add additions from (#5149)
SVN-Revision: 16841
2009-07-14 13:06:34 +00:00
Vasilis Tsiligiannis
94b56b6c6c hostapd: Remove deprecated 'debug' configuration variable
SVN-Revision: 16594
2009-06-27 22:14:21 +00:00
Felix Fietkau
517728c9f7 hostapd: prefer built-in crypto header files over external ones from STAGING_DIR (thx, russell)
SVN-Revision: 16102
2009-05-27 02:54:29 +00:00
Felix Fietkau
0f632264ec fix more issues with libnl-tiny and eglibc
SVN-Revision: 15592
2009-05-04 16:13:46 +00:00
Felix Fietkau
f06689ce61 hostapd: use libnl-tiny instead of libnl
SVN-Revision: 15519
2009-04-30 18:11:01 +00:00
Nicolas Thill
7658ef1316 introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS
SVN-Revision: 15451
2009-04-27 15:53:00 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Hauke Mehrtens
e2f8f72041 hostapd only supports either b or g as hwmode configuration variable. If bg is set the scripts transfers it now to g mode.
SVN-Revision: 15182
2009-04-09 21:44:30 +00:00
Felix Fietkau
ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Hauke Mehrtens
1d970c0035 bump to version 0.6.9. Synced default.config and mini.config with upstream version.
SVN-Revision: 14992
2009-03-23 16:16:22 +00:00
Gabor Juhos
782ca84485 hostapd: add 11n mode and ht_capab option for hostapd
SVN-Revision: 14713
2009-03-01 18:02:49 +00:00
Nicolas Thill
21d7852de0 replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
2009-02-24 00:08:08 +00:00
Felix Fietkau
b29544b2c3 add country code option for hostapd (patch from #4675)
SVN-Revision: 14608
2009-02-22 02:46:04 +00:00
Gabor Juhos
620c50530f hostapd: update to 0.6.8
SVN-Revision: 14544
2009-02-17 20:21:02 +00:00
Felix Fietkau
7cb6d9f6a1 allow hostapd to continue, even if setting the country code fails
SVN-Revision: 14287
2009-01-30 19:33:09 +00:00
Felix Fietkau
408690fb74 fix hostapd startup for no-crypto configurations
SVN-Revision: 14276
2009-01-30 02:52:14 +00:00
Felix Fietkau
9bb8734d2e hostapd: add support for socket filtering to get rid of some of the massive cpu overhead with mac80211 drivers (backport from hostapd git repository)
SVN-Revision: 14225
2009-01-27 20:05:46 +00:00
Felix Fietkau
fe48f4cac0 hostapd: upgrade to 0.6.7 and conditionally enable 11n support (currently depends on ath9k)
SVN-Revision: 14224
2009-01-27 20:05:11 +00:00
Andy Boyett
aa59a08b45 hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
2009-01-15 07:50:11 +00:00
Andy Boyett
35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
2008-12-31 19:09:26 +00:00
Imre Kaloz
5e122b54bc bump hostapd to version 0.6.6
Signed-off-by: Roberto Riggio <roberto.riggio@create-net.org>

SVN-Revision: 13467
2008-12-02 13:19:56 +00:00
Andy Boyett
bc1b8ed25c bump to version 0.6.5 - updates driver_nl80211 to match changes in recent compat-wireless snapshots (for >= 2.6.27) - adds preliminary support for 802.11n to hostapd itself
SVN-Revision: 13275
2008-11-18 07:26:15 +00:00
Felix Fietkau
e050667baa fix typo
SVN-Revision: 13084
2008-10-30 22:49:15 +00:00
Felix Fietkau
a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
2008-10-29 17:26:49 +00:00
Felix Fietkau
9161a70235 fix hostapd a/g mode if only the channel is configured in the config
SVN-Revision: 13076
2008-10-29 15:52:58 +00:00
Felix Fietkau
1b5de1c105 fix hostapd race condition which breaks wpa with madwifi
SVN-Revision: 13075
2008-10-29 15:52:44 +00:00
Felix Fietkau
b0e7c7ba79 implement conditional dependencies for menuconfig and build deps
SVN-Revision: 12820
2008-10-01 21:26:19 +00:00
Felix Fietkau
69692e019a parse the a/g mode setting in /etc/config/wireless when setting up hostapd (instead of hardcoding it to g)
SVN-Revision: 12673
2008-09-23 18:18:21 +00:00
Florian Fainelli
6b04ad55f9 A WPA(2) pre-shared key can either be specified as a 8 to 63 character passphrase which is hashed to a 256 bit key together with the SSID, or a 64 character hex key. Currently, the latter option is supported by the broadcom wifi type, but no by hostapd. The attached patch allows using a 64 character hex key. (#3935)
Signed-off-by: thomas@archlinux.org

SVN-Revision: 12394
2008-08-26 17:19:00 +00:00
Florian Fainelli
6c56733f40 Fix hostapd with open access point and per-device configuration, thanks sn9
SVN-Revision: 12375
2008-08-23 21:21:04 +00:00
Florian Fainelli
2a888f2e23 Update hostapd to 0.6.4
SVN-Revision: 12298
2008-08-13 19:32:40 +00:00
Florian Fainelli
6ce90189ad Fix hostapd compilation which was broken only for 2.6.25 (#3733). Thanks to Hauke Mehrtens.
SVN-Revision: 11763
2008-07-10 14:23:06 +00:00
Florian Fainelli
216556954e Update hostapd to 0.6.3 (#3615)
SVN-Revision: 11738
2008-07-07 13:49:36 +00:00
Peter Denison
ea8b4cb0d7 Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens. Fixes #3501
SVN-Revision: 11407
2008-06-08 20:19:19 +00:00
Travis Kemen
b35e663111 add wpa-eap uci configs Signed-off-by: David Bird <david@coova.com>
SVN-Revision: 11355
2008-06-04 18:18:58 +00:00
Florian Fainelli
f0e627da97 Fix hostapd compilation errors on STA_INFO (#3308)
SVN-Revision: 10784
2008-04-10 14:28:14 +00:00
Travis Kemen
fe7e52b4fa change psk back to key
SVN-Revision: 10488
2008-02-18 23:40:31 +00:00
Michael Büsch
b09be5c15e hostapd: Disable driver_nl80211 if mac80211 is not built
SVN-Revision: 10481
2008-02-17 17:02:02 +00:00
Michael Büsch
7a62cb1f15 hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
SVN-Revision: 10478
2008-02-17 13:30:24 +00:00