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
This commit is contained in:
sheenam monga
2022-06-21 17:57:16 +05:30
committed by Madan Koyyalamudi
parent dabe79fb67
commit 0f45c52a6a

View File

@@ -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,