From ba4b57f368fdc239b32099c68d4539c7cec878a4 Mon Sep 17 00:00:00 2001 From: "Pamidipati, Vijay" Date: Wed, 13 Feb 2019 16:47:23 +0530 Subject: [PATCH] qcacmn: Populate LTF in rx_ppdu_indication structure Add support for indicating LTF as part of Rx PPDU indication Change-Id: I9a39e5a32f3e6117b53ecae5a653df8318f0b21d CRs-Fixed:2397734 --- dp/wifi3.0/dp_rx_mon_status.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_rx_mon_status.c b/dp/wifi3.0/dp_rx_mon_status.c index b13902befec8..657a611fcf75 100644 --- a/dp/wifi3.0/dp_rx_mon_status.c +++ b/dp/wifi3.0/dp_rx_mon_status.c @@ -75,6 +75,9 @@ dp_rx_populate_cdp_indication_ppdu(struct dp_pdev *pdev, cdp_rx_ppdu->u.ldpc = ppdu_info->rx_status.ldpc; cdp_rx_ppdu->u.preamble = ppdu_info->rx_status.preamble_type; cdp_rx_ppdu->u.ppdu_type = ppdu_info->rx_status.reception_type; + cdp_rx_ppdu->u.ltf_size = (ppdu_info->rx_status.he_data5 >> + QDF_MON_STATUS_HE_LTF_SIZE_SHIFT) & 0x3; + cdp_rx_ppdu->num_mpdu = ppdu_info->com_info.mpdu_cnt_fcs_ok; cdp_rx_ppdu->rssi = ppdu_info->rx_status.rssi_comb; cdp_rx_ppdu->timestamp = ppdu_info->rx_status.tsft; cdp_rx_ppdu->channel = ppdu_info->rx_status.chan_num; @@ -83,7 +86,6 @@ dp_rx_populate_cdp_indication_ppdu(struct dp_pdev *pdev, cdp_rx_ppdu->udp_msdu_count + cdp_rx_ppdu->other_msdu_count); - cdp_rx_ppdu->num_mpdu = ppdu_info->com_info.mpdu_cnt_fcs_ok; if (ppdu_info->com_info.mpdu_cnt_fcs_ok > 1) cdp_rx_ppdu->is_ampdu = 1; else