qcacld-3.0: Clean up IPA interface when SAP stop bss fails
In case of rmmod if stop bss fails SAP IPA interface is not deleted. So again at next driver load IPA will be holding the stale IPA header and new IPA header will not be added at IPA interface creation. In this change clean IPA interface when SAP stop bss fails. Change-Id: I3a1bf891752308ba1a29d6768f24880d8514d5bf CRs-Fixed: 2224307
Esse commit está contido em:
@@ -290,6 +290,28 @@ 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_disconnect_ap() - send ap disconnect event
|
||||
* @pdev: pdev obj
|
||||
* @net_dev: Interface net device
|
||||
*
|
||||
* Send disconnect ap event to IPA driver during SSR
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS ucfg_ipa_uc_disconnect_ap(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_cleanup_dev_iface() - Clean up net dev IPA interface
|
||||
* @pdev: pdev obj
|
||||
* @net_dev: Interface net device
|
||||
*
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_ipa_cleanup_dev_iface(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev);
|
||||
#else
|
||||
|
||||
static inline bool ucfg_ipa_is_present(void)
|
||||
@@ -452,5 +474,18 @@ bool ucfg_ipa_is_fw_wdi_activated(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS ucfg_ipa_uc_disconnect_ap(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_ipa_cleanup_dev_iface(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev)
|
||||
{
|
||||
}
|
||||
#endif /* IPA_OFFLOAD */
|
||||
#endif /* _WLAN_IPA_UCFG_API_H_ */
|
||||
|
Referência em uma nova issue
Block a user