Explorar el Código

qcacld-3.0: Increase the buffer size for LL_STATS

ll_stats are not fit into current buffer sizeof
12288 bytes to write into debugfs

Increase the LL_STATS buffer size i.e DEBUGFS_LLSTATS_BUF_SIZE
from 3 pages to 4 pages for single vdev case also double the
buffer size for MLO case.

Change-Id: Idcae0816de0a29ae92a821623d3d2e8c4f33bdf8
CRs-Fixed: 3214694
Divyajyothi Goparaju hace 2 años
padre
commit
d7ae20bac5
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      core/hdd/inc/wlan_hdd_debugfs_llstat.h

+ 3 - 2
core/hdd/inc/wlan_hdd_debugfs_llstat.h

@@ -28,10 +28,11 @@
 #define _WLAN_HDD_DEBUGFS_LLSTAT_H
 #define _WLAN_HDD_DEBUGFS_LLSTAT_H
 
 
 #if defined(WLAN_FEATURE_11BE_MLO) && defined(CFG80211_11BE_BASIC)
 #if defined(WLAN_FEATURE_11BE_MLO) && defined(CFG80211_11BE_BASIC)
-#define DEBUGFS_LLSTATS_BUF_SIZE 24576
+#define DEBUGFS_LLSTATS_BUF_SIZE 32768
 #else
 #else
-#define DEBUGFS_LLSTATS_BUF_SIZE 12288
+#define DEBUGFS_LLSTATS_BUF_SIZE 16384
 #endif
 #endif
+
 #define DEBUGFS_LLSTATS_REQID   4294967295UL
 #define DEBUGFS_LLSTATS_REQID   4294967295UL
 #define DEBUGFS_LLSTATS_REQMASK 0x7
 #define DEBUGFS_LLSTATS_REQMASK 0x7