Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 54
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Create a VAP The
OneBox-Mobile
software allows
creation of 4 VAPs
Default Value
ant_path: 1
ant_type: 1
For ant_path
If value is 1, then it is considered as RF_OUT_2/Integrated Antenna
If value is 2, then it is considered as RF_OUT_1/U.FL Connector.
For ant_type
If value is 1, then it is considered as Type 1 antenna.
If value is 2, then it is considered as Type 2 antenna.
If value is 3, then it is considered as Type 3 antenna.
Input Parameters
Use the following table to configure antenna type based on 2G and 5G gain values
2G Gain range
5G Gain range
Antenna Type
0 < Gain <= 0.99
0 < Gain <= 4.42
Type 1
0.99 < Gain <= 1.8
4.42< Gain <= 4.6
Type 2
1.8 < Gain <= 3
4.6 < Gain <= 4.9
Type 3
Output Parameters
None
Reset Required
No
Usage
./onebox_util rpine0 ant_type ant_path ant_type
Example
# ./onebox_util rpine0 ant_type 1 2
Set Wake-On-
Wireless LAN
Parameters (only in
Client Mode)
Description
This command is used to set the Wake-On-Wireless LAN (WoWLAN) parameters in the device. The
Host has to give this command each time when it enters and exits sleep state. Refer to the section
Wake-On-Wireless LAN Parameters for more details. GPIO_2 is used as a Host Wakeup Interrupt for
this purpose.
Default Value
-
Input Parameters
Base Interface (string like rpine0)
48-bit Source MAC Address in hexadecimal format with colon separation. e.g., 00:23:A7:01:02:03
(valid when Unicast packet filtering from specific MAC address is enabled)
Host Sleep Status
WoWLAN Flags
Output Parameters
None
Reset Required
No
Usage
# ./onebox_util <base_interface> wowlan <src_mac_addr> <host_sleep_status> <wowlan_flags>
Example
# ./onebox_util rpine0 wowlan 00:23:a7:0c:bb:aa 1 3
Set RF Power Mode
Description
This command is used to program the RF power mode to High, Medium and Low profiles. It has to
be issued before creating the VAP. The performance of the RF is best in the High power mode.
Default Value
0 - High