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
131
4. Preparing the MMC Card: An SD/MMC memory card is required to transfer the bootloader and kernel images
for initializing the partition table and copy the root file system. This is included in the i.MX53 Evaluation Kit.
Refer to the i.MX53_EVK_Linux_BSP_UserGuide.pdf document provided by Freescale as a part of the
IMX53_1109_LINUXDOCS_BUNDLE documentation package, in order to prepare the SD/MMC card for Linux
OS with kernel version 2.6.35.
27.3.4 Cross Compile and Copy OneBox-Mobile Software
If the OneBox-Mobile software's source is available, follow the steps mentioned in the section Compiling the
Driver in order to cross compile the OneBox-Mobile software for i.MX53.
Assign the DEF_KERNEL_DIR variable in the Makefile as follows (assuming the kernel source is available in the "/
lib/modules" folder):
DEF_KERNEL_DIR := /lib/modules/linux-2.6.35.3
The "make" command for the i.MX53 is as follows:
make ARCH=arm CROSS_COMPILE=/toolchain/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-
linux-gnueabi/bin/arm-none-linux-gnueabi-
Next, plugin the SD/MMC card to the PC and copy the pre-built binaries or the binaries generated above to the SD/
MMC card.
Plugin the SD/MMC card into the i.MX53 board and follow the boot procedure. Once the bootup and login are
completed, go to the release folder and follow the procedure explained in the section
4 Installing the Driver.
27.4 Atmel AT91SAM9G45 and AT91SAM9M10
The Linux kernel version used on the Atmel AT91SAM9G45/M10 is 2.6.30. This is used to verify only the Wi-Fi mode.
Bluetooth drivers are not compatible with this kernel version.
27.4.1 Hardware Requirements
• SAM9M10-G45-EK - ARM926-based eMPU Eval Kit. The kit contents are as follows:
a. Board: SAM9M10-G45-EK
b. Cables: One micro A/B-type USB cable, One serial RS232 cable, One RJ45 crossed cable
c. Power supply: Universal input AC/DC power supply, One 3V Lithium Battery type CR1225
d. Linux PC with Serial port – Used to communicate with the processor platform
27.4.2 Software Requirements
The software requirements for Atmel AT91SAM9G45 and AT91SAM9M10 platform are as follows:
• Toolchain, BSP and Ubuntu Linux OS package for AT91SAM9G45 and AT91SAM9M10 - Kernel version 2.6.30
• OneBox-Mobile Software Release package
• minicom/GTKTerm on the Linux PC
27.4.3 Hardware Setup
The hardware setup is as follows:
1. Connect the Atmel board to the Linux PC using the Serial RS232 cable.
2. Connect the Redpine Evaluation Board (EVB) to the processor board using the SDIO adaptor or USB-to-
microUSB cable (both included in the Redpine Evaluation Kit), depending on which Host Interface is needed.
3. Power on the processor board.
4. Open a serial terminal program like minicom or GTKTerm and configure it with the following settings:
• Baud Rate: 115200
• Data bits: 8