8821cu-20210916/include/hal_sdio_coex.h

42 lines
1.3 KiB
C

/******************************************************************************
*
* Copyright(c) 2013 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
*
******************************************************************************/
#ifndef __HAL_SDIO_COEX_H__
#define __HAL_SDIO_COEX_H__
#include <drv_types.h>
#ifdef CONFIG_SDIO_MULTI_FUNCTION_COEX
enum { /* for sdio multi-func. coex */
SDIO_MULTI_WIFI = 0,
SDIO_MULTI_BT,
SDIO_MULTI_NUM
};
bool ex_hal_sdio_multi_if_bus_available(PADAPTER adapter);
#else
#define ex_hal_sdio_multi_if_bus_available(adapter) TRUE
#endif /* CONFIG_SDIO_MULTI_FUNCTION_COEX */
#endif /* !__HAL_SDIO_COEX_H__ */