8723BU: Update 8723BU wifi driver to version v4.3.16_14189.20150519_BTCOEX2015119...
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bu / hal / OUTSRC / phydm_ACS.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 __PHYDMACS_H__\r
22 #define    __PHYDMACS_H__\r
23 \r
24 #define ACS_VERSION     "1.0"\r
25 \r
26 #define ODM_MAX_CHANNEL_2G                      14\r
27 #define ODM_MAX_CHANNEL_5G                      24\r
28 \r
29 typedef struct _ACS_\r
30 {\r
31         BOOLEAN         bForceACSResult;\r
32         u1Byte          CleanChannel_2G;\r
33         u1Byte          CleanChannel_5G;\r
34         u2Byte          Channel_Info_2G[2][ODM_MAX_CHANNEL_2G];         //Channel_Info[1]: Channel Score, Channel_Info[2]:Channel_Scan_Times\r
35         u2Byte          Channel_Info_5G[2][ODM_MAX_CHANNEL_5G]; \r
36 }ACS, *PACS;\r
37 \r
38 \r
39 VOID\r
40 odm_AutoChannelSelectInit(\r
41         IN              PVOID                   pDM_VOID\r
42 );\r
43 \r
44 VOID\r
45 odm_AutoChannelSelectReset(\r
46         IN              PVOID                   pDM_VOID\r
47 );\r
48 \r
49 VOID\r
50 odm_AutoChannelSelect(\r
51         IN              PVOID                   pDM_VOID,\r
52         IN              u1Byte                  Channel\r
53 );\r
54 \r
55 u1Byte\r
56 ODM_GetAutoChannelSelectResult(\r
57         IN              PVOID                   pDM_VOID,\r
58         IN              u1Byte                  Band\r
59 );\r
60 \r
61 #endif\r