diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-26 23:04:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-26 23:04:23 +0000 |
commit | 4aab5d7c49e7de258cc5c20d95dec0d0138cff2f (patch) | |
tree | 5d870cc07aab0fda1b380c1c531c08f330505037 /package/madwifi/files/lib | |
parent | 45fa082fadcc2291f3baad6063f7689001711d73 (diff) | |
download | mtk-20170518-4aab5d7c49e7de258cc5c20d95dec0d0138cff2f.zip mtk-20170518-4aab5d7c49e7de258cc5c20d95dec0d0138cff2f.tar.gz mtk-20170518-4aab5d7c49e7de258cc5c20d95dec0d0138cff2f.tar.bz2 |
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
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 52086f0..3c4112a 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -257,6 +257,9 @@ enable_atheros() { config_get_bool turbo "$vif" turbo [ -n "$turbo" ] && iwpriv "$ifname" turbo "$turbo" + config_get_bool beacon_power "$vif" beacon_power + [ -n "$beacon_power" ] && iwpriv "$ifname" beacon_pwr "$beacon_power" + config_get_bool doth "$vif" doth 0 [ -n "$doth" ] && iwpriv "$ifname" doth "$doth" |