1 /* 2 * Copyright (c) 2022 Winner Microelectronics Co., Ltd. All rights reserved. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /** 17 * @file wm_wifi_config.h 18 * 19 * @brief WM wifi model configure 20 * 21 * @author winnermicro 22 * 23 * Copyright (c) 2015 Winner Microelectronics Co., Ltd. 24 */ 25 #ifndef __WM_WIFI_CONFIG_H__ 26 #define __WM_WIFI_CONFIG_H__ 27 28 #define CFG_WIFI_ON 1 29 #define CFG_WIFI_OFF 0 30 31 /*******************WIFI INFO************************** 32 Below Switch Only for Reference!!! 33 ********************************************************/ 34 #define TLS_CONFIG_AP CFG_WIFI_ON 35 #define TLS_CONFIG_11N CFG_WIFI_ON 36 37 #define TLS_CONFIG_USE_VENDOR_IE CFG_WIFI_OFF 38 39 #define TLS_CONFIG_SOFTAP_11N (CFG_WIFI_ON&& TLS_CONFIG_AP) 40 41 #define TLS_CONFIG_AP_BEACON_SOFT (CFG_OFF && TLS_CONFIG_AP) 42 #define TLS_CONFIG_AP_OPT_PS (CFG_ON && TLS_CONFIG_AP) /* SOFTAP POWER SAVE */ 43 #define TLS_CONFIG_AP_OPT_FWD (CFG_ON && TLS_CONFIG_AP) /* IP PACKET FORWARD */ 44 45 #define TLS_CONFIG_WPS CFG_WIFI_OFF /* WPS&EAPOL should be enabled together */ 46 #define TLS_IEEE8021X_EAPOL CFG_WIFI_OFF 47 48 #define TLS_CONFIG_1SSID_MULTI_PWD CFG_WIFI_ON 49 50 #define TLS_CONFIG_FAST_JOIN_NET CFG_WIFI_ON 51 52 #define TLS_CONFIG_LOG_PRINT CFG_WIFI_ON 53 54 #endif /* __WM_WIFI_CONFIG_H__ */