共用方式為


Automatic PHY Configuration

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.

 

If the miniport driver is operating in Extensible Station (ExtSTA) mode, it can support the automatic PHY configuration mode. If this mode is enabled, the operating system assumes that the PHY is is configured through Native 802.11 modules that are provided by the independent hardware vendor (IHV), such as its miniport driver or IHV Extensions DLL. For more information about the Native 802.11 modules provided by the IHV, see Native 802.11 Software Architecture.

The automatic PHY configuration mode is set or queried through the OID_DOT11_AUTO_CONFIG_ENABLED object identifier (OID).

When the automatic PHY configuration mode is enabled, the configuration of the PHY is set through one of the following:

  • Automatically, by the 802.11 station.

  • Dynamically, through NIC-specific extensions defined by the IHV. NIC-specific extensions are set or queried through a method request of OID_DOT11_NIC_SPECIFIC_EXTENSION.

  • Optionally, through the OIDs defined in 802.11 PHY Configuration. When these OIDs are set, the miniport driver can either pass or fail the set request. If it fails the set request because the automatic PHY configuration mode is enabled, the miniport driver must return NDIS_STATUS_DOT11_AUTO_CONFIG_ENABLED from its MiniportOidRequest function.

    Note  When the miniport driver is operating in the ExtSTA mode, Native 802.11 OIDs used for PHY configuration affect the PHY on the 802.11 station that is referenced through the current PHY identifier (ID). The operating system sets or queries the current PHY ID through OID_DOT11_CURRENT_PHY_ID.

     

When the automatic PHY configuration mode is disabled, the operating system sets the PHY configuration through the OIDs defined in 802.11 PHY Configuration. The miniport driver must accept the set request if the data that accompanies the set request is valid.

Note  For the Windows Vista operating system, only the OID_DOT11_CURRENT_CHANNEL and OID_DOT11_CURRENT_FREQUENCY OIDs are affected by the automatic PHY configuration mode.