Commit Graph

121 Commits (3104d705528c4bffa9ae6b6cff5b3fe0a5e45abe)

Author SHA1 Message Date
Jo-Philipp Wich ee875810eb 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.
SVN-Revision: 28785
13 years ago
Jo-Philipp Wich 89e74f6aea madwifi: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28199
13 years ago
Vasilis Tsiligiannis 98da9c9066 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>

SVN-Revision: 26504
13 years ago
Vasilis Tsiligiannis 3549fb214f madwifi: Always escape SSID parameter
SVN-Revision: 26484
13 years ago
Felix Fietkau 2c875b2edc madwifi: add support for translating country codes into internal country code numbers (based on a patch by Manuel Munz)
SVN-Revision: 26306
13 years ago
Vasilis Tsiligiannis f06c25a0bb madwifi: Add newline at end of autodetected wireless config (cosmetic)
SVN-Revision: 26197
14 years ago
Vasilis Tsiligiannis 96bb1c7585 madwifi: Fix unique device autodetection
SVN-Revision: 26164
14 years ago
Vasilis Tsiligiannis fa6e1dd37d madwifi: Add support for multiple interfaces
SVN-Revision: 25951
14 years ago
Jo-Philipp Wich 87d81bc050 madwifi: fix syntax error introduced by r23660
SVN-Revision: 23679
14 years ago
Jo-Philipp Wich c0bda9a6a9 madwifi: make wep-open the default
SVN-Revision: 23660
14 years ago
Jo-Philipp Wich 1b495361a0 madwifi: add wep+open, wep+shared format support to madwifi as well
SVN-Revision: 23657
14 years ago
Felix Fietkau f434771b7a madwifi: disable softled by default on pci devices (fixes #4484)
SVN-Revision: 20195
15 years ago
Felix Fietkau da80071315 madwifi: fix antenna selection for ubnt loco2/loco5
SVN-Revision: 18853
15 years ago
Felix Fietkau f970dff78d madwifi: add antenna gpio support for nanostation loco2
SVN-Revision: 18055
15 years ago
Felix Fietkau 8691bbb699 madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
SVN-Revision: 17510
15 years ago
Felix Fietkau 3d2040de0f madwifi: turn software based tsf merging on by default, get rid of some iwpriv errors on wifi restart
SVN-Revision: 16862
15 years ago
Vasilis Tsiligiannis a4ed68fbe4 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>

SVN-Revision: 16814
15 years ago
Felix Fietkau 985b62a228 madwifi: disable compression by default, as it can cause instabilities on various platforms (thx, acoul)
SVN-Revision: 16421
15 years ago
Vasilis Tsiligiannis 121368fbc8 madwifi: clear variables used in for loop
SVN-Revision: 16308
15 years ago
Jo-Philipp Wich 037f0c9629 madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis Tsiligiannis
SVN-Revision: 16238
15 years ago
Felix Fietkau 443fc5fe1b madwifi: remove the "turbo" iwpriv command, it does not do anything useful, but it can lead to crashes
SVN-Revision: 15992
15 years ago
Jo-Philipp Wich 89127a67f2 Declare some missing local variables in madwifi.sh Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15954
15 years ago
Jo-Philipp Wich bd50b95bde 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>
SVN-Revision: 15940
15 years ago
Nicolas Thill b6bb23e3a8 madwifi: don't try to set an interface essid with an empty value
SVN-Revision: 15886
15 years ago
Felix Fietkau 251a657eaf madwifi: fix distance setting
SVN-Revision: 15824
15 years ago
Felix Fietkau 5bc30de4e7 madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
SVN-Revision: 15713
15 years ago
Felix Fietkau 4cdb76c219 use config_get_bool for outdoor mode
SVN-Revision: 15634
15 years ago
Felix Fietkau 56ae52b008 madwifi: make country code and outdoor flag changeable without reloading the driver
SVN-Revision: 15633
15 years ago
Florian Fainelli 87c7791bf2 allow connection to a prefered bssid (#4252)
SVN-Revision: 15283
15 years ago
Felix Fietkau 5f09427160 madwifi: only set the desired mode for the first vap
SVN-Revision: 15059
15 years ago
Felix Fietkau 4aab5d7c49 madwifi: add config option for adjusting the beacon power relative to the full tx power (needs testing, units/scale still unknown, defaults to max.)
SVN-Revision: 15054
16 years ago
Andy Boyett f19d25ebb3 madwifi: mode txpower to wifi-device section, but remain backwards compatible
SVN-Revision: 14307
16 years ago
Travis Kemen 4337de4977 Allow changing country code for madwifi driver. Thanks alisonken1
SVN-Revision: 14148
16 years ago
Jo-Philipp Wich 4a1148cf7b package/madwifi: add uci support for the propereq iwpriv setting
SVN-Revision: 13795
16 years ago
Jo-Philipp Wich 0b5333be4b package/madwifi: fix typo in config handler
SVN-Revision: 13793
16 years ago
Andy Boyett 35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
16 years ago
Travis Kemen 77d3329588 Move txpower settings after the interface comes up. Thanks alisonken1
SVN-Revision: 13502
16 years ago
Felix Fietkau bd8dad29fa madwifi: ap+sta race conditions
SVN-Revision: 13208
16 years ago
Felix Fietkau a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
16 years ago
Travis Kemen 7adb667a13 remove LED api abuse from r13032 per request fom nbd, gpioctl is now built by defualt
SVN-Revision: 13039
16 years ago
Travis Kemen 3800e56ddb remove polarity from config file generation
SVN-Revision: 13034
16 years ago
Travis Kemen 0aaaf0e266 fix mistakes in last commit
SVN-Revision: 13033
16 years ago
Travis Kemen 5506db71c3 Simplify antenna selection and remove the need for gpioctl for the nanostation2.
SVN-Revision: 13032
16 years ago
Travis Kemen 6d6878bb10 fix polarity
SVN-Revision: 13031
16 years ago
Felix Fietkau 14d0041023 implement uci config option for the nanostation antenna/polarity control (ns2 and ns5 supported)
SVN-Revision: 13028
16 years ago
Felix Fietkau f3e2fb3da0 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)
SVN-Revision: 12993
16 years ago
Felix Fietkau d94103514b madwifi: set essid on to avoid association with different ssid (patch from #3937)
SVN-Revision: 12759
16 years ago
Travis Kemen b42c11bb48 add option to shutoff softled
SVN-Revision: 12709
16 years ago
Felix Fietkau b28a095964 revert accidental change to madwifi.sh
SVN-Revision: 12428
16 years ago
Felix Fietkau 683789250d madwifi: fix encryption type check
SVN-Revision: 12421
16 years ago