qcacld-3.0: cleanup IPA STA iface, if STA disconnect failed
If STA disconnect failed for any reason, cleanup IPA STA iface if not already done. Change-Id: I27ff33324bc4724e8470af9a0c434fa03e8aa5c3 CRs-Fixed: 2505563
This commit is contained in:
@@ -285,6 +285,19 @@ int ucfg_ipa_uc_smmu_map(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr);
|
||||
*/
|
||||
bool ucfg_ipa_is_fw_wdi_activated(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_uc_cleanup_sta() - disconnect and cleanup sta iface
|
||||
* @pdev: pdev obj
|
||||
* @net_dev: Interface net device
|
||||
*
|
||||
* Send disconnect sta event to IPA driver and cleanup IPA iface,
|
||||
* if not yet done
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void ucfg_ipa_uc_cleanup_sta(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_uc_disconnect_ap() - send ap disconnect event
|
||||
* @pdev: pdev obj
|
||||
@@ -507,6 +520,12 @@ bool ucfg_ipa_is_fw_wdi_activated(struct wlan_objmgr_pdev *pdev)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_ipa_uc_cleanup_sta(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS ucfg_ipa_uc_disconnect_ap(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
|
@@ -174,6 +174,12 @@ bool ucfg_ipa_is_fw_wdi_activated(struct wlan_objmgr_pdev *pdev)
|
||||
return ipa_is_fw_wdi_activated(pdev);
|
||||
}
|
||||
|
||||
void ucfg_ipa_uc_cleanup_sta(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
{
|
||||
return ipa_uc_cleanup_sta(pdev, net_dev);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_ipa_uc_disconnect_ap(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
{
|
||||
|
Reference in New Issue
Block a user