qcacmn: Add API to check if VDEV is in UP_ACTIVE state

With the addition of MLO_SYNC_WAIT substate, now the active status
of the VDEV will be indicated by ACTIVE substate under UP state.

Add API to check if a given vdev is in UP_ACTIVE state.

Change-Id: Ia858765b07582f89e0eaa041d56c7f2aae6f1528
CRs-Fixed: 2924322
This commit is contained in:
Santosh Anbu
2021-03-29 09:13:52 +05:30
committed by Madan Koyyalamudi
父節點 17f12e5b39
當前提交 8394348196
共有 2 個文件被更改,包括 25 次插入1 次删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2019, 2021 The Linux Foundation. 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
@@ -220,4 +220,15 @@ QDF_STATUS wlan_vdev_mlme_is_scan_allowed(struct wlan_objmgr_vdev *vdev);
* FAILURE: otherwise failure
*/
QDF_STATUS wlan_vdev_mlme_is_init_state(struct wlan_objmgr_vdev *vdev);
/**
* wlan_vdev_is_up_active_state() - Checks whether vdev is in up active state
* @vdev: Object manager VDEV object
*
* API to checks the VDEV MLME SM state is in UP ACTIVE state
*
* Return: SUCCESS: if vdev is in UP ACTIVE state
* FAILURE: otherwise failure
*/
QDF_STATUS wlan_vdev_is_up_active_state(struct wlan_objmgr_vdev *vdev);
#endif