DOT11_ENCAP_ENTRY structure

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 DOT11_ENCAP_ENTRY structure defines an encapsulation type to be applied to the payload of an 802.11 packet based on the packet's IEEE EtherType.

Syntax

typedef struct DOT11_ENCAP_ENTRY {
  USHORT usEtherType;
  USHORT usEncapType;
} DOT11_ENCAP_ENTRY, *PDOT11_ENCAP_ENTRY;

Members

        `usEtherType`

        The value of the IEEE EtherType in big-endian byte order.

If the usEtherType member is zero, the encapsulation that is specified by the usEncapType member applies to all EtherType values. If the miniport driver sets usEtherType to zero for an entry, it must be the only entry in the EtherType encapsulation list.

        `usEncapType`

        The type of encapsulation that is performed on the EtherType specified by the
 <b>usEtherType</b> member. The
 <b>usEncapType</b> member can have one of the following values:

DOT11_ENCAP_RFC_1042

The encapsulation that is defined through IETF RFC 1042.

DOT11_ENCAP_802_IH

The encapsulation that is defined through the IEEE 802.1h-1997 standard.

## Remarks
    The miniport driver returns an encapsulation list when it makes an
<a href="https://docs.microsoft.com/windows-hardware/drivers/network/ndis-status-dot11-association-completion">
NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION</a> indication. The encapsulation list specified in the
indication applies to the association with an access point (AP) in an infrastructure basic service set
(BSS) network.
Note  The miniport driver cannot return an encapsulation list when associating with peer stations within an independent BSS network.
 
For more information about 802.11 packet payload encapsulation, see 802.11 Payload Encapsulation.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header windot11.h (include Ndis.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/network/ndis-status-dot11-association-completion">

NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION

DOT11_ASSOCIATION_COMPLETION_PARAMETERS