qcacld-3.0: Deprecate the ini gEnableOverLapCh

Deprecate the ini gEnableOverLapCh as it is no
longer in use.

Change-Id: I79b0a2789409964c1ce56641fecdf3ae3ec4e053
CRs-Fixed: 2903153
This commit is contained in:
Gururaj Pandurangi
2021-06-08 17:49:39 -07:00
committad av Madan Koyyalamudi
förälder fd8a23c6d9
incheckning dd0c6a7a29
7 ändrade filer med 1 tillägg och 94 borttagningar

Visa fil

@@ -134,19 +134,6 @@ enum PM_AP_DFS_MASTER_MODE {
QDF_STATUS
policy_mgr_get_allow_mcc_go_diff_bi(struct wlan_objmgr_psoc *psoc,
uint8_t *allow_mcc_go_diff_bi);
/**
* policy_mgr_get_enable_overlap_chnl() - to find out if overlap channels
* are enabled for SAP
* @psoc: pointer to psoc
* @enable_overlap_chnl: value to be filled
*
* This API is used to find out whether overlap channels are enabled for SAP
*
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
*/
QDF_STATUS
policy_mgr_get_enable_overlap_chnl(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_overlap_chnl);
/**
* policy_mgr_get_dual_mac_feature() - to find out if DUAL MAC feature is
* enabled

Visa fil

@@ -326,29 +326,6 @@
CFG_INI_UINT("gAllowMCCGODiffBI", 0, 4, 4, CFG_VALUE_OR_DEFAULT, \
"Allow GO in MCC mode to accept different BI than STA's")
/*
* <ini>
* gEnableOverLapCh - Enables Overlap Channel. If set, allow overlapping
* channels to be selected for the SoftAP
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to set Overlap Channel
*
* Related: None
*
* Supported Feature: STA
*
* Usage: External
*
* </ini>
*/
#define CFG_ENABLE_OVERLAP_CH \
CFG_INI_UINT("gEnableOverLapCh", 0, 1, 0, CFG_VALUE_OR_DEFAULT, \
"Overlap channels are allowed for SAP when flag is set")
/*
*
* <ini>
@@ -603,7 +580,6 @@ CFG_INI_UINT("g_pcl_band_priority", 0, 1, 0, CFG_VALUE_OR_DEFAULT, \
CFG(CFG_ENABLE_CONC_RULE2) \
CFG(CFG_ENABLE_MCC_ADAPTIVE_SCH_ENABLED_NAME)\
CFG(CFG_ENABLE_STA_CONNECTION_IN_5GHZ)\
CFG(CFG_ENABLE_OVERLAP_CH)\
CFG(CFG_DUAL_MAC_FEATURE_DISABLE)\
CFG(CFG_STA_SAP_SCC_ON_DFS_CHAN)\
CFG(CFG_FORCE_1X1_FEATURE)\

Visa fil

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-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
@@ -189,19 +189,6 @@ QDF_STATUS ucfg_policy_mgr_get_sta_cxn_5g_band(struct wlan_objmgr_psoc *psoc,
QDF_STATUS
ucfg_policy_mgr_get_allow_mcc_go_diff_bi(struct wlan_objmgr_psoc *psoc,
uint8_t *allow_mcc_go_diff_bi);
/**
* ucfg_policy_mgr_get_enable_overlap_chnl() - to find out if overlap channels
* are enabled for SAP
* @psoc: pointer to psoc
* @enable_overlap_chnl: value to be filled
*
* This API is used to find out whether overlap channels are enabled for SAP
*
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
*/
QDF_STATUS
ucfg_policy_mgr_get_enable_overlap_chnl(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_overlap_chnl);
/**
* ucfg_policy_mgr_get_dual_mac_feature() - to find out if DUAL MAC feature is
* enabled

Visa fil

@@ -86,22 +86,6 @@ policy_mgr_get_allow_mcc_go_diff_bi(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
QDF_STATUS
policy_mgr_get_enable_overlap_chnl(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_overlap_chnl)
{
struct policy_mgr_psoc_priv_obj *pm_ctx;
pm_ctx = policy_mgr_get_context(psoc);
if (!pm_ctx) {
policy_mgr_err("pm_ctx is NULL");
return QDF_STATUS_E_FAILURE;
}
*enable_overlap_chnl = pm_ctx->cfg.enable_overlap_chnl;
return QDF_STATUS_SUCCESS;
}
QDF_STATUS policy_mgr_set_dual_mac_feature(struct wlan_objmgr_psoc *psoc,
uint8_t dual_mac_feature)
{

Visa fil

@@ -235,7 +235,6 @@ extern enum policy_mgr_conc_next_action
* @conc_rule1: concurrency rule1
* @conc_rule2: concurrency rule2
* @allow_mcc_go_diff_bi: Allow GO and STA diff beacon interval in MCC
* @enable_overlap_chnl: Enable overlap channels for SAP's channel selection
* @dual_mac_feature: To enable/disable dual mac features
* @is_force_1x1_enable: Is 1x1 forced for connection
* @sta_sap_scc_on_dfs_chnl: STA-SAP SCC on DFS channel
@@ -259,7 +258,6 @@ struct policy_mgr_cfg {
uint8_t conc_rule2;
bool enable_mcc_adaptive_sch;
uint8_t allow_mcc_go_diff_bi;
uint8_t enable_overlap_chnl;
uint8_t dual_mac_feature;
enum force_1x1_type is_force_1x1_enable;
uint8_t sta_sap_scc_on_dfs_chnl;

Visa fil

@@ -47,8 +47,6 @@ static QDF_STATUS policy_mgr_init_cfg(struct wlan_objmgr_psoc *psoc)
cfg_get(psoc, CFG_ENABLE_STA_CONNECTION_IN_5GHZ);
cfg->allow_mcc_go_diff_bi =
cfg_get(psoc, CFG_ALLOW_MCC_GO_DIFF_BI);
cfg->enable_overlap_chnl =
cfg_get(psoc, CFG_ENABLE_OVERLAP_CH);
cfg->dual_mac_feature =
cfg_get(psoc, CFG_DUAL_MAC_FEATURE_DISABLE);
cfg->is_force_1x1_enable =
@@ -188,13 +186,6 @@ ucfg_policy_mgr_get_allow_mcc_go_diff_bi(struct wlan_objmgr_psoc *psoc,
return policy_mgr_get_allow_mcc_go_diff_bi(psoc, allow_mcc_go_diff_bi);
}
QDF_STATUS
ucfg_policy_mgr_get_enable_overlap_chnl(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_overlap_chnl)
{
return policy_mgr_get_enable_overlap_chnl(psoc, enable_overlap_chnl);
}
QDF_STATUS ucfg_policy_mgr_get_dual_mac_feature(struct wlan_objmgr_psoc *psoc,
uint8_t *dual_mac_feature)
{