Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad526ef0 authored by spuligil's avatar spuligil Committed by Madan Koyyalamudi
Browse files

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
parent 3fbe5172
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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,