瀏覽代碼

qcacld-3.0: Remove sta_sap_scc_on_dfs_chan

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

Change-Id: I10321c26d2244b3619b062a04f73f57105a81685
CRs-Fixed: 2666696
nshrivas 5 年之前
父節點
當前提交
f44ba90a0b
共有 3 個文件被更改,包括 0 次插入6 次删除
  1. 0 1
      core/mac/inc/ani_global.h
  2. 0 1
      core/sme/inc/csr_api.h
  3. 0 4
      core/sme/src/csr/csr_api_roam.c

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

@@ -786,7 +786,6 @@ struct mac_context {
 	struct vdev_type_nss vdev_type_nss_5g;
 
 	uint16_t mgmtSeqNum;
-	uint32_t sta_sap_scc_on_dfs_chan;
 	sir_mgmt_frame_ind_callback mgmt_frame_ind_cb;
 	qdf_atomic_t global_cmd_id;
 	struct wlan_objmgr_psoc *psoc;

+ 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 sta_sap_scc_on_dfs_chan;
 	uint32_t roam_dense_rssi_thresh_offset;
 	uint32_t roam_dense_min_aps;
 	int8_t roam_bg_scan_bad_rssi_thresh;

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

@@ -3000,8 +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->sta_sap_scc_on_dfs_chan =
-			pParam->sta_sap_scc_on_dfs_chan;
 		mac->roam.configParam.sta_roam_policy.dfs_mode =
 			pParam->sta_roam_policy_params.dfs_mode;
 		mac->roam.configParam.sta_roam_policy.skip_unsafe_channels =
@@ -3095,8 +3093,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->sta_sap_scc_on_dfs_chan =
-		mac->sta_sap_scc_on_dfs_chan;
 	pParam->f_sta_miracast_mcc_rest_time_val =
 		mac->f_sta_miracast_mcc_rest_time_val;
 	pParam->send_smps_action = mac->roam.configParam.send_smps_action;