qcacmn: Populate composite RSSI info received as part of phy error event
Extraction API for phy error event handling does not populate composite RSSI info for DFS radar event, but was populating the value in case of spectral event. Composite RSSI info is required for both DFS and Spectral operations. As a result of this change, composite RSSI info is updated on receiving DFS event as well. Change-Id: Ia77779251ccf230f7ca4242ee0851790305d2fbc CRs-Fixed: 1066136
This commit is contained in:

committed by
qcabuildsw

parent
583283c32d
commit
61bfe8696b
@@ -6651,6 +6651,9 @@ QDF_STATUS extract_composite_phyerr_non_tlv(wmi_unified_t wmi_handle,
|
||||
phyerr->phy_err_mask0 = ph->phy_err_mask0;
|
||||
phyerr->phy_err_mask1 = ph->phy_err_mask1;
|
||||
|
||||
phyerr->rf_info.rssi_comb =
|
||||
WMI_UNIFIED_RSSI_COMB_GET(ph);
|
||||
|
||||
/* Handle Spectral PHY Error */
|
||||
if ((ph->phy_err_mask0 & WMI_HOST_AR900B_SPECTRAL_PHYERR_MASK)) {
|
||||
#if ATH_SUPPORT_SPECTRAL
|
||||
@@ -6667,9 +6670,6 @@ QDF_STATUS extract_composite_phyerr_non_tlv(wmi_unified_t wmi_handle,
|
||||
WMI_UNIFIED_NF_CHAIN_GET(ph, 3);
|
||||
|
||||
/* populate the rf info */
|
||||
phyerr->rf_info.rssi_comb =
|
||||
WMI_UNIFIED_RSSI_COMB_GET(ph);
|
||||
|
||||
/* Need to unroll loop due to macro constraints */
|
||||
/* chain 0 */
|
||||
phyerr->rf_info.pc_rssi_info[0].rssi_pri20 =
|
||||
|
Reference in New Issue
Block a user