RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
87
In the case
The following command scans all the 2G channels, 1-14 with periodicity of 5 seconds and active scan duration of
30ms.
1. ./onebox_util rpine0 host_scan_2g 5 30
The following command stops the host based scan.
2. ./onebox_util rpine0 host_scan_stop
User can create the client mode first followed by AP mode or viceversa.If driver is unloaded in between the virtual
interfaces created so far will be removed.For deleting particular virtual interface please follow th e below
command.
$. /onebox_util rpine0 delete_vap <vap_name>
Ex: ./onebox_util rpine0 delete_vap wifi0
You can create two VAPs at a time and then run corresponding supplicant command because supplicant command
will be differentiated by using the interface name user has mentioned while creating VAP.
13.1.3 State of the Station
To check the Station state, Use the below command.
./onebox_util rpine0 check_sta_state
The possible outputs are,
1. INIT
2. SCAN
3. AUTH
4. ASSOC
5. RUN
6. DOWN
Error Msg:
In case the driver is unable to issue the ioctl, then the error message displayed
as : "ERROR! Unable to check STA State"
Description of output states,
1. INIT: This stage indicates, the STATION VAP is up, but it is not scanning. In case the station