Reference Manual
Table Of Contents
- Introduction to RS9116
- Getting Started with RS9116
- Compiling the Driver
- Installing the Driver
- Installation of Modules
- Enabling a Protocol
- Disabling a Protocol
- OneBox-Mobile in Wi-Fi Only Mode
- Installation in Wi-Fi Client Mode (with BSD interface support)
- Installation in Access Point Mode (with BSD interface support)
- Installation in Wi-Fi Client Mode (with NL80211 support)
- Installation in Wi-Fi AP mode (with NL80211 support)
- Installation in Wi-Fi Direct Mode (With BSD Interface Support)
- Installation in Wi-Fi Direct Mode (With NL80211 Support only for Kernel v3.8 or higher)
- OneBox-Mobile in Wi-Fi + Bluetooth LE Coexistence Mode
- Driver Information
- Wi-Fi ioctl Usage Guide
- Configuration Using CFG80211
- Enterprise security using CFG80211
- HOSTAPD and Wi-Fi Protected Setup (WPS)
- ACS with Hostapd
- Antenna Diversity
- Sniffer Mode
- Monitor Mode
- Concurrent Mode
- Background Scan Parameters
- Power save Modes, Profiles and Parameters
- Compliance and Certification
- Wi-Fi Performance Test ioctl usage
- Wake-On-Wireless LAN
- PUF [ Physical Unclonable Functions ]
- GTK Offload
- Steps to connect 802.11R client to AP
- Steps to configure 802.11W
- Update WLAN region based maximum powers from driver
- Bluetooth hcitool and hciconfig Usage
- Android support for RS9116
- Appendix A: Configuration of Kernels from 3.13 and above
- Appendix B: Binary Files for Embedded Platforms
- Appendix C: Using the Bluetooth Manager
- Appendix D: Common Configuration Parameters
- Appendix E: Installation of Missing Generic Netlink Libraries
- Appendix F: Procedure to use latest supplicant with NL80211 interface
- Appendix G: Considerations need to be made during hostapd usage
- RS9116 n-Link Software TRM Revision History
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
49
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
Example The command given below triggers background scan without
waiting for periodicity timeout.
# ./onebox_util rpine0 do_bgscan
Note:The do_bgscan command has to be followed by
set_bgscan_params command.