summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2022-11-17 21:52:26 +0100
committerAndre Heider <a.heider@gmail.com>2023-01-23 14:51:28 +0100
commitabad257fbbe75b67f9507a96f73ac4772d73c248 (patch)
tree8d55489dac568b12315d77b42265352f4a370b25 /modules/luci-mod-network/htdocs/luci-static/resources
parenteead21c5abff36839d5b9922eb06b61ffb44d77c (diff)
luci-mod-network: enable configuring wifi ax networks on the 6G band
Tested on a MT7921 device. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
index e9b0fa4160..3c6f51afeb 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -314,7 +314,7 @@ var CBIWifiFrequencyValue = form.Value.extend({
this.channels = {
'2g': L.hasSystemFeature('hostapd', 'acs') ? [ 'auto', 'auto', true ] : [],
'5g': L.hasSystemFeature('hostapd', 'acs') ? [ 'auto', 'auto', true ] : [],
- '6g': [],
+ '6g': L.hasSystemFeature('hostapd', 'acs') ? [ 'auto', 'auto', true ] : [],
'60g': []
};
@@ -387,7 +387,8 @@ var CBIWifiFrequencyValue = form.Value.extend({
],
'ax': [
'2g', '2.4 GHz', this.channels['2g'].length > 3,
- '5g', '5 GHz', this.channels['5g'].length > 3
+ '5g', '5 GHz', this.channels['5g'].length > 3,
+ '6g', '6 GHz', this.channels['6g'].length > 3
]
};
}, this));