Changes between Version 7 and Version 8 of WANMAC
- Timestamp:
- Jul 14, 2006, 4:38:08 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WANMAC
v7 v8 8 8 [[Image(P2MP.png, align=right, 500)]] 9 9 10 11 == == 12 13 == == 14 15 == == 16 17 == == 18 19 == == 20 21 == == 22 23 == == 24 25 == == 26 27 == == 28 10 29 This behavioral description of both BS and SS can be transformed to state-machines, which in turn can be transformed to C-code. A few typical 11 30 transitions through states are numbered. For the Base Station, we have the following states: 12 31 13 1) The received packet was without errors (CRC passed), was an ACK packet (as opposed to a data packet), and the destination address matched the receiving node's self address 32 [[Image(BS.bmp, align=left, 500)]] 14 33 15 2) The received packet was without errors, was a data packet, and the destination address matched the receiving node's self address 34 1) 16 35 17 3) The received packet contained errors, was a data packet, and the destination address matched the receiving node's self address 36 2) 18 37 19 4) The PHY receiver grabbed a packet off the channel and then tells the MAC to process it. This step is interrupt driven. 38 3) 20 39 21 40 For the Subscriber Station, the states look like the following: 22 41 23 1) The received packet was without errors (CRC passed), was an ACK packet (as opposed to a data packet), and the destination address matched the receiving node's self address 42 [[Image(SS.bmp, align=right, 500)]] 24 43 25 2) The received packet was without errors, was a data packet, and the destination address matched the receiving node's self address 44 1) 26 45 27 3) The received packet contained errors, was a data packet, and the destination address matched the receiving node's self address 46 2) 28 47 29 4) The PHY receiver grabbed a packet off the channel and then tells the MAC to process it. This step is interrupt driven. 30 48 3) 31 49 32 50 The behavior described above is a small subset of that which is implemented in the attached code. Here, 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 three WARP node,