DOT11_DIRECTION enumeration (windot11.h)

Important

WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.

The DOT11_DIRECTION enumeration specifies whether the 802.11 station uses a cipher key to decrypt received packets and/or encrypt transmitted packets.

Syntax

typedef enum DOT11_DIRECTION {
  DOT11_DIR_INBOUND   = 1,
  DOT11_DIR_OUTBOUND  = 2,
  DOT11_DIR_BOTH      = 3
} DOT11_DIRECTION, *PDOT11_DIRECTION;

Constants

 
DOT11_DIR_INBOUND
The 802.11 station uses the cipher key to decrypt packets received from the access point (AP) or
peer station.
DOT11_DIR_OUTBOUND
The 802.11 station uses the cipher key to encrypt packets transmitted to the AP or peer
station.
DOT11_DIR_BOTH
The 802.11 station uses the cipher key for packets received from or transmitted to the AP or peer
station.

Requirements

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

See also

Dot11ExtSetDefaultKey

DOT11_CIPHER_KEY_MAPPING_KEY_VALUE