Browse Source

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

add recovery_mode field in mlo_glb_per_chip_crash_info TLV

Change-Id: I020795d277951d0630a7272cafb9491d7cf68862
CRs-Fixed: 2262693
spuligil 1 năm trước cách đây
mục cha
commit
ad526ef0e2
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      fw/wlan_defs.h

+ 13 - 0
fw/wlan_defs.h

@@ -1747,8 +1747,15 @@ A_COMPILE_TIME_ASSERT(check_mlo_glb_link_info_8byte_size_quantum,
 
 typedef enum {
     MLO_SHMEM_CRASH_PARTNER_CHIPS = 1,
+    MLO_SHMEM_CRASH_SW_PANIC      = 2,
+    MLO_SHMEM_CRASH_SW_ASSERT     = 3,
 } MLO_SHMEM_CHIP_CRASH_REASON;
 
+typedef enum {
+    MLO_SHMEM_RECOVERY_CRASH_PARTNER_CHIPS = 1,
+    MLO_SHMEM_RECOVER_NON_MLO_MODE = 2,
+} MLO_SHMEM_CHIP_RECOVERY_MODE;
+
 /* glb link info structures used for scratchpad memory (crash and recovery) */
 typedef struct {
     /* TLV tag and len; tag equals MLO_SHMEM_TLV_STRUCT_MLO_GLB_PER_CHIP_CRASH_INFO */
@@ -1757,6 +1764,12 @@ typedef struct {
      * crash reason, takes value in enum MLO_SHMEM_CHIP_CRASH_REASON
      */
     A_UINT32 crash_reason;
+    /**
+     * crash reason, takes value in enum MLO_SHMEM_CHIP_RECOVERY_MODE
+     */
+    A_UINT32 recovery_mode;
+    /* reserved: added for padding to A_UINT64 size, available for future use */
+    A_UINT32 reserved;
 } mlo_glb_per_chip_crash_info;
 
 A_COMPILE_TIME_ASSERT(check_mlo_glb_per_chip_crash_info,