From 9e9f54983fd9fd8453d3e203aab8a15fc0cd70b8 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 31 Aug 2013 20:02:19 -0500 Subject: [PATCH] rtl8188eu: Increase maximum RX gain Signed-off-by: Larry Finger --- include/odm.h | 2 +- include/rtl8188e_hal.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/odm.h b/include/odm.h index 2bfe728..4787bac 100644 --- a/include/odm.h +++ b/include/odm.h @@ -1010,7 +1010,7 @@ enum dm_dig_op { #define DM_false_ALARM_THRESH_LOW 400 #define DM_false_ALARM_THRESH_HIGH 1000 -#define DM_DIG_MAX_NIC 0x3e +#define DM_DIG_MAX_NIC 0x4e #define DM_DIG_MIN_NIC 0x1e /* 0x22/0x1c */ #define DM_DIG_MAX_AP 0x32 diff --git a/include/rtl8188e_hal.h b/include/rtl8188e_hal.h index 6d624b2..df230ee 100644 --- a/include/rtl8188e_hal.h +++ b/include/rtl8188e_hal.h @@ -205,11 +205,6 @@ struct txpowerinfo24g { s8 BW40_Diff[MAX_RF_PATH][MAX_TX_COUNT]; }; -#define EFUSE_REAL_CONTENT_LEN 512 -#define EFUSE_MAP_LEN 128 -#define EFUSE_MAX_SECTION 16 -#define EFUSE_IC_ID_OFFSET 506 /* For some inferior IC purpose*/ -#define AVAILABLE_EFUSE_ADDR(addr) (addr < EFUSE_REAL_CONTENT_LEN) /* To prevent out of boundary programming case, */ /* leave 1byte and program full section */ /* 9bytes + 1byt + 5bytes and pre 1byte. */ @@ -238,6 +233,11 @@ struct txpowerinfo24g { #define EFUSE_OOB_PROTECT_BYTES_88E 18 #define EFUSE_PROTECT_BYTES_BANK_88E 16 +#define EFUSE_REAL_CONTENT_LEN EFUSE_REAL_CONTENT_LEN_88E +#define EFUSE_MAP_LEN EFUSE_MAP_LEN_88E +#define EFUSE_MAX_SECTION EFUSE_MAX_SECTION_88E +#define EFUSE_IC_ID_OFFSET EFUSE_IC_ID_OFFSET_88E +#define AVAILABLE_EFUSE_ADDR(addr) (addr < EFUSE_REAL_CONTENT_LEN) /* EFUSE for BT definition */ #define EFUSE_BT_REAL_CONTENT_LEN 1536 /* 512*3 */ #define EFUSE_BT_MAP_LEN 1024 /* 1k bytes */