Go to the documentation of this file.
30 #ifndef __RTL92COMMON_DM_H__
31 #define __RTL92COMMON_DM_H__
34 #include "../rtl8192ce/def.h"
35 #include "../rtl8192ce/reg.h"
38 #define HAL_DM_DIG_DISABLE BIT(0)
39 #define HAL_DM_HIPWR_DISABLE BIT(1)
41 #define OFDM_TABLE_LENGTH 37
42 #define CCK_TABLE_LENGTH 33
44 #define OFDM_TABLE_SIZE 37
45 #define CCK_TABLE_SIZE 33
47 #define BW_AUTO_SWITCH_HIGH_LOW 25
48 #define BW_AUTO_SWITCH_LOW_HIGH 30
50 #define DM_DIG_THRESH_HIGH 40
51 #define DM_DIG_THRESH_LOW 35
53 #define DM_FALSEALARM_THRESH_LOW 400
54 #define DM_FALSEALARM_THRESH_HIGH 1000
56 #define DM_DIG_MAX 0x3e
57 #define DM_DIG_MIN 0x1e
59 #define DM_DIG_FA_UPPER 0x32
60 #define DM_DIG_FA_LOWER 0x20
61 #define DM_DIG_FA_TH0 0x20
62 #define DM_DIG_FA_TH1 0x100
63 #define DM_DIG_FA_TH2 0x200
65 #define DM_DIG_BACKOFF_MAX 12
66 #define DM_DIG_BACKOFF_MIN -4
67 #define DM_DIG_BACKOFF_DEFAULT 10
69 #define RXPATHSELECTION_SS_TH_lOW 30
70 #define RXPATHSELECTION_DIFF_TH 18
72 #define DM_RATR_STA_INIT 0
73 #define DM_RATR_STA_HIGH 1
74 #define DM_RATR_STA_MIDDLE 2
75 #define DM_RATR_STA_LOW 3
77 #define CTS2SELF_THVAL 30
82 #define TXHIGHPWRLEVEL_NORMAL 0
83 #define TXHIGHPWRLEVEL_LEVEL1 1
84 #define TXHIGHPWRLEVEL_LEVEL2 2
85 #define TXHIGHPWRLEVEL_BT1 3
86 #define TXHIGHPWRLEVEL_BT2 4
88 #define DM_TYPE_BYFW 0
89 #define DM_TYPE_BYDRIVER 1
91 #define TX_POWER_NEAR_FIELD_THRESH_LVL2 74
92 #define TX_POWER_NEAR_FIELD_THRESH_LVL1 67