luci-base: add 11ax HW / HT modes
Add the known values returned for 802.11ax HW as well as HT modes to the respective method descriptions. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4b17f8baa3574527dc6ab8914fd322a08cb9784c)
This commit is contained in:
parent
1af323e450
commit
d721bb6875
@ -3303,6 +3303,7 @@ WifiDevice = baseclass.extend(/** @lends LuCI.network.WifiDevice.prototype */ {
|
||||
* - `g` - Legacy 802.11g mode, 2.4 GHz, up to 54 Mbit/s
|
||||
* - `n` - IEEE 802.11n mode, 2.4 or 5 GHz, up to 600 Mbit/s
|
||||
* - `ac` - IEEE 802.11ac mode, 5 GHz, up to 6770 Mbit/s
|
||||
* - `ax` - IEEE 802.11ax mode, 2.4 or 5 GHz
|
||||
*/
|
||||
getHWModes: function() {
|
||||
var hwmodes = this.ubus('dev', 'iwinfo', 'hwmodes');
|
||||
@ -3324,6 +3325,10 @@ WifiDevice = baseclass.extend(/** @lends LuCI.network.WifiDevice.prototype */ {
|
||||
* - `VHT40` - applicable to IEEE 802.11ac, 40 MHz wide channels
|
||||
* - `VHT80` - applicable to IEEE 802.11ac, 80 MHz wide channels
|
||||
* - `VHT160` - applicable to IEEE 802.11ac, 160 MHz wide channels
|
||||
* - `HE20` - applicable to IEEE 802.11ax, 20 MHz wide channels
|
||||
* - `HE40` - applicable to IEEE 802.11ax, 40 MHz wide channels
|
||||
* - `HE80` - applicable to IEEE 802.11ax, 80 MHz wide channels
|
||||
* - `HE160` - applicable to IEEE 802.11ax, 160 MHz wide channels
|
||||
*/
|
||||
getHTModes: function() {
|
||||
var htmodes = this.ubus('dev', 'iwinfo', 'htmodes');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user