qcacld-3.0: Print 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 store and print NACK reason code. Change-Id: Ic978af9572c8de37df3fb926083aac5e6ddefda7 CRs-Fixed: 3481177
This commit is contained in:
@@ -1074,10 +1074,12 @@ int ucfg_pmo_psoc_clear_target_wake_up(struct wlan_objmgr_psoc *psoc);
|
||||
* ucfg_pmo_psoc_target_suspend_acknowledge() - Clear initial wake up status
|
||||
* @context: caller-provided context
|
||||
* @wow_nack: Was WoW NACK'ed
|
||||
* @reason_code: WoW status reason code
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_pmo_psoc_target_suspend_acknowledge(void *context, bool wow_nack);
|
||||
void ucfg_pmo_psoc_target_suspend_acknowledge(void *context, bool wow_nack,
|
||||
uint16_t reason_code);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_psoc_wakeup_host_event_received() - got host wake up evennt from fwr
|
||||
@@ -1890,7 +1892,8 @@ ucfg_pmo_psoc_clear_target_wake_up(struct wlan_objmgr_psoc *psoc)
|
||||
}
|
||||
|
||||
static inline void
|
||||
ucfg_pmo_psoc_target_suspend_acknowledge(void *context, bool wow_nack)
|
||||
ucfg_pmo_psoc_target_suspend_acknowledge(void *context, bool wow_nack,
|
||||
uint16_t reason_code)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -224,6 +224,7 @@ enum pmo_wow_state {
|
||||
* @target_suspend: target suspend event
|
||||
* @target_resume: target resume event
|
||||
* @wow_nack: wow negative ack flag
|
||||
* @reason_code : wow status reason code
|
||||
* @wow_initial_wake_up: target initial wake up is received
|
||||
* @wow_wake_lock: wow wake lock
|
||||
* @lphb_cache: lphb cache
|
||||
@@ -245,7 +246,8 @@ struct pmo_wow {
|
||||
enum pmo_wow_state wow_state;
|
||||
qdf_event_t target_suspend;
|
||||
qdf_event_t target_resume;
|
||||
int wow_nack;
|
||||
bool wow_nack;
|
||||
uint16_t reason_code;
|
||||
atomic_t wow_initial_wake_up;
|
||||
qdf_wake_lock_t wow_wake_lock;
|
||||
/*
|
||||
|
Reference in New Issue
Block a user