mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
qcacmn: Populate RU tones in TX PPDU stats
Populate per user RU tones for TX PPDU Change-Id: I5725c0500d8a22247913d3656047e25eaaa8c6d3 CRs-Fixed: 2147797
This commit is contained in:
parent
38d5f6fc61
commit
28541119a5
2 changed files with 7 additions and 1 deletions
|
|
@ -1111,6 +1111,7 @@ struct cdp_tx_completion_ppdu_user {
|
|||
uint32_t num_mpdu:9,
|
||||
num_msdu:16;
|
||||
uint32_t tx_duration;
|
||||
uint16_t ru_tones;
|
||||
bool is_mcast;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1482,7 +1482,12 @@ static void dp_process_ppdu_stats_user_rate_tlv(struct dp_pdev *pdev,
|
|||
qdf_mem_copy(ppdu_user_desc->mac_addr, peer->mac_addr.raw,
|
||||
DP_MAC_ADDR_LEN);
|
||||
|
||||
tag_buf += 4;
|
||||
tag_buf += 2;
|
||||
|
||||
ppdu_user_desc->ru_tones = (HTT_PPDU_STATS_USER_RATE_TLV_RU_END_GET(*tag_buf) -
|
||||
HTT_PPDU_STATS_USER_RATE_TLV_RU_START_GET(*tag_buf)) + 1;
|
||||
|
||||
tag_buf += 2;
|
||||
|
||||
ppdu_user_desc->ppdu_type =
|
||||
HTT_PPDU_STATS_USER_RATE_TLV_PPDU_TYPE_GET(*tag_buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue