Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 55
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
The integer value mapping has been shown below:
0 High power mode
1 Medium power mode
2 Low power mode
Output Parameters
None
Reset Required
No
Usage
# ./onebox_util <base_interface> set_rf_tx_rx_pwr_mode tx_value rx_value
Example
./onebox_util rpine0 set_rf_tx_rx_pwr_mode 0 1
Set scan type
Description
This command is used to select the band in which the user wants to perform the scan. Using this
command the user can either test in 2.4Ghz or 5Ghz bands.
Default Value
Both 2.4Ghz and 5Ghz bands are enabled by default.
List of possible values
1 To scan 2.4Ghz only band
2 To scan 5Ghz only band
Input Prameters
Integer value
Output Parameters
None
Reset Required
No
Usage
# ./onebox_util <base_interface> set_scan_type value
Example
./onebox_util rpine0 set_scan_type 1
The above command performs scan only in 2.4Ghz band.
Note:
Issue this command before creating station virtual interface.
Set Beacon Filter
(Only in AP mode)
Description
This command is used to enable beacon filtering in the firmware. All the third party beacons will be
filtered at the firmware after applying beacon filter Ioctl.
Default Value
0-Disabled by default
Input Parameters
The integer value mapping has been shown below:
0-Disabled beacon filtering
1-Enabled beacon filtering
Output Parameter
None
Reset Required
No
Usage
# ./onebox_util <base_interface> set_rx_filter 0 0 0 0 <value> 0 0
Example
./onebox_util rpine0 set_rx_filter 0 0 0 0 1 0 0
The above command does not allow beacons to be received from firmware to driver in AP mode.
Note:
In the above command BIT (0, 1, 2, 3, 5, 6) are reserved for future use. Only BIT (4) is used for
beacon filtering.
Get Tx-Power
Description
This command is used to get current value of transmit power from firmware and updates it in