1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00
rtl8812au/hal/phydm/phydm_features.h

73 lines
2.3 KiB
C
Raw Normal View History

2018-06-22 16:48:32 +00:00
/******************************************************************************
*
2018-08-24 20:52:34 +00:00
* Copyright(c) 2007 - 2017 Realtek Corporation.
2018-06-22 16:48:32 +00:00
*
* 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
2018-08-24 20:52:34 +00:00
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
2018-06-22 16:48:32 +00:00
* more details.
*
2018-08-24 20:52:34 +00:00
* 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>
*
2018-06-22 16:48:32 +00:00
*****************************************************************************/
2019-05-24 19:43:57 +00:00
#ifndef __PHYDM_FEATURES_H__
2018-08-24 20:52:34 +00:00
#define __PHYDM_FEATURES_H__
2018-06-22 16:48:32 +00:00
2019-05-24 19:43:57 +00:00
#define CONFIG_RUN_IN_DRV
#define ODM_DC_CANCELLATION_SUPPORT (ODM_RTL8188F | \
ODM_RTL8710B | \
ODM_RTL8192F | \
ODM_RTL8821C | \
ODM_RTL8721D)
2018-06-22 16:48:32 +00:00
#define ODM_RECEIVER_BLOCKING_SUPPORT (ODM_RTL8188E | ODM_RTL8192E)
2019-05-24 19:43:57 +00:00
/*@20170103 YuChen add for FW API*/
#define PHYDM_FW_API_ENABLE_8822B 1
2018-06-22 16:48:32 +00:00
#define PHYDM_FW_API_FUNC_ENABLE_8822B 1
2019-05-24 19:43:57 +00:00
#define PHYDM_FW_API_ENABLE_8821C 1
2018-06-22 16:48:32 +00:00
#define PHYDM_FW_API_FUNC_ENABLE_8821C 1
2019-05-24 19:43:57 +00:00
#define PHYDM_FW_API_ENABLE_8195B 1
#define PHYDM_FW_API_FUNC_ENABLE_8195B 1
#define PHYDM_FW_API_ENABLE_8198F 1
#define PHYDM_FW_API_FUNC_ENABLE_8198F 1
#define PHYDM_FW_API_ENABLE_8822C 1
#define PHYDM_FW_API_FUNC_ENABLE_8822C 1
#define PHYDM_FW_API_ENABLE_8814B 1
#define PHYDM_FW_API_FUNC_ENABLE_8814B 1
#define PHYDM_FW_API_ENABLE_8812F 1
#define PHYDM_FW_API_FUNC_ENABLE_8812F 1
#define CONFIG_POWERSAVING 0
#ifdef BEAMFORMING_SUPPORT
#if (BEAMFORMING_SUPPORT)
#define PHYDM_BEAMFORMING_SUPPORT
#endif
#endif
2018-06-22 16:48:32 +00:00
#if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
#include "phydm_features_win.h"
#elif (DM_ODM_SUPPORT_TYPE == ODM_CE)
#include "phydm_features_ce.h"
2019-05-24 19:43:57 +00:00
/*@#include "phydm_features_ce2_kernel.h"*/
2018-06-22 16:48:32 +00:00
#elif (DM_ODM_SUPPORT_TYPE == ODM_AP)
#include "phydm_features_ap.h"
2019-05-24 19:43:57 +00:00
#elif (DM_ODM_SUPPORT_TYPE == ODM_IOT)
#include "phydm_features_iot.h"
2018-06-22 16:48:32 +00:00
#endif
#endif