Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 46
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Create a VAP The
OneBox-Mobile
software allows
creation of 4 VAPs
Input Parameters
Base Interface (string like rpine0)
VAP Name (string like wifi0, wifi1, etc.)
Operating Mode (string):
ap Access Point Mode
sta Station/Client Mode
p2p P2P Mode
mon Monitor Mode Refer to the section Monitor Mode for more details.
Beacon Filtering after connecting to an Access Point (only for Client mode). Valid inputs are:
sw_bmiss Beacon filtering disabled. All beacons of connected Access Point provided to Host driver.
hw_bmiss Beacon filtering is enabled. The Beacon is provided to Host driver when there is a
change in the Beacon from the connected Access Point.
This feature also programs the device to indicate to the Host driver when 20 consecutive beacons
are not received by the device.
Output Parameter
None
Reset Required
No
Usage
./onebox_util <base_interface> create_vap <vap_name> <op_mode>
Example
The command given below creates a virtual interface named wifi0 in the Client mode with Beacon
filtering disabled.
/onebox_util rpine0 create_vap wifi0 sta sw_bm
Delete a VAP
Description
This command is used to delete an existing virtual interface (VAP).
Default Value
-
Input Parameters
Base Interface (string like rpine0)
VAP Name (string like wifi0, wifi1, etc.)
Output Parameter
None
Reset Required
No
Usage
# ./onebox_util <base_interface> delete_vap <vap_name>
Example
The command given below deletes a virtual interface named wifi0.
# ./onebox_util rpine0 delete_vap wifi0
Print VAP Statistics
Description
This command is used to print the statistics of the transmitted and received packets of an existing
virtual interface (VAP).
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
[-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 transmitted (for Access Point/P2P GO modes)
2) Number of Beacons received (for Client/P2P Client modes)
3) Number of Management packets received
4) Number of packets received from a different BSS
etc.