qcacld-3.0: Cleanup ROAM_TARGET_IF_CONVERGENCE usage
wma to target_if convergence code is guarded under the feature flag ROAM_TARGET_IF_CONVERGENCE and it's is enabled currently. Remove the flag usage and remove the deprecated code(else part) also. Change-Id: I6973d9c366ec6a9c6164dd19f6f4775dd3ebf5f0 CRs-Fixed: 3049942
这个提交包含在:
@@ -238,7 +238,6 @@ wmi_unified_send_roam_preauth_status(wmi_unified_t wmi_handle,
|
||||
QDF_STATUS wmi_unified_vdev_set_pcl_cmd(wmi_unified_t wmi_handle,
|
||||
struct set_pcl_cmd_params *params);
|
||||
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
/**
|
||||
* wmi_extract_roam_sync_event - Extract roam sync event
|
||||
* @wmi_handle: WMI handle
|
||||
@@ -409,7 +408,6 @@ QDF_STATUS
|
||||
wmi_extract_roam_pmkid_request(wmi_unified_t wmi_handle,
|
||||
uint8_t *event, uint32_t data_len,
|
||||
struct roam_pmkid_req_event **data);
|
||||
#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
||||
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
||||
|
||||
/**
|
||||
|
@@ -338,7 +338,6 @@ QDF_STATUS wmi_unified_set_roam_triggers(wmi_unified_t wmi_handle,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
QDF_STATUS wmi_extract_roam_sync_event(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
uint32_t len,
|
||||
struct roam_offload_synch_ind **sync_ind)
|
||||
@@ -488,5 +487,4 @@ wmi_extract_roam_pmkid_request(wmi_unified_t wmi_handle,
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
||||
#endif
|
||||
|
@@ -1798,7 +1798,6 @@ extract_roam_frame_info_tlv(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
static void
|
||||
wmi_extract_pdev_hw_mode_trans_ind(
|
||||
wmi_pdev_hw_mode_transition_event_fixed_param *fixed_param,
|
||||
@@ -2649,9 +2648,7 @@ extract_roam_event_tlv(wmi_unified_t wmi_handle, void *evt_buf, uint32_t len,
|
||||
end:
|
||||
return status;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
static enum blm_reject_ap_reason wmi_get_reject_reason(uint32_t reason)
|
||||
{
|
||||
switch (reason) {
|
||||
@@ -3245,7 +3242,6 @@ extract_roam_pmkid_request_tlv(wmi_unified_t wmi_handle, uint8_t *evt_buf,
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
void wmi_roam_offload_attach_tlv(wmi_unified_t wmi_handle)
|
||||
{
|
||||
@@ -3256,7 +3252,6 @@ void wmi_roam_offload_attach_tlv(wmi_unified_t wmi_handle)
|
||||
ops->extract_roam_initial_info = extract_roam_initial_info_tlv;
|
||||
ops->extract_roam_msg_info = extract_roam_msg_info_tlv;
|
||||
ops->extract_roam_frame_info = extract_roam_frame_info_tlv;
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
ops->extract_roam_sync_event = extract_roam_sync_event_tlv;
|
||||
ops->extract_roam_sync_frame_event = extract_roam_sync_frame_event_tlv;
|
||||
ops->extract_roam_event = extract_roam_event_tlv;
|
||||
@@ -3266,7 +3261,6 @@ void wmi_roam_offload_attach_tlv(wmi_unified_t wmi_handle)
|
||||
ops->extract_roam_stats_event = extract_roam_stats_event_tlv;
|
||||
ops->extract_auth_offload_event = extract_auth_offload_event_tlv;
|
||||
ops->extract_roam_pmkid_request = extract_roam_pmkid_request_tlv;
|
||||
#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
||||
ops->send_set_ric_req_cmd = send_set_ric_req_cmd_tlv;
|
||||
ops->send_process_roam_synch_complete_cmd =
|
||||
send_process_roam_synch_complete_cmd_tlv;
|
||||
@@ -3297,7 +3291,6 @@ extract_roam_msg_info_tlv(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
|
||||
#ifdef ROAM_TARGET_IF_CONVERGENCE
|
||||
static inline QDF_STATUS
|
||||
extract_roam_sync_event(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
uint32_t len,
|
||||
@@ -3319,7 +3312,6 @@ extract_roam_event(wmi_unified_t wmi_handle, void *evt_buf, uint32_t len,
|
||||
{
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
||||
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
||||
|
||||
#define ROAM_OFFLOAD_PMK_EXT_BYTES 16
|
||||
|
在新工单中引用
屏蔽一个用户