Receive Operations

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.

Note  The IHV Extensions DLL must call Dot11ExtSetEtherTypeHandling before the DLL completes a pre-association operation. For more information about this operation, see Pre-Association Operations.

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.

The IHV Extensions DLL can send a response to the received packet from within the call to Dot11ExtIhvReceivePacket. In this situation, the DLL must follow the guidelines described in Send Operations.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.