Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 25
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
• DRIVER_MODE = 1
• COEX_MODE = 1 (For Station Mode only/WIFI-Direct)
or
• COEX_MODE = 3 (For Both Access Point and Station Modes)
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 .
Ensure that in menuconfig, NL80211 support is enabled as mentioned in Figure 4.
3. Compile the driver.
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
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)
In case of multiple phy's to identify the appropriate phy on which to run the command, enter the following
command.
iw dev
The sample output of this command is
phy#3
Interface wlp0s26u1u2