GNU Linux-libre 4.19.264-gnu1
[releases.git] / drivers / staging / rtlwifi / btcoexist / halbt_precomp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  * Contact Information:
7  * wlanfae <wlanfae@realtek.com>
8  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
9  * Hsinchu 300, Taiwan.
10  * Larry Finger <Larry.Finger@lwfinger.net>
11  *
12  ******************************************************************************/
13
14 #ifndef __HALBT_PRECOMP_H__
15 #define __HALBT_PRECOMP_H__
16 /*************************************************************
17  * include files
18  *************************************************************/
19 #include "../wifi.h"
20 #include "../efuse.h"
21 #include "../base.h"
22 #include "../regd.h"
23 #include "../cam.h"
24 #include "../ps.h"
25 #include "../pci.h"
26
27 #include "halbtcoutsrc.h"
28
29 /* Interface type */
30 #define RT_PCI_INTERFACE        1
31 #define RT_USB_INTERFACE        2
32 #define RT_SDIO_INTERFACE       3
33 #define DEV_BUS_TYPE            RT_PCI_INTERFACE
34
35 #include "halbtc8822b1ant.h"
36 #include "halbtc8822b2ant.h"
37 #include "halbtc8822bwifionly.h"
38
39 #define GETDEFAULTADAPTER(padapter)     padapter
40
41 #define BIT0    0x00000001
42 #define BIT1    0x00000002
43 #define BIT2    0x00000004
44 #define BIT3    0x00000008
45 #define BIT4    0x00000010
46 #define BIT5    0x00000020
47 #define BIT6    0x00000040
48 #define BIT7    0x00000080
49 #define BIT8    0x00000100
50 #define BIT9    0x00000200
51 #define BIT10   0x00000400
52 #define BIT11   0x00000800
53 #define BIT12   0x00001000
54 #define BIT13   0x00002000
55 #define BIT14   0x00004000
56 #define BIT15   0x00008000
57 #define BIT16   0x00010000
58 #define BIT17   0x00020000
59 #define BIT18   0x00040000
60 #define BIT19   0x00080000
61 #define BIT20   0x00100000
62 #define BIT21   0x00200000
63 #define BIT22   0x00400000
64 #define BIT23   0x00800000
65 #define BIT24   0x01000000
66 #define BIT25   0x02000000
67 #define BIT26   0x04000000
68 #define BIT27   0x08000000
69 #define BIT28   0x10000000
70 #define BIT29   0x20000000
71 #define BIT30   0x40000000
72 #define BIT31   0x80000000
73
74 #endif  /* __HALBT_PRECOMP_H__ */