qcacld-3.0: Remove sme_register_hw_mode_trans_cb()

Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the client of
sme_register_hw_mode_trans_cb(). Since this function is obsolete,
remove it along with the underlying data structures.

Change-Id: Ibc478a6e2a4d50ee57324ee2431ae677dcb1e3a0
CRs-Fixed: 2370889
This commit is contained in:
Jeff Johnson 2018-12-17 22:21:50 -08:00 • committed by nshrivas
commit 2ebc068751
4 changed files with 0 additions and 25 deletions

View file

@ -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);
/**

View file

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

View file

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

View file

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