WDI_TLV_SET_CIPHER_KEY_INFO (dot11wificxtypes.hpp)

Important

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

WDI_TLV_SET_CIPHER_KEY_INFO is a TLV that contains cipher key mapping key information for OID_WDI_SET_ADD_CIPHER_KEYS.

TLV Type

0x52

Length

The sum (in bytes) of the sizes of all contained TLVs.

Values

Type Multiple TLV instances allowed Optional Description
WDI_TLV_PEER_MAC_ADDRESS X Specifies the MAC address of the peer that this key is associated with. If not present, assume this is a default key. At least one of peer MAC Address or cipher key ID must be present. This field must be present when key type is set to WDI_CIPHER_KEY_TYPE_PAIRWISE_KEY, and may be present when key type is set to WDI_CIPHER_KEY_TYPE_GROUP_KEY.
WDI_TLV_CIPHER_KEY_ID X Specifies the ID for this cipher key. At least one of peer MAC address or cipher key ID must be present. This field is not required for pairwise keys.
WDI_TLV_CIPHER_KEY_TYPE_INFO Specifies the cipher key type information.
WDI_TLV_CIPHER_KEY_RECEIVE_SEQUENCE_COUNT X Specifies the initial 48-bit value of Packet Number (PN), which is used for replay protection. This is optional if the cipher algorithm is WDI_CIPHER_ALGO_WEP40, WDI_CIPHER_ALGO_WEP104, or WDI_CIPHER_ALGO_WEP.
WDI_TLV_CIPHER_KEY_CCMP_KEY X Specifies the CCMP cipher algorithm key data. This is only present if the cipher algorithm is WDI_CIPHER_ALGO_CCMP.
WDI_TLV_CIPHER_KEY_GCMP_256_KEY X Contains GCMP_256 cipher algorithm key data. This is only present if the cipher algorithm is WDI_CIPHER_ALGO_GCMP_256.
WDI_TLV_CIPHER_KEY_TKIP_INFO X Specifies the TKIP information. This is only present if the cipher algorithm is WDI_CIPHER_ALGO_TKIP.
WDI_TLV_CIPHER_KEY_BIP_KEY X Specifies the BIP key. This is only present if the cipher algorithm is WDI_CIPHER_ALGO_BIP.
WDI_TLV_CIPHER_KEY_BIP_GMAC_256_KEY X Contains GMAC_256 cipher algorithm key data. This is only present if cipher algorithm is WDI_CIPHER_ALGO_BIP_GMAC_256.
WDI_TLV_CIPHER_KEY_WEP_KEY X Specifies the WEP key. This is only present if the cipher algorithm is WDI_CIPHER_ALGO_WEP40, WDI_CIPHER_ALGO_WEP104, or WDI_CIPHER_ALGO_WEP
WDI_TLV_CIPHER_KEY_IHV_KEY X Specifies the IHV cipher key. This is only present if WDI_TLV_CIPHER_KEY_TYPE_INFO is in the range WDI_CIPHER_ALGO_IHV_START to WDI_CIPHER_ALGO_IHV_END.
WDI_TLV_LINK_ID X Specifies the AP's link Id. This will be present when setting or querying the link-specific keys on a multi-link connection.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header dot11wificxtypes.hpp