xref: /wlan-driver/qca-wifi-host-cmn/umac/twt/dispatcher/inc/wlan_twt_tgt_if_ext_rx_ops.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2022 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_tgt_if_ext_rx_ops.h
20  */
21 #ifndef _WLAN_TWT_TGT_IF_EXT_RX_OPS_H_
22 #define _WLAN_TWT_TGT_IF_EXT_RX_OPS_H_
23 
24 #include <wlan_lmac_if_def.h>
25 
26 #if defined(WLAN_SUPPORT_TWT) && defined(WLAN_TWT_CONV_SUPPORTED)
27 /**
28  * tgt_twt_register_ext_rx_ops() - API to register rx ops with lmac
29  * @rx_ops: rx ops struct
30  *
31  * Return: none
32  */
33 void tgt_twt_register_ext_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops);
34 #else
35 static inline
tgt_twt_register_ext_rx_ops(struct wlan_lmac_if_rx_ops * rx_ops)36 void tgt_twt_register_ext_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
37 {
38 }
39 #endif
40 
41 #endif
42