qcacmn: Fetch gain table idx from cfr event

Fetch agc gain table index from peer capture event
so that it can be populated to CFR metadata

Change-Id: Ic5e86d3947433be4218958badfdb8fc07acded89
This commit is contained in:
Shwetha G K
2021-10-01 12:34:53 +05:30
committed by Madan Koyyalamudi
parent a731de3964
commit 682ebee7e9
2 changed files with 4 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ extract_cfr_peer_tx_event_param_tlv(wmi_unified_t wmi_handle, void *evt_buf,
(0xffff & chain_phase_ev->chain_phase[idx]);
peer_tx_event->agc_gain[idx] =
WMI_UNIFIED_AGC_GAIN_GET(chain_phase_ev, idx);
peer_tx_event->agc_gain_tbl_index[idx] =
WMI_UNIFIED_AGC_GAIN_TBL_IDX_GET(chain_phase_ev,
idx);
}
}