qcacmn: Update default values of INI items
Update default values of INI items to most commonly used values in WCNSS_qcom_cfg.ini file on commercial devices. Change-Id: Ie3a4ce2cbf4bc2352d5ebc5be939a47818a6d594 CRs-Fixed: 2874759
此提交包含在:
@@ -184,7 +184,7 @@ enum scan_mode_6ghz {
|
|||||||
* active_max_channel_time_6g - Set max time for active 6G channel scan
|
* active_max_channel_time_6g - Set max time for active 6G channel scan
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
* @Max: 10000
|
* @Max: 10000
|
||||||
* @Default: 40
|
* @Default: 60
|
||||||
*
|
*
|
||||||
* This ini is used to set maximum time in msecs spent in active 6G channel scan
|
* This ini is used to set maximum time in msecs spent in active 6G channel scan
|
||||||
*
|
*
|
||||||
@@ -197,7 +197,7 @@ enum scan_mode_6ghz {
|
|||||||
*/
|
*/
|
||||||
#define CFG_ACTIVE_MAX_6G_CHANNEL_TIME CFG_INI_UINT(\
|
#define CFG_ACTIVE_MAX_6G_CHANNEL_TIME CFG_INI_UINT(\
|
||||||
"active_max_channel_time_6g",\
|
"active_max_channel_time_6g",\
|
||||||
0, 10000, 40,\
|
0, 10000, 60,\
|
||||||
CFG_VALUE_OR_DEFAULT, "active dwell time for 6G channels")
|
CFG_VALUE_OR_DEFAULT, "active dwell time for 6G channels")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -205,7 +205,7 @@ enum scan_mode_6ghz {
|
|||||||
* passive_max_channel_time_6g - Set max time for passive 6G channel scan
|
* passive_max_channel_time_6g - Set max time for passive 6G channel scan
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
* @Max: 10000
|
* @Max: 10000
|
||||||
* @Default: 30
|
* @Default: 60
|
||||||
*
|
*
|
||||||
* This ini is used to set maximum time in msecs spent in passive 6G chan scan
|
* This ini is used to set maximum time in msecs spent in passive 6G chan scan
|
||||||
*
|
*
|
||||||
@@ -218,7 +218,7 @@ enum scan_mode_6ghz {
|
|||||||
*/
|
*/
|
||||||
#define CFG_PASSIVE_MAX_6G_CHANNEL_TIME CFG_INI_UINT(\
|
#define CFG_PASSIVE_MAX_6G_CHANNEL_TIME CFG_INI_UINT(\
|
||||||
"passive_max_channel_time_6g",\
|
"passive_max_channel_time_6g",\
|
||||||
0, 10000, 30,\
|
0, 10000, 60,\
|
||||||
CFG_VALUE_OR_DEFAULT, "passive dwell time for 6G channels")
|
CFG_VALUE_OR_DEFAULT, "passive dwell time for 6G channels")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -288,7 +288,7 @@ enum scan_mode_6ghz {
|
|||||||
* during host scan with conneciton
|
* during host scan with conneciton
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
* @Max: 4
|
* @Max: 4
|
||||||
* @Default: 2
|
* @Default: 1
|
||||||
*
|
*
|
||||||
* This ini will set the algo used in dwell time optimization
|
* This ini will set the algo used in dwell time optimization
|
||||||
* during host scan with connection.
|
* during host scan with connection.
|
||||||
@@ -310,7 +310,7 @@ enum scan_mode_6ghz {
|
|||||||
*/
|
*/
|
||||||
#define CFG_ADAPTIVE_SCAN_DWELL_MODE CFG_INI_UINT(\
|
#define CFG_ADAPTIVE_SCAN_DWELL_MODE CFG_INI_UINT(\
|
||||||
"hostscan_adaptive_dwell_mode",\
|
"hostscan_adaptive_dwell_mode",\
|
||||||
0, 4, PLATFORM_VALUE(2, 0),\
|
0, 4, PLATFORM_VALUE(1, 0),\
|
||||||
CFG_VALUE_OR_DEFAULT,\
|
CFG_VALUE_OR_DEFAULT,\
|
||||||
"Enable adaptive dwell mode")
|
"Enable adaptive dwell mode")
|
||||||
|
|
||||||
|
@@ -374,6 +374,7 @@
|
|||||||
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE 16384
|
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE 16384
|
||||||
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN 1
|
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN 1
|
||||||
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX 16384
|
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX 16384
|
||||||
|
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_DEFAULT 128
|
||||||
|
|
||||||
#define WLAN_CFG_PKTLOG_BUFFER_SIZE 10
|
#define WLAN_CFG_PKTLOG_BUFFER_SIZE 10
|
||||||
#define WLAN_CFG_PKTLOG_MIN_BUFFER_SIZE 1
|
#define WLAN_CFG_PKTLOG_MIN_BUFFER_SIZE 1
|
||||||
@@ -933,7 +934,7 @@
|
|||||||
CFG_INI_UINT("dp_rx_flow_search_table_size", \
|
CFG_INI_UINT("dp_rx_flow_search_table_size", \
|
||||||
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN, \
|
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN, \
|
||||||
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX, \
|
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX, \
|
||||||
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE, \
|
WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_DEFAULT, \
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"DP Rx Flow Search Table Size in number of entries")
|
"DP Rx Flow Search Table Size in number of entries")
|
||||||
|
|
||||||
@@ -958,7 +959,7 @@
|
|||||||
* dp_rx_fisa_enable - Control Rx datapath FISA
|
* dp_rx_fisa_enable - Control Rx datapath FISA
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
* @Max: 1
|
* @Max: 1
|
||||||
* @Default: 0
|
* @Default: 1
|
||||||
*
|
*
|
||||||
* This ini is used to enable DP Rx FISA feature
|
* This ini is used to enable DP Rx FISA feature
|
||||||
*
|
*
|
||||||
@@ -966,12 +967,12 @@
|
|||||||
*
|
*
|
||||||
* Supported Feature: STA,P2P and SAP IPA disabled terminating
|
* Supported Feature: STA,P2P and SAP IPA disabled terminating
|
||||||
*
|
*
|
||||||
* Usage: Internal/External
|
* Usage: Internal
|
||||||
*
|
*
|
||||||
* </ini>
|
* </ini>
|
||||||
*/
|
*/
|
||||||
#define CFG_DP_RX_FISA_ENABLE \
|
#define CFG_DP_RX_FISA_ENABLE \
|
||||||
CFG_INI_BOOL("dp_rx_fisa_enable", false, \
|
CFG_INI_BOOL("dp_rx_fisa_enable", true, \
|
||||||
"Enable/Disable DP Rx FISA")
|
"Enable/Disable DP Rx FISA")
|
||||||
|
|
||||||
#define CFG_DP_RXDMA_MONITOR_RX_DROP_THRESHOLD \
|
#define CFG_DP_RXDMA_MONITOR_RX_DROP_THRESHOLD \
|
||||||
@@ -1028,7 +1029,8 @@
|
|||||||
* legacy_mode_csum_disable - Disable csum offload for legacy 802.11abg modes
|
* legacy_mode_csum_disable - Disable csum offload for legacy 802.11abg modes
|
||||||
* @Min: 0
|
* @Min: 0
|
||||||
* @Max: 1
|
* @Max: 1
|
||||||
* @Default: 0
|
* @Default: Default value indicating if checksum should be disabled for
|
||||||
|
* legacy WLAN modes
|
||||||
*
|
*
|
||||||
* This ini is used to disable HW checksum offload capability for legacy
|
* This ini is used to disable HW checksum offload capability for legacy
|
||||||
* connections
|
* connections
|
||||||
@@ -1039,9 +1041,13 @@
|
|||||||
*
|
*
|
||||||
* </ini>
|
* </ini>
|
||||||
*/
|
*/
|
||||||
|
#ifndef DP_LEGACY_MODE_CSM_DEFAULT_DISABLE
|
||||||
|
#define DP_LEGACY_MODE_CSM_DEFAULT_DISABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CFG_DP_LEGACY_MODE_CSUM_DISABLE \
|
#define CFG_DP_LEGACY_MODE_CSUM_DISABLE \
|
||||||
CFG_INI_BOOL("legacy_mode_csum_disable", false, \
|
CFG_INI_BOOL("legacy_mode_csum_disable", \
|
||||||
|
DP_LEGACY_MODE_CSM_DEFAULT_DISABLE, \
|
||||||
"Enable/Disable legacy mode checksum")
|
"Enable/Disable legacy mode checksum")
|
||||||
|
|
||||||
#define CFG_DP_RX_BUFF_POOL_ENABLE \
|
#define CFG_DP_RX_BUFF_POOL_ENABLE \
|
||||||
|
新增問題並參考
封鎖使用者