GNU Linux-libre 4.14.259-gnu1
[releases.git] / drivers / staging / rtl8723bs / include / autoconf.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2012 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
17 /*
18  * Automatically generated C config: don't edit
19  */
20
21 /*
22  * Functions Config
23  */
24 /* define DEBUG_CFG80211 */
25
26 #ifndef CONFIG_WIRELESS_EXT
27 #error CONFIG_WIRELESS_EXT needs to be enabled for this driver to work
28 #endif
29
30 /*
31  * Auto Config Section
32  */
33 #define LPS_RPWM_WAIT_MS 300
34 #ifndef DISABLE_BB_RF
35 #define DISABLE_BB_RF   0
36 #endif
37
38 #if DISABLE_BB_RF
39         #define HAL_MAC_ENABLE  0
40         #define HAL_BB_ENABLE           0
41         #define HAL_RF_ENABLE           0
42 #else
43         #define HAL_MAC_ENABLE  1
44         #define HAL_BB_ENABLE           1
45         #define HAL_RF_ENABLE           1
46 #endif
47
48 /*
49  * Platform dependent
50  */
51 #define WAKEUP_GPIO_IDX 12      /* WIFI Chip Side */
52 #ifdef CONFIG_WOWLAN
53 #define CONFIG_GTK_OL
54 #endif /* CONFIG_WOWLAN */
55
56 /*
57  * Debug Related Config
58  */
59 #undef DEBUG
60
61 #ifdef DEBUG
62 #define DBG     1       /*  for ODM & BTCOEX debug */
63 /*#define DEBUG_RTL871X */
64 #else /*  !DEBUG */
65 #define DBG     0       /*  for ODM & BTCOEX debug */
66 #endif /*  !DEBUG */
67
68 #ifdef CONFIG_PROC_FS
69 #define PROC_DEBUG
70 #endif
71
72 /* define DBG_XMIT_BUF */
73 /* define DBG_XMIT_BUF_EXT */