mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Reduce roam debug buffer size
Change WLAN_ROAM_DEBUG_MAX_REC from 256 to 64 to save memory Change-Id: Ib70ab70bc6841251eb76db8ab6173eb0b58ad39e CRs-Fixed: 2271408
This commit is contained in:
parent
cfb8f043b7
commit
ad9b01ce3d
6 changed files with 27 additions and 4 deletions
4
Kbuild
4
Kbuild
|
|
@ -2037,6 +2037,10 @@ ifdef CONFIG_CFG_NUM_RX_IND_RECORD
|
|||
ccflags-y += -DOL_RX_INDICATION_MAX_RECORDS=$(CONFIG_CFG_NUM_RX_IND_RECORD)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_CFG_NUM_ROAM_DEBUG_RECORD
|
||||
ccflags-y += -DWLAN_ROAM_DEBUG_MAX_REC=$(CONFIG_CFG_NUM_ROAM_DEBUG_RECORD)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_CFG_PMO_WOW_FILTERS_MAX
|
||||
ccflags-y += -DPMO_WOW_FILTERS_MAX=$(CONFIG_CFG_PMO_WOW_FILTERS_MAX)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -107,4 +107,8 @@ CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
|
|||
CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
|
||||
CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
|
||||
CONFIG_CFG_NUM_RX_IND_RECORD := 1024
|
||||
|
||||
ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
|
||||
CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
|
||||
endif
|
||||
###################################
|
||||
|
|
|
|||
|
|
@ -42,4 +42,8 @@ CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
|
|||
CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
|
||||
CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
|
||||
CONFIG_CFG_NUM_RX_IND_RECORD := 1024
|
||||
|
||||
ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
|
||||
CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
|
||||
endif
|
||||
###################################
|
||||
|
|
|
|||
|
|
@ -81,4 +81,8 @@ CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
|
|||
CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
|
||||
CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
|
||||
CONFIG_CFG_NUM_RX_IND_RECORD := 1024
|
||||
|
||||
ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
|
||||
CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
|
||||
endif
|
||||
###################################
|
||||
|
|
|
|||
|
|
@ -40,4 +40,8 @@ CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
|
|||
CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
|
||||
CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
|
||||
CONFIG_CFG_NUM_RX_IND_RECORD := 1024
|
||||
|
||||
ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
|
||||
CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
|
||||
endif
|
||||
###################################
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include <wlan_ptt_sock_svc.h>
|
||||
#include <dbglog_host.h>
|
||||
#include <wlan_logging_sock_svc.h>
|
||||
#include <wlan_roam_debug.h>
|
||||
#include <wlan_hdd_wowl.h>
|
||||
#include <wlan_hdd_misc.h>
|
||||
#include <wlan_hdd_wext.h>
|
||||
|
|
@ -12164,6 +12165,7 @@ int hdd_init(void)
|
|||
hdd_qdf_print_init();
|
||||
|
||||
hdd_register_debug_callback();
|
||||
wlan_roam_debug_init();
|
||||
|
||||
err_out:
|
||||
return ret;
|
||||
|
|
@ -12178,15 +12180,16 @@ err_out:
|
|||
*/
|
||||
void hdd_deinit(void)
|
||||
{
|
||||
wlan_roam_debug_deinit();
|
||||
hdd_qdf_print_deinit();
|
||||
qdf_timer_free(&hdd_drv_ops_inactivity_timer);
|
||||
|
||||
wlan_destroy_bug_report_lock();
|
||||
cds_deinit();
|
||||
|
||||
hdd_qdf_print_deinit();
|
||||
#ifdef WLAN_LOGGING_SOCK_SVC_ENABLE
|
||||
wlan_logging_sock_deinit_svc();
|
||||
#endif
|
||||
|
||||
wlan_destroy_bug_report_lock();
|
||||
cds_deinit();
|
||||
}
|
||||
|
||||
#ifdef QCA_WIFI_NAPIER_EMULATION
|
||||
|
|
|
|||
Loading…
Reference in a new issue