luci/modules/luci-mod-network/htdocs/luci-static/resources/view/network
Jo-Philipp Wich 0829d31290 luci-mod-network: support newer wireless.wifi-device.band option
OpenWrt switched from "option hwmode" to "option band" in order to select
the frequency band to use for the radio phy.

Extend the channel selector to recognize and use an existing "option band"
to select the appropriate channel list. When operating upon a wireless
configuration still using "option hwmode", then translate it to a band
value internally and translate it back to "option hwmode" on save.

This should provide forward- and backwards compatibility with both current
OpenWrt master and older versions still using hwmode.

Fixes: #5106
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09 10:03:54 +02:00
..
dhcp.js treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellings 2021-06-07 12:48:08 +02:00
diagnostics.js treewide: transition div tables to actual table markup 2020-11-27 21:36:40 +01:00
hosts.js treewide: Update JS using luci-rpc getHostHints 2021-06-03 09:51:09 +02:00
interfaces.js Merge pull request #5095 from jow-/dhcpv6-rework 2021-06-05 19:13:05 +02:00
routes.js luci-mod-network: fix reading static route table value 2020-05-13 17:20:05 +02:00
switch.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
wireless.js luci-mod-network: support newer wireless.wifi-device.band option 2021-06-09 10:03:54 +02:00