qcacmn: Mark first packet after wow wakeup

Add feature support to tag first packet that wakes up HOST from WoW.

rx_pkt_tlv.rx_msdu_end.reserved_1a field is used by TARGET to meet
such request.

Change-Id: I3d37e13e8cff49bc4f622d3070a19e4c4be56417
CRs-Fixed: 3137621
This commit is contained in:
Jia Ding
2021-12-03 10:13:24 +08:00
committed by Madan Koyyalamudi
parent 7148dfedf8
commit d40b388d2f
14 changed files with 218 additions and 4 deletions

View File

@@ -2952,4 +2952,15 @@ hal_reo_shared_qaddr_is_enable(hal_soc_handle_t hal_soc_hdl)
return hal->reo_qref.reo_qref_table_en;
}
#ifdef WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET
static inline uint8_t
hal_get_first_wow_wakeup_packet(hal_soc_handle_t hal_soc_hdl, uint8_t *buf)
{
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
return hal_soc->ops->hal_get_first_wow_wakeup_packet(buf);
}
#endif
#endif /* _HAL_RX_H */