Band
The following scenarios show how to configure WLAN capable devices to operate on the 2.4GHz and in the 5GHz band.
Band Configuration
Description
In this example, a WLAN interface will be created on top of the 2.4GHz
or 5GHz radio module in access-point
mode. Then, correct operation
will be checked using operational commands.
Scenario
Example 1
Step 1: Get the supported bands
from wifi1
capabilities list:
Show output
Phy: wifi1 modes: 802.11g,802.11n stations: 64 bandwidths: 20MHz,40MHz bands: 2.4GHz tx-power: 11,10,13,12,15,14,17,16,19,18,1,3,2,5,4,7,6,9,20,8 supported-channels: 11,10,13,12,14,1,3,2,5,4,7,6,9,8 vaps: 2 spatial-streams: 1,2 ht-capabilities: [LDPC][TX-STBC][RX-STBC1] max-tx-power: 20
Step 2: Set the following configuration in DUT0
:
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz
Example 2
Step 1: Get the supported bands
from wifi0
capabilities list:
Show output
Phy: wifi0 modes: 802.11a,802.11ax,802.11ac,802.11n stations: 64 bandwidths: 20MHz,80MHz,40MHz bands: 5GHz ht-capabilities: [LDPC][TX-STBC][RX-STBC1] tx-power: 11,10,13,12,15,14,17,16,19,18,1,3,2,5,4,7,6,9,20,8 vht-capabilities: [SU-BEAMFORMEE][RXLDPC][BF-ANTENNA-4][TX-STBC-2BY1][SOUNDING-DIMENSION-2][SU-BEAMFORMER][HTC-VHT][MAX-MPDU-3895][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7] supported-channels: 153,157,60,132,116,64,136,112,48,44,40,144,140,149,120,108,124,128,165,100,161,104,56,36,52 spatial-streams: 1,2 vaps: 2 max-tx-power: 20
Step 2: Set the following configuration in DUT0
:
set controllers wlan installation indoor set controllers wlan radios wifi0 band 5GHz set controllers wlan radios wifi0 channel 36 set controllers wlan radios wifi0 bandwidth 80MHz set controllers wlan radios wifi0 mode 802.11n set controllers wlan radios wifi0 mode 802.11ac set controllers wlan radios wifi0 mode 802.11ax set interfaces bridge br0 set interfaces wlan wlan1 bridge-group bridge br0 set interfaces wlan wlan1 phy wifi0 set interfaces wlan wlan1 type access-point security akm none set interfaces wlan wlan1 type access-point ssid network_5GHz