Commit Graph

66 Commits (6c025a3167120ae374ba45a23d6d9067081cee49)

Author SHA1 Message Date
Felix Fietkau e1225a7328 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
Felix Fietkau cc2240d92f 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
Felix Fietkau 21adab3df5 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
Vasilis Tsiligiannis b848594c3c [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
Jo-Philipp Wich a90dcbc197 [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
Felix Fietkau f0a8a11ddf 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
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 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
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
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
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
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
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 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 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 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
Felix Fietkau daddb72ac8 hostapd: parse the option for hiding the ESSID (#6310)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 19:10:54 +00:00
Felix Fietkau 8f88338313 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 14:13:47 +00:00
Felix Fietkau 52b1e9bd2b hostapd: automatically add wds sta interfaces of an ap to the right bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 05:15:55 +00:00
Felix Fietkau 46b2f0a154 hostapd: implement wds ap support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 05:15:51 +00:00
Felix Fietkau 388ec02291 hostapd: update to latest git, remove openssl dependency for hostapd-full, it works with internal crypto now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 00:34:42 +00:00
Felix Fietkau a4bee0e590 hostapd: use the new build variants feature to clean up the makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 22:00:59 +00:00
Felix Fietkau 2f8e54f673 mac80211: fill some important capabilities into ht_capab in the hostapd config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 21:53:49 +00:00
Felix Fietkau 27c31f11b1 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:55:59 +00:00
Felix Fietkau a86094d4c7 hostapd: initialize wme to sane values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 18:55:03 +00:00
Florian Fainelli 88a05e95b0 [package] add additions from (#5149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-14 13:06:34 +00:00
Vasilis Tsiligiannis 8b4de5446f [package] hostapd: Remove deprecated 'debug' configuration variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 22:14:21 +00:00
Hauke Mehrtens c73ea5d9b2 [hostapd] hostapd only supports either b or g as hwmode configuration variable.
If bg is set the scripts transfers it now to g mode.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 21:44:30 +00:00
Felix Fietkau 9899ab0de2 wifi: fix hostapd + autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-27 21:14:59 +00:00
Hauke Mehrtens f5965e6550 [hostapd] bump to version 0.6.9.
Synced default.config and mini.config with upstream version.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 16:16:22 +00:00
Gabor Juhos 9c39fd333c [packages] hostapd: add 11n mode and ht_capab option for hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 18:02:49 +00:00
Felix Fietkau fec8c083e7 add country code option for hostapd (patch from #4675)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 02:46:04 +00:00
Felix Fietkau 13efa28c8c fix hostapd startup for no-crypto configurations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30 02:52:14 +00:00
Felix Fietkau 0c89058a20 hostapd: upgrade to 0.6.7 and conditionally enable 11n support (currently depends on ath9k)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:05:11 +00:00
Andy Boyett 6e9804e89c [package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 07:50:11 +00:00
Andy Boyett 5b30934a6f [package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-31 19:09:26 +00:00
Felix Fietkau ea94e359fb fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-30 22:49:15 +00:00
Felix Fietkau 382a56d914 use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:49 +00:00
Felix Fietkau a3dae311fd fix hostapd a/g mode if only the channel is configured in the config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 15:52:58 +00:00
Felix Fietkau bfc73dadf2 parse the a/g mode setting in /etc/config/wireless when setting up hostapd (instead of hardcoding it to g)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 18:18:21 +00:00