Partager via


Determine WPA2 Capability (Compact 2013)

3/26/2014

There are many 802.11x device drivers on the market. The OS for your device can query a driver for Wi-Fi Protected Access 2 (WPA2) capability.

Determine WPA2 Capability

The OS determines whether an 802.11x driver supports WPA2 by querying the driver with OID_802_11_CAPABILITY. To be WPA2-capable, the driver must return the following values in the NDIS_802_11_CAPABILITY structure:

  • NoOfPMKIDs must have a value from 3 through 16.
  • NoOfAuthEncryptPairsSupported must be greater than 0.
  • AuthenticationEncryptionSupported must have values that show support for encryption mode Encryption3. These entries must also show support for authentication modes Ndis802_11AuthModeWPA2 and Ndis802_11AuthModeWPA2PSK.

If the driver returns NDIS_STATUS_SUCCESS to the query and returns the correct data in the NDIS_802_11_CAPABILITY structure, the OS considers the driver to be WPA2-capable. The driver can then receive set and query requests for the WPA2-required 802.11x OIDs.

If the driver does not return NDIS_STATUS_SUCCESS in response to the query or does not return the correct data in the NDIS_802_11_CAPABILITY structure, the OS tests the driver for WPA support.

See Also

Concepts

Wi-Fi Protected Access 2
Wi-Fi Protected Access