1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /****************************************************************************** 3 * 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 5 * 6 ******************************************************************************/ 7 8 9 /* 10 * Automatically generated C config: don't edit 11 */ 12 13 /* 14 * Functions Config 15 */ 16 /* define DEBUG_CFG80211 */ 17 18 #ifndef CONFIG_WIRELESS_EXT 19 #error CONFIG_WIRELESS_EXT needs to be enabled for this driver to work 20 #endif 21 22 /* 23 * Auto Config Section 24 */ 25 #define LPS_RPWM_WAIT_MS 300 26 #ifndef DISABLE_BB_RF 27 #define DISABLE_BB_RF 0 28 #endif 29 30 #if DISABLE_BB_RF 31 #define HAL_MAC_ENABLE 0 32 #define HAL_BB_ENABLE 0 33 #define HAL_RF_ENABLE 0 34 #else 35 #define HAL_MAC_ENABLE 1 36 #define HAL_BB_ENABLE 1 37 #define HAL_RF_ENABLE 1 38 #endif 39 40 /* 41 * Platform dependent 42 */ 43 #define WAKEUP_GPIO_IDX 12 /* WIFI Chip Side */ 44 #ifdef CONFIG_WOWLAN 45 #define CONFIG_GTK_OL 46 #endif /* CONFIG_WOWLAN */ 47 48 /* 49 * Debug Related Config 50 */ 51 #undef DEBUG 52 53 #ifdef DEBUG 54 #define DBG 1 /* for ODM & BTCOEX debug */ 55 /*#define DEBUG_RTL871X */ 56 #else /* !DEBUG */ 57 #define DBG 0 /* for ODM & BTCOEX debug */ 58 #endif /* !DEBUG */ 59 60 /* define DBG_XMIT_BUF */ 61 /* define DBG_XMIT_BUF_EXT */ 62