Commit graph

220 commits

Author SHA1 Message Date
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
Felix Fietkau
d80884021d hostapd: fix wpa_supplicant standalone compile
SVN-Revision: 23625
2010-10-24 21:31:05 +00:00
Felix Fietkau
4d9c7b1a4b hostapd: fix AP+STA reconnects
SVN-Revision: 23604
2010-10-24 00:19:34 +00:00
Felix Fietkau
025462a706 hostapd: remove some unnecessary debugging code from the last commit
SVN-Revision: 23603
2010-10-23 23:45:41 +00:00
Felix Fietkau
35cdc5d722 hostapd/mac80211: implement support for AP+STA
SVN-Revision: 23602
2010-10-23 23:39:54 +00:00
Felix Fietkau
0fbff7de83 hostapd: fix SIGHUP for multi-bss
SVN-Revision: 23601
2010-10-23 23:39:49 +00:00
Felix Fietkau
8cd8f6029c hostapd: fix non-multicall wpa_supplicant compile
SVN-Revision: 23073
2010-09-15 17:51:06 +00:00
Felix Fietkau
7fb3870671 hostapd: fix wpa_supplicant crash issues in WDS STA mode
SVN-Revision: 23067
2010-09-15 03:14:48 +00:00
Felix Fietkau
d23ca9f0f3 hostapd: backport a fix to check for STA STBC capabilities before setting them (fixes #7464)
SVN-Revision: 22854
2010-08-31 16:16:32 +00:00
Vasilis Tsiligiannis
1beef305cf hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
SVN-Revision: 22527
2010-08-08 10:46:24 +00:00
Felix Fietkau
ae2c9dcb2b move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues
SVN-Revision: 22304
2010-07-20 01:54:16 +00:00
Felix Fietkau
1d45111aa5 hostapd: make rfkill support optional
SVN-Revision: 22101
2010-07-08 18:36:22 +00:00
Felix Fietkau
ca4a8b1bee hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
SVN-Revision: 22100
2010-07-08 18:36:17 +00:00
Felix Fietkau
4c0da9863a hostapd: enable WPS for the full version of hostapd/wpa_supplicant/wpad
SVN-Revision: 22098
2010-07-08 18:36:07 +00:00
Felix Fietkau
af6d19ac96 hostapd: update to 2010-07-05
SVN-Revision: 22097
2010-07-08 18:35:15 +00:00
Felix Fietkau
ce95b395a2 add missing dependencies for hostapd-utils and wpa-cli (#7421)
SVN-Revision: 22052
2010-07-03 23:32:45 +00:00
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