qcacld-3.0: enable legacy coex feature
Because newest firmware codes already been changed, the previous coex configure command are invalid. Firmware need host driver to enable WMI_SERVICE_THREE_WAY_COEX_CONFIG_LEGACY service during wlan init. Add a new parameter "gThreeWayCoexConfigLegacyEnable" to initial config file. If this parameter value is zero,set coex priorities command will return error. Change-Id: Ief1617e2ba5363e276c55135198613a0e54b71d5 CRs-Fixed: 2482734
Cette révision appartient à :
@@ -273,7 +273,6 @@
|
||||
* This ini is used to enable or disable wlan 2g scan
|
||||
* when BT SCO connection is on.
|
||||
*
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
@@ -283,6 +282,37 @@
|
||||
1, \
|
||||
"Bt Sco Allow Wlan 2G Scan")
|
||||
|
||||
#ifdef FEATURE_COEX_CONFIG
|
||||
/*
|
||||
* <ini>
|
||||
* gThreeWayCoexConfigLegacyEnable - Enable coex config legacy feature
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is used to enable or disable three way coex config legacy feature.
|
||||
* This feature is designed only for non-mobile solution.
|
||||
* When the feature is disabled, Firmware use the default configuration to
|
||||
* set the coex priority of three antenna(WLAN, BT, ZIGBEE).
|
||||
* when enable this feature, customer can use the vendor command to set antenna
|
||||
* coex priority dynamically.
|
||||
*
|
||||
* Supported Feature: three way coex config
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_THREE_WAY_COEX_CONFIG_LEGACY CFG_INI_BOOL( \
|
||||
"gThreeWayCoexConfigLegacyEnable", \
|
||||
0, \
|
||||
"Enable/Disable COEX Config Legacy")
|
||||
|
||||
#define THREE_WAY_COEX_CONFIG_LEGACY_CFG CFG(CFG_THREE_WAY_COEX_CONFIG_LEGACY)
|
||||
#else
|
||||
#define THREE_WAY_COEX_CONFIG_LEGACY_CFG
|
||||
#endif
|
||||
|
||||
#define CFG_COEX_ALL \
|
||||
CFG(CFG_BTC_MODE) \
|
||||
CFG(CFG_ANTENNA_ISOLATION) \
|
||||
@@ -296,5 +326,6 @@
|
||||
CFG(CFG_BT_INTERFERENCE_HIGH_LL) \
|
||||
CFG(CFG_BT_INTERFERENCE_HIGH_UL) \
|
||||
COEX_MPTA_HELPER_CFG \
|
||||
CFG(CFG_BT_SCO_ALLOW_WLAN_2G_SCAN)
|
||||
CFG(CFG_BT_SCO_ALLOW_WLAN_2G_SCAN) \
|
||||
THREE_WAY_COEX_CONFIG_LEGACY_CFG
|
||||
#endif
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur