qcacmn: Get wow nack reason code

Currently, Fw did not set NACK reason code
to Host when Fw is not ready for WoW.

As part of the new change, Fw will send NACK
reason code along with WoW NACK to host.
Make changes in host to parse NACK reason
code from the received message.

Change-Id: I17ee99cb302ff546731a46d3ce03977c3c3d5a67
CRs-Fixed: 3481189
This commit is contained in:
Amit Mehta
2022-02-13 15:57:29 +05:30
committed by Madan Koyyalamudi
父節點 401b28e1b8
當前提交 dd5f5c1afa
共有 3 個文件被更改,包括 14 次插入4 次删除

查看文件

@@ -54,7 +54,8 @@ typedef void (*HTC_TARGET_FAILURE)(void *Instance, QDF_STATUS Status);
struct htc_init_info {
void *pContext; /* context for target notifications */
void (*TargetFailure)(void *Instance, QDF_STATUS Status);
void (*TargetSendSuspendComplete)(void *ctx, bool is_nack);
void (*TargetSendSuspendComplete)(void *ctx, bool is_nack,
uint16_t reason_code);
void (*target_initial_wakeup_cb)(void *cb_ctx);
void *target_psoc;
uint32_t cfg_wmi_credit_cnt;