]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Define Link Id attribute for secure ranging context vendor command
authorNidhi Jain <quic_nidhjain@quicinc.com>
Thu, 6 Jun 2024 05:10:42 +0000 (10:40 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 19 Jun 2024 19:33:52 +0000 (22:33 +0300)
The Link Id attribute is required for secure ranging context to identify
the link on which the command is received for an MLD.

Signed-off-by: Nidhi Jain <quic_nidhjain@quicinc.com>
src/common/qca-vendor.h

index 48b6c4a2b867010234fc48105af5ff6247f60763..980e0167b71662af0b6bd2a8908da066083ec747 100644 (file)
@@ -14762,7 +14762,8 @@ enum qca_wlan_vendor_sha_type {
  *     attribute, holds the LTF keyseed derived from KDK of PASN handshake.
  *     The length of this attribute is dependent on the value of
  *     %QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_SHA_TYPE.
-
+ * @QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_LINK_ID: This u8 attribute is used
+ *     for secure ranging to identify a specific link affiliated to an AP MLD.
  */
 enum qca_wlan_vendor_attr_secure_ranging_ctx {
        QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_INVALID = 0,
@@ -14773,6 +14774,7 @@ enum qca_wlan_vendor_attr_secure_ranging_ctx {
        QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_TK = 5,
        QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_CIPHER = 6,
        QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_LTF_KEYSEED = 7,
+       QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_LINK_ID = 8,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_AFTER_LAST,