qcacld-3.0: Move IPA WLAN event handler to IPA component
IPA module has been moved to CLD component under the converged driver model. Move the legacy HDD IPA WLAN event handler to the IPA component. Change-Id: Ia53adce7ef29eea747f288fa074f96a84e47925d CRs-Fixed: 2177925
This commit is contained in:

committed by
nshrivas

vanhempi
f4303dcb22
commit
bd4c5eba7b
@@ -96,6 +96,8 @@ ipa_pdev_obj_create_notification(struct wlan_objmgr_pdev *pdev,
|
||||
return status;
|
||||
}
|
||||
|
||||
ipa_obj->pdev = pdev;
|
||||
|
||||
status = ipa_obj_setup(ipa_obj);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
ipa_err("Failed to setup ipa component");
|
||||
@@ -106,7 +108,7 @@ ipa_pdev_obj_create_notification(struct wlan_objmgr_pdev *pdev,
|
||||
return status;
|
||||
}
|
||||
|
||||
target_if_ipa_register_tx_ops(ipa_obj->ipa_tx_op);
|
||||
target_if_ipa_register_tx_ops(&ipa_obj->ipa_tx_op);
|
||||
|
||||
ipa_info("ipa pdev attached");
|
||||
|
||||
|
@@ -27,6 +27,16 @@ bool ucfg_ipa_is_present(void)
|
||||
return ipa_is_hw_support();
|
||||
}
|
||||
|
||||
bool ucfg_ipa_is_enabled(void)
|
||||
{
|
||||
return ipa_config_is_enabled();
|
||||
}
|
||||
|
||||
bool ucfg_ipa_uc_is_enabled(void)
|
||||
{
|
||||
return ipa_config_is_uc_enabled();
|
||||
}
|
||||
|
||||
void ucfg_ipa_set_txrx_handle(struct wlan_objmgr_psoc *psoc,
|
||||
void *txrx_handle)
|
||||
{
|
||||
@@ -144,3 +154,13 @@ QDF_STATUS ucfg_ipa_send_mcc_scc_msg(struct wlan_objmgr_pdev *pdev,
|
||||
{
|
||||
return ipa_send_mcc_scc_msg(pdev, mcc_mode);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_ipa_wlan_evt(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
uint8_t sta_id, uint8_t session_id,
|
||||
enum wlan_ipa_wlan_event ipa_event_type,
|
||||
uint8_t *mac_addr)
|
||||
{
|
||||
return ipa_wlan_evt(pdev, net_dev, device_mode, sta_id, session_id,
|
||||
ipa_event_type, mac_addr);
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user