|
@@ -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,9 +28,8 @@
|
|
|
* This table consolidates selection for P2PCLI, P2PGO, STA, SAP
|
|
|
* into the single set of STA entries for 2.4G and 5G.
|
|
|
*/
|
|
|
-static enum policy_mgr_pcl_type
|
|
|
- pm_second_connection_pcl_dbs_2x2_table[PM_MAX_ONE_CONNECTION_MODE]
|
|
|
- [PM_MAX_NUM_OF_MODE][PM_MAX_CONC_PRIORITY_MODE] = {
|
|
|
+static pm_dbs_pcl_second_connection_table_type
|
|
|
+pm_second_connection_pcl_dbs_2x2_table = {
|
|
|
[PM_STA_24_1x1] = {
|
|
|
[PM_STA_MODE] = {PM_5G_SCC_CH, PM_5G_SCC_CH, PM_5G_SCC_CH},
|
|
|
[PM_SAP_MODE] = {PM_5G_SCC_CH, PM_5G_SCC_CH, PM_5G_SCC_CH},
|
|
@@ -54,7 +53,7 @@ static enum policy_mgr_pcl_type
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
[PM_P2P_CLIENT_MODE] = { PM_24G_SCC_CH_SBS_CH,
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
- [PM_P2P_GO_MODE] = {PM_24G_SCC_CH_SBS_CH,
|
|
|
+ [PM_P2P_GO_MODE] = {PM_SCC_CH_24G,
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
[PM_NAN_DISC_MODE] = {PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH,
|
|
|
PM_24G_SCC_CH_SBS_CH},
|
|
@@ -67,7 +66,7 @@ static enum policy_mgr_pcl_type
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
[PM_P2P_CLIENT_MODE] = { PM_24G_SCC_CH_SBS_CH,
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
- [PM_P2P_GO_MODE] = {PM_24G_SCC_CH_SBS_CH,
|
|
|
+ [PM_P2P_GO_MODE] = {PM_SCC_CH_24G,
|
|
|
PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH},
|
|
|
[PM_NAN_DISC_MODE] = {PM_24G_SCC_CH_SBS_CH, PM_24G_SCC_CH_SBS_CH,
|
|
|
PM_24G_SCC_CH_SBS_CH},
|