Commit Graph

64 Commits (de4fdd0ce61f9ca76d5c6eca43a1c1957e5d411f)

Author SHA1 Message Date
Jo-Philipp Wich f1ac8cf285 hostapd: allow mixed TKIP/CCMP for 11n
SVN-Revision: 25543
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Vasilis Tsiligiannis 87cba7eb46 hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant (#8164)
SVN-Revision: 23817
14 years ago
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
14 years ago
Felix Fietkau 35cdc5d722 hostapd/mac80211: implement support for AP+STA
SVN-Revision: 23602
14 years ago
Vasilis Tsiligiannis 1beef305cf hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
SVN-Revision: 22527
14 years ago
Felix Fietkau ca4a8b1bee hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
SVN-Revision: 22100
14 years ago
Felix Fietkau 4c0da9863a hostapd: enable WPS for the full version of hostapd/wpa_supplicant/wpad
SVN-Revision: 22098
14 years ago
Jo-Philipp Wich 5f895af9fb hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na
SVN-Revision: 22000
14 years ago
Jo-Philipp Wich f391ff4ec8 hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
SVN-Revision: 21998
14 years ago
Jo-Philipp Wich 4289fa555e hostapd: forgot the actual change in previous commit
SVN-Revision: 21821
14 years ago
Felix Fietkau db8b1922fc hostapd: add ap isolate support for mac80211
SVN-Revision: 21179
14 years ago
Jo-Philipp Wich 38b256105d hostapd: fixup madwifi turbo modes (#7060)
SVN-Revision: 20675
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Jo-Philipp Wich 90c566f557 hostapd: always strip "11" from hwmode value
SVN-Revision: 20363
15 years ago
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
15 years ago
Felix Fietkau 7fdbfef92f wpa_supplicant: fix bridging settings for wds
SVN-Revision: 20088
15 years ago
Felix Fietkau 31cfd93be4 hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
SVN-Revision: 19720
15 years ago
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
15 years ago
Felix Fietkau e1efddf19b mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
SVN-Revision: 19550
15 years ago
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
15 years ago
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
15 years ago
Felix Fietkau b4ea1b0ac3 hostapd: parse the option for hiding the ESSID (#6310)
SVN-Revision: 18727
15 years ago
Felix Fietkau 7e3d67e546 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
SVN-Revision: 18602
15 years ago
Felix Fietkau 5501cf6ed8 hostapd: automatically add wds sta interfaces of an ap to the right bridge
SVN-Revision: 18365
15 years ago
Felix Fietkau 36eccaad21 hostapd: implement wds ap support
SVN-Revision: 18364
15 years ago
Felix Fietkau a8ea28ad90 hostapd: update to latest git, remove openssl dependency for hostapd-full, it works with internal crypto now
SVN-Revision: 18360
15 years ago
Felix Fietkau 8a89f203a0 hostapd: use the new build variants feature to clean up the makefile
SVN-Revision: 18358
15 years ago
Felix Fietkau 875d957512 mac80211: fill some important capabilities into ht_capab in the hostapd config
SVN-Revision: 18293
15 years ago
Felix Fietkau 6e9ada01c0 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051
15 years ago
Felix Fietkau 260d749684 hostapd: initialize wme to sane values
SVN-Revision: 17823
15 years ago
Florian Fainelli 838c1d7cd0 add additions from (#5149)
SVN-Revision: 16841
15 years ago
Vasilis Tsiligiannis 94b56b6c6c hostapd: Remove deprecated 'debug' configuration variable
SVN-Revision: 16594
15 years ago
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
15 years ago
Felix Fietkau ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
16 years ago
Hauke Mehrtens 1d970c0035 bump to version 0.6.9. Synced default.config and mini.config with upstream version.
SVN-Revision: 14992
16 years ago
Gabor Juhos 782ca84485 hostapd: add 11n mode and ht_capab option for hostapd
SVN-Revision: 14713
16 years ago
Felix Fietkau b29544b2c3 add country code option for hostapd (patch from #4675)
SVN-Revision: 14608
16 years ago
Felix Fietkau 408690fb74 fix hostapd startup for no-crypto configurations
SVN-Revision: 14276
16 years ago
Felix Fietkau fe48f4cac0 hostapd: upgrade to 0.6.7 and conditionally enable 11n support (currently depends on ath9k)
SVN-Revision: 14224
16 years ago
Andy Boyett aa59a08b45 hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
16 years ago
Andy Boyett 35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
16 years ago
Felix Fietkau e050667baa fix typo
SVN-Revision: 13084
16 years ago
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
16 years ago