Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 51
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Create a VAP The
OneBox-Mobile
software allows
creation of 4 VAPs
Set Beacon Interval
(only in Access Point
mode)
Description
This command is used to set the Beacon Interval in milliseconds. It is recommended that this
command is given before the VAP is created.
Default Value
200
Input Parameters
Base Interface (string like rpine0)
Integer value between 50 and 1000 (other values will result in default value being assigned).
Output Parameter
None
Reset Required
Yes. In order to set the beacon interval, the virtual interface has to be reset.
Usage
# ./onebox_util <base_interface> set_beacon_intvl <beacon_intvl>
Example
The commands given below are used to reset the Access Point and set the beacon interval to 100ms.
# 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 Installation of Modules
# ./onebox_util rpine0 set_beacon_intvl 100
# ./onebox_util rpine0 create_vap wifi0 ap
# ./wpa_supplicant i wifi0 -D bsd c wpa.conf -ddddt &
Note:
Issue this command before creating any virtual Access Point interfaces.
Set WMM
Parameters (only in
Access Point mode)
Description
This command is used to set the WMM parameters for specific queues.
Note: This ioctl is redundant, refer to the Section 16 for further details. The functionality of the ioclt
is intact, however it might be removed in the future inorder to reduce redundancy.
Default Value
Access Point:
AIFSN
Cwmin
Cwmax
TxOp
AC_BE
3
4
6
0
AC_BG
7
4
10
0
AC_VI
1
3
4
94
AC_VO
1
2
3
47
Station:
AIFSN
Cwmin
Cwmax
TxOp
AC_BE
3
4
6
0
AC_BG
7
4
10
0
AC_VI
4
3
4
94
AC_VO
4
2
3
47
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
WMM Parameter Name (string like aifs, cwmin, cwmax, txop, acm)
Integer value. The allowed values are as follows: