Edit

Share via


WDI_TLV_SET_CIPHER_KEY_INFO

Important

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

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.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header Wditypes.hpp