Wifi Band specific options
Default values
config lime-wifi-band '2ghz'
option channel '11'
option htmode 'HT20'
option distance '1000'
option adhoc_mcast_rate '24000'
option ieee80211s_mcast_rate '24000'
config lime-wifi-band '5ghz'
list channel '48'
list channel '157'
option htmode 'HT40'
option distance '10000'
option adhoc_mcast_rate '6000'
option ieee80211s_mcast_rate '6000'2ghz
Configure all radios at 2ghz adding a section config lime-wifi-band '2ghz' in lime-node Settings in this section applies for all radios in 2ghz (or 5ghz) band. And take precedence over lime wifi section
config lime-wifi-band '2ghz'
option channel '11'
option htmode 'HT20'
option distance '1000'
option adhoc_mcast_rate '24000'
option ieee80211s_mcast_rate '24000'htmode 'HT20'- htmode sets the width of the channel. HT40 should have better performances in non-noisy environments. Refer to the OpenWrt wiki: https://openwrt.org/docs/guide-user/network/wifi/basic#htmodewi-fi_channel_widthdistance '1000'# 1 km max distance, farther clients or peers will not be able to connect
5ghz
config lime-wifi-band '5ghz'
list channel '48'
list channel '157'
option htmode 'HT40'
option distance '10000'
option adhoc_mcast_rate '6000'
option ieee80211s_mcast_rate '6000'channel 48- May be either a list or a single option, in case of a list a channel for each radio will be selected according to radio index Check for allowed channels on https://en.wikipedia.org/wiki/List_of_WLAN_channels#regulatory_tables5.0ghzdistance '10000'- Distance between this node/ap and the furthest connected node/client in meters, affects performances. If you are unsure of the right number, better to use a too-large distance here than a too-small one. Farther clients or peers will not be able to connecthtmode 'HT40'- htmode sets the width of the channel. VHT80 should have better performances in non-noisy environment. Check out the valid channels list in this comment: https://github.com/libremesh/lime-packages/issues/647#issuecomment-1503968192 and refer to the OpenWrt wiki htmode: Wi-Fi channel width
Examples
Dual band
For networks where only dual band routers are used:
- the 5GHz radio can be reserved for the node-to-node connections.
- the 2.4Ghz radios can be reserved for access points.
config lime-wifi-band '5ghz'
list modes 'ieee80211s'
config lime-wifi-band '2ghz'
list modes 'ap'
list modes 'apname'