What does 'auto' mode mean for wireless WPA testvars?
CDRouter supports the concept of auto mode for many WPA related testvars. In auto mode CDRouter will select and use the strongest security options advertised by the DUT.
Auto mode is the easiest way to configure a wireless interface and is enabled by default for all testvars that support this feature. Auto mode also eliminates potential wireless configuration mismatches between the DUT and CDRouter.
The following selection algorithm is used by CDRouter when WPA is enabled with auto mode for specific testvars:
-
If the testvar
wpaMode
is set toauto
CDRouter first looks for an RSN IE in the scan list and then a WPA IE if no match is made. IfwpaMode
is not set toauto
CDRouter uses the specified mode. -
If the testvar
wpaCipher
is set toauto
CDRouter parses the selected IE and uses the IE’s strongest advertised pairwise cipher. IfwpaCipher
is not set toauto
CDRouter uses the specified pairwise cipher. -
If the testvar
wpaGroupCipher
is set toauto
CDRouter parses the selected IE and uses the IE’s strongest advertised group cipher. IfwpaGroupCipher
is not set toauto
CDRouter uses the specified group cipher. -
If the testvars
wpaCipher
orwpaGroupCipher
are both set toauto
CDRouter selects the strongest cipher combination based on the selected IE’s advertised options. CDRouter assumes the pairwise cipher must be stronger or equal to the group cipher. -
If the testvar
wpaPMF
is set toauto
CDRouter will enable protected management frame (PMF) support if supported by the DUT. Note that WPA3 requires PMF support while it is optional for WPA2. IfwpaPMF
is not set toauto
CDRouter will explicitly enable or disable PMF support and attempt to connect to the DUT.