Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
21
ifconfig <interface> <IP>
Example : ifconfig wifi1 192.168.2.1
4.4.3 Installation in Wi-Fi Client Mode (with NL80211 support)
The steps for installing Wi-Fi Only mode in Client are as follows:
1. Open the common_insert.sh file present in the "release" folder.
2. Ensure that the DRIVER_MODE and COEX_MODE are set as below:
DRIVER_MODE = 1
COEX_MODE = 1 (For Station Mode only/WIFI-Direct)
 or
COEX_MODE = 3 (For BothAccess Point and Station Modes)
Ensure that in menuconfig, NL80211 support is enabled as mentioned in Figure 4.
   3. Compile the driver.
$ make

4. Go to the release folder and start the device in station mode.
$ cd release
$ sh wlan_enable.sh
 5. Issue the following command to get physical interfaces on which we can add wifi0 interface
$iw phy | grep phy
The output of the command will be phyX (X can be 1,2,3, eg:phy1,phy2 etc)
For SDIO mode, ensure that the SDIO stack related modules are already inserted in the kernel
refer
Appendix A: Configuration of Kernels from 3.13 and above section to install sdio stack modules .
Make sure the following parameters are enabled in the supplicant configuration file (wlan/supplicant/
linux/wpa_supplicant/.config)
CONFIG_DRIVER_NL80211=y
CONFIG_LIBNL32=y
Make sure to install CRDA in your system/PC to use updated regulatory domain in NL80211 mode.