1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
20 #ifndef __HALBT_PRECOMP_H__
21 #define __HALBT_PRECOMP_H__
22 /*************************************************************
24 *************************************************************/
32 #include "../rtl8821ae/reg.h"
33 #include "../rtl8821ae/def.h"
34 #include "../rtl8821ae/phy.h"
35 #include "../rtl8821ae/dm.h"
36 #include "../rtl8821ae/fw.h"
37 #include "../rtl8821ae/led.h"
38 #include "../rtl8821ae/hw.h"
39 #include "../rtl8821ae/pwrseqcmd.h"
40 #include "../rtl8821ae/pwrseq.h"
42 #include "halbtcoutsrc.h"
45 #include "halbtc8192e2ant.h"
46 #include "halbtc8723b1ant.h"
47 #include "halbtc8723b2ant.h"
51 #define GetDefaultAdapter(padapter) padapter
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
87 #define MASKBYTE0 0xff
88 #define MASKBYTE1 0xff00
89 #define MASKBYTE2 0xff0000
90 #define MASKBYTE3 0xff000000
91 #define MASKHWORD 0xffff0000
92 #define MASKLWORD 0x0000ffff
93 #define MASKDWORD 0xffffffff
94 #define MASK12BITS 0xfff
95 #define MASKH4BITS 0xf0000000
96 #define MASKOFDM_D 0xffc00000
97 #define MASKCCK 0x3f3f3f3f
99 #endif /* __HALBT_PRECOMP_H__ */