/******************************************************************************
 *
 * Copyright(c) 2007 - 2020  Realtek Corporation.
 *
 * 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.
 *
 * The full GNU General Public License is included in this distribution in the
 * file called LICENSE.
 *
 * Contact Information:
 * wlanfae <wlanfae@realtek.com>
 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
 * Hsinchu 300, Taiwan.
 *
 * Larry Finger <Larry.Finger@lwfinger.net>
 *
 *****************************************************************************/

#ifndef __HALBB_FEATURES_H__
#define __HALBB_FEATURES_H__

#include "../../hal_headers_le.h"
#include "halbb_cfg_ic.h"
#include "halbb_ic_hw_info.h"

/*[Control by Outer Driver]--------------------------------------------------*/
#ifndef DRV_BB_TIMER_SUPPORT_DISABLE
	#define HALBB_TIMER_SUPPORT
#endif

#ifndef DRV_BB_DBG_TRACE_DISABLE
	#define HALBB_DBG_TRACE_SUPPORT
#endif

#ifndef DRV_BB_PHYSTS_PARSING_DISABLE
	#define HALBB_PHYSTS_PARSING_SUPPORT
#endif
#ifndef DRV_BB_ENV_MNTR_DISABLE
	#define HALBB_ENV_MNTR_SUPPORT
	#define CLM_SUPPORT
	#define NHM_SUPPORT
	#define IFS_CLM_SUPPORT
	#define FAHM_SUPPORT
	#define EDCCA_CLM_SUPPORT
#endif
#ifndef DRV_BB_STATISTICS_DISABLE
	#define HALBB_STATISTICS_SUPPORT
#endif
#ifndef DRV_BB_RA_DISABLE
	#define HALBB_RA_SUPPORT
#endif
#ifndef DRV_BB_ADPTVTY_DISABLE
	#define HALBB_EDCCA_SUPPORT
#endif
#ifndef DRV_BB_DFS_DISABLE
	#define HALBB_DFS_SUPPORT
#endif
#ifndef DRV_BB_CFO_TRK_DISABLE
	#define HALBB_CFO_TRK_SUPPORT
	//#define BB_DYN_CFO_TRK_LOP
#endif
#ifndef DRV_BB_DIG_DISABLE
	#define HALBB_DIG_SUPPORT
	#ifndef DRV_BB_TDMADIG_DISABLE
	#define HALBB_DIG_TDMA_SUPPORT
	#endif
	#ifndef DRV_BB_DIG_MCC_DISABLE
	#define HALBB_DIG_MCC_SUPPORT
	#define HALBB_DIG_MCC_SUPPORT_IC (BB_RTL8852A | BB_RTL8852B)
	#endif
	#define HALBB_DIG_DAMPING_CHK
#endif
#ifndef DRV_BB_LA_MODE_DISABLE
	#define HALBB_LA_MODE_SUPPORT
#endif
#ifndef DRV_BB_PSD_DISABLE
	#define HALBB_PSD_SUPPORT
#endif
#ifndef DRV_BB_PWR_CTRL_DISABLE
	#define HALBB_PWR_CTRL_SUPPORT
#endif
#ifndef DRV_BB_RUA_DISABLE
	#define HALBB_RUA_SUPPORT
#endif
#ifndef DRV_BB_PMAC_TX_DISABLE
	#define HALBB_PMAC_TX_SUPPORT
#endif
#ifndef DRV_BB_CH_INFO_DISABLE
	#define HALBB_CH_INFO_SUPPORT
	#ifndef DRV_BB_DYN_CSI_RSP_DISABLE
	#define HALBB_DYN_CSI_RSP_SUPPORT
	#endif
#endif
#ifndef DRV_BB_AUTO_DBG_DISABLE
	#define HALBB_AUTO_DBG_SUPPORT
#endif
#if 0
	#define HALBB_ANT_DIV_SUPPORT
#endif
#ifndef DRV_BB_DYN_L2H_DISABLE
	#define HALBB_DYN_L2H_SUPPORT
#endif
/*[DBCC]*/
#if (defined(CONFIG_DBCC_SUPPORT) &&  defined(HALBB_COMPILE_IC_DBCC))
	#define HALBB_DBCC_SUPPORT
	#define HALBB_DBCC_DVLP_FLAG
#endif
/*[FW OFFLOAD]*/
#if (defined(CONFIG_FW_IO_OFLD_SUPPORT) &&  defined(HALBB_COMPILE_IC_FWOFLD))
#define HALBB_FW_OFLD_SUPPORT
#endif

#define HALBB_TDMA_CR_SUPPORT


#ifndef DRV_BB_ULOFDMA_CTRL_DISABLE
	#define HALBB_UL_TB_CTRL_SUPPORT
#endif

#endif
