1
0

qcacmn: Changes to store stats in 64bit data type

Changed the data type to store stats to 64bit
from 32bit to support larger number for stats
counter

Change-Id: I25eca626623503663b6aa8436217413609e2a807
CRs-Fixed: 2024225
Acked-by: Chaithanya Garrepalli <cgarre@codeaurora.org>
Este cometimento está contido em:
c_cgodav
2017-03-24 15:34:13 +05:30
cometido por Sandeep Puligilla
ascendente 0b69ec4998
cometimento f151c38600
2 ficheiros modificados com 9 adições e 5 eliminações

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -178,7 +178,11 @@ struct _NIC_DEV {
void *bdev;
struct net_device *netdev;
qdf_bh_t intr_tq;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)
struct rtnl_link_stats64 devstats;
#else
struct net_device_stats devstats;
#endif
QDF_BUS_CONTEXT bc;
#ifdef ATH_PERF_PWR_OFFLOAD
struct device *device;