RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
47
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
48-bit MAC Address in hexadecimal format with colon
separation. e.g., 00:23:A7:01:02:03
[-v] – Get description of the fields in the statistics
Filename (string) to which the statistics will be written
Output Parameter
Statistics like:
1) Number of Beacons received
2) Number of Management packets transmitted/received
3) Number of Unicast/Multicast packets transmitted/
received
4) Number of data packets transmitted/received
5) Number of Probe Request/Response packets transmitted/
received etc.
Usage
# ./onebox_util <vap_name> print_station_stats <mac_addr> [-
v] [-f filename]
Example
The command below logs the statistics of the packets
exchanged between the Access Point (wifi0) and a Station with
MAC address 00:1C:2b:10:19:1a into the file named “stats”.
#./onebox_util wifi0 print_station_stats 00:1C:2b:10:19:1a -v -f
stats
Select Antenna
Description
This command is used to select one of the two RF ports
connecting to antennas. For the modules without integrated
antenna, it is used to select between pins RF_OUT_1 and
RF_OUT_2. For the modules with integrated antenna and U.FL
connector, it is used to select between the two. In case
Antenna
Diversity
feature is enabled, this ioctl will not have any effect.
The Antenna selection will happen automatically at the
firmware level.
Note:
This ioctl is redundant. Refer to Section 16 for futher details.
The functionality of the ioclt is intact. However it might be
removed in the future to reduce redundancy.
Default Value
2