Commit | Line | Data |
---|---|---|
71e9bd3f | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
58c43401 LF |
2 | /****************************************************************************** |
3 | * | |
4 | * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. | |
5 | * | |
58c43401 LF |
6 | ******************************************************************************/ |
7 | #ifndef __RTL8188E_DM_H__ | |
8 | #define __RTL8188E_DM_H__ | |
9 | enum{ | |
10 | UP_LINK, | |
11 | DOWN_LINK, | |
12 | }; | |
2dda0602 | 13 | |
58c43401 LF |
14 | struct dm_priv { |
15 | u8 DM_Type; | |
16 | u8 DMFlag; | |
17 | u8 InitDMFlag; | |
18 | u32 InitODMFlag; | |
19 | ||
20 | /* Upper and Lower Signal threshold for Rate Adaptive*/ | |
21 | int UndecoratedSmoothedPWDB; | |
22 | int UndecoratedSmoothedCCK; | |
23 | int EntryMinUndecoratedSmoothedPWDB; | |
24 | int EntryMaxUndecoratedSmoothedPWDB; | |
25 | int MinUndecoratedPWDBForDM; | |
26 | int LastMinUndecoratedPWDBForDM; | |
27 | ||
28 | /* for High Power */ | |
29 | u8 bDynamicTxPowerEnable; | |
30 | u8 LastDTPLvl; | |
31 | u8 DynamicTxHighPowerLvl;/* Tx Power Control for Near/Far Range */ | |
32 | u8 PowerIndex_backup[6]; | |
33 | }; | |
34 | ||
58c43401 | 35 | void rtl8188e_InitHalDm(struct adapter *adapt); |
58c43401 LF |
36 | |
37 | void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst, | |
38 | struct wlan_bssid_ex *src); | |
58c43401 LF |
39 | |
40 | #endif |