Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 44
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Set DTIM Period
Usage
# iwpriv <vap_name> hide_ssid <value>
Example
The command given below is used to start the Access Point in hidden mode:
# ./onebox_util rpine0 create_vap wifi0 ap
# iwpriv wifi0 hide_ssid 1
# ./wpa_supplicant i wifi0 D bsd c wpa.conf &
Note:
Issue this ioctl before starting the supplicant.
Set DFS channel to
switch to
Description
This command is used to select a channel to switch to in case of Radar Detection in Access Point
mode. This is used only when the bsd driver is used.
Default Value
Disabled (A channel gets picked at random)
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
Frequency of the channel to switch to in case of radar detection.
Output Parameter
None
Reset Required
No
Usage
# iwpriv <vap name> dfs_chan_switch <frequency>
Example
The following command sets the channel 36 as the channel for switching to.
# iwpriv wifi0 dfs_chan_switch 5180
Set Mgmt Rate
Description
This command is used to set the mgmt rate
Default Value
0
Input Parameters
value*2
Output Parameter
None
Reset Required
No
Usage
# iwpriv <vap name> mgmt_rate <value*2>
Example
The Following command sets the mgmt rate to 5.5Mbps
#iwpriv wifi0 mgmt_rate 11
To disable the mgmt_rate use the below command:
#iwpriv wifi0 mgmt_rate 0
Set Keep Alive Period in
AP mode
Description
This command is used to set the Keep Alive period in the n-Link® Module. It is recommended
that this command is given after the VAP is created and before wpa_supplicant/hostapd is
started
Default Value
240 seconds
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
Integer value ranges between 15 and 12000 (seconds).
Integer value should be a multiple of 15, if the value is not a multiple of 15, it will rounded off to
nearst multiple of 15.
Output Parameter
None
Reset Required
No
Usage
# iwpriv <vap_name> keep_alive <value>
Example
The command given below sets the Keep Alive period to 30 seconds, after rounding off 35 to the