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
116
24.1 Bluetooth Power Save Commands
The vendor-specific HCI Commands are used to configure the device in the power save mode. The module supports
Low Power (LP) and Ultra-Low Power (ULP) modes. These are explained in more detail in the
Power Save Modes
section of WLAN ioctl Usage Guide. The LP and ULP modes are supported with the SDIO interface while only the LP
mode is supported in USB mode.
Vendor Specific
Power Save
Description This command is used to enable/disable the power save mode of the
device and also set the sleep duration in Standby mode.
Default Value -
Input Parameters Sleep Enable:
0x01 - Sleep enable
0x00 - Sleep disable
Sleep Mode:
0x01 – LP (Low Power) mode
0x02 – ULP (Ultra Low Power) mode
Sleep Duration in Standby mode (in msec) : (Range 0x00 – 0xFF)
Output Parameter None
Reset Required No.
Usage hcitool -i <hciX> cmd 0x3F 0x0003 <sleep enable/disable> <sleep
mode> <sleep duration>
24.2 Bluetooth Performance Test ioctl Usage
The OneBox-Mobile software provides applications to test Transmit and Receive performance of the module.Open
the common_insert.sh file present in the "release" folder using an editor like vim. Ensure that the DRIVER_MODE
and COEX_MODE is set as below:
DRIVER_MODE = 2
COEX_MODE = 8(for BT LE)
Ensure that only Bluetooth is selected in menuconfig.
Run the onebox_insert.sh script present in the "release" folder to install the Driver in Performance Test mode.
Next, follow the instructions below to run the Transmit and Receive tests.
24.3 BLE/BLR Transmit
24.3.1 Introduction
The "transmit" utility, present in the "release" folder requires configuring the following parameters to start
transmitting packets.
• Access address