浏览代码

qcacld-3.0: Remove dual_mac_feature_disable

dual_mac_feature_disable isn't used in the module.
Hence, Removed from mac_context and csr_config_param.

Change-Id: If85fdbc93b8bfafd6dea694efc5847aa4d5abc42
CRs-Fixed: 2666569
Utkarsh Bhatnagar 5 年之前
父节点
当前提交
77f65f02ba
共有 3 个文件被更改,包括 0 次插入9 次删除
  1. 0 3
      core/mac/inc/ani_global.h
  2. 0 1
      core/sme/inc/csr_api.h
  3. 0 5
      core/sme/src/csr/csr_api_roam.c

+ 0 - 3
core/mac/inc/ani_global.h

@@ -793,9 +793,6 @@ struct mac_context {
 	struct wlan_objmgr_psoc *psoc;
 	struct wlan_objmgr_pdev *pdev;
 	void (*chan_info_cb)(struct scan_chan_info *chan_info);
-	/* Based on INI parameter */
-	uint32_t dual_mac_feature_disable;
-
 	enum  country_src reg_hint_src;
 	uint32_t rx_packet_drop_counter;
 	enum auth_tx_ack_status auth_ack_status;

+ 0 - 1
core/sme/inc/csr_api.h

@@ -956,7 +956,6 @@ struct csr_config_params {
 #ifdef FEATURE_AP_MCC_CH_AVOIDANCE
 	bool sap_channel_avoidance;
 #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
-	uint32_t dual_mac_feature_disable;
 	uint32_t sta_sap_scc_on_dfs_chan;
 	uint32_t roam_dense_rssi_thresh_offset;
 	uint32_t roam_dense_min_aps;

+ 0 - 5
core/sme/src/csr/csr_api_roam.c

@@ -3000,9 +3000,6 @@ QDF_STATUS csr_change_default_config_param(struct mac_context *mac,
 		mac->sap.sap_channel_avoidance =
 			pParam->sap_channel_avoidance;
 #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
-
-		mac->dual_mac_feature_disable =
-			pParam->dual_mac_feature_disable;
 		mac->sta_sap_scc_on_dfs_chan =
 			pParam->sta_sap_scc_on_dfs_chan;
 		mac->roam.configParam.sta_roam_policy.dfs_mode =
@@ -3098,8 +3095,6 @@ QDF_STATUS csr_get_config_param(struct mac_context *mac,
 	pParam->sap_channel_avoidance = mac->sap.sap_channel_avoidance;
 #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
 	pParam->max_intf_count = mac->sme.max_intf_count;
-	pParam->dual_mac_feature_disable =
-		mac->dual_mac_feature_disable;
 	pParam->sta_sap_scc_on_dfs_chan =
 		mac->sta_sap_scc_on_dfs_chan;
 	pParam->f_sta_miracast_mcc_rest_time_val =