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
This commit is contained in:
nshrivas 2020-04-19 15:26:21 -07:00
commit f44ba90a0b
3 changed files with 0 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;