[feature] Add support for new wireless radio syntax `band` #235
Closes #235
coverage: 98.665% (-0.06%) from 98.728% when pulling 5d43bcdc66cf255bd60abf010288ba6d1c07b30e on issues/235-band-support into 3238df8837e0b9d457c02914810d0cbfba0fda81 on master.
Do we have to show the hwmode property in netjson config if we get only the band property from uci ?
Suppose the config only contains band '5g' then in the netjson object should we show this band property?
Earlier (in legacy) we are showing hwmode in netjson object.
Do we have to show the
hwmodeproperty in netjson config if we get only thebandproperty from uci ?Suppose the config only contains
band '5g'then in the netjson object should we show this band property? Earlier (in legacy) we are showinghwmodein netjson object.
hwmode is needed only on OpenWrt < 21, so on newer systems is not needed I think.
I used the below references:
- https://openwrt.org/docs/techref/wireless.standards
- https://openwrt.org/docs/guide-user/network/wifi/basic
- https://en.wikipedia.org/wiki/List_of_WLAN_channels
- https://forum.openwrt.org/t/wi-fi-hwmode-values-seems-to-be-out-dated/96212/2