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
136
29 Appendix D: Common Configuration Parameters
The common_insert.sh script is used to configure parameters at boot time. The parameters with their usage and
input values are described below.
29.1 RF Power Mode parameter
The RF Power Mode parameter is used to set the power mode at which the RF operates. It is applicable for each
protocol. By default, it is set to high power TX and high power RX. The following are the possible configurable
values:
• 0x00 - For Both TX and RX High Power
• 0x11 - For Both TX and RX Medium Power
• 0x22 - For Both TX and RX LOW Power
• 0x10 - For High Power TX and Medium RX Power
• 0x20 - For High Power TX and LOW RX Power
• 0x01 - For Medium TX and RX High Power
• 0x21 - For Medium Power TX and LOW RX Power
• 0x02 - For Low Power TX and RX High Power
• 0x12 - For LOW Power TX and Medium RX Power
WLAN_RF_PWR_MODE is used to set the rf power mode for WLAN protocol.
BT_RF_PWR_MODE is used to set the rf power mode for Bluetooth protocol.
Example:
WLAN_RF_PWR_MODE=0x00
The above sets high TX and high RX power for WLAN.
BT_RF_PWR_MODE=0x00
The above sets high TX and high RX power for Bluetooth.
29.2 Country selection
This parameter is used to set the module in a specific country. This is set commonly across all protocols. The
following country codes are applicable.
• 0 - World Domain
• 840 - US Domain Maps to US Region
• 276 - Germany Maps to EU Region
• 392 - Japan Maps to Japan Region
Example:
SET_COUNTRY_CODE=0
The above sets the module in the world domain.
29.3 Antenna selection
This variable is used to select the antenna to be used. The following are the possible values:
• 2 – Select internal antenna
• 3 – Select external antenna
Example:
ANT_SEL_VALUE=2
The above line selects the internal antenna. The Operation starts on this antenna.
In the NL80211 mode priority is given for the country code from "sta_settings /hostapd.conf / iw" than the
country code from common_insert.sh. It is recommended to use same country code in all inputs to avoid
confusion.