Jelajahi Sumber

qcacld-3.0: Enable 4th connection table for MDM

When MLO STA is supported in MDM, driver needs to
use the new PCL table for 4th connection.
Move the existing PCL table under macro MDM_PLATFORM
to support this.

Change-Id: I494e7a8d6ecc0a550027ff7f64de5deb11b987a9
CRs-Fixed: 3467738
Liangwei Dong 1 tahun lalu
induk
melakukan
2d1de39605

+ 2 - 10
components/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h

@@ -1931,16 +1931,6 @@ fourth_connection_pcl_dbs_sbs_table
 	[PM_SAP_NDI_SCC_5_NAN_DISC_24_DBS] = {
 	[PM_SAP_MODE] = { PM_24G, PM_24G, PM_24G } }
 };
-#elif defined(MDM_PLATFORM)
-const enum policy_mgr_pcl_type
-fourth_connection_pcl_dbs_sbs_table
-	[PM_MAX_THREE_CONNECTION_MODE][PM_MAX_NUM_OF_MODE]
-	[PM_MAX_CONC_PRIORITY_MODE] = {
-	[PM_SAP_SAP_SCC_24_SAP_5_DBS] = {
-	[PM_SAP_MODE] = { PM_5G, PM_5G, PM_5G } },
-	[PM_SAP_SAP_SCC_5_SAP_24_DBS] = {
-	[PM_SAP_MODE] = { PM_24G, PM_24G, PM_24G } }
-};
 #else
 /*
  * fourth_connection_pcl_dbs_sbs_table - table which provides PCL for
@@ -1954,6 +1944,7 @@ const enum policy_mgr_pcl_type
 fourth_connection_pcl_dbs_sbs_table
 	[PM_MAX_THREE_CONNECTION_MODE][PM_MAX_NUM_OF_MODE]
 	[PM_MAX_CONC_PRIORITY_MODE] = {
+#if !defined(MDM_PLATFORM)
 	[PM_NAN_DISC_STA_24_NDI_5_DBS] = {
 	[PM_NDI_MODE] = { PM_5G, PM_5G, PM_5G } },
 	[PM_NAN_DISC_NDI_24_STA_5_DBS] = {
@@ -1992,6 +1983,7 @@ fourth_connection_pcl_dbs_sbs_table
 	[PM_NDI_MODE] = { PM_5G, PM_5G, PM_5G } },
 	[PM_NAN_DISC_24_STA_24_STA_5_DBS] = {
 	[PM_NDI_MODE] = { PM_5G, PM_5G, PM_5G } },
+#endif
 	[PM_24_SCC_MCC_PLUS_5_DBS] = {
 	[PM_STA_MODE] = { PM_SCC_ON_5_CH_5G, PM_SCC_ON_5_CH_5G,
 			 PM_SCC_ON_5_CH_5G},