OID_DOT11_REG_DOMAINS_SUPPORT_VALUE (Compact 2013)

3/26/2014

When queried, this OID requests that the miniport driver return the list of regulatory domains that are supported by the Physical Layer Convergence Procedure (PLCP) and Physical Media Dependent (PMD) sublayers of the current PHY type on the 802.11 station.

The data type for this OID is the DOT11_REG_DOMAINS_SUPPORT_VALUE structure.

When OID_DOT11_REG_DOMAINS_SUPPORT_VALUE is queried, the miniport driver must verify that the InformationBuffer member of the MiniportOidRequest function’s OidRequest parameter is large enough to return the entire DOT11_REG_DOMAINS_SUPPORT_VALUE structure, including all entries in the dot11RegDomainValue array. The value of the InformationBufferLength member of the OidRequest parameter determines what the miniport driver must do, for example:

  • If the value of the InformationBufferLength member is less than the length, in bytes, of the entire DOT11_REG_DOMAINS_SUPPORT_VALUE structure, the miniport driver must do the following:
    • For the OidRequest parameter, set the BytesWritten member to zero and the BytesNeeded member to the length, in bytes, of the entire DOT11_REG_DOMAINS_SUPPORT_VALUE 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 entire DOT11_REG_DOMAINS_SUPPORT_VALUE structure, the miniport driver must do the following to complete a successful query request:
    • For the DOT11_REG_DOMAINS_SUPPORT_VALUE structure, set the uNumOfEntries and uTotalNumOfEntries members to the total number of entries in the dot11RegDomainValue array.
    • For the OidRequest parameter, set the BytesNeeded member to zero and the BytesWritten member to the length, in bytes, of the entire DOT11_REG_DOMAINS_SUPPORT_VALUE structure. The miniport driver must also copy the entire DOT11_REG_DOMAINS_SUPPORT_VALUE structure to the InformationBuffer member.
    • Return NDIS_STATUS_SUCCESS from its MiniportOidRequest function.

If the miniport driver is operating in Extensible Station (ExtSTA) mode, the current PHY type is determined through the ExtSTA msDot11CurrentPhyID management information base (MIB) object. This MIB object specifies the index of the current PHY type within the 802.11 station’s list of supported PHY types. For more information about msDot11CurrentPhyID, see OID_DOT11_CURRENT_PHY_ID.

Requirements

Header

windot11.h

See Also

Reference

NDIS 5.x Legacy Wireless LAN OIDs
DOT11_REG_DOMAINS_SUPPORT_VALUE
MiniportOidRequest
OID_DOT11_CURRENT_PHY_ID
Native 802.11 MIB OIDs
NDIS 5.x Legacy Reference