Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 27
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
• COEX_MODE = 3 (For Both Access Point and Station Modes)
3. Ensure that in menuconfig, NL80211 and HOSTAPD support is enabled.
4. Compile the driver.
Make sure the following parameters are enabled in the hostapd configuration file (wlan/hostapd-
2.4/hostapd/.config)
CONFIG_LIBNL32=y
$ make
Compilation of NL80211 requires libnl library files. Please refer to page Appendix F: Installation of Missing Generic
Netlink Libraries for configuration of hoapd.conf file for libnl and installing libnl drivers if they are not available.
5. Go to the release folder and start the device in Access Point mode.
$ cd release
$ sh wlan_enable.sh
6. 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)
• Now add wifi0 interface to phyX.
• $service NetworkManager stop
• $iw phy phy1 interface add wifi0 type __ap
Instead of following the above steps in step 6, we can directly create vap by using "onebox_util" binary present in the
release folder
$ ./onebox_util rpine0 create_vap wifi0 ap
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=a ('a'-5GHz and 'g'-2.4GHz)
• channel=36
• country_code=US
Note:
Channel selection in the hostapd_open.conf file should be appropriate as per the band selected.