qcacmn: Add new api to get link and mlo vdev
Add new api's to get link and mlo vdev from psoc and vdevid. Change-Id: I4c36baab6199dbc31ba11d1b9c547589a84c9625 CRs-Fixed: 3098600
This commit is contained in:

committed by
Madan Koyyalamudi

부모
d01c9ce923
커밋
c1e9855dd5
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, 2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -243,4 +243,42 @@ QDF_STATUS wlan_vdev_mlme_is_init_state(struct wlan_objmgr_vdev *vdev);
|
||||
* FAILURE: otherwise failure
|
||||
*/
|
||||
QDF_STATUS wlan_vdev_is_up_active_state(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/**
|
||||
* wlan_vdev_mlme_get_is_mlo_link() - check if its mlo link vdev
|
||||
* @psoc: PSOC object
|
||||
* @vdev_id: VDEV Id
|
||||
*
|
||||
* Return: True if it is mlo link, otherwise false.
|
||||
*/
|
||||
bool
|
||||
wlan_vdev_mlme_get_is_mlo_link(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id);
|
||||
|
||||
/**
|
||||
* wlan_vdev_mlme_get_is_mlo_vdev() - check if its mlo assoc vdev
|
||||
* @psoc: PSOC object
|
||||
* @vdev_id: VDEV Id
|
||||
*
|
||||
* Return: True if it is mlo link, otherwise false.
|
||||
*/
|
||||
bool
|
||||
wlan_vdev_mlme_get_is_mlo_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id);
|
||||
#else
|
||||
static inline bool
|
||||
wlan_vdev_mlme_get_is_mlo_link(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
wlan_vdev_mlme_get_is_mlo_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user