Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 48
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Create a VAP The
OneBox-Mobile
software allows
creation of 4 VAPs
and will select RF_OUT_1 pin in the case of the module without an integrated antenna.
# ./onebox_util rpine0 ant_sel 3
Enable Background
Scan and Set
Parameters (only in
Client mode)
Description
This command is used to enable background scan and set the relevant parameters. Refer to the
section on Background Scan Parameters for more details on each parameter.
Default Value
2
Input Parameters
Base Interface (string like rpine0)
Background Scan Threshold
RSSI Tolerance Threshold
Periodicity
Active Scan Duration
Passive Scan Duration
Two Probe Enable
Number of Background Scan Channels
Channels to Scan
Note: The OneBox-Mobile software supports DFS slave mode. However, DFS Channels need to be
avoided till the module is certified for DFS.
Output Parameter
None
Reset Required
No.
Usage
# ./onebox_util <base_interface> set_bgscan_params <bgscan_threshold>
<rssi_tolerance_threshold> <periodicity> <active_scan_duration> <passive_scan_duration>
<two_probe_enable> <num_of_bgscan_channels> <channels_to_scan>
Example
The command given below enables Background Scan with a scan threshold of 10, RSSI tolerance
threshold of 10, periodicity of 3 seconds, active scan duration of 20 milliseconds, passive scan
duration of 100 milliseconds, two-probe enabled and the channels 36, 40 and 44.
# ./onebox_util rpine0 set_bgscan_params 10 10 3 20 100 1 3 36 40 44
Note
In order to select 11J channels 8, 12, 16, enter the channel number as 8J, 12J, 16J respectively.
Remaining 11J channels can be selected with their channel numbers.
Example:
# ./onebox_util rpine0 set_bgscan_params 10 10 3 20 100 1 4 36 40 44 8J
Host-Triggered
Background Scan
(only in Client mode)
Description
This command is used to trigger background scan without waiting for the periodicity mentioned in
bgscan_parameters.
Default Value
-
Input Parameters
-
Output Parameter
None
Reset Required
No.
Usage
# ./onebox_util <base_interface> do_bgscan