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 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
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>
23 ******************************************************************************/
25 #ifndef __HALBT_PRECOMP_H__
26 #define __HALBT_PRECOMP_H__
27 /*************************************************************
29 *************************************************************/
38 #include "halbtcoutsrc.h"
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
46 #include "halbtc8822b1ant.h"
47 #include "halbtc8822b2ant.h"
48 #include "halbtc8822bwifionly.h"
50 #define GETDEFAULTADAPTER(padapter) padapter
52 #define BIT0 0x00000001
53 #define BIT1 0x00000002
54 #define BIT2 0x00000004
55 #define BIT3 0x00000008
56 #define BIT4 0x00000010
57 #define BIT5 0x00000020
58 #define BIT6 0x00000040
59 #define BIT7 0x00000080
60 #define BIT8 0x00000100
61 #define BIT9 0x00000200
62 #define BIT10 0x00000400
63 #define BIT11 0x00000800
64 #define BIT12 0x00001000
65 #define BIT13 0x00002000
66 #define BIT14 0x00004000
67 #define BIT15 0x00008000
68 #define BIT16 0x00010000
69 #define BIT17 0x00020000
70 #define BIT18 0x00040000
71 #define BIT19 0x00080000
72 #define BIT20 0x00100000
73 #define BIT21 0x00200000
74 #define BIT22 0x00400000
75 #define BIT23 0x00800000
76 #define BIT24 0x01000000
77 #define BIT25 0x02000000
78 #define BIT26 0x04000000
79 #define BIT27 0x08000000
80 #define BIT28 0x10000000
81 #define BIT29 0x20000000
82 #define BIT30 0x40000000
83 #define BIT31 0x80000000
85 #endif /* __HALBT_PRECOMP_H__ */