Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 39
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Set Channel/Frequency (only in Monitor mode)
Required
Usage
# iwconfig <vap_name> txpower <val_in_dBm>
Example
# iwconfig wifi0 txpower 10
Note:
Txpower setting can be defined as the minimum value that can be picked from the max regulatory power
settings, from any user defined value and also from the maximum values the radio can support.
So it is not guaranteed that the user defined value gets effected when these settings is done.
Table 1: iwconfig Usage
5.2 Private (Driver-Specific) Commands for Access Point and Client Modes
The "iwpriv" command is used to set parameters specific to the OneBox-Mobile software. The table below lists the usage
of the "iwpriv" command for setting and getting parameters common for the Access Point and Client modes.
Set Short GI
Description
This command is used to set the Short GI mode of the n-Link® Module.
Default Value
0 (Short GI disabled for both 20 MHz and 40 Mhz Bandwidth)
Input
Parameters
VAP Name (string like wifi0, wifi1, etc.)
The integer value mapping has been shown below:
0 –Disable Short GI
1 –Enable Short GI for 20MHz Bandwidth
2 –Enable Short GI for 40MHz Bandwidth
3 –Enable Short GI for 20MHz and 40MHz Bandwidths
Output
Parameter
None
Reset Required
Yes. Refer to the example for the reset process
Usage
# iwpriv <vap_name> short_gi <value>
Example
The commands given below set the Short GI for 20MHz bandwidth and then reset the adapter for the
command to take effect:
# iwpriv wifi0 short_gi 1
# ./onebox_util rpine0 reset_adapter
Note:
Issue this ioctl before starting the supplicant.
Get Short GI
Description
This command is used to get the value programmed for Short GI mode of the n-Link® Module
Default Value
-
Input
Parameters
VAP Name (string like wifi0, wifi1, etc.)
Output
Parameter
The integer value mapping has been shown below:
0 – Disable Short GI
32 – Enable Short GI for 20MHz Bandwidth
64 – Enable Short GI for 40MHz Bandwidth
96 – Enable Short GI for 20MHz and 40MHz Bandwidths
Reset Required
No
Usage
# iwpriv <vap_name> get_short_gi
Example
The command given below explains about getting the Short GI programmed in the module: