blob: 1f3288192ceeae6fbf14e590753fcdd2069b3a0a [file] [log] [blame]
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: reg_db_lte.h
* This file provides prototypes of the regulatory component
* LTE functions
*/
#ifdef LTE_COEX
/**
* reg_process_ch_avoid_event() - Process channel avoid event
* @psoc: psoc for country information
* @ch_avoid_event: channel avoid event buffer
*
* Return: QDF_STATUS
*/
QDF_STATUS reg_process_ch_avoid_event(
struct wlan_objmgr_psoc *psoc,
struct ch_avoid_ind_type *ch_avoid_event);
#else
static inline QDF_STATUS reg_process_ch_avoid_event(
struct wlan_objmgr_psoc *psoc,
struct ch_avoid_ind_type *ch_avoid_event)
{
return QDF_STATUS_SUCCESS;
}
#endif