Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55105a2a authored by Shwetha G K's avatar Shwetha G K Committed by Madan Koyyalamudi
Browse files

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
parent beeca225
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8127,6 +8127,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;

/**
+4 −0
Original line number Diff line number Diff line
@@ -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) {