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
65
6 Configuration Using CFG80211
This section explains about the usage of various IOCTL commands, which can be issued to the Onebox-Mobile™
driver operating in CFG80211 mode from the user space.
6.1 Using iw Wireless Tool
'iw' is a new nl80211 based CLI configuration utility for wireless devices. It is used to set/get various parameters of a
wireless network interface. This section covers the usage of 'iw' when used with the Onebox-Mobile ™ driver. For a
detailed description of 'iw' tool, please refer to the relevant man pages on Linux system. The list of supported
commands via "iw" tool are listed below.
Creating a virtual Interface
Description This command is used to create a virtual interface in the specific mode
requested by user
Default Value -
Input Parameters <phy name > – Phy name can be obtained by using the following command
$ iw phy
In case of multiple wireless interfaces are present, please refer to the NOTE
given below on how to determine the phy name.
<interface name> – name of the virtual interface to be created
<operating mode> – operating mode of the virtual interface that can be either
'managed' for station mode or '__ap' for access point mode.
Output
Parameter
-
Reset Required No
Usage iw phy <phy name> interface add <interface name> type <operating mode>
Example To create a virtual interface in Access Point mode, use the command given
below:
$ iw phy phy0 interface add wifi0 type __ap
To create a virtual interface in Station mode use the command below:
$ iw phy phy0 interface add wifi0 type managed
Scan
Description This command is used to scan for the Access points nearby our device.
Default Value -
Input Parameters Interface name on which scan has to be performed
Output
Parameter
List of AP's scanned
Reset Required No