Description
The ACKMAC is a modified ALOHA MAC that serves as the framework for all other MACs. In this scheme, nodes have no knowledge of any other nodes; there is no carrier sensing (CSMA/CA), and there is no request-to-send/clear-to-send (RTS/CTS). Instead, nodes transmit whenever they have information to transmit, and only move on to the next packet once the original transmit is acknowledged (ACKed). If no ACK is received, a collision is inferred and the packet is re-transmitted.
This behavioral description can be transformed to a state-machine, which in turn can be transformed to C-code.
We bridge that state machine to a source and a sink (ethernet and OFDM physical layer respectively for a transmitter, and vice versa for a receiver). In that way, we have a project that creates a virtual wire between two WARP nodes. Any ethernet and higher layer traffic will be forwarded across the wireless medium.
Code
Latest Revision: ackmac.c, warpmac.c, warpmac.h
Note: This code relies on many external dependencies and will not compile on traditional architectures.
Documentation
To be released soon.
Attachments
-
ALOHAflowchart.jpg
(189.6 kB) - added by chunter
21 months ago.
Flow chart for the ALOHA protocol
