Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
53
Example /onebox_util rpine0 reset_adapter
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 56 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.
Note:
Here set_beacon_intvl ioctl will work only in case of bsd. To set
beacon interval using hostapd , refer to the section Appendix G:
Considerations need to be made during hostapd usage