root/drivers/staging/rtl8188eu/include/rtl8188e_dm.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /******************************************************************************
   3  *
   4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
   5  *
   6  ******************************************************************************/
   7 #ifndef __RTL8188E_DM_H__
   8 #define __RTL8188E_DM_H__
   9 enum{
  10         UP_LINK,
  11         DOWN_LINK,
  12 };
  13 /*  duplicate code,will move to ODM ######### */
  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 /*  duplicate code,will move to ODM ######### */
  19 struct  dm_priv {
  20         u8      DM_Type;
  21         u8      DMFlag;
  22         u8      InitDMFlag;
  23         u32     InitODMFlag;
  24 
  25         /*  Upper and Lower Signal threshold for Rate Adaptive*/
  26         int     UndecoratedSmoothedPWDB;
  27         int     UndecoratedSmoothedCCK;
  28         int     EntryMinUndecoratedSmoothedPWDB;
  29         int     EntryMaxUndecoratedSmoothedPWDB;
  30         int     MinUndecoratedPWDBForDM;
  31         int     LastMinUndecoratedPWDBForDM;
  32 
  33         /* for High Power */
  34         u8 bDynamicTxPowerEnable;
  35         u8 LastDTPLvl;
  36         u8 DynamicTxHighPowerLvl;/* Tx Power Control for Near/Far Range */
  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

/* [<][>][^][v][top][bottom][index][help] */