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

@@ -418,8 +418,8 @@ struct cdp_tx_stats {
uint32_t mcast_last_tx_rate;
uint32_t mcast_last_tx_rate_mcs;
uint32_t last_per;
uint32_t rnd_avg_tx_rate;
uint32_t avg_tx_rate;
uint64_t rnd_avg_tx_rate;
uint64_t avg_tx_rate;
uint32_t last_ack_rssi;
uint32_t tx_bytes_success_last;
uint32_t tx_data_success_last;