From 0f45c52a6a5db7a6d1693dcadbcc03e733fc2eff Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Tue, 21 Jun 2022 17:57:16 +0530 Subject: [PATCH] qcacld-3.0: Add PM_STA_SAP_24_STA_5_DBS in fourth con table Currently PM_STA_SAP_24_STA_5_DBS is not added in fourth connection pcl table, due to which pcl is becoming 0 in case of P2P on 2 GHZ doing MCC/SCC with one STA 2 GHZ link and one STA link on 5 GHZ in DBS. Fix is to make PM_STA_SAP_24_STA_5_DBS same as PM_24_SCC_MCC_PLUS_5_DBS, so that next/fourth connection can come up on PM_SCC_ON_5_CH_5G. Change-Id: I4b4c346a998c24ab090307982f1ef6da90bb507c CRs-Fixed: 3225380 --- .../inc/wlan_policy_mgr_public_struct.h | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_public_struct.h b/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_public_struct.h index e4d66ad1b1..b456ef425e 100644 --- a/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_public_struct.h +++ b/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_public_struct.h @@ -906,18 +906,18 @@ enum policy_mgr_two_connection_mode { * enum policy_mgr_three_connection_mode - Combination of first three * connections type, concurrency state, band used. * - * @PM_STA_SAP_SCC_24_SAP_5_DBS: STA & SAP connection on 2.4 Ghz SCC, another - * SAP on 5 G - * @PM_STA_SAP_24_STA_5_DBS: STA & SAP connection on 2.4 Ghz SCC/MCC, another - * STA on 5G - * @PM_24_SCC_MCC_PLUS_5_DBS: ANY 2 link on 2.4 GHZ mac and one link on 5 GHZ - * doing DBS - * @PM_5_SCC_MCC_PLUS_24_DBS: ANY 2 link on 5 GHZ mac and one link on 2.4 GHZ - * doing DBS - * @PM_STA_SAP_SCC_5_SAP_24_DBS: STA & SAP connection on 5 Ghz SCC, another - * SAP on 2.4 G - * @PM_STA_SAP_5_STA_24_DBS: STA & SAP connection on 5 Ghz SCC/MCC, another - * STA on 2.4 G + * @PM_STA_SAP_SCC_24_SAP_5_DBS: STA & SAP connection on 2.4 GHZ, another + * SAP on 5 GHZ + * @PM_STA_SAP_SCC_5_SAP_24_DBS: STA & SAP connection on 5 GHZ, + * another SAP on 2.4 GHZ + * @PM_24_SCC_MCC_PLUS_5_DBS: ANY 2 link on 2.4 GHZ SCC/MCC mac and one link on + * 5 GHZ doing DBS + * @PM_STA_SAP_24_STA_5_DBS: STA & SAP connection on 2.4 GHZ SCC/MCC, + * another STA on 5 GHZ + * @PM_5_SCC_MCC_PLUS_24_DBS: ANY 2 link on 5 GHZ SCC/MCC mac and one link on + * 2.4 GHZ doing DBS + * @PM_STA_SAP_5_STA_24_DBS: STA & SAP connection on 5 GHZ SCC/MCC, + * STA on 2.4 GHZ * @PM_STA_STA_5_SAP_24_DBS: STA & STA connection on 5 GHZ SCC/MCC, * SAP on 2.4 GHZ * @PM_NAN_DISC_SAP_SCC_24_NDI_5_DBS: NAN_DISC & SAP connection on 2.4 Ghz SCC, @@ -984,10 +984,10 @@ enum policy_mgr_two_connection_mode { */ enum policy_mgr_three_connection_mode { PM_STA_SAP_SCC_24_SAP_5_DBS, - PM_STA_SAP_24_STA_5_DBS, + PM_STA_SAP_SCC_5_SAP_24_DBS, PM_24_SCC_MCC_PLUS_5_DBS, + PM_STA_SAP_24_STA_5_DBS = PM_24_SCC_MCC_PLUS_5_DBS, PM_5_SCC_MCC_PLUS_24_DBS, - PM_STA_SAP_SCC_5_SAP_24_DBS = PM_5_SCC_MCC_PLUS_24_DBS, PM_STA_SAP_5_STA_24_DBS = PM_5_SCC_MCC_PLUS_24_DBS, PM_STA_STA_5_SAP_24_DBS = PM_5_SCC_MCC_PLUS_24_DBS, PM_NAN_DISC_SAP_SCC_24_NDI_5_DBS,