|
@@ -3083,9 +3083,7 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
|
|
|
/* Register Converged Event handlers */
|
|
|
init_deinit_register_tgt_psoc_ev_handlers(psoc);
|
|
|
|
|
|
-#ifdef ROAM_TARGET_IF_CONVERGENCE
|
|
|
target_if_roam_offload_register_events(psoc);
|
|
|
-#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
|
|
|
|
|
/* Initialize max_no_of_peers for wma_get_number_of_peers_supported() */
|
|
|
cds_cfg->max_station = wma_init_max_no_of_peers(wma_handle,
|
|
@@ -3345,45 +3343,6 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
|
|
|
wma_register_extscan_event_handler(wma_handle);
|
|
|
#endif /* WLAN_FEATURE_STATS_EXT */
|
|
|
|
|
|
-#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
|
|
-#ifndef ROAM_TARGET_IF_CONVERGENCE
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_synch_event_id,
|
|
|
- wma_roam_synch_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_synch_frame_event_id,
|
|
|
- wma_roam_synch_frame_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
-
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_blacklist_event_id,
|
|
|
- wma_handle_btm_blacklist_event,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
-
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_vdev_disconnect_event_id,
|
|
|
- wma_roam_vdev_disconnect_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
-
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_scan_chan_list_id,
|
|
|
- wma_roam_scan_chan_list_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
-
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_stats_event_id,
|
|
|
- wma_roam_stats_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
-
|
|
|
- wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
- wmi_roam_auth_offload_event_id,
|
|
|
- wma_roam_auth_offload_event_handler,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
- wma_register_pmkid_req_event_handler(wma_handle);
|
|
|
-#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
|
|
-
|
|
|
-#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
|
|
wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
|
|
wmi_rssi_breach_event_id,
|
|
|
wma_rssi_breached_event_handler,
|
|
@@ -4140,18 +4099,6 @@ QDF_STATUS wma_start(void)
|
|
|
goto end;
|
|
|
}
|
|
|
|
|
|
-#ifndef ROAM_TARGET_IF_CONVERGENCE
|
|
|
- qdf_status = wmi_unified_register_event_handler(wmi_handle,
|
|
|
- wmi_roam_event_id,
|
|
|
- wma_roam_event_callback,
|
|
|
- WMA_RX_SERIALIZER_CTX);
|
|
|
- if (QDF_IS_STATUS_ERROR(qdf_status)) {
|
|
|
- wma_err("Failed to register Roam callback");
|
|
|
- qdf_status = QDF_STATUS_E_FAILURE;
|
|
|
- goto end;
|
|
|
- }
|
|
|
-#endif
|
|
|
-
|
|
|
qdf_status = wmi_unified_register_event_handler(wmi_handle,
|
|
|
wmi_wow_wakeup_host_event_id,
|
|
|
wma_wow_wakeup_host_event,
|