summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-08-21 16:52:55 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-08-21 16:52:55 +0300
commitd4bc867ac3afd260e4256e1463b273083769a363 (patch)
tree81c868f33d397d9b61de9ef00c8303fecc9195ca /target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h
parent2789830761da86a4537ab198203138c082b3058e (diff)
parent6e8428d78c98c653f625aa0839437359306f99db (diff)
Merge branch 'realtek-unstable' of git://213.175.90.206/openwrt-realtek into realtek-unstable
Diffstat (limited to 'target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h')
-rw-r--r--target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h57
1 files changed, 47 insertions, 10 deletions
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h
index 0ed394a10..406f58a66 100644
--- a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h
+++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/odm_inc.h
@@ -11,7 +11,17 @@
#define DM_ODM_SUPPORT_TYPE ODM_AP
#define DEV_BUS_TYPE RT_PCI_INTERFACE
-#define DBG 0
+#define DBG 1
+
+//-----------------------------------------------------------------------------------------
+// Use one of the following value to define the flag, RT_PLATFORM.
+//-----------------------------------------------------------------------------------------
+#define PLATFORM_WINDOWS 0
+#define PLATFORM_LINUX 1
+#define PLATFORM_FREEBSD 3
+#define PLATFORM_MACOSX 4
+
+#define RT_PLATFORM PLATFORM_LINUX
//2 [HAL\HWIMG\HalHWImg.h]
@@ -29,17 +39,20 @@
#ifdef CONFIG_RTL_88E_SUPPORT
#define RTL8188E_SUPPORT 1
#define RTL8188ES_HWIMG_SUPPORT 1
+#define RATE_ADAPTIVE_SUPPORT 1
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP) || defined(RATEADAPTIVE_BY_ODM)
#define RATE_ADAPTIVE_SUPPORT 1
#endif
+#define RTL8188E_FOR_TEST_CHIP 0
#else
#define RTL8188E_SUPPORT 0
#define RTL8188ES_HWIMG_SUPPORT 0
+#define RATE_ADAPTIVE_SUPPORT 0
#endif
-#ifdef CONFIG_RTL_92C_SUPPORT
+#if defined(CONFIG_RTL_92C_SUPPORT) && !defined(_OUTSRC_COEXIST)
#define RTL8192C_SUPPORT 1
#define RTL8192C_HWIMG_SUPPORT 1
#define RTL8192CE_HWIMG_SUPPORT 1
@@ -51,14 +64,37 @@
#define RTL8192CE_TEST_HWIMG_SUPPORT 0
#endif
-#ifdef CONFIG_RTL_92D_SUPPORT
+#if defined(CONFIG_RTL_92D_SUPPORT) && !defined(_OUTSRC_COEXIST)
#define RTL8192D_SUPPORT 1
#else
#define RTL8192D_SUPPORT 0
#endif
+#ifdef CONFIG_RTL_8812_SUPPORT //FOR_8812_IQK
+#define RTL8812E_SUPPORT 1
+#define RTL8812A_SUPPORT 0
+
+#else
+#define RTL8812E_SUPPORT 0
+#define RTL8812A_SUPPORT 0
+#endif
+
+#ifdef CONFIG_WLAN_HAL_8881A
+#define RTL8881A_SUPPORT 1
+#else
+#define RTL8881A_SUPPORT 0
+#endif
+
+#ifdef CONFIG_WLAN_HAL_8192EE
+#define RTL8192E_SUPPORT 1
+#else
+#define RTL8192E_SUPPORT 0
+#endif
+
+
#define RTL8723A_SUPPORT 0
+#define BT_30_SUPPORT 0
//2 [HEADER\TypeDef.h]
@@ -68,8 +104,8 @@
//#define TRUE 1
//#define FALSE 0
-#define TxPwrTrk_OFDM_SwingTbl_Len 37
-#define TxPwrTrk_CCK_SwingTbl_Len 23
+#define TxPwrTrk_OFDM_SwingTbl_Len 37
+#define TxPwrTrk_CCK_SwingTbl_Len 23
#define TxPwrTrk_E_Val 3
#define IQK_MAC_REG_NUM 4
@@ -78,15 +114,15 @@
#define HP_THERMAL_NUM 8
#define DM_Type_ByFW 0
#define DM_Type_ByDriver 1
-
+#define MAX_TX_COUNT 4
#define index_mapping_NUM 13
-#define index_mapping_DPK_NUM 15
-#define Rx_index_mapping_NUM 15
+#define index_mapping_DPK_NUM 15
+#define Rx_index_mapping_NUM 15
#define CCK_TABLE_SIZE_92D 33
#define RT_MEM_SIZE_LEVEL 2 // ?
-#define RT_MEM_SIZE_MINIMUM 3 // ?
+#define RT_MEM_SIZE_MINIMUM 3 // ?
#define USE_WORKITEM 0
@@ -249,13 +285,14 @@ typedef enum _RT_STATUS{
#define PlatformStallExecution ODM_StallExecution
+#ifndef WLAN_HAL_INTERNAL_USED
#define REG_ARFR0 ARFR0
#define REG_ARFR1 ARFR1
#define REG_ARFR2 ARFR2
#define REG_ARFR3 ARFR3
#define REG_TX_RPT_TIME REG_88E_TXRPT_TIM
-
+#endif //#ifndef WLAN_HAL_INTERNAL_USED