![Atheros AP222A User Manual Download Page 43](http://html1.mh-extra.com/html/atheros/ap222a/ap222a_user-manual_2998481043.webp)
COMPANY CONFIDENTIAL
42
This command will enable or disable WMM capabilities in the driver. The WMM capabilities perform special
processing for multimedia stream data including voice and video data. This command has a corresponding get
command, and its default value is 1 (WMM enabled).
#iwpriv ath0 wmm 1
#iwpriv ath0 get_wmm
ath0 get_wmm:1
2.5.2.6 Security Related
These commands relate to the security subsystem, and also are specific interfaces required by the hostapd and
wpa_supplicant programs. Some of these may not be directly security related, but are included here due to their
use by the authenticator and supplicant
authmode
#iwpriv ath
N
authmode
mode
This command selects the specific authentication mode to configure the driver for. This command is also used
by host_apd to configure the driver when host_apd is used as an authenticator. The mode values are:
Value
Description
0
None specified
1
Open Authentication
2
Shared Key (WEP) Authentication
3
802.1x Authentication
4
Auto Select/accept authentication (used by host_apd)
5
WPA PSK with 802.1x PSK
The user will normally not use these commands. These commands have an associated get command, and its
default value is 0.
#iwpriv ath0 authmode 2
#iwpriv ath0 get_authmode
ath0 get_authmode:2
countermeasures
#iwpriv ath
N
countermeasures
1|0
Enables or disables WPA/WPA2 countermeasures. Countermeasures perform additional processing on
incoming authentication requests to detect spoof attempts, such as repeating authentication packets. A value of
1 enables countermeasures, and 0 disables them. This command has a corresponding get command.
#iwpriv ath0 countermeasures 1
#iwpriv ath0 get_countermeasures
ath0 get_countermeasures:1
dropunencrypted
#iwpriv ath
N
dropunencrypted
0|1
This command enables or disables dropping of unencrypted non-PAE frames received. Passing a value of 1
enables dropping of unencrypted non-PAE frames. Passing a value of 0 disables dropping of unencrypted non-
PAE frames. This command has a corresponding get command, and its default value is zero.
#iwpriv ath0 dropunencrypted 1
#iwpriv ath0 get_dropunencry
ath0 get_dropunencry:1
keymgtalgs
#iwpriv ath
N
keymgtalgs
algs
This command is used by host_apd in managing WPA keys. This is essentially the same as the WPA
command, which is a combination of bits indicating different capabilities. The algs supported are as follows:
Value
Alg
0
WPA_ASE_NONE
1
WPA_ASE_8021X_UNSPEC
2
WPA_ASE_8021X_PSK