From 91fbf6db50eb7645de20c028444bef9299107f32 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Bijlani Date: Tue, 5 Apr 2022 02:14:03 +0530 Subject: [PATCH] qcacmn: Change data type for byte count to uint64_t in cdp_dev_stats Change data type for byte count to uint64_t in cdp_dev_stats. Change-Id: I917df55f3c816351b6689d39c28ea9a01f76deb3 CRs-Fixed: 3166358 --- dp/inc/cdp_txrx_cmn_struct.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index ca1c550e64..7813518765 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -2175,23 +2175,23 @@ struct cdp_tx_completion_ppdu { /** * struct cdp_dev_stats - Network device stats structure * @tx_packets: Tx total packets transmitted - * @tx_bytes : Tx total bytes transmitted * @tx_errors : Tx error due to FW tx failure, Ring failure DMA etc * @tx_dropped: Tx dropped is same as tx errors as above * @rx_packets: Rx total packets transmitted - * @rx_bytes : Rx total bytes transmitted * @rx_errors : Rx erros * @rx_dropped: Rx dropped stats + * @tx_bytes : Tx total bytes transmitted + * @rx_bytes : Rx total bytes transmitted */ struct cdp_dev_stats { uint32_t tx_packets; - uint32_t tx_bytes; uint32_t tx_errors; uint32_t tx_dropped; uint32_t rx_packets; - uint32_t rx_bytes; uint32_t rx_errors; uint32_t rx_dropped; + uint64_t tx_bytes; + uint64_t rx_bytes; }; /**