1
2
3
4
5
6
7 #ifndef __RTL8188E_DM_H__
8 #define __RTL8188E_DM_H__
9 enum{
10 UP_LINK,
11 DOWN_LINK,
12 };
13
14 #define IQK_MAC_REG_NUM 4
15 #define IQK_ADDA_REG_NUM 16
16 #define IQK_BB_REG_NUM 9
17 #define HP_THERMAL_NUM 8
18
19 struct dm_priv {
20 u8 DM_Type;
21 u8 DMFlag;
22 u8 InitDMFlag;
23 u32 InitODMFlag;
24
25
26 int UndecoratedSmoothedPWDB;
27 int UndecoratedSmoothedCCK;
28 int EntryMinUndecoratedSmoothedPWDB;
29 int EntryMaxUndecoratedSmoothedPWDB;
30 int MinUndecoratedPWDBForDM;
31 int LastMinUndecoratedPWDBForDM;
32
33
34 u8 bDynamicTxPowerEnable;
35 u8 LastDTPLvl;
36 u8 DynamicTxHighPowerLvl;
37 u8 PowerIndex_backup[6];
38 };
39
40 void rtl8188e_InitHalDm(struct adapter *adapt);
41
42 void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst,
43 struct wlan_bssid_ex *src);
44
45 #endif