From bbd8be7c53f37cae95d7d52f8e67da7da5f628fe Mon Sep 17 00:00:00 2001 From: Sathish Kumar Date: Fri, 21 Oct 2016 15:33:51 +0530 Subject: [PATCH] qcacmn: Set txrx chainmask to 0 for non CFR RTT report type TxRx chainmask is populated by the FW only in the case when report type is WMI_RTT_REPORT_CFR. Populate txrx chainmask to 0 when RTT report type is non-CFR to avoid corruption. Change-Id: Ie728656efe2f608e90a15b6fc94be3159db0f635 CRs-Fixed: 1080686 --- wmi_unified_non_tlv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi_unified_non_tlv.c b/wmi_unified_non_tlv.c index 2eb20638c1..db2d65cbe4 100644 --- a/wmi_unified_non_tlv.c +++ b/wmi_unified_non_tlv.c @@ -6282,6 +6282,8 @@ QDF_STATUS extract_rtt_ev_non_tlv(wmi_unified_t wmi_handle, void *evt_buf, ev->chain_mask = WMI_RTT_REPORT_RX_CHAIN_GET(body->rx_chain); ev->bw = WMI_RTT_REPORT_RX_BW_GET(body->rx_chain); + /* If report type is not WMI_RTT_REPORT_CFR */ + ev->txrxchain_mask = 0; ev->tod = ((u_int64_t) body->tod.time32) << 32; ev->tod |= body->tod.time0; /*tmp1 is the 64 bit tod*/