Radio Modes

The following scenarios show how to configure WLAN radio controllers to use different modes. The modes depend on the device driver and the band:

Driver

2.4 GHz Band Modes

5 GHz Band Modes

ath12k

802.11g 802.11n 802.11ax 802.11be

802.11a 802.11n 802.11ac 802.11ax 802.11be

qca2066-lea

802.11g 802.11n 802.11ax

802.11a 802.11n 802.11ac 802.11ax

nxp

802.11g 802.11n 802.11ax

802.11a 802.11n 802.11ac 802.11ax

2.4 GHz Radio Capabilities

Description

In this scenario, the 2.4 GHz radio capabilities are verified to ensure the radio supports the expected 802.11 modes based on the driver.

Scenario

Step 1: Get the supported Modes from wifi1 capabilities list:

admin@DUT0$ controllers wlan radios wifi1 show capabilities
Show output
Radio: wifi1
                  Type: physical
                   Phy: mwiphy1
                 Bands: 2.4GHz
            Bandwidths: 20MHz,40MHz
                 Modes: 802.11g,802.11n
    Supported channels: 1,2,3,4,5,6,7,8,9,10,11,12,13,14
       Spatial streams: 2
         Max. TX power: 20dBm (100.0mW)
         Max. stations: 64
       Max. interfaces: 2
       HT capabilities: LDPC,TX-STBC,RX-STBC1

5 GHz Radio Capabilities

Description

In this scenario, the 5 GHz radio capabilities are verified to ensure the radio supports the expected 802.11 modes based on the driver.

Scenario

Step 1: Get the supported Modes from wifi0 capabilities list:

admin@DUT0$ controllers wlan radios wifi0 show capabilities
Show output
Radio: wifi0
                  Type: physical
                   Phy: mwiphy0
                 Bands: 5GHz
            Bandwidths: 20MHz,40MHz,80MHz
                 Modes: 802.11a,802.11n,802.11ac,802.11ax
    Supported channels: 36,40,44,48,52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,149,153,157,161,165
       Spatial streams: 2
         Max. TX power: 20dBm (100.0mW)
         Max. stations: 64
       Max. interfaces: 2
       HT capabilities: LDPC,TX-STBC,RX-STBC1
      VHT capabilities: MAX-MPDU-3895,RXLDPC,TX-STBC-2BY1,RX-STBC-1,SU-BEAMFORMER,SU-BEAMFORMEE,BF-ANTENNA-4,SOUNDING-DIMENSION-2,HTC-VHT,MAX-A-MPDU-LEN-EXP7,RX-ANTENNA-PATTERN,TX-ANTENNA-PATTERN

2.4 GHz Radio Modes

Description

In this scenario, the 2.4 GHz radio is configured to use different 802.11 modes. Each mode is configured individually and verified by checking beacon information elements.

Scenario

Step 1: Get the supported Modes from wifi1 capabilities list:

admin@DUT0$ controllers wlan radios wifi1 show capabilities
Show output
Radio: wifi1
                  Type: physical
                   Phy: mwiphy1
                 Bands: 2.4GHz
            Bandwidths: 20MHz,40MHz
                 Modes: 802.11g,802.11n
    Supported channels: 1,2,3,4,5,6,7,8,9,10,11,12,13,14
       Spatial streams: 2
         Max. TX power: 20dBm (100.0mW)
         Max. stations: 64
       Max. interfaces: 2
       HT capabilities: LDPC,TX-STBC,RX-STBC1

Step 2: Set the following configuration in DUT0 :

set controllers wlan radios wifi1 band 2.4GHz
set controllers wlan radios wifi1 bandwidth 20MHz
set controllers wlan radios wifi1 channel 1
set controllers wlan radios wifi1 mode 802.11g
set interfaces bridge br0 address 192.168.100.1/24
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_24ghz
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi legacy mode or 802.11a/g was configured

Step 3: Wait until the wlan4 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi1 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 4: Configure the MON device to listen for packets on channel 1 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.supported_rates

At least one packet with the provided criteria must be present.

Step 5: Set the following configuration in DUT0 :

set controllers wlan radios wifi1 band 2.4GHz
set controllers wlan radios wifi1 bandwidth 20MHz
set controllers wlan radios wifi1 channel 1
set controllers wlan radios wifi1 mode 802.11n
set interfaces bridge br0 address 192.168.100.1/24
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_24ghz
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi 4 mode or 802.11n was configured

Step 6: Wait until the wlan4 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi1 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 7: Configure the MON device to listen for packets on channel 1 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.ht.capabilities

At least one packet with the provided criteria must be present.


5 GHz Radio Modes

Description

In this scenario, the 5 GHz radio is configured to use different 802.11 modes. Each mode is configured individually and verified by checking beacon information elements.

Scenario

Step 1: Get the supported Modes from wifi0 capabilities list:

admin@DUT0$ controllers wlan radios wifi0 show capabilities
Show output
Radio: wifi0
                  Type: physical
                   Phy: mwiphy0
                 Bands: 5GHz
            Bandwidths: 20MHz,40MHz,80MHz
                 Modes: 802.11a,802.11n,802.11ac,802.11ax
    Supported channels: 36,40,44,48,52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,149,153,157,161,165
       Spatial streams: 2
         Max. TX power: 20dBm (100.0mW)
         Max. stations: 64
       Max. interfaces: 2
       HT capabilities: LDPC,TX-STBC,RX-STBC1
      VHT capabilities: MAX-MPDU-3895,RXLDPC,TX-STBC-2BY1,RX-STBC-1,SU-BEAMFORMER,SU-BEAMFORMEE,BF-ANTENNA-4,SOUNDING-DIMENSION-2,HTC-VHT,MAX-A-MPDU-LEN-EXP7,RX-ANTENNA-PATTERN,TX-ANTENNA-PATTERN

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 bandwidth 20MHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 mode 802.11a
set interfaces bridge br0 address 192.168.100.1/24
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
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi legacy mode or 802.11a/g was configured

Step 3: Wait until the wlan1 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi0 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 4: Configure the MON device to listen for packets on channel 36 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.supported_rates

At least one packet with the provided criteria must be present.

Step 5: Set the following configuration in DUT0 :

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 bandwidth 20MHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 mode 802.11n
set interfaces bridge br0 address 192.168.100.1/24
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
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi 4 mode or 802.11n was configured

Step 6: Wait until the wlan1 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi0 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 7: Configure the MON device to listen for packets on channel 36 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.ht.capabilities

At least one packet with the provided criteria must be present.

Step 8: Set the following configuration in DUT0 :

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 bandwidth 20MHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 mode 802.11ac
set interfaces bridge br0 address 192.168.100.1/24
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
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi 5 or 802.11ac was configured

Step 9: Wait until the wlan1 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi0 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 10: Configure the MON device to listen for packets on channel 36 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.vht.capabilities

At least one packet with the provided criteria must be present.

Step 11: Set the following configuration in DUT0 :

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 bandwidth 20MHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0 address 192.168.100.1/24
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
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Note that Wi-Fi 6 mode or 802.11ax was configured

Step 12: Wait until the wlan1 interface of DUT0 becomes up for up to 90s seconds. Once the interface is up verify that the base radio module wifi0 is also up. Note that the CAC procedure could delay this process up to 10 mins depending on the selected channel.

Step 13: Configure the MON device to listen for packets on channel 36 for 10s seconds discarding all packets not sent by DUT0. Then, apply the following filter to the captured traffic:

wlan.ext_tag.number==35

At least one packet with the provided criteria must be present.