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
31
5 Wi-Fi ioctl Usage Guide
This section explains about the usage of various ioctl commands present in the OneBox-Mobile driver. The user has
control over multiple settings such as device settings, radio, aggregation, fragmentation thresholds, power save
configurations and so on.
5.1 Configuring using Wireless Extensions
iwconfig" is a generic Linux based wireless tool which is used for setting parameters for a wireless network
interface. It may be used in lieu of the Wi-Fi supplicant provided as a part of the OneBox-Mobile software. However,
care has to be taken to follow the correct sequence of commands while using "iwconfig". The Redpine Signals
recommends usage of the supplicant provided in the software package.
This section describes the usage of "iwconfig" in conjunction with the Onebox-Mobile driver. For a detailed
description of the tool, refer to the relevant main pages in Linux.
"iwconfig" only works when the driver is operating in the 'BSD' mode.
The details of the Access Point for which the n-Link® is connected in the Client mode can be viewed by using the
given below command.
# iwconfig <vap_name>
The table below describes the usage of the command in more detail.
Set Channel/Frequency (only in Monitor mode)
Description This command is used to set the Channel for the n-Link® module.
Default value 1
Input Parameters VAP Name (string like wifi0, wifi1, etc.)
Channel number
Output Parameter None
Reset required No
Usage # iwconfig <vap_name> freq <channel_no>
(OR)
# iwconfig <vap_name> channel <channel_no>
Example # iwconfig wifi0 freq 6
(OR)
# iwconfig wifi0 channel 6
Set Data Transmit Rate
Description This command is used to set the data rate for transmission.
Default value 0 (Auto Rate)