OSDN Git Service

staging: rtl8723bs: update to the latest driver
[android-x86/kernel.git] / drivers / staging / rtl8723bs / hal / odm_AntDiv.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
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.
8  *
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
12  * more details.
13  *
14  ******************************************************************************/
15
16 #ifndef __ODMANTDIV_H__
17 #define    __ODMANTDIV_H__
18
19
20
21 #define ANT1_2G 0 /*  = ANT2_5G */
22 #define ANT2_2G 1 /*  = ANT1_5G */
23
24 /* Antenna Diversty Control Type */
25 #define ODM_AUTO_ANT    0
26 #define ODM_FIX_MAIN_ANT        1
27 #define ODM_FIX_AUX_ANT 2
28
29 #define TX_BY_REG       0
30
31 #define ANTDIV_ON 1
32 #define ANTDIV_OFF 0
33
34 #define INIT_ANTDIV_TIMMER 0
35 #define CANCEL_ANTDIV_TIMMER 1
36 #define RELEASE_ANTDIV_TIMMER 2
37
38 #endif /* ifndef        __ODMANTDIV_H__ */