1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 10:49:42 +02:00
Commit Graph

187 Commits

Author SHA1 Message Date
nbd
f0d9d1c41e 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
nbd
19c86039d4 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
nbd
04ef4865b8 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
nbd
76e5e7f14f 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
jow
6a60df432a [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
nbd
d0cdb27a60 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
nbd
124f6910b1 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
nbd
a6e86dfede 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
nbd
f85a85d1d6 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
nbd
acbc4c5f95 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
acinonyx
639be1ec81 [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
nbd
a1b087b681 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
jow
7438476abb 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 21:25:39 +00:00
nbd
2af1cd58ef hostapd: do not restrict ht capabilities for ap+sta
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 15:17:09 +00:00
jow
86882a55f9 [PATCH] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:11:04 +00:00
nbd
948b704843 hostapd: backport a fix for setting the IFF_RUNNING flag on AP mode interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 13:47:12 +00:00
nbd
4bf9ff2029 hostapd: fix wpa_supplicant standalone compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 21:31:05 +00:00
nbd
e20ce56364 hostapd: fix AP+STA reconnects
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 00:19:34 +00:00
nbd
41d31fda90 hostapd: remove some unnecessary debugging code from the last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:45:41 +00:00
nbd
225812219e hostapd/mac80211: implement support for AP+STA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:39:54 +00:00
nbd
ab9f95b4da hostapd: fix SIGHUP for multi-bss
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:39:49 +00:00
nbd
8d0c7fef50 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
nbd
030acaa780 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
nbd
3fe81b1be7 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
acinonyx
38a075f274 [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
nbd
0e2c7a58c1 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
nbd
221490f6b4 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
nbd
115b6d53ff 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
nbd
49a3b6a554 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
nbd
fdc17c5625 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
nbd
3e4cfbc540 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
jow
60a32ced82 [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
jow
b49acf1288 [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
jow
2a5d5e669d [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
jow
fae5b998c5 [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
nbd
7d292304ac 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
nbd
ceeb83ab37 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
nbd
1420b2f40b 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
nbd
ad35c2c69e 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
nbd
09eb5bc27f 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
nbd
4ccd13ebfa 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
jow
4018c96b60 [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
juhosg
9e41f39fb6 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
juhosg
517dcf8d8b 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
nbd
cc17e10938 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
thepeople
1096da2e3c 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
thepeople
913ec84fef 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
thepeople
1e54b33b01 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
thepeople
bc38a415b6 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
jow
0e89584a5c [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