mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
beeca2250f
commit
55105a2a43
2 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue