[6319] | 1 | /** @file wlan_exp.h |
---|
| 2 | * @brief Experiment Framework (Common) |
---|
| 3 | * |
---|
| 4 | * This contains the code for WLAN Experimental Framework. |
---|
| 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 | /***************************** Include Files *********************************/ |
---|
| 15 | // Include xil_types so function prototypes can use u8/u16/u32 data types |
---|
| 16 | #include "xil_types.h" |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | /*************************** Constant Definitions ****************************/ |
---|
| 20 | #ifndef WLAN_EXP_H_ |
---|
| 21 | #define WLAN_EXP_H_ |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | // ********************************************************************** |
---|
| 25 | // Version Information |
---|
| 26 | // |
---|
| 27 | |
---|
| 28 | // Version info: MAJOR.MINOR.REV |
---|
| 29 | // [31:24] - MAJOR (u8) |
---|
| 30 | // [23:16] - MINOR (u8) |
---|
| 31 | // [15:0] - REVISION (u16) |
---|
| 32 | // |
---|
| 33 | #define WLAN_EXP_VER_MAJOR 1 |
---|
| 34 | #define WLAN_EXP_VER_MINOR 8 |
---|
| 35 | #define WLAN_EXP_VER_REV 0 |
---|
| 36 | |
---|
| 37 | #define REQ_WLAN_EXP_HW_VER (WLAN_EXP_VER_MAJOR << 24)|(WLAN_EXP_VER_MINOR << 16)|(WLAN_EXP_VER_REV) |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | #define WLAN_EXP_HIGH_SW_ID_AP 0x01 |
---|
| 41 | #define WLAN_EXP_HIGH_SW_ID_STA 0x02 |
---|
| 42 | #define WLAN_EXP_HIGH_SW_ID_IBSS 0x03 |
---|
| 43 | |
---|
| 44 | #define WLAN_EXP_LOW_SW_ID_DCF 0x01 |
---|
| 45 | #define WLAN_EXP_LOW_SW_ID_NOMAC 0x02 |
---|
| 46 | |
---|
| 47 | /*********************** Global Structure Definitions ************************/ |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | /*************************** Function Prototypes *****************************/ |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | #endif /* WLAN_EXP_H_ */ |
---|