Changes between Version 12 and Version 13 of CSMAMAC
- Timestamp:
- Feb 7, 2008, 10:13:16 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CSMAMAC
v12 v13 57 57 }}} 58 58 59 ---- 60 59 61 === Idle === 62 63 There are two purposes of this state: At the beginning of time the code must initialize the framework and WARP hardware, and in the steady state it must sit and wait for an event to take place. This state maps to the 64 65 {{{ 66 #!c 67 int main() 68 }}} 69 70 function of [source:/ResearchApps/MAC/CSMA/csmaMac.c@L csmaMac.c]. 71 72 ---- 60 73 61 74 === Accepted Packet from Source === 62 75 76 ---- 77 63 78 === Medium State === 79 80 ---- 64 81 65 82 === Transmit Packet via PHY === 66 83 84 ---- 85 67 86 === Set TIMEOUT Timer === 87 88 ---- 68 89 69 90 === Set BACKOFF Timer === 70 91 92 ---- 93 71 94 === Received Packet via PHY === 95 96 ---- 72 97 73 98 === Checksum === 74 99 100 ---- 101 75 102 === Destination Address === 103 104 ---- 76 105 77 106 === Packet Type === 78 107 108 ---- 109 79 110 === Clear TIMEOUT === 111 112 ---- 80 113 81 114 === Deliver Packet to Sink === 82 115 116 ---- 117 83 118 === Timer Expired === 119 120 ---- 84 121 85 122 === Timer Type === 86 123 124 ---- 125 87 126 === Medium State === 127 128 ---- 88 129 89 130 === Maximum Resends === 90 131 132 ---- 133 91 134 === Drop Packet === 135 136 ---- 92 137 93 138 === Increment Resend Counter ===