Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 42
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Set DTIM Period
Default Value
1
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
Integer value between 1 and 15
Output Parameter
None
Reset Required
Yes. In order to set the DTIM period, the virtual interface has to be reset.
Usage
1. iwpriv <vap_name> dtim_period <value>
Example
The commands given below is used to reset the VAP and set the DTIM period:
#sh remove_all.sh
#sh wlan_enable.sh (or) wlan_bt_insert.sh (or) wlan_zigb_insert.sh (or) onebox_insert.sh
script present in the "release" folder as per the instructions in Section 4.1
#./onebox_util rpine0 create_vap wifi1 ap
#iwpriv wifi1 dtim_period $value
#./wpa_supplicant –I wifi1 –D bsd –c wpa_supplicant_open.conf –ddddt > log &
Note:
Issue this ioctl before starting the supplicant in Access Point.
Get DTIM Period
Description
This command is used to get the DTIM period in the n-Link® Module.
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
Output Parameter
Integer value renges between 1 and 15
Reset Required
No.
Usage
iwpriv <vap_name> get_dtim_period
Example
The command given below is used to get the DTIM period programmed in the module:
#iwpriv wifi0 get_dtim_period
Get Beacon Interval
Description
This command is used to get the Beacon Interval programmed in the n-Link® Module
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
Output Parameter
Integer value
Reset Required
No
Usage
# iwpriv <vap_name> get_bintval
Example
The command given below is used to get the Beacon interval programmed in the module:
#iwpriv wifi0 get_bintval
MAC Command
Description
This command is used to set the Access Policy based on MAC address. The Access Policy can be
disabled or can be used to allow or deny traffic from the MAC address.[1]
Note:
All the acl policy commands need to be issued before starting the wpa_supplicant.
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
The integer value mapping has been shown below:
0 – Disable Access Policy
1 – Enable Access Policy and Allow traffic
2 – Enable Access Policy and Deny traffic