RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
40
Output Parameter
Integer value
Reset Required
No
Usage
# iwpriv <vap_name> get_bintval
Example
The command given below is used to get the Beacon interval
programmed in the module:
#iwpriv wifi0 get_bintval
MAC Command
Description
This command is used to set the Access Policy based on MAC
address. The Access Policy can be disabled or can be used to allow
or deny connection from the MAC address.
[1]
Note:
All the acl policy commands need to be issued before starting the
wpa_supplicant.
Default Value
-
Input Parameters
VAP Name (string like wifi0, wifi1, etc.)
The integer value mapping has been shown below:
0 – Disable Access Policy
1 – Enable Access Policy and Allow connection
2 – Enable Access Policy and Deny connection
Output Parameter
None
Reset Required
No
Usage
# iwpriv <vap_name> maccmd <value>
Example
The command given below enables the ACL Policy and allows
connection:
# iwpriv wifi0 maccmd 1
The command given below enables the ACL Policy and denies
connection:
# iwpriv wifi0 maccmd 2
Add MAC Address for
Access Policy
Description
This command is used to add a MAC address for the Access Policy in
the n-Link® Module.
Default Value
-