xref: /wlan-dirver/qcacld-3.0/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_ll_sap.h (revision 83d3c5b7b2a13fc3107d3d4bcef3de58e5c17777)
1 /*
2  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /**
18  * DOC: contains policy manager ll_sap definitions specific to the ll_sap module
19  */
20 
21 #include "wlan_objmgr_psoc_obj.h"
22 
23 /**
24  * wlan_policy_mgr_get_ll_lt_sap_vdev() - Get ll_lt_sap vdev
25  * @psoc: PSOC object
26  *
27  * API to find ll_lt_sap vdev pointer
28  *
29  * This API increments the ref count of the vdev object internally, the
30  * caller has to invoke the wlan_objmgr_vdev_release_ref() to decrement
31  * ref count
32  *
33  * Return: vdev id
34  */
35 uint8_t wlan_policy_mgr_get_ll_lt_sap_vdev(struct wlan_objmgr_psoc *psoc);
36