Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 41
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Set Short GI
Description
This command is used to enable or disable 20/40 MHz Bandwidths in the n-Link® Module.
Default Value
-
Input
Parameters
VAP Name (string like wifi0, wifi1, etc.)
The integer value mapping has been shown below:
1- Enable only 20MHz
2- Enable only 40MHz
3 Enable both 20 and 40MHz
Output
Parameter
None
Reset Required
Yes. Refer to the example for the reset process for Client and Access Point modes
Usage
# iwpriv <vap_name> set_htconf <value>
Example
The commands given below is used to delete and create the VAP to set the bandwidth in Access Point
mode:
# ./onebox_util rpine0 delete_vap wifi0
# ./onebox_util rpine0 create_vap wifi0 ap
# iwpriv wifi0 set_htconf $value
# ./wpa_supplicant i wifi0 wpa_supplicant_open.conf &
Note:
Issue this ioctl before starting the supplicant.
The commands given below is used to set the 20MHz bandwidth in Client mode and reset the Client for
the command to take effect:
# iwpriv wifi0 set_htconf 1
# ./onebox_util rpine0 reset_adapter.
Set Debug Zone
Description
This command is used to select the debug zone for Wifi.
Default Value
0x4000
Input
Parameters
Zone value.
The integer value mapping has been shown below:
0 Disable zone.
0x4000 Error Zone.
Output
Parameter
None
Reset Required
No
Usage
# iwpriv <vap name> set_dbg_zone <zone_value>
Example
The following command disables debug zone level.
# iwpriv wifi0 set_dbg_zone 0
Table 2: iwpriv Usage for Access Point and Client Modes
5.3 Private (Driver- Specific) Commands for Access Point Mode
The table below describes the usage of the "iwpriv" command for setting and getting parameters common for the Access
Point Mode.
Set DTIM Period
Description
This command is used to set the DTIM period in the n-Link® Module. Issue this command before
starting the supplicant.