source: ReferenceDesigns/w3_802.11/c/wlan_mac_high_framework/include/wlan_mac_high_sw_config.h

Last change on this file was 5755, checked in by chunter, 2 months ago

added the ability to compile Eth A bridging out of the design with the WLAN_SW_CONFIG_ENABLE_ETH_BRIDGE switch in wlan_mac_high_sw_config.h

File size: 2.5 KB
Line 
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-2017, 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
21//  station_info_t structs as well as Tx/Rx logs.
22
23
24#define WLAN_SW_CONFIG_ENABLE_WLAN_EXP      1       //Top-level switch for compiling wlan_exp. Setting to 0 implicitly removes
25                                                    // logging code if set to 0 since there would be no way to retrieve the log.
26
27#define WLAN_SW_CONFIG_ENABLE_TXRX_COUNTS   1       //Top-level switch for compiling counts_txrx.  Setting to 0 removes counts
28                                                    // from station_info_t struct definition and disables counts retrieval via
29                                                    // wlan_exp.
30
31#define WLAN_SW_CONFIG_ENABLE_LOGGING       1       //Top-level switch for compiling Tx/Rx logging. Setting to 0 will not cause
32                                                    // the design to not log any entries to DRAM. It will also disable any log
33                                                    // retrieval capabilities in wlan_exp. Note: this is logically distinct from
34                                                    // WLAN_SW_CONFIG_ENABLE_WLAN_EXP. (WLAN_SW_CONFIG_ENABLE_WLAN_EXP 1, COMPILE_LOGGING 0)
35                                                    // still allows wlan_exp control over a node but no logging capabilities.
36
37#define WLAN_SW_CONFIG_ENABLE_LTG           1       //Top-level switch for compiling LTG functionality. Setting to 0 will remove
38                                                    // all LTG-related code from the design as well we disable any wlan_exp
39                                                    // commands that control LTGs.
40
41#define WLAN_SW_CONFIG_ENABLE_ETH_BRIDGE    1       //Top-level switch for compiling Ethernet bridging functionality.
42
43#endif /* WLAN_MAC_HIGH_SW_CONFIG_H_ */
Note: See TracBrowser for help on using the repository browser.