qcacld-3.0: Remove unused CFG CFG_RMC_ACTION_PERIOD_FREQUENCY

RMC is IBSS specific and CFG_RMC_ACTION_PERIOD_FREQUENCY is not used
now so remove the same

Change-Id: Icafff4bd7eb508d92c383861300146e3a0f2def7
CRs-Fixed: 2689882
This commit is contained in:
Utkarsh Bhatnagar
2020-05-19 17:26:57 +05:30
committed by nshrivas
parent 2b7fc77cb9
commit 17b2fc57d7
6 changed files with 1 additions and 57 deletions

View File

@@ -1127,8 +1127,6 @@ static void mlme_init_sap_cfg(struct wlan_objmgr_psoc *psoc,
sap_cfg->sap_11g_policy = cfg_default(CFG_11G_ONLY_POLICY);
sap_cfg->assoc_sta_limit = cfg_default(CFG_ASSOC_STA_LIMIT);
sap_cfg->enable_lte_coex = cfg_get(psoc, CFG_ENABLE_LTE_COEX);
sap_cfg->rmc_action_period_freq =
cfg_default(CFG_RMC_ACTION_PERIOD_FREQUENCY);
sap_cfg->rate_tx_mgmt = cfg_get(psoc, CFG_RATE_FOR_TX_MGMT);
sap_cfg->rate_tx_mgmt_2g = cfg_get(psoc, CFG_RATE_FOR_TX_MGMT_2G);
sap_cfg->rate_tx_mgmt_5g = cfg_get(psoc, CFG_RATE_FOR_TX_MGMT_5G);

View File

@@ -95,14 +95,6 @@
0, \
"enabled lte coex")
#define CFG_RMC_ACTION_PERIOD_FREQUENCY CFG_UINT( \
"cfg_rcm_action_period_frequency", \
100, \
1000, \
300, \
CFG_VALUE_OR_DEFAULT, \
"CFG_RMC_ACTION_PERIOD_FREQUENCY")
/*
* <ini>
* cfg_rate_for_tx_mgmt - Set rate for tx mgmt
@@ -774,7 +766,6 @@
CFG(CFG_11G_ONLY_POLICY) \
CFG(CFG_ASSOC_STA_LIMIT) \
CFG(CFG_ENABLE_LTE_COEX) \
CFG(CFG_RMC_ACTION_PERIOD_FREQUENCY) \
CFG(CFG_RATE_FOR_TX_MGMT) \
CFG(CFG_RATE_FOR_TX_MGMT_2G) \
CFG(CFG_RATE_FOR_TX_MGMT_5G) \

View File

@@ -524,16 +524,6 @@ QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
int value);
/**
* wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
* @psoc: pointer to psoc object
* @value: Value that needs to be set from the caller
*
* Return: QDF Status
*/
QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
int value);
/**
* wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
* @psoc: pointer to psoc object

View File

@@ -641,7 +641,6 @@ struct wlan_mlme_wps_params {
* @sap_11g_policy: Check if 11g support is enabled
* @assoc_sta_limit: Limit on number of STA associated to SAP
* @enable_lte_coex: Flag for LTE coexistence
* @rmc_action_period_freq: rmc action period frequency
* @rate_tx_mgmt: mgmt frame tx rate
* @rate_tx_mgmt_2g: mgmt frame tx rate for 2G band
* @rate_tx_mgmt_5g: mgmt frame tx rate for 5G band
@@ -676,7 +675,6 @@ struct wlan_mlme_cfg_sap {
bool sap_11g_policy;
uint8_t assoc_sta_limit;
bool enable_lte_coex;
uint16_t rmc_action_period_freq;
uint8_t rate_tx_mgmt;
uint8_t rate_tx_mgmt_2g;
uint8_t rate_tx_mgmt_5g;

View File

@@ -1393,22 +1393,6 @@ QDF_STATUS ucfg_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
return wlan_mlme_set_assoc_sta_limit(psoc, value);
}
/**
* ucfg_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
* @psoc: pointer to psoc object
* @value: Value that needs to be set from the caller
*
* Inline UCFG API to be used by HDD/OSIF callers
*
* Return: QDF Status
*/
static inline
QDF_STATUS ucfg_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
int value)
{
return wlan_mlme_set_rmc_action_period_freq(psoc, value);
}
/**
* ucfg_mlme_get_listen_interval() - Get listen interval
* @psoc: pointer to psoc object

View File

@@ -1680,23 +1680,6 @@ QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
int value)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return QDF_STATUS_E_FAILURE;
if (cfg_in_range(CFG_RMC_ACTION_PERIOD_FREQUENCY, value))
mlme_obj->cfg.sap_cfg.rmc_action_period_freq = value;
else
return QDF_STATUS_E_FAILURE;
return QDF_STATUS_SUCCESS;
}
QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
bool *value)
{
@@ -1792,7 +1775,7 @@ QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
if (!mlme_obj)
return QDF_STATUS_E_FAILURE;
if (cfg_in_range(CFG_RMC_ACTION_PERIOD_FREQUENCY, value))
if (cfg_in_range(CFG_SAP_MAX_NO_PEERS, value))
mlme_obj->cfg.sap_cfg.sap_max_no_peers = value;
else
return QDF_STATUS_E_FAILURE;