aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-09-28 15:12:56 +0200
committerFelix Fietkau <nbd@nbd.name>2020-09-29 17:32:26 +0200
commitcba4120768a39c9ff222734dce2ced43b70bd60c (patch)
tree64a374cb866376904870efd95b737c1bdbc82014 /package/kernel
parent1ed6eb176c77e8dff0004fc110af6874f535068f (diff)
downloadupstream-cba4120768a39c9ff222734dce2ced43b70bd60c.tar.gz
upstream-cba4120768a39c9ff222734dce2ced43b70bd60c.tar.bz2
upstream-cba4120768a39c9ff222734dce2ced43b70bd60c.zip
mac80211: add support for specifying a per-device scan list
This is useful to bring up multiple client mode interfaces on a single channel much faster without having to scan through a lot of channels Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 17095b7205..42144375b4 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -34,6 +34,7 @@ drv_mac80211_init_device_config() {
config_add_boolean noscan ht_coex acs_exclude_dfs
config_add_array ht_capab
config_add_array channels
+ config_add_array scan_list
config_add_boolean \
rxldpc \
short_gi_80 \
@@ -897,6 +898,7 @@ drv_mac80211_setup() {
rxantenna txantenna \
frag rts beacon_int:100 htmode
json_get_values basic_rate_list basic_rate
+ json_get_values scan_list scan_list
json_select ..
find_phy || {