Share via


OID_DOT11_PRIVACY_EXEMPTION_LIST (Compact 7)

3/12/2014

When set, the OID_DOT11_PRIVACY_EXEMPTION_LIST object identifier (OID) requests that the miniport driver set its Extensible Station (ExtSTA) msDot11PrivacyExemptionList management information base (MIB) object to the specified data.

When queried, this OID requests that the miniport driver return the value of the msDot11PrivacyExemptionList MIB object.

The msDot11PrivacyExemptionList MIB object contains a list of exemptions for packet decryption. The 802.11 station applies these exemptions to packets it receives that match the IEEE EtherType value specified for the exemption.

Note

Support for OID_DOT11_PRIVACY_EXEMPTION_LIST is mandatory if the 802.11 station supports any cipher algorithms. The miniport driver returns a list of supported cipher algorithms when OID_DOT11_SUPPORTED_UNICAST_ALGORITHM_PAIR or OID_DOT11_SUPPORTED_MULTICAST_ALGORITHM_PAIR are queried.

The data type for OID_DOT11_PRIVACY_EXEMPTION_LIST is the DOT11_PRIVACY_EXEMPTION_LIST structure.

When OID_DOT11_PRIVACY_EXEMPTION_LIST is set, the miniport driver must fail the set request if the uNumOfEntries member has a value greater than the value of uPrivacyExemptionListSize that the driver previously returned through a query of OID_DOT11_EXTSTA_CAPABILITY. In this situation, the miniport driver must return NDIS_STATUS_INVALID_LENGTH from its MiniportOidRequest function.

When OID_DOT11_PRIVACY_EXEMPTION_LIST is queried, the miniport driver must verify that the InformationBuffer member of the MiniportOidRequest function’s OidRequest parameter is large enough to return the complete DOT11_PRIVACY_EXEMPTION_LIST structure. This includes all entries in the PrivacyExemptionEntries array. The value of the InformationBufferLength member of the OidRequest parameter determines what the miniport driver must do, as the following list shows:

  • If the value of the InformationBufferLength member is less than the length, in bytes, of the complete DOT11_PRIVACY_EXEMPTION_LIST structure, the miniport driver must do the following:
    • Set the uNumOfEntries member to zero
    • Set the uTotalNumOfEntries member to the number of entries in the PrivacyExemptionEntries array
      For the OidRequest parameter, set the BytesWritten member to zero and the BytesNeeded member to the length, in bytes, of the complete DOT11_PRIVACY_EXEMPTION_LIST structure.
    • Fail the query request by returning NDIS_STATUS_BUFFER_OVERFLOW from its MiniportOidRequest function
  • If the value of the InformationBufferLength member is greater than or equal to than the length, in bytes, of the complete DOT11_PRIVACY_EXEMPTION_LIST structure, the miniport driver must do the following to complete a successful query request:
    • For the DOT11_PRIVACY_EXEMPTION_LIST structure, set the uNumOfEntries and uTotalNumOfEntries members to the total number of entries in the PrivacyExemptionEntries array
    • For the OidRequest parameter, set the BytesNeeded member to zero and the BytesWritten member to the length, in bytes, of the complete DOT11_PRIVACY_EXEMPTION_LIST structure. The miniport driver must also copy the complete DOT11_PRIVACY_EXEMPTION_LIST structure to the InformationBuffer member.
    • Return NDIS_STATUS_SUCCESS from its MiniportOidRequest function

The default for the msDot11PrivacyExemptionList MIB object is an empty list that has uNumEntries set to zero. The miniport driver must set this MIB object to its default if any of the following occurs:

Requirements

Header

windot11.h

See Also

Reference

Native 802.11 Extensible Station OIDs
OID_DOT11_SUPPORTED_UNICAST_ALGORITHM_PAIR
OID_DOT11_SUPPORTED_MULTICAST_ALGORITHM_PAIR
DOT11_PRIVACY_EXEMPTION_LIST
OID_DOT11_EXTSTA_CAPABILITY
MiniportOidRequest
MiniportInitializeEx
OID_DOT11_RESET_REQUEST
DOT11_RESET_REQUEST
Native 802.11 Wireless LAN OIDs