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