共用方式為


802.11 MAC 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.

 

The IEEE media access control (MAC) sublayer of the Native 802.11 station is configured through a set of object identifiers (OIDs), which are based on 802.11 management information base (MIB) objects. For more information about the 802.11 MIB objects, refer to Annex D of the IEEE 802.11 standards listed in Background Reading on 802.11.

The following OIDs set or query the configuration of the MAC sublayer:

Name Description

[OID_DOT11_BEACON_PERIOD](https://msdn.microsoft.com/library/windows/hardware/ff569109)

Sets or queries the time interval used by the 802.11 station for scheduling the transmission of 802.11 Beacon frames. This OID can only be set or queried when the 802.11 station is configured for operations within an independent basic service set (IBSS) network.

Note  IBSS (Ad hoc) and SoftAP are deprecated. Starting with Windows 8.1 and Windows Server 2012 R2, use [Wi-Fi Direct](wi-fi-direct-miniport-initialization-and-configuration.md).
 

[OID_DOT11_CF_POLLABLE](https://msdn.microsoft.com/library/windows/hardware/ff569116)

Queries whether the 802.11 station supports the contention free (CF) access method and CF-poll frames.

[OID_DOT11_FRAGMENTATION_THRESHOLD](https://msdn.microsoft.com/library/windows/hardware/ff569368)

Sets or queries the maximum size, in bytes, of the MAC protocol data unit (MPDU) frame that the PHY can transmit.

[OID_DOT11_LONG_RETRY_LIMIT](https://msdn.microsoft.com/library/windows/hardware/ff569380)

Queries the maximum number of retransmission attempts made by the 802.11 station for MAC service data unit (MSDU) packets with lengths greater than the request to send (RTS) threshold.

For more information about the RTS threshold, see [OID_DOT11_RTS_THRESHOLD](https://msdn.microsoft.com/library/windows/hardware/ff569411).

[OID_DOT11_MAC_ADDRESS](https://msdn.microsoft.com/library/windows/hardware/ff569381)

Queries the MAC address that the 802.11 station is currently using. This MAC address could either be the NIC's permanent address, which is queried through [OID_DOT11_PERMANENT_ADDRESS](https://msdn.microsoft.com/library/windows/hardware/ff569399), or a locally administered address.

[OID_DOT11_MAX_RECEIVE_LIFETIME](https://msdn.microsoft.com/library/windows/hardware/ff569384)

Queries the maximum elapsed time, after the initial reception of a management protocol data unit (MPDU) fragment that the 802.11 station can wait, to receive all remaining fragments of the MSDU packet.

[OID_DOT11_MAX_TRANSMIT_MSDU_LIFETIME](https://msdn.microsoft.com/library/windows/hardware/ff569385)

Queries the maximum time that the 802.11 station can spend transmitting all MPDU fragments for an MSDU packet.

[OID_DOT11_OPERATIONAL_RATE_SET](https://msdn.microsoft.com/library/windows/hardware/ff569395)

Sets or queries the rates at which the station can transmit data.

[OID_DOT11_RTS_THRESHOLD](https://msdn.microsoft.com/library/windows/hardware/ff569411)

Sets or queries the maximum length that an MPDU frame can have before the 802.11 station initiates the 802.11 request to send (RTS)/clear to send (CTS) handshake.

[OID_DOT11_SHORT_RETRY_LIMIT](https://msdn.microsoft.com/library/windows/hardware/ff569415)

Queries the maximum number of retransmission attempts made by the 802.11 station for MSDU packets with lengths less than or equal to the RTS threshold.

[OID_DOT11_STATION_ID](https://msdn.microsoft.com/library/windows/hardware/ff569419)

Queries the identifier (ID) value that uniquely identifies the 802.11 station to a remote management platform.

 

If the miniport driver is operating in Extensible Station (ExtSTA) mode, it can optionally support the automatic MAC configuration mode. For more information about this, see Automatic MAC Configuration.