Prechádzať zdrojové kódy

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

Change-Id: I397217853b318e7aa19f2d7fb5615dea729b022b
WMI: add ROAM_SYNCH_KEY_EVENT msg def, MLO fields
CRs-Fixed: 2262693
spuligil 1 rok pred
rodič
commit
9e574ad8d5
3 zmenil súbory, kde vykonal 16 pridanie a 1 odobranie
  1. 6 0
      fw/wmi_tlv_defs.h
  2. 9 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 6 - 0
fw/wmi_tlv_defs.h

@@ -2221,6 +2221,7 @@ typedef enum {
     OP(WMI_VENDOR_VDEV_EVENTID) \
     OP(WMI_VENDOR_PEER_EVENTID) \
     OP(WMI_PDEV_SET_RF_PATH_RESP_EVENTID) \
+    OP(WMI_ROAM_SYNCH_KEY_EVENTID) \
     /* add new EVT_LIST elements above this line */
 
 
@@ -5758,6 +5759,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, mac_freq_mapping, WMITLV_SIZE_VAR)
 WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_EVENTID);
 
+/* Roam Synch key Event */
+#define WMITLV_TABLE_WMI_ROAM_SYNCH_KEY_EVENTID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ml_key_material_param, ml_key_material, WMITLV_SIZE_VAR)
+WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_KEY_EVENTID);
+
 /* Roam Synch frame Event */
 #define WMITLV_TABLE_WMI_ROAM_SYNCH_FRAME_EVENTID(id,op,buf,len) \
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_synch_frame_event_fixed_param, wmi_roam_synch_frame_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \

+ 9 - 0
fw/wmi_unified.h

@@ -1982,6 +1982,8 @@ typedef enum {
     WMI_ROAM_FRAME_EVENTID,
     /** Send firmware ini value corresponding to param_id */
     WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID,
+    /** roam synch key event */
+    WMI_ROAM_SYNCH_KEY_EVENTID,
 
     /** P2P disc found */
     WMI_P2P_DISC_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_P2P),
@@ -6225,6 +6227,7 @@ typedef struct {
      */
     A_UINT32 flags;
     wmi_mac_addr link_addr; /* link address */
+    wmi_mac_addr self_link_addr; /* self-link address */
 } wmi_roam_ml_setup_links_param;
 
 /*
@@ -24515,6 +24518,11 @@ typedef struct {
     A_UINT32 key_cipher;
     A_UINT8  pn[WMI_MAX_PN_LEN];
     A_UINT8  key_buff[WMI_MAX_KEY_LEN];
+    /*
+     * When link_id is 0xf, this field will be MLD address.
+     * Otherwise, it will be bssid which specified with link_id.
+     */
+    wmi_mac_addr mac_addr;
 } wmi_roam_ml_key_material_param;
 
 typedef struct {
@@ -39663,6 +39671,7 @@ typedef struct {
      * Bit 2: 6G band support if 1
      */
     A_UINT32 support_link_band; /* Configure the band bitmap of mlo connection supports. */
+    A_UINT32 max_active_links; /* Max active links supported for STA */
 } wmi_roam_mlo_config_cmd_fixed_param;
 
 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_ 1337
+#define __WMI_REVISION_ 1338
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work