aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2019-09-18 20:14:42 +0300
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-09 15:08:39 +0200
commita8a1ef856871dc8403ea9c0a3bb347c7120b0e65 (patch)
tree5a227c902061fe337e79b6f897e80be8ae83d61c /package/kernel/mac80211
parent0cdf7bc4fbaba1a3854ddc48a3f44baaed7e8fad (diff)
downloadupstream-a8a1ef856871dc8403ea9c0a3bb347c7120b0e65.tar.gz
upstream-a8a1ef856871dc8403ea9c0a3bb347c7120b0e65.tar.bz2
upstream-a8a1ef856871dc8403ea9c0a3bb347c7120b0e65.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>
Diffstat (limited to 'package/kernel/mac80211')
-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 ab2c6ad38d..88751ce3cc 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -28,8 +28,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 acs_exclude_dfs
config_add_array ht_capab
config_add_array channels