2018-10-15 00:07:45 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2007 - 2011 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 __ODM_PRECOMP_H__
|
|
|
|
#define __ODM_PRECOMP_H__
|
|
|
|
|
|
|
|
#include "phydm_types.h"
|
|
|
|
|
2018-10-15 08:55:32 +00:00
|
|
|
#define TEST_FALG___ 1
|
2018-10-15 00:07:45 +00:00
|
|
|
|
|
|
|
/* 2 Config Flags and Structs - defined by each ODM type */
|
|
|
|
|
2018-10-15 08:55:32 +00:00
|
|
|
#define __PACK
|
|
|
|
#define __WLAN_ATTRIB_PACK__
|
2018-10-15 00:07:45 +00:00
|
|
|
|
|
|
|
/* 2 OutSrc Header Files */
|
|
|
|
|
|
|
|
#include "phydm.h"
|
|
|
|
#include "phydm_hwconfig.h"
|
|
|
|
#include "phydm_debug.h"
|
|
|
|
#include "phydm_regdefine11ac.h"
|
|
|
|
#include "phydm_regdefine11n.h"
|
|
|
|
#include "phydm_interface.h"
|
|
|
|
#include "phydm_reg.h"
|
|
|
|
|
|
|
|
#include "phydm_adc_sampling.h"
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
phy_set_tx_power_limit(
|
|
|
|
struct PHY_DM_STRUCT *p_dm_odm,
|
|
|
|
u8 *regulation,
|
|
|
|
u8 *band,
|
|
|
|
u8 *bandwidth,
|
|
|
|
u8 *rate_section,
|
|
|
|
u8 *rf_path,
|
|
|
|
u8 *channel,
|
|
|
|
u8 *power_limit
|
|
|
|
);
|
|
|
|
|
2018-11-04 02:35:24 +00:00
|
|
|
#define RTL8188E_T_SUPPORT 1
|
|
|
|
#ifdef CONFIG_SFW_SUPPORTED
|
|
|
|
#define RTL8188E_S_SUPPORT 1
|
|
|
|
#else
|
|
|
|
#define RTL8188E_S_SUPPORT 0
|
2018-10-15 00:07:45 +00:00
|
|
|
#endif
|
|
|
|
|
2018-11-04 02:35:24 +00:00
|
|
|
#include "hal8188erateadaptive.h" /* for RA,Power training */
|
|
|
|
#include "halhwimg8188e_mac.h"
|
|
|
|
#include "halhwimg8188e_rf.h"
|
|
|
|
#include "halhwimg8188e_bb.h"
|
|
|
|
#include "phydm_regconfig8188e.h"
|
|
|
|
#include "phydm_rtl8188e.h"
|
|
|
|
#include "hal8188ereg.h"
|
|
|
|
#include "version_rtl8188e.h"
|
|
|
|
#include "rtl8188e_hal.h"
|
|
|
|
#include "halphyrf_8188e_ce.h"
|
2018-10-15 00:07:45 +00:00
|
|
|
|
|
|
|
#endif /* __ODM_PRECOMP_H__ */
|