diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index cfd0781bcd4d..7a29c86b0d8b 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -4817,10 +4817,6 @@ struct send_extcap_ie { uint8_t session_id; }; -typedef void (*hw_mode_transition_cb)(uint32_t old_hw_mode_index, - uint32_t new_hw_mode_index, - uint32_t num_vdev_mac_entries, - struct policy_mgr_vdev_mac_map *vdev_mac_map); typedef void (*antenna_mode_cb)(uint32_t status, void *context); /** diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 2929a47a2122..13cad1d08939 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -1427,8 +1427,6 @@ bool sme_is_any_session_in_connected_state(mac_handle_t mac_handle); QDF_STATUS sme_pdev_set_pcl(struct policy_mgr_pcl_list *msg); QDF_STATUS sme_pdev_set_hw_mode(struct policy_mgr_hw_mode msg); -void sme_register_hw_mode_trans_cb(mac_handle_t mac_handle, - hw_mode_transition_cb callback); QDF_STATUS sme_nss_update_request(uint32_t vdev_id, uint8_t new_nss, policy_mgr_nss_update_cback cback, diff --git a/core/sme/inc/sme_internal.h b/core/sme/inc/sme_internal.h index 1d1680a85bdb..18ff55ff8630 100644 --- a/core/sme/inc/sme_internal.h +++ b/core/sme/inc/sme_internal.h @@ -298,7 +298,6 @@ typedef struct tagSmeStruct { uint8_t miracast_value; struct ps_global_info ps_global_info; rssi_threshold_breached_cb rssi_threshold_breached_cb; - hw_mode_transition_cb sme_hw_mode_trans_cb; /* OCB callbacks */ void *ocb_set_config_context; ocb_callback ocb_set_config_callback; diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 4dcfd0860d68..c9b99198919f 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -13204,24 +13204,6 @@ QDF_STATUS sme_pdev_set_hw_mode(struct policy_mgr_hw_mode msg) return QDF_STATUS_SUCCESS; } -/** - * sme_register_hw_mode_trans_cb() - HW mode transition callback registration - * @mac_handle: Handle returned by macOpen - * @callback: HDD callback to be registered - * - * Registers the HDD callback with SME. This callback will be invoked when - * HW mode transition event is received from the FW - * - * Return: None - */ -void sme_register_hw_mode_trans_cb(mac_handle_t mac_handle, - hw_mode_transition_cb callback) -{ - struct mac_context *mac = MAC_CONTEXT(mac_handle); - - mac->sme.sme_hw_mode_trans_cb = callback; -} - /** * sme_nss_update_request() - Send beacon templete update to FW with new * nss value