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:

committed by
Madan Koyyalamudi

父節點
17f12e5b39
當前提交
8394348196
@@ -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
|
||||
|
Reference in New Issue
Block a user