Эх сурвалжийг харах

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
Sathish Kumar 8 жил өмнө
parent
commit
532efd251f

+ 2 - 0
wmi/src/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*/