[6319] | 1 | /** @file wlan_exp_node_sta.h |
---|
| 2 | * @brief Station WLAN Experiment |
---|
| 3 | * |
---|
| 4 | * This contains code for the 802.11 Station's WLAN experiment interface. |
---|
| 5 | * |
---|
| 6 | * @copyright Copyright 2014-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 | /***************************** Include Files *********************************/ |
---|
| 16 | #include "wlan_mac_high_sw_config.h" |
---|
| 17 | |
---|
| 18 | #include "wlan_exp_common.h" |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | /*************************** Constant Definitions ****************************/ |
---|
| 23 | #ifndef WLAN_EXP_NODE_STA_H_ |
---|
| 24 | #define WLAN_EXP_NODE_STA_H_ |
---|
| 25 | |
---|
| 26 | struct cmd_resp_hdr_t; |
---|
| 27 | struct eth_tx_queue_buffer_t; |
---|
| 28 | |
---|
| 29 | // **************************************************************************** |
---|
| 30 | // Define WLAN Exp Node Station Commands |
---|
| 31 | // |
---|
| 32 | #define CMDID_NODE_IBSS_CONFIG 0x300000 |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | #define CMD_PARAM_NODE_CONFIG_FLAG_BEACON_TS_UPDATE 0x00000001 |
---|
| 36 | #define CMD_PARAM_NODE_CONFIG_FLAG_BEACON_TRANSMIT 0x00000002 |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | // **************************************************************************** |
---|
| 40 | // Define Node Station Parameters |
---|
| 41 | // - NOTE: To add another parameter, add the define before "NODE_MAX_PARAMETER" |
---|
| 42 | // and then change the value of "NODE_MAX_PARAMETER" to be the largest value |
---|
| 43 | // in the list so it is easy to iterate over all parameters |
---|
| 44 | // |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | /*********************** Global Structure Definitions ************************/ |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | /*************************** Function Prototypes *****************************/ |
---|
| 52 | #if WLAN_SW_CONFIG_ENABLE_WLAN_EXP |
---|
| 53 | int process_wlan_exp_app_cmd(struct cmd_resp_hdr_t* cmd_hdr, struct eth_tx_queue_buffer_t* eth_tx_queue_buffer); |
---|
| 54 | |
---|
| 55 | void wlan_exp_ibss_tx_cmd_add_association(u8 *mac_addr); |
---|
| 56 | #endif //WLAN_SW_CONFIG_ENABLE_WLAN_EXP |
---|
| 57 | #endif /* WLAN_EXP_NODE_H_ */ |
---|