From fc0d8a88f713386a5559d90cb56fa8f09fa8ad16 Mon Sep 17 00:00:00 2001 From: jiad Date: Fri, 10 Aug 2018 18:21:04 +0800 Subject: [PATCH] qcacmn: Add SAP-SAP-SAP policy manager next actions SAP-SAP-SAP next actions in policy manager are missing. Fix is to add SAP-SAP-SAP next actions so that correct actions can be taken, such as DBS mode can be enabled. Change-Id: I347540d9aabf44ed59e7be8b695e87dd8d129aea CRs-Fixed: 2297763 --- .../policy_mgr/src/wlan_policy_mgr_tables_1x1_dbs_i.h | 5 ++++- .../policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_1x1_dbs_i.h b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_1x1_dbs_i.h index 92501e8872ce..b1f193fe53d9 100644 --- a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_1x1_dbs_i.h +++ b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_1x1_dbs_i.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2018 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 @@ -1165,6 +1165,9 @@ static policy_mgr_next_action_three_connection_table_type [PM_P2P_CLI_SAP_MCC_24_5_2x2] = {PM_DBS_DOWNGRADE, PM_DBS_DOWNGRADE}, [PM_P2P_CLI_SAP_DBS_1x1] = {PM_NOP, PM_NOP}, + [PM_SAP_SAP_SCC_24_1x1] = {PM_NOP, PM_DBS}, + [PM_SAP_SAP_SCC_5_1x1] = {PM_DBS, PM_NOP}, + }; #endif diff --git a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h index dd11a9faea0a..370c38cff509 100644 --- a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h +++ b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_tables_2x2_dbs_i.h @@ -1384,6 +1384,11 @@ static policy_mgr_next_action_three_connection_table_type [PM_STA_STA_DBS_2x2] = {PM_NOP, PM_NOP}, [PM_STA_STA_SBS_5_1x1] = {PM_DBS_UPGRADE, PM_NOP}, + [PM_SAP_SAP_SCC_24_1x1] = {PM_NOP, PM_DBS}, + [PM_SAP_SAP_SCC_24_2x2] = {PM_NOP, PM_DBS}, + [PM_SAP_SAP_SCC_5_1x1] = {PM_DBS, PM_NOP}, + [PM_SAP_SAP_SCC_5_2x2] = {PM_DBS, PM_NOP}, + }; #endif