aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2019-09-18 20:14:42 +0300
committerPaul Spooren <mail@aparcar.org>2021-06-23 12:10:41 -1000
commit15612706c930ed26af9e05b649efc2d245157273 (patch)
tree4f6a147a69295d34eb8e37cbbccb1a3539750ebd /package
parentec76c365c1d60bf6a4f69b1ab3ce132f97f34dbb (diff)
downloadupstream-15612706c930ed26af9e05b649efc2d245157273.tar.gz
upstream-15612706c930ed26af9e05b649efc2d245157273.tar.bz2
upstream-15612706c930ed26af9e05b649efc2d245157273.zip
mac80211: distance config: allow "auto" as a value
The user can now enable the ACK timeout estimation algorithm (dynack) for drivers that support it. It is also expected that the distance config accepts the same values as: $ iw phyX set distance XXX Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> (cherry picked from commit a8a1ef856871dc8403ea9c0a3bb347c7120b0e65)
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 36aebbb2cc..bb48ab9a15 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -24,8 +24,9 @@ drv_mac80211_init_device_config() {
config_add_string path phy 'macaddr:macaddr'
config_add_string hwmode
config_add_string tx_burst
+ config_add_string distance
config_add_int beacon_int chanbw frag rts
- config_add_int rxantenna txantenna antenna_gain txpower distance
+ config_add_int rxantenna txantenna antenna_gain txpower
config_add_boolean noscan ht_coex
config_add_array ht_capab
config_add_array channels