Reference Manual
  Redpine Signals, Inc. Proprietary and Confidential   Page 140 
RS9116 n-Link Linux and Android 
Technical Reference Manual 
Version 2.0  
ctrl_interface=/var/run/wpa_supplicant 
update_config=1 
network={ 
  ssid="REDPINE_AP_CCMP" 
  pairwise=CCMP TKIP 
  group=CCMP TKIP 
  key_mgmt=WPA-PSK 
  psk="12345678" 
 proto=WPA2 WPA 
 bgscan="simple:10:-45:100" 
  priority=1 
} 
31.1.2  Configure Connection quality monitoring (cqm ) rssi and hysteresis using iw command 
To know more about iw tool, refer to the section Configuration Using CFG80211. 
 $iw dev <devname> cqm rssi <threshold|off> [<hysteresis>] 
Set connection quality monitor RSSI threshold. 
Example: 
$iw dev wlan0 cqm rssi -45 4 
When finished, execute the commands given in the chapter Wi-Fi ioctl Usage Guide-->>Enable Background Scan and Set 
Parameters (only in Client mode). 
To know more about Background Scan and Set Parameters, refer to the section Background Scan Parameters. 










