1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  * Larry Finger <Larry.Finger@lwfinger.net>
22  *
23  ******************************************************************************/
24 
25 #ifndef	__HALBT_PRECOMP_H__
26 #define __HALBT_PRECOMP_H__
27 /*************************************************************
28  * include files
29  *************************************************************/
30 #include "../wifi.h"
31 #include "../efuse.h"
32 #include "../base.h"
33 #include "../regd.h"
34 #include "../cam.h"
35 #include "../ps.h"
36 #include "../pci.h"
37 
38 #include "halbtcoutsrc.h"
39 
40 /* Interface type */
41 #define RT_PCI_INTERFACE	1
42 #define RT_USB_INTERFACE	2
43 #define RT_SDIO_INTERFACE	3
44 #define DEV_BUS_TYPE		RT_PCI_INTERFACE
45 
46 #include "halbtc8192e2ant.h"
47 #include "halbtc8723b1ant.h"
48 #include "halbtc8723b2ant.h"
49 #include "halbtc8821a2ant.h"
50 #include "halbtc8821a1ant.h"
51 
52 #define GetDefaultAdapter(padapter)	padapter
53 
54 #define BIT0	0x00000001
55 #define BIT1	0x00000002
56 #define BIT2	0x00000004
57 #define BIT3	0x00000008
58 #define BIT4	0x00000010
59 #define BIT5	0x00000020
60 #define BIT6	0x00000040
61 #define BIT7	0x00000080
62 #define BIT8	0x00000100
63 #define BIT9	0x00000200
64 #define BIT10	0x00000400
65 #define BIT11	0x00000800
66 #define BIT12	0x00001000
67 #define BIT13	0x00002000
68 #define BIT14	0x00004000
69 #define BIT15	0x00008000
70 #define BIT16	0x00010000
71 #define BIT17	0x00020000
72 #define BIT18	0x00040000
73 #define BIT19	0x00080000
74 #define BIT20	0x00100000
75 #define BIT21	0x00200000
76 #define BIT22	0x00400000
77 #define BIT23	0x00800000
78 #define BIT24	0x01000000
79 #define BIT25	0x02000000
80 #define BIT26	0x04000000
81 #define BIT27	0x08000000
82 #define BIT28	0x10000000
83 #define BIT29	0x20000000
84 #define BIT30	0x40000000
85 #define BIT31	0x80000000
86 
87 #endif	/* __HALBT_PRECOMP_H__ */
88