Line | |
---|
1 | /** @file wlan_mac_nomac.c |
---|
2 | * @brief Simple MAC that does nothing but transmit and receive |
---|
3 | * |
---|
4 | * @copyright Copyright 2014-2019, Mango Communications. All rights reserved. |
---|
5 | * Distributed under the Mango Communications Reference Design License |
---|
6 | * See LICENSE.txt included in the design archive or |
---|
7 | * at http://mangocomm.com/802.11/license |
---|
8 | * |
---|
9 | * This file is part of the Mango 802.11 Reference Design (https://mangocomm.com/802.11) |
---|
10 | */ |
---|
11 | |
---|
12 | |
---|
13 | /*************************** Constant Definitions ****************************/ |
---|
14 | #ifndef WLAN_MAC_NOMAC_H_ |
---|
15 | #define WLAN_MAC_NOMAC_H_ |
---|
16 | |
---|
17 | #include "xil_types.h" |
---|
18 | |
---|
19 | //Forward declarations |
---|
20 | struct phy_rx_details_t; |
---|
21 | |
---|
22 | //----------------------------------------------- |
---|
23 | // WLAN Exp low parameter defines (NOMAC) |
---|
24 | // NOTE: Need to make sure that these values do not conflict with any of the LOW PARAM |
---|
25 | // callback defines |
---|
26 | // |
---|
27 | // #define LOW_PARAM_NOMAC_ 0x20000001 |
---|
28 | |
---|
29 | |
---|
30 | /*********************** Global Structure Definitions ************************/ |
---|
31 | |
---|
32 | |
---|
33 | /*************************** Function Prototypes *****************************/ |
---|
34 | int main(); |
---|
35 | |
---|
36 | int handle_tx_pkt_buf_ready(u8 pkt_buf); |
---|
37 | int frame_transmit(u8 pkt_buf); |
---|
38 | u32 frame_receive(u8 rx_pkt_buf, struct phy_rx_details_t* phy_details); |
---|
39 | |
---|
40 | #endif /* WLAN_MAC_NOMAC_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.