summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi/madwifi.sh
Commit message (Collapse)AuthorAgeFilesLines
* madwifi: modify madwifi.sh to support IBSS WPA-NONEnbd2012-03-271-0/+9
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: use wext driver for hostap and madwifinbd2012-03-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: change wireless ifname numbering schemajow2011-11-061-2/+9
| | | | | | | | | | Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. ath0 for network 1 on phy 1 and ath0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: introduce "disabled" option for wifi-iface section to ↵jow2011-09-081-2/+4
| | | | | | shutdown single networks on a radio git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] madwifi: typo(s) in /lib/wifi/madwifi.shacinonyx2011-04-061-2/+2
| | | | | | | | | | Hi minrate and maxrate are acually not boolean, so, for example "config minrate 11000" in /etc/config/wireless has no effect. Signed-off by: Jan Hetges <tran@ms20.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] madwifi: Always escape SSID parameteracinonyx2011-04-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: add support for translating country codes into internal country ↵nbd2011-03-261-6/+10
| | | | | | code numbers (based on a patch by Manuel Munz) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: Add newline at end of autodetected wireless config (cosmetic)acinonyx2011-03-171-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: Fix unique device autodetectionacinonyx2011-03-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: Add support for multiple interfacesacinonyx2011-03-081-15/+69
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: fix syntax error introduced by r23660jow2010-10-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: make wep-open the defaultjow2010-10-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: add wep+open, wep+shared format support to madwifi as welljow2010-10-271-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: disable softled by default on pci devices (fixes #4484)nbd2010-03-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: fix antenna selection for ubnt loco2/loco5nbd2009-12-191-9/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: add antenna gpio support for nanostation loco2nbd2009-10-171-7/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: add a configuration for uapsd (unscheduled automatic powersave ↵nbd2009-09-031-0/+3
| | | | | | delivery), turn it off by default because of compatibility issues with nokia phones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: turn software based tsf merging on by default, get rid of some ↵nbd2009-07-161-4/+5
| | | | | | iwpriv errors on wifi restart git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi.sh channel fixacinonyx2009-07-121-22/+17
| | | | | | | | In the madwifi.sh there is to read "only need to change freq band and channel on the first vif". This is wrong. For example if you create a new Ad-Hoc network and an AP interface, the channel is reseted to 1, regardless of the UCI setting. So remove this wrong code. Signed-off-by: Alina Friedrichsen <x-alina@gmx.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: disable compression by default, as it can cause instabilities on ↵nbd2009-06-111-2/+2
| | | | | | various platforms (thx, acoul) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: clear variables used in for loopacinonyx2009-06-031-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: remove cruft from madwifi.sh introduced by r15954, thanks ↵jow2009-05-311-43/+3
| | | | | | Vasilis Tsiligiannis git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: remove the "turbo" iwpriv command, it does not do anything useful, ↵nbd2009-05-221-3/+0
| | | | | | but it can lead to crashes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] [madwifi] Declare some missing local variables in madwifi.shjow2009-05-201-17/+58
| | | | | | | Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] [madwifi] Detect every atheros device presentjow2009-05-201-1/+1
| | | | | | | | | | This patch is for boards with more than one atheros devices. It changes detect_atheros() function to continue with the detection of every device present and don't return when just one is found Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: don't try to set an interface essid with an empty valuenico2009-05-171-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: fix distance settingnbd2009-05-131-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: clean up handling of various timings such as slot time, ack ↵nbd2009-05-081-3/+1
| | | | | | timeout, eifs time, etc. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use config_get_bool for outdoor modenbd2009-05-061-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: make country code and outdoor flag changeable without reloading the ↵nbd2009-05-061-7/+10
| | | | | | driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] allow connection to a prefered bssid (#4252)florian2009-04-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: only set the desired mode for the first vapnbd2009-03-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: add config option for adjusting the beacon power relative to the ↵nbd2009-03-261-0/+3
| | | | | | full tx power (needs testing, units/scale still unknown, defaults to max.) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] madwifi: mode txpower to wifi-device section, but remain backwards ↵agb2009-01-311-3/+10
| | | | | | compatible git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow changing country code for madwifi driver. Thanks alisonken1thepeople2009-01-221-4/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/madwifi: add uci support for the propereq iwpriv settingjow2009-01-011-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/madwifi: fix typo in config handlerjow2009-01-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g ↵agb2008-12-311-13/+13
| | | | | | aren't the only allowed values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Move txpower settings after the interface comes up. Thanks alisonken1thepeople2008-12-031-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: ap+sta race conditionsnbd2008-11-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use pidfiles for hostapd/wpa_supplicant instead of killing all processes ↵nbd2008-10-291-7/+3
| | | | | | 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
* remove LED api abuse from r13032 per request fom nbd, gpioctl is now built ↵thepeople2008-10-231-14/+5
| | | | | | by defualt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove polarity from config file generationthepeople2008-10-231-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mistakes in last committhepeople2008-10-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Simplify antenna selection and remove the need for gpioctl for the nanostation2.thepeople2008-10-231-12/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix polaritythepeople2008-10-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* implement uci config option for the nanostation antenna/polarity control ↵nbd2008-10-231-8/+47
| | | | | | (ns2 and ns5 supported) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: allow disabling of hardware ibss merges by setting the wifi-iface ↵nbd2008-10-161-1/+4
| | | | | | option sw_merge, which does the tsf sync in software instead. used to work around hardware issues with hw merges (ATIM window gets screwed up) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: set essid on to avoid association with different ssid (patch from ↵nbd2008-09-281-0/+1
| | | | | | #3937) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option to shutoff softledthepeople2008-09-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73