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>
This commit is contained in:
parent
eead21c5ab
commit
abad257fbb
1 changed files with 3 additions and 2 deletions
|
@ -314,7 +314,7 @@ var CBIWifiFrequencyValue = form.Value.extend({
|
||||||
this.channels = {
|
this.channels = {
|
||||||
'2g': L.hasSystemFeature('hostapd', 'acs') ? [ 'auto', 'auto', true ] : [],
|
'2g': L.hasSystemFeature('hostapd', 'acs') ? [ 'auto', 'auto', true ] : [],
|
||||||
'5g': 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': []
|
'60g': []
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -387,7 +387,8 @@ var CBIWifiFrequencyValue = form.Value.extend({
|
||||||
],
|
],
|
||||||
'ax': [
|
'ax': [
|
||||||
'2g', '2.4 GHz', this.channels['2g'].length > 3,
|
'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));
|
}, this));
|
||||||
|
|
Loading…
Reference in a new issue