1 | /** @file wlan_exp_node_ap.h |
---|
2 | * @brief Access Point WLAN Experiment |
---|
3 | * |
---|
4 | * This contains code for the 802.11 Access Point's WLAN experiment interface. |
---|
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 | |
---|
15 | |
---|
16 | /***************************** Include Files *********************************/ |
---|
17 | #include "wlan_mac_high_sw_config.h" |
---|
18 | |
---|
19 | #include "wlan_exp_common.h" |
---|
20 | |
---|
21 | struct cmd_resp_hdr_t; |
---|
22 | struct eth_tx_queue_buffer_t; |
---|
23 | |
---|
24 | |
---|
25 | /*************************** Constant Definitions ****************************/ |
---|
26 | #ifndef WLAN_EXP_NODE_AP_H_ |
---|
27 | #define WLAN_EXP_NODE_AP_H_ |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | // **************************************************************************** |
---|
32 | // Define Node Commands |
---|
33 | // |
---|
34 | // NOTE: All Command IDs (CMDID_*) must be a 24 bit unique number |
---|
35 | // |
---|
36 | |
---|
37 | //----------------------------------------------- |
---|
38 | // WLAN Exp Node AP Commands |
---|
39 | // |
---|
40 | #define CMDID_NODE_AP_CONFIG 0x100000 |
---|
41 | #define CMDID_NODE_AP_SET_AUTHENTICATION_ADDR_FILTER 0x100001 |
---|
42 | |
---|
43 | #define CMD_PARAM_NODE_AP_CONFIG_FLAG_DTIM_MULTICAST_BUFFER 0x00000001 |
---|
44 | |
---|
45 | #define CMD_PARAM_AP_ASSOCIATE_FLAG_DISABLE_INACTIVITY_TIMEOUT 0x00000001 |
---|
46 | #define CMD_PARAM_AP_ASSOCIATE_FLAG_HT_CAPABLE_STA 0x00000004 |
---|
47 | |
---|
48 | // **************************************************************************** |
---|
49 | // Define Node AP Parameters |
---|
50 | // - NOTE: To add another parameter, add the define before "NODE_MAX_PARAMETER" |
---|
51 | // and then change the value of "NODE_MAX_PARAMETER" to be the largest value |
---|
52 | // in the list so it is easy to iterate over all parameters |
---|
53 | // |
---|
54 | |
---|
55 | |
---|
56 | /*********************** Global Structure Definitions ************************/ |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | /*************************** Function Prototypes *****************************/ |
---|
61 | |
---|
62 | #if WLAN_SW_CONFIG_ENABLE_WLAN_EXP |
---|
63 | int process_wlan_exp_app_cmd(struct cmd_resp_hdr_t* cmd_hdr, struct eth_tx_queue_buffer_t* eth_tx_queue_buffer); |
---|
64 | #endif //WLAN_SW_CONFIG_ENABLE_WLAN_EXP |
---|
65 | |
---|
66 | #endif /* WLAN_EXP_NODE_H_ */ |
---|