wlan: Add support to enable/disable SSR
WLAN driver invokes SSR upon WDI timeout. Add a dynamic cfg.ini item
to enable/disable this functionality. This greatly helps for WDI
timeout debugging.
CRs-fixed: 466158
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index d6641d7..2451677 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -1317,6 +1317,11 @@
#define CFG_MC_ADDR_LIST_FILTER_DEFAULT ( 0 )
#endif
+#define CFG_ENABLE_SSR "gEnableSSR"
+#define CFG_ENABLE_SSR_MIN ( 0 )
+#define CFG_ENABLE_SSR_MAX ( 1 )
+#define CFG_ENABLE_SSR_DEFAULT ( 1 )
+
/*
* VOS Trace Enable Control
* Notes:
@@ -2051,6 +2056,7 @@
v_U8_t retryLimitOne;
v_U8_t retryLimitTwo;
char listOfNonDfsCountryCode[128];
+ v_BOOL_t enableSSR;
} hdd_config_t;
/*---------------------------------------------------------------------------
Function declarations and documenation