1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 01:11:52 +02:00
Commit Graph

122 Commits

Author SHA1 Message Date
jow
ab435ac770 [package] madwifi: change wireless ifname numbering schema
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
2011-11-06 19:57:07 +00:00
jow
df0d5547dd [package] madwifi: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-08 23:31:42 +00:00
acinonyx
f440a949fb [packages] madwifi: typo(s) in /lib/wifi/madwifi.sh
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
2011-04-06 20:50:14 +00:00
acinonyx
9975b770c8 [packages] madwifi: Always escape SSID parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:38 +00:00
nbd
cbf4a0f140 madwifi: add support for translating country codes into internal country code numbers (based on a patch by Manuel Munz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 16:56:39 +00:00
acinonyx
0402f4a518 [package] madwifi: Add newline at end of autodetected wireless config (cosmetic)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 07:07:03 +00:00
acinonyx
ab68301976 [package] madwifi: Fix unique device autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:43:50 +00:00
acinonyx
be4aa36f48 [package] madwifi: Add support for multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 12:54:13 +00:00
jow
d9c25de283 [package] madwifi: fix syntax error introduced by r23660
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 17:46:31 +00:00
jow
97ae61108d [package] madwifi: make wep-open the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:46:01 +00:00
jow
114cdb3c01 [package] madwifi: add wep+open, wep+shared format support to madwifi as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:25:59 +00:00
nbd
60521a7fc8 madwifi: disable softled by default on pci devices (fixes #4484)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 12:25:23 +00:00
nbd
013d58fbe3 madwifi: fix antenna selection for ubnt loco2/loco5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-19 22:19:19 +00:00
nbd
97abaa960a madwifi: add antenna gpio support for nanostation loco2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 22:11:14 +00:00
nbd
3ff4f7ce16 madwifi: add a configuration for uapsd (unscheduled automatic powersave 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
2009-09-03 19:31:48 +00:00
nbd
f7292e1b43 madwifi: turn software based tsf merging on by default, get rid of some iwpriv errors on wifi restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 11:30:01 +00:00
acinonyx
90951f130b madwifi.sh channel fix
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
2009-07-12 15:37:59 +00:00
nbd
a34576c119 madwifi: disable compression by default, as it can cause instabilities on various platforms (thx, acoul)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 12:40:07 +00:00
acinonyx
4b7f3bb250 [package] madwifi: clear variables used in for loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 13:53:10 +00:00
jow
f1993df80d [package] madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis Tsiligiannis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 20:42:04 +00:00
nbd
e25092dac1 madwifi: remove the "turbo" iwpriv command, it does not do anything useful, but it can lead to crashes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 17:44:07 +00:00
jow
3ea3f46e5a [PATCH] [madwifi] Declare some missing local variables in madwifi.sh
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:52:15 +00:00
jow
1a0587ec49 [PATCH] [madwifi] Detect every atheros device present
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
2009-05-20 20:44:19 +00:00
nico
9bf1cfd44b [package] madwifi: don't try to set an interface essid with an empty value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 02:01:03 +00:00
nbd
8b6a9610f8 madwifi: fix distance setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 13:02:20 +00:00
nbd
8b4e96dd04 madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 19:25:31 +00:00
nbd
e3bd6b245a use config_get_bool for outdoor mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 12:12:29 +00:00
nbd
0ee2c9dc7b madwifi: make country code and outdoor flag changeable without reloading the driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 11:52:24 +00:00
florian
eb9cb15f8c [package] allow connection to a prefered bssid (#4252)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 21:09:02 +00:00
nbd
fbc4e8926b madwifi: only set the desired mode for the first vap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 00:10:31 +00:00
nbd
e9575c6635 madwifi: add config option for adjusting the beacon power relative to the 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
2009-03-26 23:04:23 +00:00
agb
7f37b27d4b [package] madwifi: mode txpower to wifi-device section, but remain backwards compatible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:08:57 +00:00
thepeople
6d7fed1607 Allow changing country code for madwifi driver. Thanks alisonken1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-22 22:00:07 +00:00
jow
ce292df360 package/madwifi: add uci support for the propereq iwpriv setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-01 17:29:58 +00:00
jow
64a4dc42c0 package/madwifi: fix typo in config handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-01 13:59:06 +00:00
agb
afb87b33ca [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
thepeople
5cfdd78360 Move txpower settings after the interface comes up. Thanks alisonken1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 21:34:04 +00:00
nbd
9765eded20 madwifi: ap+sta race conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 23:35:12 +00:00
nbd
9909f72e6f 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
thepeople
256a5ee7f7 remove LED api abuse from r13032 per request fom nbd, gpioctl is now built by defualt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 15:14:54 +00:00
thepeople
ef1ad46104 remove polarity from config file generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 04:06:30 +00:00
thepeople
a74dc32412 fix mistakes in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 03:53:56 +00:00
thepeople
44eebd027d Simplify antenna selection and remove the need for gpioctl for the nanostation2.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 03:09:33 +00:00
thepeople
d3839c5141 fix polarity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:49:19 +00:00
nbd
855a24be33 implement uci config option for the nanostation antenna/polarity control (ns2 and ns5 supported)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:50 +00:00
nbd
ed315ad3cf madwifi: allow disabling of hardware ibss merges by setting the wifi-iface 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
2008-10-16 21:26:24 +00:00
nbd
18a6a4834f madwifi: set essid on to avoid association with different ssid (patch from #3937)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 09:43:37 +00:00
thepeople
722aace7b9 add option to shutoff softled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 19:19:32 +00:00
nbd
427c7ab18c revert accidental change to madwifi.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-29 01:07:53 +00:00
nbd
ef5d60de3b madwifi: fix encryption type check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 12:41:55 +00:00