1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
15 #ifndef __RTL8188E_DM_H__
16 #define __RTL8188E_DM_H__
21 /* duplicate code,will move to ODM ######### */
22 #define IQK_MAC_REG_NUM 4
23 #define IQK_ADDA_REG_NUM 16
24 #define IQK_BB_REG_NUM 9
25 #define HP_THERMAL_NUM 8
26 /* duplicate code,will move to ODM ######### */
33 /* Upper and Lower Signal threshold for Rate Adaptive*/
34 int UndecoratedSmoothedPWDB;
35 int UndecoratedSmoothedCCK;
36 int EntryMinUndecoratedSmoothedPWDB;
37 int EntryMaxUndecoratedSmoothedPWDB;
38 int MinUndecoratedPWDBForDM;
39 int LastMinUndecoratedPWDBForDM;
42 u8 bDynamicTxPowerEnable;
44 u8 DynamicTxHighPowerLvl;/* Tx Power Control for Near/Far Range */
45 u8 PowerIndex_backup[6];
48 void rtl8188e_InitHalDm(struct adapter *adapt);
50 void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst,
51 struct wlan_bssid_ex *src);