update 8723bu wifi driver
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bu / hal / OUTSRC / phydm_AntDect.h
1 /******************************************************************************\r
2  *\r
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.\r
4  *                                        \r
5  * This program is free software; you can redistribute it and/or modify it\r
6  * under the terms of version 2 of the GNU General Public License as\r
7  * published by the Free Software Foundation.\r
8  *\r
9  * This program is distributed in the hope that it will be useful, but WITHOUT\r
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
12  * more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License along with\r
15  * this program; if not, write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA\r
17  *\r
18  *\r
19  ******************************************************************************/\r
20  \r
21 #ifndef __PHYDMANTDECT_H__\r
22 #define    __PHYDMANTDECT_H__\r
23 \r
24 #define ANTDECT_VERSION "1.0"\r
25 \r
26 #if( DM_ODM_SUPPORT_TYPE & (ODM_WIN |ODM_CE))\r
27 //1 [1. Single Tone Method] ===================================================\r
28 \r
29 \r
30 \r
31 VOID\r
32 ODM_SingleDualAntennaDefaultSetting(\r
33         IN              PDM_ODM_T               pDM_Odm\r
34         );\r
35 \r
36 BOOLEAN\r
37 ODM_SingleDualAntennaDetection(\r
38         IN              PDM_ODM_T               pDM_Odm,\r
39         IN              u1Byte                  mode\r
40         );\r
41 \r
42 //1 [2. Scan AP RSSI Method] ==================================================\r
43 \r
44 VOID
45 odm_SwAntDetectInit(
46         IN              PDM_ODM_T               pDM_Odm
47         );\r
48 \r
49 \r
50 #define SwAntDivCheckBeforeLink ODM_SwAntDivCheckBeforeLink\r
51 \r
52 BOOLEAN \r
53 ODM_SwAntDivCheckBeforeLink(\r
54         IN              PDM_ODM_T               pDM_Odm\r
55         );\r
56 \r
57 \r
58 \r
59 \r
60 //1 [3. PSD Method] ==========================================================\r
61 \r
62 \r
63 VOID\r
64 ODM_SingleDualAntennaDetection_PSD(\r
65         IN       PDM_ODM_T      pDM_Odm\r
66 );\r
67 \r
68 \r
69 \r
70 \r
71 \r
72 \r
73 #endif\r
74 #endif\r
75 \r
76 \r