xref: /wlan-dirver/qca-wifi-host-cmn/umac/regulatory/core/src/reg_lte.h (revision dd4dc88b837a295134aa9869114a2efee0f4894b)
1 /*
2  * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
3  *
4  *
5  * Permission to use, copy, modify, and/or distribute this software for
6  * any purpose with or without fee is hereby granted, provided that the
7  * above copyright notice and this permission notice appear in all
8  * copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /**
21  * DOC: reg_db_lte.h
22  * This file provides prototypes of the regulatory component
23  * LTE functions
24  */
25 
26 #ifdef LTE_COEX
27 /**
28  * reg_process_ch_avoid_event() - Process channel avoid event
29  * @psoc: psoc for country information
30  * @ch_avoid_event: channel avoid event buffer
31  *
32  * Return: QDF_STATUS
33  */
34 QDF_STATUS reg_process_ch_avoid_event(
35 		struct wlan_objmgr_psoc *psoc,
36 		struct ch_avoid_ind_type *ch_avoid_event);
37 #else
38 static inline QDF_STATUS reg_process_ch_avoid_event(
39 		struct wlan_objmgr_psoc *psoc,
40 		struct ch_avoid_ind_type *ch_avoid_event)
41 {
42 	return QDF_STATUS_SUCCESS;
43 }
44 #endif
45