|
| 1 | +.. _ug_wifi_adaptivity_test_procedure: |
| 2 | + |
| 3 | +EN 301 893 V2.1.1 based adaptivity test procedure |
| 4 | +################################################# |
| 5 | + |
| 6 | +.. contents:: |
| 7 | + :local: |
| 8 | + :depth: 2 |
| 9 | + |
| 10 | +This section describes two methods of adaptivity testing, using the Wi-Fi® Shell and Wi-Fi Radio test samples. |
| 11 | + |
| 12 | +The test requirements and methods for adaptivity (channel access mechanism) are described in EN 301 893 V2.1.1: |
| 13 | + |
| 14 | +* Test requirements in Section 4.2.7 Adaptivity (channel access mechanism) |
| 15 | +* Test method in Section 5.4.9 Adaptivity (channel access mechanism) |
| 16 | + |
| 17 | +The nRF7002 device is a supervised device and complies with EN 301 893, clause 4.2.7.3.2.4, Table 8. |
| 18 | + |
| 19 | +The following figure shows a test setup for adaptivity verification using two nRF7002 Development Kit (DK)s. |
| 20 | + |
| 21 | +.. figure:: images/adaptivity_test_setup.svg |
| 22 | + :alt: Test set up for verifying the adaptivity of nRF7002 DK |
| 23 | + |
| 24 | + Test set up for verifying the adaptivity of nRF7002 DK |
| 25 | + |
| 26 | +The :term:`Device Under Test (DUT)` is an nRF7002 DK configured to a transmit (TX) mode through the following samples: |
| 27 | + |
| 28 | +* Wi-Fi Shell sample that can connect to an access point and run DUT TX through a zperf session. |
| 29 | + For details, see :ref:`ug_using_wifi_shell_sample`. |
| 30 | + |
| 31 | +* Wi-Fi Radio test sample which includes an internal traffic source used for the transmitted packets. |
| 32 | + |
| 33 | +The companion device is an optional nRF7002 DK or :term:`Evaluation Kit (EK)` configured as a receiving device through the Wi-Fi Radio test sample. |
| 34 | +It only acts as a monitoring device for the transmissions from the DUT. |
| 35 | +This device can be omitted if the monitoring of the transmissions is accomplished by the spectrum analyzer. |
| 36 | +A Wi-Fi sniffer or any other compliant Wi-Fi device capable of monitoring Wi-Fi traffic can also be used. |
| 37 | + |
| 38 | +The following test procedure is recommended: |
| 39 | + |
| 40 | +1. Validate the test setup as shown in Test set up for verifying the adaptivity of nRF7002 DK. |
| 41 | +#. Set up the companion device for monitoring traffic on the required channel used by the DUT. |
| 42 | + If the monitoring device is another nRF7002 DK or EK, see :ref:`ug_wifi_radio_test_for_per_measurements` for setting it up in the receive mode for monitoring. |
| 43 | + Omit the transmit part of the instructions as the DUT will be configured to transmit continuously. |
| 44 | + |
| 45 | +#. Set up the DUT to transmit on the required channel or mode either using the Wi-Fi Shell sample or the Wi-Fi Radio test sample. |
| 46 | + |
| 47 | + * DUT as Wi-Fi Shell sample running UDP TX |
| 48 | + |
| 49 | + .. toggle:: |
| 50 | + |
| 51 | + Set up the DUT to transmit on the required channel or mode using the Wi-Fi Shell sample. |
| 52 | + |
| 53 | + The nRF7002 Wi-Fi device is designed for low-power IoT applications, featuring a low-power host device with low processing frequency and memory. |
| 54 | + When connected to an access point in infrastructure mode and utilizing the suggested User Datagram Protocol (UDP) transmit traffic, the DUT cannot maintain full transmission queues due to host limitations. |
| 55 | + |
| 56 | + This leads to misleading results, despite the underlying channel access mechanism's compliance with the defined IEEE 802.11 standards. |
| 57 | + To achieve the required transmit packet duty cycle above 30%, it is necessary to limit the device to a lower data rate, such as 6 Mbps or MCS0. |
| 58 | + |
| 59 | + Example command on the access point side: |
| 60 | + |
| 61 | + .. code-block:: bash |
| 62 | +
|
| 63 | + iperf -s -i 1 -u |
| 64 | +
|
| 65 | + Example commands on the DUT side for fixing data rate to 6 Mbps: |
| 66 | + |
| 67 | + .. code-block:: bash |
| 68 | +
|
| 69 | + wifi connect <SSID> <Password> |
| 70 | + wifi_util tx_rate 0 6 |
| 71 | + zperf udp upload 192.168.1.20 5001 20 1k 20M |
| 72 | +
|
| 73 | + * DUT as Wi-Fi Radio test sample |
| 74 | + |
| 75 | + .. toggle:: |
| 76 | + |
| 77 | + Set up the DUT to transmit on the required channel or mode using the Wi-Fi Radio test sample. |
| 78 | + |
| 79 | + Use the Wi-Fi Radio test sample in transmit mode, which is built on top of the core Wi-Fi driver and firmware. |
| 80 | + This includes CSMA/CA, random backoff, and CCA engines, ensuring compliance with all transmission protocols defined in the IEEE 802.11 standards. |
| 81 | + |
| 82 | + Any set of the TX commands given in :ref:`ug_wifi_radio_sample_for_transmit_tests` can be used for this testing based on required parameters. |
| 83 | + |
| 84 | + The following example shows how to run a continuous (OFDM) TX traffic sequence in 11a mode: |
| 85 | + |
| 86 | + * Channel: 100 |
| 87 | + * Payload length: 1000 bytes |
| 88 | + * Inter-frame gap: 0 µs |
| 89 | + * Data rate: 5 Mbps |
| 90 | + |
| 91 | + Execute the following sequence of commands: |
| 92 | + |
| 93 | + .. code-block:: bash |
| 94 | +
|
| 95 | + uart:~$ wifi_radio_test init 100 |
| 96 | + uart:~$ wifi_radio_test tx_pkt_tput_mode 0 |
| 97 | + uart:~$ wifi_radio_test tx_pkt_rate 54 |
| 98 | + uart:~$ wifi_radio_test tx_pkt_len 1000 |
| 99 | + uart:~$ wifi_radio_test tx_pkt_gap 0 |
| 100 | + uart:~$ wifi_radio_test tx_pkt_num -1 |
| 101 | + uart:~$ wifi_radio_test tx 1 |
0 commit comments