DOT11EXT_PROCESS_ONEX_PACKET callback function

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 IHV Extensions DLL calls the Dot11ExtProcessOneXPacket function to forward EAP over LAN (EAPOL) packets to the operating system for processing during an 802.1X authentication operation with the access point (AP).


DOT11EXT_PROCESS_ONEX_PACKET Dot11extProcessOnexPacket;

DWORD Dot11extProcessOnexPacket(
  HANDLE hDot11SvcHandle,
  DWORD dwInPacketSize,
  LPVOID pvInPacket



The handle used by the operating system to reference the wireless LAN (WLAN) adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.


The length, in bytes, of the packet data within the buffer that is referenced by the pvInPacket parameter.


The EAPOL packet received from the AP. The pvInPacket parameter must reference the EAPOL packet starting from the packet type field in the EAPOL protocol data unit (PDU). For more information about the EAPOL packet type field, refer to Clause 7.5.4 in the IEEE 802.1X-2001 standard.

Return Value

If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.


When it calls the Dot11ExtStartOneX function, the IHV Extensions DLL initiates an 802.1X authentication operation by using the 802.1X module of the Native 802.11 framework. This allows the DLL to use the standard extensible authentication protocol (EAP) algorithms that are supported by the operating system.

While the 802.1X authentication operation is pending, the IHV Extensions DLL forwards received EAP over LAN (EAPOL) packets to the operating system through a call to the Dot11ExtProcessOneXPacket function. The IHV Extensions DLL receives these packets through the Dot11ExtIhvReceivePacket IHV Handler function.

Note  The IHV Extensions DLL is responsible for processing EAPOL-Key packets and must not forward these to the operating system.
For more information about EAPOL packets, refer to Clause 7 of the IEEE 802.1X-2001 standard.

For more information about using the 802.1X module for authentication, see Interface to the Native 802.11 802.1X Module


Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header wlanihv.h (include Wlanihv.h)

See Also