1
0

qcacld-3.0: 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: Ibf1e22406951855a4e726fb8105913a53d3c33ee
CRs-Fixed: 2874758
Este cometimento está contido em:
Alan Chen
2021-02-09 16:00:13 -08:00
cometido por snandini
ascendente cf00d8ea5b
cometimento 073531fc1e
13 ficheiros modificados com 82 adições e 72 eliminações

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021 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
@@ -28,7 +28,7 @@
* acs_with_more_param- Enable acs calculation with more param.
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to enable acs calculation with more param.
*
@@ -43,7 +43,7 @@
#define CFG_ACS_WITH_MORE_PARAM CFG_INI_BOOL( \
"acs_with_more_param", \
0, \
1, \
"Enable ACS with more param")
/*
@@ -51,7 +51,7 @@
* AutoChannelSelectWeight - ACS channel weight
* @Min: 0
* @Max: 0xFFFFFFFF
* @Default: 0x000000FF
* @Default: 0x00fafafa
*
* This ini is used to adjust weight of factors in
* acs algorithm.
@@ -75,7 +75,7 @@
"AutoChannelSelectWeight", \
0, \
0xFFFFFFFF, \
0x000000FF, \
0x00fafafa, \
CFG_VALUE_OR_DEFAULT, \
"Adjust weight factor in ACS")

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2019, 2021 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,9 +26,9 @@
/*
* <ini>
* gSetTxChainmask1x1 - Sets Transmit chain mask.
* @Min: 1
* @Min: 0
* @Max: 3
* @Default: 0
* @Default: 1
*
* This ini Sets Transmit chain mask.
*
@@ -50,16 +50,16 @@
"gSetTxChainmask1x1", \
0, \
3, \
0, \
1, \
CFG_VALUE_OR_DEFAULT, \
"1x1 VHT Tx Chainmask")
/*
* <ini>
* gSetRxChainmask1x1 - Sets Receive chain mask.
* @Min: 1
* @Min: 0
* @Max: 3
* @Default: 0
* @Default: 1
*
* This ini is used to set Receive chain mask.
*
@@ -81,7 +81,7 @@
"gSetRxChainmask1x1", \
0, \
3, \
0, \
1, \
CFG_VALUE_OR_DEFAULT, \
"1x1 VHT Rx Chainmask")

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021 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
@@ -315,7 +315,7 @@
* InfraUapsdVoSrvIntv - Set Uapsd service interval for voice
* @Min: 0
* @Max: 4294967295UL
* @Default: 20
* @Default: 0
*
* This ini is used to set Uapsd service interval(in ms) for voice.
*
@@ -331,7 +331,7 @@
"InfraUapsdVoSrvIntv", \
0, \
4294967295UL, \
20, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Infra uapsd vo srv intv")
@@ -365,7 +365,7 @@
* InfraUapsdViSrvIntv - Set Uapsd service interval for video
* @Min: 0
* @Max: 4294967295UL
* @Default: 300
* @Default: 0
*
* This ini is used to set Uapsd service interval(in ms) for video.
*
@@ -382,7 +382,7 @@
"InfraUapsdViSrvIntv", \
0, \
4294967295UL, \
300, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Infra uapsd vi srv intv")
@@ -546,7 +546,7 @@
* InfraUapsdBeSrvIntv - Set Uapsd service interval for BE
* @Min: 0
* @Max: 4294967295UL
* @Default: 300
* @Default: 0
*
* This ini is used to set Uapsd service interval(in ms) for BE
*
@@ -562,7 +562,7 @@
"InfraUapsdBeSrvIntv", \
0, \
4294967295UL, \
300, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Infra uapsd be srv intv")
@@ -731,7 +731,7 @@
* InfraUapsdBkSrvIntv - Set Uapsd service interval for BK
* @Min: 0
* @Max: 4294967295UL
* @Default: 300
* @Default: 0
*
* This ini is used to set Uapsd service interval(in ms) for BK
*
@@ -747,7 +747,7 @@
"InfraUapsdBkSrvIntv", \
0, \
4294967295UL, \
300, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Infra uapsd bk srv intv")
@@ -971,7 +971,7 @@
* gAddTSWhenACMIsOff - Set ACM value for AC
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to set ACM value for AC
*
@@ -985,7 +985,7 @@
*/
#define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF CFG_INI_BOOL( \
"gAddTSWhenACMIsOff", \
0, \
1, \
"ACM value for AC")
/*

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021 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
@@ -200,7 +200,7 @@
* gChannelBondingMode5GHz - Configures Channel Bonding in 5 GHz
* @Min: 0
* @Max: 10
* @Default: 0
* @Default: 1
*
* This ini is used to set default channel bonding mode 5GHZ
*
@@ -218,7 +218,7 @@
"gChannelBondingMode5GHz", \
0, \
10, \
0, \
1, \
CFG_VALUE_OR_DEFAULT, \
"Configures Channel Bonding in 5 GHz")

Ver ficheiro

@@ -89,7 +89,7 @@ enum monitor_mode_concurrency {
* enable_rtt_mac_randomization - Enable/Disable rtt mac randomization
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* Usage: External
*
@@ -97,7 +97,7 @@ enum monitor_mode_concurrency {
*/
#define CFG_ENABLE_RTT_MAC_RANDOMIZATION CFG_INI_BOOL( \
"enable_rtt_mac_randomization", \
0, \
1, \
"Enable RTT MAC randomization")
#define CFG_RTT3_ENABLE CFG_BOOL( \
@@ -316,7 +316,7 @@ enum monitor_mode_concurrency {
* gEnableLpassSupport - Enable/disable LPASS Support
* @Min: 0 (disabled)
* @Max: 1 (enabled)
* @Default: 0 (disabled)
* @Default: 1 (disabled) if WLAN_FEATURE_LPSS is defined, 0 otherwise
*
* Related: None
*
@@ -329,7 +329,7 @@ enum monitor_mode_concurrency {
#ifdef WLAN_FEATURE_LPSS
#define CFG_ENABLE_LPASS_SUPPORT CFG_INI_BOOL( \
"gEnableLpassSupport", \
0, \
1, \
"Enable LPASS Support")
#else
#define CFG_ENABLE_LPASS_SUPPORT CFG_BOOL( \

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021 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
@@ -81,7 +81,7 @@
* gEnableTXSTBC - Enables/disables Tx STBC capability in STA mode
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to set default Tx STBC capability
*
@@ -95,7 +95,7 @@
*/
#define CFG_TX_STBC_ENABLE CFG_INI_BOOL( \
"gEnableTXSTBC", \
0, \
1, \
"Tx STBC capability")
/*
@@ -344,7 +344,7 @@
* ght_mpdu_density - Configuration option for HT MPDU density
* @Min: 0
* @Max: 7
* @Default: 7
* @Default: 4
*
* This ini is used to set default MPDU Density
*
@@ -370,7 +370,7 @@
"ght_mpdu_density", \
0, \
7, \
7, \
4, \
CFG_VALUE_OR_DEFAULT, \
"MPDU Density")

Ver ficheiro

@@ -1157,7 +1157,7 @@
* FastRoamEnabled - Enable fast roaming
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to inform FW to enable fast roaming
*
@@ -1171,7 +1171,7 @@
*/
#define CFG_LFR_FEATURE_ENABLED CFG_INI_BOOL( \
"FastRoamEnabled", \
0, \
1, \
"Enable fast roaming")
/*
@@ -1671,7 +1671,7 @@
* gAllowDFSChannelRoam - Allow dfs channel in roam
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 1
*
* This ini is used to set default dfs channel
*
@@ -1687,7 +1687,7 @@
"gAllowDFSChannelRoam", \
0, \
2, \
0, \
1, \
CFG_VALUE_OR_DEFAULT, \
"Allow dfs channel in roam")

Ver ficheiro

@@ -451,7 +451,7 @@
* gCountryCodePriority - Priority to set country code
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to set default gCountryCodePriority
*
@@ -459,13 +459,13 @@
*
* Supported Feature: SAP
*
* Usage: Internal/External
* Usage: Internal
*
* </ini>
*/
#define CFG_COUNTRY_CODE_PRIORITY CFG_INI_BOOL( \
"gCountryCodePriority", \
0, \
1, \
"Country code priority")
/*

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018, 2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2018, 2020-2021 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
@@ -71,7 +71,7 @@
* bcast_twt - to bcast twt capability.
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This cfg is used to bcast twt capability.
*
@@ -85,7 +85,7 @@
*/
#define CFG_BCAST_TWT CFG_INI_BOOL( \
"bcast_twt", \
0, \
1, \
"Bcast TWT")
/*

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021 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
@@ -187,7 +187,7 @@
* gEnableTxBFin20MHz - Enables TXBF in 20mhz
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* Related: NA
*
@@ -199,7 +199,7 @@
*/
#define CFG_VHT_ENABLE_TXBF_IN_20MHZ CFG_INI_BOOL( \
"gEnableTxBFin20MHz", \
0, \
1, \
"VHT ENABLE TXBF 20MHZ")
#define CFG_VHT_MU_BEAMFORMER_CAP CFG_BOOL( \
@@ -247,7 +247,7 @@
* gVhtRxMCS - VHT Rx MCS capability for 1x1 mode
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 2
*
* This ini is used to set VHT Rx MCS capability for 1x1 mode.
* 0, MCS0-7
@@ -266,7 +266,7 @@
"gVhtRxMCS", \
0, \
2, \
0, \
2, \
CFG_VALUE_OR_DEFAULT, \
"VHT Rx MCS")
@@ -275,7 +275,7 @@
* gVhtTxMCS - VHT Tx MCS capability for 1x1 mode
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 2
*
* This ini is used to set VHT Tx MCS capability for 1x1 mode.
* 0, MCS0-7
@@ -294,7 +294,7 @@
"gVhtTxMCS", \
0, \
2, \
0, \
2, \
CFG_VALUE_OR_DEFAULT, \
"VHT Tx MCS")
@@ -303,7 +303,7 @@
* gVhtRxMCS2x2 - VHT Rx MCS capability for 2x2 mode
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 2
*
* This ini is used to set VHT Rx MCS capability for 2x2 mode.
* 0, MCS0-7
@@ -322,7 +322,7 @@
"gVhtRxMCS2x2", \
0, \
2, \
0, \
2, \
CFG_VALUE_OR_DEFAULT, \
"VHT Rx MCS 2x2")
@@ -331,7 +331,7 @@
* gVhtTxMCS2x2 - VHT Tx MCS capability for 2x2 mode
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 2
*
* This ini is used to set VHT Tx MCS capability for 2x2 mode.
* 0, MCS0-7
@@ -350,7 +350,7 @@
"gVhtTxMCS2x2", \
0, \
2, \
0, \
2, \
CFG_VALUE_OR_DEFAULT, \
"VHT Tx MCS 2x2")
@@ -379,7 +379,7 @@
* gEnable2x2 - Enables/disables VHT Tx/Rx MCS values for 2x2
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini disables/enables 2x2 mode. If this is zero then DUT operates as 1x1
*
@@ -396,7 +396,7 @@
*/
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE CFG_INI_BOOL( \
"gEnable2x2", \
0, \
1, \
"VHT Enable 2x2")
/*
@@ -404,7 +404,7 @@
* gEnableMuBformee - Enables/disables multi-user (MU) beam formee capability
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini enables/disables multi-user (MU) beam formee
* capability
@@ -422,7 +422,7 @@
*/
#define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE CFG_INI_BOOL( \
"gEnableMuBformee", \
0, \
1, \
"VHT Enable MU Beamformee")
/*
@@ -472,7 +472,7 @@
* gEnableVhtFor24GHzBand - Enable VHT for 2.4GHZ in SAP mode
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* Related: NA
*
@@ -484,7 +484,7 @@
*/
#define CFG_ENABLE_VHT_FOR_24GHZ CFG_INI_BOOL( \
"gEnableVhtFor24GHzBand", \
0, \
1, \
"VHT Enable for 24GHz")
/*
@@ -513,7 +513,7 @@
* gVhtAmpduLenExponent - maximum receive AMPDU size configuration
* @Min: 0
* @Max: 7
* @Default: 3
* @Default: 7
*
* Related: NA
*
@@ -527,7 +527,7 @@
"gVhtAmpduLenExponent", \
0, \
7, \
3, \
7, \
CFG_VALUE_OR_DEFAULT, \
"VHT AMPDU Len in Exponent")
@@ -536,7 +536,7 @@
* gVhtMpduLen - VHT MPDU length
* @Min: 0
* @Max: 2
* @Default: 0
* @Default: 2
*
* Related: NA
*
@@ -550,7 +550,7 @@
"gVhtMpduLen", \
0, \
2, \
0, \
2, \
CFG_VALUE_OR_DEFAULT, \
"VHT MPDU Length")
@@ -559,7 +559,7 @@
* gEnableTxBFeeSAP - Enable / Disable Tx beamformee in SAP mode
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* Related: NA
*
@@ -571,7 +571,7 @@
*/
#define CFG_VHT_ENABLE_TXBF_SAP_MODE CFG_INI_BOOL( \
"gEnableTxBFeeSAP", \
0, \
1, \
"Enable tx bf sap mode")
/*