qcacmn: Add API mlo_is_ml_connection_in_progress
Add API mlo_is_ml_connection_in_progress. When wpa supplicant enable/disable roaming, need check it to avoid race condition issue. Change-Id: I85cc9f8b542169563881c601a477f5c646629071 CRs-Fixed: 3430980
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
4e932d4624
commit
41c19f596d
@@ -134,6 +134,18 @@ bool ucfg_mlo_is_mld_disconnected(struct wlan_objmgr_vdev *vdev);
|
||||
*/
|
||||
bool mlo_is_mld_disconnecting_connecting(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* mlo_is_ml_connection_in_progress - Check whether MLD assoc or link vdev is
|
||||
* connecting
|
||||
*
|
||||
* @psoc: pointer to psoc
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* Return: true if mld is disconnecting, false otherwise
|
||||
*/
|
||||
bool mlo_is_ml_connection_in_progress(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id);
|
||||
|
||||
#ifndef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
|
||||
/**
|
||||
* ucfg_mlo_is_mld_connected - Check whether MLD is connected
|
||||
@@ -752,6 +764,13 @@ bool mlo_is_mld_disconnecting_connecting(struct wlan_objmgr_vdev *vdev)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
bool mlo_is_ml_connection_in_progress(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
bool mlo_is_mld_sta(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
|
Reference in New Issue
Block a user