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
58
Example The commands below set the Antenna gain values for 2.4 GHz
to 3 dBm
RESERVED field should be programmed as 1
# sh remove_all.sh
# sh wlan_enable.sh or wlan_bt_insert.sh or onebox_insert.sh
script present in the “release” folder as per the instructions
mentioned in the section Installation of Modules.
# ./onebox_util rpine0 set_ext_ant_gain 3 1
# ./onebox_util rpine0 create_vap wifi0 sta
Set Antenna Type
Description This command is used to configure the antenna, based on its
type and its mounted path. The configuration values are used
by the module to attenuate the output transmit power based
on the selected antenna type for the corresponding path so that
the regulatory requirements like FCC, ETSI, etc., are not
violated. This command needs to be given before creating the
VAP in the normal mode and before the "./transmit" command
in the "Wi-Fi Performance Test ioctl usage" as mentioned in the
section
Wi-Fi Performance Test ioctl usage.
Default Value ant_path: 1
ant_type: 1
For ant_path
• If value is 1, then it is considered as RF_OUT_2/Integrated Antenna
• If value is 2, then it is considered as RF_OUT_1/U.FL Connector.
For ant_type
• If value is 1, then it is considered as Type 1 antenna.
• If value is 2, then it is considered as Type 2 antenna.
If value is 3, then it is considered as Type 3 antenna.
Input Parameters Use the following table to configure antenna type based on 2G
gain values
2G Gain range Antenna Type
0 < Gain <= 0.99 Type 1
0.99 < Gain <= 1.8Type 2
1.8 < Gain <= 3 Type 3
Output Parameters None