qcacmn: Extract mcs & gI info from peer tx event

Changes to extract mcs rate and gI from cfr peer tx
capture event.

Change-Id: Ia64807aed4559466dc25f20928ed8c43ae77be62
This commit is contained in:
Shwetha G K
2021-06-05 17:36:33 +05:30
committed by Madan Koyyalamudi
부모 b8f59509d0
커밋 e875fdf64e
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -7746,6 +7746,8 @@ typedef struct {
uint8_t agc_gain[WMI_HOST_MAX_CHAINS];
uint32_t rx_start_ts;
uint32_t rx_ts_reset;
uint32_t mcs_rate;
uint32_t gi_type;
} wmi_cfr_peer_tx_event_param;
/**

파일 보기

@@ -70,6 +70,10 @@ extract_cfr_peer_tx_event_param_tlv(wmi_unified_t wmi_handle, void *evt_buf,
peer_tx_event->rx_start_ts = peer_tx_event_ev->rx_start_ts;
peer_tx_event->rx_ts_reset = peer_tx_event_ev->rx_ts_reset;
peer_tx_event->mcs_rate =
WMI_CFR_MCS_GET(peer_tx_event_ev->mcs_gi_info);
peer_tx_event->gi_type =
WMI_CFR_GI_TYPE_GET(peer_tx_event_ev->mcs_gi_info);
chain_phase_ev = param_buf->phase_param;
if (chain_phase_ev) {