mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Add support to mark first packet after wow wakeup
Propagation from qcacld-2.0 to qcacld-3.0. Add support to mark the highest bit of the skb->mark for the first packet after wow wakeup event from firmware Change-Id: I877dd7af9a58ebc02d73461cc2a29e86a3945dec CRs-Fixed: 989984
This commit is contained in:
parent
d792ae14de
commit
053d4556d8
3 changed files with 11 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ struct htt_host_fw_desc_base {
|
|||
} u;
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* This struct defines the basic descriptor information used by host,
|
||||
* which is written either by the 11ac HW MAC into the host Rx data
|
||||
|
|
|
|||
|
|
@ -2041,6 +2041,13 @@ htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
|
|||
HTT_RX_IN_ORD_PADDR_IND_FW_DESC_GET(*(msg_word + NEXT_FIELD_OFFSET_IN32));
|
||||
#undef NEXT_FIELD_OFFSET_IN32
|
||||
|
||||
if (HTT_RX_IN_ORD_PADDR_IND_MSDU_INFO_GET(*(msg_word + 1)) &
|
||||
FW_MSDU_INFO_FIRST_WAKEUP_M) {
|
||||
qdf_print("%s: first packet after WOW wakeup\n",
|
||||
__func__);
|
||||
qdf_nbuf_mark_wakeup_frame(msdu);
|
||||
}
|
||||
|
||||
msdu_count--;
|
||||
|
||||
if (qdf_unlikely((*((u_int8_t *) &rx_desc->fw_desc.u.val)) &
|
||||
|
|
|
|||
|
|
@ -83,6 +83,9 @@ struct hw_rx_desc_base {
|
|||
};
|
||||
#endif
|
||||
|
||||
#define FW_MSDU_INFO_FIRST_WAKEUP_M 0x40
|
||||
#define FW_MSDU_INFO_FIRST_WAKEUP_S 6
|
||||
|
||||
/*
|
||||
* This struct defines the basic MSDU rx descriptor created by FW.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue