xref: /wlan-driver/qcacld-3.0/components/target_if/sap/ll_sap/inc/target_if_ll_sap.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
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 ll_lt_sap declarations specific to the bearer
19  * switch functionalities
20  */
21 #include "wlan_ll_sap_public_structs.h"
22 
23 /**
24  * target_if_ll_sap_register_tx_ops() - register ll_lt_sap tx ops
25  * @tx_ops: pointer to ll_sap tx ops
26  *
27  * Return: None
28  */
29 void target_if_ll_sap_register_tx_ops(struct wlan_ll_sap_tx_ops *tx_ops);
30 
31 /**
32  * target_if_ll_sap_register_rx_ops() - register ll_lt_sap rx ops
33  * @rx_ops: pointer to ll_sap rx ops
34  *
35  * Return: None
36  */
37 void target_if_ll_sap_register_rx_ops(struct wlan_ll_sap_rx_ops *rx_ops);
38 
39 /**
40  * target_if_ll_sap_register_events() - register ll_lt_sap fw event handlers
41  * @psoc: pointer to psoc
42  *
43  * Return: QDF_STATUS
44  */
45 QDF_STATUS target_if_ll_sap_register_events(struct wlan_objmgr_psoc *psoc);
46 
47 /**
48  * target_if_ll_sap_deregister_events() - deregister ll_lt_sap fw event handlers
49  * @psoc: pointer to psoc
50  *
51  * Return: QDF_STATUS
52  */
53 QDF_STATUS
54 target_if_ll_sap_deregister_events(struct wlan_objmgr_psoc *psoc);
55 
56