qcacmn: Populate RSSI information during single phyerr WMI event extraction
Extraction API for phy error event handling does not populate single phyerr RSSI info for DFS radar event, but was populating the value in case of spectral event. Single phyerr RSSI info is required for both DFS and Spectral operations. As a result of this change, single phyerr RSSI info is updated on receiving DFS event as well. Change-Id: Idca3e4075e1869eda0d200a102e2ca2b7d33bf70 CRs-Fixed: 1076872
This commit is contained in:

committed by
qcabuildsw

parent
09523e2b27
commit
aa4950b608
@@ -6541,6 +6541,10 @@ QDF_STATUS extract_single_phyerr_non_tlv(wmi_unified_t wmi_handle,
|
||||
phyerr->buf_len = ev->hdr.buf_len;
|
||||
#endif /* ATH_SUPPORT_DFS */
|
||||
|
||||
/* populate the rf info */
|
||||
phyerr->rf_info.rssi_comb =
|
||||
WMI_UNIFIED_RSSI_COMB_GET(&ev->hdr);
|
||||
|
||||
#if ATH_SUPPORT_SPECTRAL
|
||||
|
||||
/*
|
||||
@@ -6561,10 +6565,6 @@ QDF_STATUS extract_single_phyerr_non_tlv(wmi_unified_t wmi_handle,
|
||||
phyerr->rf_info.noise_floor[3] =
|
||||
WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 3);
|
||||
|
||||
/* populate the rf info */
|
||||
phyerr->rf_info.rssi_comb =
|
||||
WMI_UNIFIED_RSSI_COMB_GET(&ev->hdr);
|
||||
|
||||
/* Need to unroll loop due to macro
|
||||
* constraints
|
||||
* chain 0 */
|
||||
|
Reference in New Issue
Block a user