aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-141-1/+1
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /sbin/wifi: reload network/wireless on wifi restartFelix Fietkau2013-12-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix whitespacesLuka Perkov2013-12-091-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: restart netifd wifi interfaces on the "up" command like the old variantFelix Fietkau2013-12-021-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: rename the "reload" (restarting non-netifd wifi) command to ↵Felix Fietkau2013-12-021-1/+7
| | | | | | | | | | "reload_legacy" Add a new "reload" command that reloads the netifd config as well Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-021-7/+32
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: allow wireless ifaces to be part of multiple networksJo-Philipp Wich2012-06-261-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle wifi ifaces with no network attached, ↵Jo-Philipp Wich2011-11-081-3/+5
| | | | | | useful for unmanaged interfaces like used for batman or monitoring git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵Felix Fietkau2011-11-041-0/+1
| | | | | | must not attempt to create the bridge by itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] adds a --help option to /sbin/wifiFlorian Fainelli2010-12-051-0/+9
| | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: fix duplicate ht capabilities in the hostapd config file by clearing ↵Felix Fietkau2010-07-081-4/+13
| | | | | | the list at config load time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /sbin/wifi: improve reliability of restarts by resetting the state properlyFelix Fietkau2010-02-021-2/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)Felix Fietkau2010-01-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, mac80211 (#6491)Jo-Philipp Wich2010-01-131-0/+13
| | | | | | | | | - fix wep key handling in iw with mac80211 based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [wifi] In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.Hauke Mehrtens2009-04-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: fix hostapd + autochannelFelix Fietkau2009-03-271-0/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]Jo-Philipp Wich2009-03-251-1/+2
| | | | | | | | | - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpaJo-Philipp Wich2009-03-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use pidfiles for hostapd/wpa_supplicant instead of killing all processes ↵Felix Fietkau2008-10-291-0/+2
| | | | | | 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
* make sure that the dhcp client (or other processes necessary to get a ↵Felix Fietkau2008-10-231-0/+1
| | | | | | connection) gets restarted when the wifi is restarted git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-7/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tab/whitespace fixFelix Fietkau2007-08-041-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix an error messageFelix Fietkau2007-07-221-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the wifi interface state in /var/state/wirelessFelix Fietkau2007-07-221-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a workaround for the hostapd killed issue when using more than one wifi ↵Felix Fietkau2007-07-201-0/+1
| | | | | | card (#1928, #2040) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixesFelix Fietkau2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* small cleanupFelix Fietkau2007-03-241-14/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a new 'option disabled' to wifi-deviceMike Baker2007-03-161-17/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move config_get_bool from /sbin/wifi to /etc/functions.shFelix Fietkau2007-02-271-11/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo in /sbin/wifi (#1016 - thanks, dairiki)Felix Fietkau2006-12-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/Felix Fietkau2006-11-221-0/+116
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73