--- /dev/null
+/******************************************************************************\r
+ *\r
+ * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.\r
+ * \r
+ * This program is free software; you can redistribute it and/or modify it\r
+ * under the terms of version 2 of the GNU General Public License as\r
+ * published by the Free Software Foundation.\r
+ *\r
+ * This program is distributed in the hope that it will be useful, but WITHOUT\r
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
+ * more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License along with\r
+ * this program; if not, write to the Free Software Foundation, Inc.,\r
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA\r
+ *\r
+ *\r
+ ******************************************************************************/\r
+ \r
+#ifndef __PHYDMANTDECT_H__\r
+#define __PHYDMANTDECT_H__\r
+\r
+#define ANTDECT_VERSION "2.1" /*2015.07.29 by YuChen*/\r
+\r
+#if(defined(CONFIG_ANT_DETECTION))\r
+//#if( DM_ODM_SUPPORT_TYPE & (ODM_WIN |ODM_CE))\r
+//ANT Test\r
+#define ANTTESTALL 0x00 /*Ant A or B will be Testing*/ \r
+#define ANTTESTA 0x01 /*Ant A will be Testing*/ \r
+#define ANTTESTB 0x02 /*Ant B will be testing*/\r
+\r
+#define MAX_ANTENNA_DETECTION_CNT 10 \r
+\r
+\r
+typedef struct _ANT_DETECTED_INFO{\r
+ BOOLEAN bAntDetected;\r
+ u4Byte dBForAntA;\r
+ u4Byte dBForAntB;\r
+ u4Byte dBForAntO;\r
+}ANT_DETECTED_INFO, *PANT_DETECTED_INFO;\r
+\r
+\r
+typedef enum tag_SW_Antenna_Switch_Definition\r
+{\r
+ Antenna_A = 1,\r
+ Antenna_B = 2, \r
+ Antenna_MAX = 3,\r
+}DM_SWAS_E;\r
+\r
+\r
+\r
+//1 [1. Single Tone Method] ===================================================\r
+\r
+\r
+\r
+VOID\r
+ODM_SingleDualAntennaDefaultSetting(\r
+ IN PVOID pDM_VOID\r
+ );\r
+\r
+BOOLEAN\r
+ODM_SingleDualAntennaDetection(\r
+ IN PVOID pDM_VOID,\r
+ IN u1Byte mode\r
+ );\r
+\r
+//1 [2. Scan AP RSSI Method] ==================================================\r
+\r
+#define SwAntDivCheckBeforeLink ODM_SwAntDivCheckBeforeLink\r
+\r
+BOOLEAN \r
+ODM_SwAntDivCheckBeforeLink(\r
+ IN PVOID pDM_VOID\r
+ );\r
+\r
+\r
+\r
+\r
+//1 [3. PSD Method] ==========================================================\r
+\r
+\r
+VOID\r
+ODM_SingleDualAntennaDetection_PSD(\r
+ IN PVOID pDM_VOID\r
+);\r
+\r
+#endif\r
+\r
+VOID\r
+odm_SwAntDetectInit(\r
+ IN PVOID pDM_VOID\r
+ );\r
+\r
+\r
+#endif\r
+\r
+\r