aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
Commit message (Collapse)AuthorAgeFilesLines
* hostapd: backport package from trunk r39765Felix Fietkau2014-03-148-22/+502
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@39927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: sync with trunk r36533Felix Fietkau2013-05-214-3/+33
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant.sh: always use parameters from the current sectionFelix Fietkau2012-12-161-7/+2
| | | | | | | | | | | | | | | | Using variables from the outer scope unnecessarily complicates the code and leads to issues. This patch fixes the bug when having an "adhoc" wifi-iface section before a "sta" section prevents wpa_supplicant from using the key specified in the corresponding section as it tries to use the "adhoc" key instead (1 by default). Signed-off-by: Paul Fertser <fercerpav@gmail.com> Backport of r34716 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add a config option for the inactivity timeoutFelix Fietkau2012-09-151-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add an option for configuring the maximum number of connected clientsFelix Fietkau2012-09-141-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: enable disassoc on many consecutive excessive retries, improves AP ↵Felix Fietkau2012-09-141-0/+2
| | | | | | mode reliability with many clients git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: introduce new default-off option "auth_cache" which ↵Jo-Philipp Wich2012-09-101-1/+4
| | | | | | controls PMKSA and Opportunistic Key Caching (#12129) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: fix ap/sta regression which got accidentally introduced ↵Jo-Philipp Wich2012-08-081-0/+2
| | | | | | by r32829 (#11914) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: add support for HT capa in case of IBSS/RSNJohn Crispin2012-07-241-0/+5
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: add more parametersJohn Crispin2012-07-241-6/+38
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted ↵Jo-Philipp Wich2012-07-051-4/+3
| | | | | | and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix driver setting for wpa_s in IBSS/WPA-NONEFelix Fietkau2012-06-061-4/+6
| | | | | | | | | This fix is needed to correctly set the driver to use with wpa_s in case of IBSS/WPA-NONE. The current setting is not made correctly. Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: make key_mgmt default to NONEFelix Fietkau2012-03-291-4/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: fix regressions introduced by the ibss-rsn changesFelix Fietkau2012-03-271-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: add CONFIG_IBSS_RSN=y compilation optionFelix Fietkau2012-03-271-0/+2
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: modify wpa_supplicant.sh in order to support IBSS-RSN/WPA-NONEFelix Fietkau2012-03-271-0/+5
| | | | | | Based on patch by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: disable the state dump callback to save a few more kbFelix Fietkau2012-02-212-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: correctly pass 64 char hex PSK to wpa_supplicantHamish Guthrie2012-02-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: introduce a client_cert option which is passed on to ↵Jo-Philipp Wich2012-01-241-0/+3
| | | | | | wpa_supplicant (#8876) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: add code to prevent accidentally bridging non-wds sta ↵Jo-Philipp Wich2011-11-081-0/+9
| | | | | | mode interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: introduce "wpa_pair_rekey" and "wpa_master_rekey" ↵Jo-Philipp Wich2011-09-091-5/+12
| | | | | | options, remove hardcoded wpa rekey intervals, remove hardcoded radius_acct_interim_interval as it might overrule the radius Acct-Interim-Interval attribute git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: introduce options to configure the logging behaviour.Jo-Philipp Wich2011-08-201-1/+37
| | | | | | | | | | | | | | | The config wifi-device section gains the following settings: * log_level (2) - Defines the minimum message level * log_80211 (true) - Log 802.11 events * log_8021x (true) - Log 802.1X events * log_radius (true) - Log RADIUS events * log_wpa (true) - Log WPA events * log_driver (true) - Log driver interface messages * log_iapp (true) - Log IAPP events * log_mlme (true) - Log MLME events git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes ↵Felix Fietkau2011-04-262-0/+4
| | | | | | #9299) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: add accounting configuration to hostapd uci scriptVasilis Tsiligiannis2011-04-051-7/+17
| | | | | | | | | | | | | | Hello This patch add accounting configuration in hostapd.sh It also change "server, port, key" to "auth_server, auth_port, auth_secret" but keep backward compatibility Please patch backfire & trunk Thanks in advance. Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add more wps config methods to the configFelix Fietkau2011-03-251-2/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: allow mixed TKIP/CCMP for 11n Jo-Philipp Wich2011-02-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Create one control interface per virtual bssidFelix Fietkau2011-01-141-1/+3
| | | | | | | | | | | | | | | | | | | | 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
* hostapd: fix appending the iapp_interface variable to the configFelix Fietkau2010-12-191-1/+1
| | | | | | Signed-off-by: Alexander Couzens <lynxis@c-base.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Add CONFIG_FULL_DYNAMIC_VLAN=y to hostapd-full.configFelix Fietkau2010-12-191-0/+2
| | | | | | | | | | 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
* hostapd: Allow rsn_preauth configurationFelix Fietkau2010-12-191-14/+26
| | | | | | | | | | | | | | | | | 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
* [package] hostapd: Add 'identity' config option when eap_type is 'tls' on ↵Vasilis Tsiligiannis2010-11-031-0/+2
| | | | | | wpa_supplicant (#8164) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEPJo-Philipp Wich2010-10-271-1/+9
| | | | | | | | | | | | | | | | | | 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
* hostapd/mac80211: implement support for AP+STAFelix Fietkau2010-10-231-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)Vasilis Tsiligiannis2010-08-081-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add preliminary wps script support (push-button only, does not ↵Felix Fietkau2010-07-082-1/+16
| | | | | | handle multi-bss yet) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: enable WPS for the full version of hostapd/wpa_supplicant/wpadFelix Fietkau2010-07-082-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11naJo-Philipp Wich2010-06-301-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher overrideJo-Philipp Wich2010-06-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: forgot the actual change in previous commitJo-Philipp Wich2010-06-161-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add ap isolate support for mac80211Felix Fietkau2010-04-261-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: fixup madwifi turbo modes (#7060)Jo-Philipp Wich2010-04-031-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* When enabling MFP, hostapd will read assoc_sa_query_max_timeout andTravis Kemen2010-03-241-0/+8
| | | | | | | | | | | 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
* Enable management frame protection in hostapd, and make it configurableTravis Kemen2010-03-241-0/+7
| | | | | | | | | | 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
* Enable management frame protection in wpa_supplicant, and make itTravis Kemen2010-03-242-1/+11
| | | | | | | | | 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
* Cleanup redundant psk handling code in wpa_supplicant.sh.Travis Kemen2010-03-241-10/+5
| | | | | | | | | | (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
* [package] hostapd: always strip "11" from hwmode valueJo-Philipp Wich2010-03-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: remove the hotplug script for adding wds station interfaces to a ↵Felix Fietkau2010-03-091-12/+0
| | | | | | 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
* wpa_supplicant: fix bridging settings for wdsFelix Fietkau2010-03-091-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), ↵Felix Fietkau2010-02-191-0/+22
| | | | | | fixes #6672 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: always use wpa_supplicant for client connections (patch by Stijn ↵Felix Fietkau2010-02-191-1/+4
| | | | | | | | | | | | | | | | | | | 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