When performing a post-association operation, initiated through a call to Dot11ExtIhvPerformPostAssociate, the operating system calls the Dot11ExtIhvReceivePacket function to forward packets to the HV Extensions DLL received through the wireless LAN (WLAN) adapter. For more information about the post-association operation, see Post-Association Operations.
In order to receive packets, the IHV Extensions DLL must call Dot11ExtSetEtherTypeHandling to register a list of one or more IEEE EtherTypes. When a packet is received with an EtherType that matches an entry in this list, the operating system calls the Dot11ExtIhvReceivePacket function and passes the packet buffer through the function's pvInBuffer parameter.
When Dot11ExtIhvReceivePacket is called, the pvInBuffer parameter points to a buffer allocated by the operating system that contains the entire 802.11 packet, including media access control (MAC) header, LLC encapsulation (if necessary), and payload data.