次の方法で共有


OID_DOT11_SUPPORTED_COUNTRY_OR_REGION_STRING (Compact 2013)

3/26/2014

When queried, the OID_DOT11_SUPPORTED_COUNTRY_OR_REGION_STRING object identifier (OID) requests that the miniport driver return a list of the country/region strings that identify the regulatory domains supported by the 802.11 station. For more information about country/region strings, refer to the IEEE 802.11d-2001 standard.

The data type for this OID is the DOT11_COUNTRY_OR_REGION_STRING_LIST structure.

  • When OID_DOT11_SUPPORTED_COUNTRY_OR_REGION_STRING 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_COUNTRY_OR_REGION_STRING_LIST structure. This includes all entries in the CountryOrRegionStrings 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_COUNTRY_OR_REGION_STRING_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 CountryOrRegionStrings array
      For the OidRequest parameter, set the BytesWritten member to zero and the BytesNeeded member to the length, in bytes, of the complete DOT11_COUNTRY_OR_REGION_STRING_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 the length, in bytes, of the complete DOT11_COUNTRY_OR_REGION_STRING_LIST structure, the miniport driver must do the following to complete a successful query request:
    • For the DOT11_COUNTRY_OR_REGION_STRING_LIST structure, set the uNumOfEntries and uTotalNumOfEntries members to the total number of entries in the CountryOrRegionStrings array.
    • For the OidRequest parameter, set the BytesNeeded member to zero and the BytesWritten member to the length, in bytes, of the complete DOT11_COUNTRY_OR_REGION_STRING_LIST structure. The miniport driver must also copy the complete DOT11_COUNTRY_OR_REGION_STRING_LIST structure to the InformationBuffer member.
    • Return NDIS_STATUS_SUCCESS from its MiniportOidRequest function

Requirements

Header

windot11.h

See Also

Reference

Native 802.11 Extensible Station OIDs
DOT11_COUNTRY_OR_REGION_STRING_LIST
MiniportOidRequest
Native 802.11 Wireless LAN OIDs