RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
140
31 Appendix F: Procedure to use latest supplicant with NL80211 interface
Follow the below steps to use latest supplicant with the NL80211 interface
Download the supplicant from
Extract the supplicant using the following command
tar xvf wpa_supplicant-
2.6
.tar.gz
cd wpa_supplicant-
2.6
/wpa_supplicant
cp defconfig .config
Make sure the following parameters are enabled in the supplicant configuration file (.config)
CONFIG_DRIVER_NL80211=y CONFIG_BGSCAN_SIMPLE=y
NL80211_CMD_ROAM=y
CONFIG_LIBNL20=y
CONFIG_LIBNL32=y
CONFIG_WPS2=y
CONFIG_p2p=y
CONFIG_BGSCAN=y
Save the configuration file and exit
Compile the supplicant using "make" command in the following path
$ cd wpa_supplicant-
2.6
/wpa_supplicant
$ make clean
$ make
After successful compilation the supplicant executable will be found in the same path.Copy the supplicant
executable to the driver release folder.
cp wpa_supplicant RS9116.NXX.NL.XXX.LNX.XXX/source/host/release.
31.1 Bgscan and Roaming
To enable Bgscan and Roaming add 'bgscan="simple:10:-45:100" ' in the sta_settings.conf.
31.1.1 Description
wpa_supplicant behavior for background scanning can be specified by configuring a bgscan module. These module
s are responsible for requesting background scans for the purpose of roaming within an ESS (i.e., within a single net
work block with all the APs using the same SSID).
The bgscan parameter uses the below format:
"<bgscan module name>:<module parameters>"
bgscan="simple:<short bgscan interval in seconds>:<signal strength threshold>: <long interval>"