From 9fbe737fee40bd30504c85ee469ae6fdf292317f Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Fri, 27 Jul 2018 19:09:32 +0530 Subject: [PATCH] qcacld-3.0: Increase ll_stats driver buffer size Currently driver allocates buffer of size 10KB which is getting filled completely in some cases when size of ll_stats is more than 10KB. Because of this driver ignores some of the stats and user space does not get the complete stats. To address this issue increase the size of the buffer to 12 KB. Change-Id: I8c5500545a3c69ecb5ba3b1bb3e7f3338a61714f CRs-Fixed: 2279495 --- core/hdd/inc/wlan_hdd_debugfs_llstat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_debugfs_llstat.h b/core/hdd/inc/wlan_hdd_debugfs_llstat.h index 8facd3856d00..8b7b04eb2eac 100644 --- a/core/hdd/inc/wlan_hdd_debugfs_llstat.h +++ b/core/hdd/inc/wlan_hdd_debugfs_llstat.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -26,7 +26,7 @@ #ifndef _WLAN_HDD_DEBUGFS_LLSTAT_H #define _WLAN_HDD_DEBUGFS_LLSTAT_H -#define DEBUGFS_LLSTATS_BUF_SIZE 10240 +#define DEBUGFS_LLSTATS_BUF_SIZE 12288 #define DEBUGFS_LLSTATS_REQID 4294967295UL #define DEBUGFS_LLSTATS_REQMASK 0x7