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 DM_ODM_SUPPORT_TYPE ODM_CE
33 #define RT_PCI_INTERFACE 1
34 #define RT_USB_INTERFACE 2
35 #define RT_SDIO_INTERFACE 3
37 typedef enum _HAL_STATUS{
42 RT_STATUS_INVALID_CONTEXT,
43 RT_STATUS_INVALID_PARAMETER,
44 RT_STATUS_NOT_SUPPORT,
45 RT_STATUS_OS_API_FAILED,*/
46 }HAL_STATUS,*PHAL_STATUS;
48 typedef enum _RT_SPINLOCK_TYPE{
53 #include <basic_types.h>
76 #define DEV_BUS_TYPE RT_USB_INTERFACE
78 typedef struct timer_list RT_TIMER, *PRT_TIMER;
79 typedef void * RT_TIMER_CALL_BACK;
80 #define STA_INFO_T struct sta_info
81 #define PSTA_INFO_T struct sta_info *
89 #define SET_TX_DESC_ANTSEL_A_88E(__pTxDesc, __Value) SET_BITS_TO_LE_4BYTE(__pTxDesc+8, 24, 1, __Value)
90 #define SET_TX_DESC_ANTSEL_B_88E(__pTxDesc, __Value) SET_BITS_TO_LE_4BYTE(__pTxDesc+8, 25, 1, __Value)
91 #define SET_TX_DESC_ANTSEL_C_88E(__pTxDesc, __Value) SET_BITS_TO_LE_4BYTE(__pTxDesc+28, 29, 1, __Value)
93 //define useless flag to avoid compile warning
94 #define USE_WORKITEM 0
95 #define FOR_BRAZIL_PRETEST 0
96 #define BT_30_SUPPORT 0
97 #define FPGA_TWO_MAC_VERIFICATION 0
99 #endif // __ODM_TYPES_H__