aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/files/netifd.sh
Commit message (Collapse)AuthorAgeFilesLines
* hostapd: read missing parameter for dynamic VLANsJohn Crispin2014-10-061-1/+1
| | | | | | | | | | In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming parameter is not read while setting up the config, so it always defaults to 1. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 42787
* hostapd: allow using iapp for any encryption type (fixes #18022)Felix Fietkau2014-10-051-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42764
* hostapd: do not remove foreign wpa_supplicant socketsJohn Crispin2014-09-171-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42586
* hostapd: remove bogus default setting for wps_pin (#17873)Felix Fietkau2014-09-151-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42553
* hostapd: fix some whitespacesLuka Perkov2014-08-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42111
* hostapd: Reintroduce Full Dynamic VLAN supportJo-Philipp Wich2014-07-291-1/+14
| | | | | | | | | | This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment. Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net> [jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh] Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41872
* hostapd: add a require_mode option in wifi-device sections to select the ↵Felix Fietkau2014-07-151-1/+7
| | | | | | | | minimum hardware mode that the AP requires from clients Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41665
* hostapd: move reading of rsn_preauth out of auth_type=eap contextFelix Fietkau2014-06-051-3/+3
| | | | | | | | | | rsn_preauth is used outside of "case $auth_type", so if it is set for an EAP-enabled SSID, it would also be set for the following non-EAP-enabled SSIDs, because it would not be read again. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 41012
* hostapd: replace undefined $bridge with $network_bridgeFelix Fietkau2014-06-041-3/+3
| | | | | | Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 41002
* hostapd: Add optional support for hostapd own_ip_addr in wireless configJohn Crispin2014-06-021-1/+3
| | | | | | | | | | | | `own_ip_addr` is used by hostapd as NAS-IP-Address. This is used to identify the AP that is requesting the authentication of the user and could be used to define which AP's can authenticate users. Some vendors implement only NAS-Identifier or NAS-IP-Address and not both. This patch adds ownip as an optional parameter in /etc/config/wireless. Signed-off-by: Thomas Wouters <thomaswouters@gmail.com> SVN-Revision: 40934
* hostapd: add an option for 802.11h (enabled by default)Felix Fietkau2014-05-031-2/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40690
* 802.11s: fix authsae support in netifdJohn Crispin2014-04-121-1/+1
| | | | | | | | | | This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework. Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 40497
* hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since ↵Felix Fietkau2014-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | r39995) r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but apparently did not provide a default value 0. When that option's non-existing value is later evaluated in /lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in syslog if user has not set the wps_pbc_in_m1 option. The error materialises only if user has enabled wps. Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3 Error is caused by line 282: https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282 My patch sets the parameter's default value to 0, which does nothing. The default might also be set a bit later in the function, but this felt like the most clear place to do that. Signed-off-by hnyman <hannu.nyman@iki.fi> SVN-Revision: 40469
* hostapd: add pbc_in_m1 optionFelix Fietkau2014-03-211-2/+3
| | | | | | | | | | | | Option pbc_in_m1 is being used as a WPS capability discovery workaround for PBC with Windows 7. Add possibility to enable this workaround from UCI. To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1. Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com> SVN-Revision: 39995
* hostapd: add validation rules to wireless handlerJohn Crispin2014-02-181-6/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39620
* hostapd: do not get basic_rate as a simple string variableFelix Fietkau2014-02-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39448
* hostapd: fix basic rate list handling with netifdFelix Fietkau2014-01-311-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39431
* hostapd: Fix 80211w setup with netifdJo-Philipp Wich2014-01-281-1/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 39412
* hostapd: Fix basic_rate setup with netifdJo-Philipp Wich2014-01-281-0/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 39411
* hostapd: fix mcast_rate settingJohn Crispin2014-01-141-1/+1
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <r.vanweert@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> SVN-Revision: 39288
* hostapd: fix frequency setting for IBSS/RSNJohn Crispin2014-01-121-2/+4
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <rene@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> SVN-Revision: 39231
* hostapd: fix mixed wep/wpa with netifdFelix Fietkau2013-12-281-0/+1
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 39174
* hostapd: fix the uci option name for ap isolateFelix Fietkau2013-12-281-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39173
* hostapd: fix wep with netifdFelix Fietkau2013-12-231-4/+4
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 39156
* hostapd: fix short_preamble optionJo-Philipp Wich2013-12-101-1/+1
| | | | SVN-Revision: 39027
* hostapd: properly parse wmm and hidden uci options (#14589)Jo-Philipp Wich2013-12-081-1/+1
| | | | SVN-Revision: 39005
* hostapd: fix maclist processing with netifdFelix Fietkau2013-12-031-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38991
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-021-0/+577
framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38988