RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
98
17 Wi-Fi Performance Test ioctl usage
The One Box-Mobile software provides applications to test Transmit and receive performances of the module. The
Band of operation of the module needs to be configured before performing any tests.
Also open the
common_insert.sh
file present in the
"release"
folder using an editor like vim. Ensure that below
parameters are set as specified.
DRIVER_MODE=
2
POWER_SAVE_OPTION=
0
STANDBY_ASSOC_CHAIN_SEL=
0
LMAC_BEACON_DROP=
0
Run the following command in order to install the Driver in Performance Test mode
sh wlan_enable.sh or wlan_bt_insert.sh or wlan_zigb_insert.sh or onebox_insert.sh script
17.1 WiFi Transmit Tests
The
"transmit"
utility, present in the
"release"
folder allows the configuration of the following parameters in
order to start the transmission of packets.
•
Transmit Power
•
Transmit Data Rate
•
Packet Length
•
Transmit Mode
•
External PA Enable/Disable This is not supported in the current release.
•
Rate Flags like Short GI, Greenfield, etc.
•
Enable/Disable Aggregation
•
Number of packets to be transmitted in Burst Mode
•
Delay between packets in Burst Mode
•
Regulatory Domain
17.1.1 Transmit Command Usage
The command usage is explained below
./transmit <base-
interface
> <tp> <r> <l> <m> <c> <p> <f> <a> <n> <d> <rd>
<base_interface>:
This parameter specifies the Base Interface (string like rpine0).
<tp>:
Transmit Power. To control transmit power in dBm units. To set the transmit power value; enter a value
either between -7 and18. If a value of 127 is entered, the packet will be transmitted at the maximum power from the
Transmit power table in the module.
<r>:
Transmit Data Rate. To set the transmit data rate, select a value from 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48, 54,
mcs0, mcs1, mcs2, mcs3, mcs4, mcs5, mcs6 and mcs7.
<l>:
Transmit packet length in bytes. Enter a value between 24 and 1536 when aggregation is not enabled and
between 24 and 30000 when aggregation is enabled.
<m>:
Transmit mode. Enter 0 for Burst mode and 1 for Continuous mode.
<c>:
Cabled tests can be run in configured channels.. The following table maps the channel numbers to the center
frequencies for 20MHz and 40MHz bandwidth modes in 2.4 GHz band.