summaryrefslogtreecommitdiff
path: root/qdf
diff options
context:
space:
mode:
authorAnish Nataraj <anishn@codeaurora.org>2018-01-19 19:34:54 +0530
committersnandini <snandini@codeaurora.org>2018-01-25 05:08:23 -0800
commit28490c4c5ed7fd30bbe560839938eb453acd81e6 (patch)
tree6f47fca272573fb1782c737be77c58ed2a56a705 /qdf
parenta38c7a3b04f8cc222e8d3d28006d6e7a99e7ef32 (diff)
downloadqca-wfi-host-cmn-28490c4c5ed7fd30bbe560839938eb453acd81e6.tar.gz
qcacmn: Add checks in rx_mon_status handler to filter spurious frames
1. find_first_bit API returns Size value if it doesn’t find any bit set. This was causing VOICE AC counter to go high even for TID 0 2. Reset stats was not resetting the stats immediately 3. Added checks to avoid spurious stats increment 4. Detect data/mgmt pkt to avoid spurious stats increment Change-Id: Ic9c5695fc7bdf58d1237e7e20bb79378a02a21f6
Diffstat (limited to 'qdf')
-rw-r--r--qdf/inc/qdf_nbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qdf/inc/qdf_nbuf.h b/qdf/inc/qdf_nbuf.h
index adf43e244..237b811ef 100644
--- a/qdf/inc/qdf_nbuf.h
+++ b/qdf/inc/qdf_nbuf.h
@@ -217,7 +217,9 @@ struct mon_rx_status {
uint8_t beamformed;
uint8_t he_sig_b_common_RU[4];
int8_t rssi_comb;
+ uint8_t reception_type;
uint16_t duration;
+ uint8_t frame_control_info_valid;
int16_t first_data_seq_ctrl;
uint32_t ast_index;
uint32_t tid;