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 __ODM_TYPES_H__
21 #define __ODM_TYPES_H__
24 /* Define Different SW team support */
26 #define ODM_AP 0x01 /* BIT0 */
27 #define ODM_ADSL 0x02 /* BIT1 */
28 #define ODM_CE 0x04 /* BIT2 */
29 #define ODM_MP 0x08 /* BIT3 */
31 #define RT_PCI_INTERFACE 1
32 #define RT_USB_INTERFACE 2
33 #define RT_SDIO_INTERFACE 3
40 enum RT_SPINLOCK_TYPE {
44 #include <basic_types.h>
46 #define DEV_BUS_TYPE RT_USB_INTERFACE
48 #define SET_TX_DESC_ANTSEL_A_88E(__pTxDesc, __Value) \
49 SET_BITS_TO_LE_4BYTE(__pTxDesc+8, 24, 1, __Value)
50 #define SET_TX_DESC_ANTSEL_B_88E(__pTxDesc, __Value) \
51 SET_BITS_TO_LE_4BYTE(__pTxDesc+8, 25, 1, __Value)
52 #define SET_TX_DESC_ANTSEL_C_88E(__pTxDesc, __Value) \
53 SET_BITS_TO_LE_4BYTE(__pTxDesc+28, 29, 1, __Value)
55 /* define useless flag to avoid compile warning */
56 #define USE_WORKITEM 0
57 #define FOR_BRAZIL_PRETEST 0
58 #define BT_30_SUPPORT 0
59 #define FPGA_TWO_MAC_VERIFICATION 0
61 #endif /* __ODM_TYPES_H__ */