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
14
4 Installing the Driver
4.1 Installation of Modules
After completion of compilation, the driver generates the following modules in the release folder. They are outlined
below:
• onebox_common_gpl.ko
• onebox_gpl.ko
• onebox_nongpl.ko
• onebox_wlan_gpl.ko
• onebox_wlan_nongpl.ko
• onebox_bt_gpl.ko
• onebox_bt_nongpl.ko
• wlan.ko
• wlan_wep.ko
• wlan_ccmp.ko
• wlan_tkip.ko
• wlan_acl.ko
• wlan_scan_sta.ko
• wlan_xauth.ko
Now,Load various modules in the following order:
Load onebox common gpl module
# insmod onebox_common_gpl.ko
Load protocol related Modules (Wi-Fi, BT)
Load common Hal Modules (onebox_nongpl.ko and onebox_gpl.ko).
Note: Please change operating voltage configuration (1.8V or 3.3V) in common_insert.sh file in
FEATURE_BITMAP_9116.
Example: For 3.3V keep FEATURE_BITMAP_9116=0
For 1.8V keep FEATURE_BITMAP_9116=2
For 3.3V, 5Mhz BW keep FEATURE_BITMAP_9116=32
Note: Please select appropriate SLEEP CLOCK SOURCE in common_insert.sh file as required
SLEEP CLOCK SOURCE SELCECTION =
0 - Use 32khz internal RC clock as sleep clock
1 - Use 32KHz clock from external XTAL OSCILLATOR (Applicable only for Silicon Version <= 1.3 )
2 - Use 32KHz bypass clock on UULP_GPIO_3
3 - Use 32KHz bypass clock on UULP_GPIO_4
Note: Please configure SLEEP_GPIO in common_insert.sh file as connected
SLEEP_IND_GPIO_SEL =
0 - UULP_GPIO_3
1 - UULP_GPIO_0