| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* Copyright(c) 2007-2011 Realtek Corporation.*/ |
| 3 |
|
| 4 |
#ifndef __HALBT_PRECOMP_H__ |
| 5 |
#define __HALBT_PRECOMP_H__ |
| 6 |
/************************************************************* |
| 7 |
* include files |
| 8 |
*************************************************************/ |
| 9 |
#include "../wifi.h" |
| 10 |
#include "../efuse.h" |
| 11 |
#include "../base.h" |
| 12 |
#include "../regd.h" |
| 13 |
#include "../cam.h" |
| 14 |
#include "../ps.h" |
| 15 |
#include "../pci.h" |
| 16 |
|
| 17 |
#include "halbtcoutsrc.h" |
| 18 |
|
| 19 |
/* Interface type */ |
| 20 |
#define RT_PCI_INTERFACE 1 |
| 21 |
#define RT_USB_INTERFACE 2 |
| 22 |
#define RT_SDIO_INTERFACE 3 |
| 23 |
#define DEV_BUS_TYPE RT_PCI_INTERFACE |
| 24 |
|
| 25 |
#include "halbtc8192e2ant.h" |
| 26 |
#include "halbtc8723b1ant.h" |
| 27 |
#include "halbtc8723b2ant.h" |
| 28 |
#include "halbtc8821a2ant.h" |
| 29 |
#include "halbtc8821a1ant.h" |
| 30 |
|
| 31 |
#define BIT0 0x00000001 |
| 32 |
#define BIT1 0x00000002 |
| 33 |
#define BIT2 0x00000004 |
| 34 |
#define BIT3 0x00000008 |
| 35 |
#define BIT4 0x00000010 |
| 36 |
#define BIT5 0x00000020 |
| 37 |
#define BIT6 0x00000040 |
| 38 |
#define BIT7 0x00000080 |
| 39 |
#define BIT8 0x00000100 |
| 40 |
#define BIT9 0x00000200 |
| 41 |
#define BIT10 0x00000400 |
| 42 |
#define BIT11 0x00000800 |
| 43 |
#define BIT12 0x00001000 |
| 44 |
#define BIT13 0x00002000 |
| 45 |
#define BIT14 0x00004000 |
| 46 |
#define BIT15 0x00008000 |
| 47 |
#define BIT16 0x00010000 |
| 48 |
#define BIT17 0x00020000 |
| 49 |
#define BIT18 0x00040000 |
| 50 |
#define BIT19 0x00080000 |
| 51 |
#define BIT20 0x00100000 |
| 52 |
#define BIT21 0x00200000 |
| 53 |
#define BIT22 0x00400000 |
| 54 |
#define BIT23 0x00800000 |
| 55 |
#define BIT24 0x01000000 |
| 56 |
#define BIT25 0x02000000 |
| 57 |
#define BIT26 0x04000000 |
| 58 |
#define BIT27 0x08000000 |
| 59 |
#define BIT28 0x10000000 |
| 60 |
#define BIT29 0x20000000 |
| 61 |
#define BIT30 0x40000000 |
| 62 |
#define BIT31 0x80000000 |
| 63 |
|
| 64 |
#endif /* __HALBT_PRECOMP_H__ */ |