|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2012-2020 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
|
|
@@ -1073,6 +1073,173 @@ pm_third_connection_pcl_dbs_2x2_table = {
|
|
|
PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
[PM_NDI_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE} },
|
|
|
|
|
|
+ [PM_P2P_CLI_SAP_SCC_24_1x1] = {
|
|
|
+ [PM_STA_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_SAP_MODE] = {PM_5G, PM_5G, PM_5G},
|
|
|
+ [PM_P2P_CLIENT_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_P2P_GO_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_IBSS_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_NAN_DISC_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_NDI_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE} },
|
|
|
+
|
|
|
+ [PM_P2P_CLI_SAP_SCC_24_2x2] = {
|
|
|
+ [PM_STA_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE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|
+ [PM_P2P_CLI_SAP_SBS_5_1x1] = {
|
|
|
+ [PM_STA_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_SAP_MODE] = {PM_SBS_CH_5G, PM_SBS_CH, PM_SBS_CH},
|
|
|
+ [PM_P2P_CLIENT_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_P2P_GO_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_IBSS_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_NAN_DISC_MODE] = {
|
|
|
+ PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
|
+ [PM_NDI_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE} },
|
|
|
+
|
|
|
[PM_P2P_GO_P2P_GO_SCC_24_1x1] = {
|
|
|
[PM_STA_MODE] = {PM_5G, PM_5G, PM_5G},
|
|
|
[PM_SAP_MODE] = {PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE, PM_MAX_PCL_TYPE},
|
|
@@ -2058,6 +2225,20 @@ static policy_mgr_next_action_three_connection_table_type
|
|
|
[PM_P2P_GO_P2P_CLI_DBS_2x2] = {PM_NOP, PM_NOP},
|
|
|
[PM_P2P_GO_P2P_CLI_SBS_5_1x1] = {PM_DBS_UPGRADE, PM_NOP},
|
|
|
|
|
|
+ [PM_P2P_CLI_SAP_SCC_24_1x1] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_SCC_24_2x2] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_24_1x1] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_24_2x2] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_SCC_5_1x1] = {PM_DBS, PM_SBS},
|
|
|
+ [PM_P2P_CLI_SAP_SCC_5_2x2] = {PM_DBS, PM_SBS_DOWNGRADE},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_5_1x1] = {PM_DBS, PM_SBS},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_5_2x2] = {PM_DBS, PM_SBS_DOWNGRADE},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_24_5_1x1] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_MCC_24_5_2x2] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_DBS_1x1] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_DBS_2x2] = {PM_NOP, PM_NOP},
|
|
|
+ [PM_P2P_CLI_SAP_SBS_5_1x1] = {PM_DBS_UPGRADE, PM_NOP},
|
|
|
+
|
|
|
[PM_STA_STA_SCC_24_1x1] = {PM_NOP, PM_NOP},
|
|
|
[PM_STA_STA_SCC_24_2x2] = {PM_NOP, PM_NOP},
|
|
|
[PM_STA_STA_MCC_24_1x1] = {PM_NOP, PM_NOP},
|