qcacld-3.0: Add api's to handle MLO Roaming

- New api's added to handle mlo roaming scenarios.
- Read and store link addr from wmi.

Change-Id: I6a18802d27f72235dc69d2eedb05f3e563d1b0f4
CRs-Fixed: 2997105
This commit is contained in:
Amruta Kulkarni
2021-12-20 16:07:27 -08:00
committed by Madan Koyyalamudi
parent 5017adcd22
commit 24f04ca536
7 changed files with 393 additions and 6 deletions

View File

@@ -1558,4 +1558,16 @@ wlan_cm_sta_mlme_vdev_roam_notify(struct vdev_mlme_obj *vdev_mlme,
*/
bool wlan_cm_same_band_sta_allowed(struct wlan_objmgr_psoc *psoc);
/**
* cm_cleanup_mlo_link() - Cleanup the MLO link
*
* @vdev: MLO link vdev
*
* This posts the event WLAN_CM_SM_EV_ROAM_LINK_DOWN to CM to cleanup the
* resources allocated for MLO link e.g. vdev, pe_session, etc..
* This gets called when MLO to non-MLO roaming happens
*
* Return: qdf_status
*/
QDF_STATUS cm_cleanup_mlo_link(struct wlan_objmgr_vdev *vdev);
#endif /* WLAN_CM_ROAM_API_H__ */

View File

@@ -2358,12 +2358,14 @@ struct cm_hw_mode_trans_ind {
* @link_id: link id of the link
* @channel: wmi channel
* @flags: link flags
* @link_addr: link mac addr
*/
struct ml_setup_link_param {
uint32_t vdev_id;
uint32_t link_id;
wmi_channel channel;
uint32_t flags;
struct qdf_mac_addr link_addr;
};
/*

View File

@@ -3272,3 +3272,9 @@ rel_ref:
return status;
}
#endif /* WLAN_FEATURE_FIPS */
QDF_STATUS
cm_cleanup_mlo_link(struct wlan_objmgr_vdev *vdev)
{
return QDF_STATUS_SUCCESS;
}