summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@qti.qualcomm.com>2016-04-06 18:03:18 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-07 15:42:30 +0530
commitf5413fbdf50c630bb9a55656cb8a595fd5dbd4d5 (patch)
tree4269aed29029d3649fc3b3af1e3d7c87fd24e77c
parent0be02a24f6468e770708de1c8cb191db3e9776b0 (diff)
qcacld-2.0: Disable indicating first packet after wow wakeup
In fw, msdu_info is not initialized and so even if fw is not setting the bit for first packet after WOW wakeup, the bit could be 1 as msdu_info is some garbage value. Disable the support from HOST side with a feature macro. Change-Id: Ic4f00dd9244c07da4f717c55832af9c15dbc8c7c CRs-Fixed: 998788
-rw-r--r--CORE/CLD_TXRX/HTT/htt_rx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/CLD_TXRX/HTT/htt_rx.c b/CORE/CLD_TXRX/HTT/htt_rx.c
index beab5473e7c2..9cc203cd23a2 100644
--- a/CORE/CLD_TXRX/HTT/htt_rx.c
+++ b/CORE/CLD_TXRX/HTT/htt_rx.c
@@ -1906,11 +1906,13 @@ htt_rx_amsdu_rx_in_order_pop_ll(
*((u_int8_t *) &rx_desc->fw_desc.u.val) =
HTT_RX_IN_ORD_PADDR_IND_FW_DESC_GET(*(msg_word + 1));
+#ifdef FEATURE_MARK_FIRST_WOW_WAKEUP
if (HTT_RX_IN_ORD_PADDR_IND_MSDU_INFO_GET(*(msg_word + 1)) &
FW_MSDU_INFO_FIRST_WAKEUP_M) {
adf_os_print("%s: first packet after WOW wakeup\n", __func__);
adf_nbuf_update_skb_mark(msdu, HTT_MARK_FIRST_WAKEUP_PACKET);
}
+#endif
msdu_count--;