1 /*
2  * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 /**
19  * DOC: wlan_twt_objmgr_handler.h
20  * This file defines the APIs of TWT component.
21  */
22 
23 /**
24  * wlan_twt_psoc_obj_create_handler() - twt psoc create handler
25  * @psoc: psoc handle
26  * @arg: argument
27  *
28  * return: QDF_STATUS
29  */
30 QDF_STATUS
31 wlan_twt_psoc_obj_create_handler(struct wlan_objmgr_psoc *psoc, void *arg);
32 
33 /**
34  * wlan_twt_psoc_obj_destroy_handler() - twt psoc destroy handler
35  * @psoc: psoc handle
36  * @arg: argument
37  *
38  * return: QDF_STATUS
39  */
40 QDF_STATUS
41 wlan_twt_psoc_obj_destroy_handler(struct wlan_objmgr_psoc *psoc, void *arg);
42 
43 /**
44  * wlan_twt_vdev_obj_create_handler() - twt vdev create handler
45  * @vdev: vdev handle
46  * @arg: argument
47  *
48  * return: QDF_STATUS
49  */
50 QDF_STATUS
51 wlan_twt_vdev_obj_create_handler(struct wlan_objmgr_vdev *vdev, void *arg);
52 
53 /**
54  * wlan_twt_vdev_obj_destroy_handler() - twt vdev destroy handler
55  * @vdev: vdev handle
56  * @arg: argument
57  *
58  * return: QDF_STATUS
59  */
60 QDF_STATUS
61 wlan_twt_vdev_obj_destroy_handler(struct wlan_objmgr_vdev *vdev, void *arg);
62 
63 /**
64  * wlan_twt_peer_obj_create_handler() - twt peer create handler
65  * @peer: peer handle
66  * @arg: argument
67  *
68  * return: QDF_STATUS
69  */
70 QDF_STATUS
71 wlan_twt_peer_obj_create_handler(struct wlan_objmgr_peer *peer, void *arg);
72 
73 /**
74  * wlan_twt_peer_obj_destroy_handler() - twt peer destroy handler
75  * @peer: peer handle
76  * @arg: argument
77  *
78  * return: QDF_STATUS
79  */
80 QDF_STATUS
81 wlan_twt_peer_obj_destroy_handler(struct wlan_objmgr_peer *peer, void *arg);
82 
83