When queried, the OID_DOT11_CURRENT_CHANNEL_NUMBER object identifier (OID) requests that the miniport driver return the value of the IEEE 802.11 dot11CurrentChannelNumber management information base (MIB) object for the current PHY type on the 802.11 station.
The dot11CurrentChannelNumber MIB object stores the current channel number used by the physical media dependent (PMD) sublayer of the current PHY type for transmit and receive operations. For more information about channel numbers, refer to Clause 18.104.22.168 of the IEEE 802.11-2012 standard.
Note Support for OID_DOT11_CURRENT_CHANNEL_NUMBER is mandatory if the NIC supports the dot11_phy_type_fhss PHY type. For more information about how the miniport driver specifies its list of supported PHY types, see OID_DOT11_SUPPORTED_PHY_TYPES.
The data type for OID_DOT11_CURRENT_CHANNEL_NUMBER is a ULONG value that specifies the channel number from 0 through 99.
The dot11CurrentChannelNumber MIB object is only valid for the frequency-hopping spread spectrum (FHSS) PHY type. If the current PHY type is not set to dot11_phy_type_fhss, the miniport driver must fail the query request by returning NDIS_STATUS_INVALID_DATA.
If the miniport driver is operating in Extensible Station (ExtSTA) mode, the current PHY type is determined through the ExtSTA msDot11CurrentPhyID 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.
|Available in Windows Vista and later versions of the Windows operating systems.|