1 | /** @file wlan_mac_high_sw_config.h |
---|
2 | * @brief Software Configuration Options |
---|
3 | * |
---|
4 | * This contains definitions that affect the size of the CPU_HIGH projects. |
---|
5 | * |
---|
6 | * @copyright Copyright 2013-2019, Mango Communications. All rights reserved. |
---|
7 | * Distributed under the Mango Communications Reference Design License |
---|
8 | * See LICENSE.txt included in the design archive or |
---|
9 | * at http://mangocomm.com/802.11/license |
---|
10 | * |
---|
11 | * This file is part of the Mango 802.11 Reference Design (https://mangocomm.com/802.11) |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef WLAN_MAC_HIGH_SW_CONFIG_H_ |
---|
15 | #define WLAN_MAC_HIGH_SW_CONFIG_H_ |
---|
16 | |
---|
17 | |
---|
18 | //---------- COMPILATION TOGGLES ---------- |
---|
19 | // The following toggles directly affect the size of the .text section after compilation. |
---|
20 | // They also implicitly affect DRAM usage since DRAM is used for the storage of log data |
---|
21 | |
---|
22 | |
---|
23 | #define WLAN_SW_CONFIG_ENABLE_WLAN_EXP 1 //Top-level switch for compiling wlan_exp. |
---|
24 | |
---|
25 | #define WLAN_SW_CONFIG_ENABLE_TXRX_COUNTS 1 //Top-level switch for compiling counts_txrx. Setting to 0 removes counts |
---|
26 | // from station_info_t struct definition and disables counts retrieval via |
---|
27 | // wlan_exp. |
---|
28 | |
---|
29 | #define WLAN_SW_CONFIG_ENABLE_LOGGING 1 //Top-level switch for compiling Tx/Rx logging. Setting to 0 will not cause |
---|
30 | // the design to not log any entries to DRAM. It will also disable any log |
---|
31 | // retrieval capabilities in wlan_exp. Note: this is logically distinct from |
---|
32 | // WLAN_SW_CONFIG_ENABLE_WLAN_EXP. (WLAN_SW_CONFIG_ENABLE_WLAN_EXP 1, COMPILE_LOGGING 0) |
---|
33 | // still allows wlan_exp control over a node but no logging capabilities. |
---|
34 | |
---|
35 | #define WLAN_SW_CONFIG_ENABLE_LTG 1 //Top-level switch for compiling LTG functionality. Setting to 0 will remove |
---|
36 | // all LTG-related code from the design as well we disable any wlan_exp |
---|
37 | // commands that control LTGs. |
---|
38 | |
---|
39 | #define WLAN_SW_CONFIG_ENABLE_ETH_BRIDGE 1 //Top-level switch for compiling Ethernet bridging functionality. |
---|
40 | |
---|
41 | #endif /* WLAN_MAC_HIGH_SW_CONFIG_H_ */ |
---|