Browse Source

fw-api: CL 21236391 - update fw common interface files

Change-Id: Ib38a78df3cfef6ebfe196df13d381f29057b8417
WMI: add kck_len,kek_len fields to key_material_ext TLV
CRs-Fixed: 2262693
spuligil 2 years ago
parent
commit
b888f44e76
2 changed files with 8 additions and 3 deletions
  1. 7 2
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 7 - 2
fw/wmi_unified.h

@@ -25336,10 +25336,15 @@ typedef struct {
     /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_key_material_ext */
     A_UINT32 tlv_header;
     /*
-     * key_buffer contains kck,kck2,kek,kek2,replay counter, in order
-     * The split between kck vs. kek should be known to host based on akmp.
+     * key_buffer contains kck,kck2,kek,kek2,replay counter, in order.
+     * If both the below kck_len and kek_len fields are 0x0, the split
+     * between kck vs. kek should be inferred based on akmp.
      */
     A_UINT8  key_buffer[GTK_OFFLOAD_KEK_EXTENDED_BYTES+GTK_OFFLOAD_KCK_EXTENDED_BYTES+GTK_REPLAY_COUNTER_BYTES];
+    /* length of kck in key_buffer */
+    A_UINT32 kck_len;
+    /* length of kek in key_buffer */
+    A_UINT32 kek_len;
 } wmi_key_material_ext;
 
 typedef struct {

+ 1 - 1
fw/wmi_version.h

@@ -37,7 +37,7 @@
 #define __WMI_VER_MINOR_    0
 /** WMI revision number has to be incremented when there is a
  *  change that may or may not break compatibility. */
-#define __WMI_REVISION_ 1262
+#define __WMI_REVISION_ 1263
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work