mac80211: distance config: allow "auto" as a value
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
Wed, 18 Sep 2019 17:14:42 +0000 (20:14 +0300)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 9 May 2020 13:08:39 +0000 (15:08 +0200)
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>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index ab2c6ad38dd645623c874d7bb95d348b07020eb3..88751ce3ccea99f32ebd39a9b34012779274a8ae 100644 (file)
@@ -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