qcacmn: Change the data type of average/roundup tx rate

The datatype of average and round up tx rate was uint32_t which truncates
the upper byte of the average and round up tx rate value.

changing the datatype of average and round up tx rate from uint32_t to
uint64_t.

Change-Id: I3809ba7cfc73ec0b4609981e70d57112ac958f33
CRs-Fixed: 2409751
This commit is contained in:
Shashikala Prabhu
2019-04-05 14:25:09 +05:30
committed by nshrivas
parent cb4f428edc
commit f7786d3822
3 changed files with 5 additions and 5 deletions

View File

@@ -129,7 +129,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
struct cdp_tx_completion_ppdu_user *ppdu)
{
uint32_t ratekbps = 0;
uint32_t ppdu_tx_rate = 0;
uint64_t ppdu_tx_rate = 0;
uint32_t rix;
if (!peer || !ppdu)