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
24
Configure the SSID Settings of the AP in the hostapd_open.conf file (say if you are starting AP in open mode).
In order to start AP in a particular band and channels, configure variables hw_mode, channel and country in
hostapd_open.conf (present in release folder) file as follows :
• hw_mode=g ( 'g'-2.4GHz)
• channel=1
• country_code=US
Note:
Channel selection in the hostapd_open.conf file should be appropriate as per the band
selected.
Make sure in hostapd_open.conf file, the AP netdevice name is set to wifi0 or wifi1 according to the interface
obtained by following the above steps.
For eg:
• Interface = wifi0
Note: Refer section
Appendix G: Considerations need to be made during hostapd usage for description of other
configurable parameters of hostapd.conf file(s).
7. Run hostapd with following command
$ ./hostapd hostapd_open.conf –ddddt> log &
4.4.5 Installation in Wi-Fi Direct Mode (With BSD Interface Support)
The steps for installing OneBox-Mobile software in Wi-Fi Direct Mode are as follows:
The "start_p2p.sh" script present in the "release" folder needs to be run in order to start the supplicant and also
for installing the Wi-Fi Direct mode. The configurable parameters in the p2p.conf file are outlined below:
• listen channel
• operating channel
• GO Intent
After starting the supplicant, the p2p_commands mentioned below should be executed.
• To find other P2P networks
• #. /wpa_cli –i wifi0 p2p_find
• To find other P2P devices in range
• #. /wpa_cli –i wifi0 p2p_peers
• To connect to a P2P network
• #. /wpa_cli –i wifi0 p2p_connect <BSS ID> pbc go_intent=<intent value>
Here the intent value range is between 0 and 15 (Putting intent value to 0 makes p2p device as client and 15 makes
p2p device as group owner).
4.4.5.1 Autonomous GO Mode
The given below command is used to start the device in Autonomous GO mode:
In the same way, we can also configure required SSID and Passphrase and key management settings in
hostapd_ccmp.conf, hostapd_wep.conf, hostapd_tkip.conf files accordingly.
If you want to use Auto Channel Selection using hostapd refer
ACS with Hostapd section.