Changes between Version 9 and Version 10 of CSMAMAC


Ignore:
Timestamp:
Feb 7, 2008, 9:59:29 PM (16 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CSMAMAC

    v9 v10  
    33The CSMAMAC is serves as the user-level MAC layer in [wiki:OFDMReferenceDesign reference design]. The basic algorithm is simple:
    44
    5 * Do I have a packet to send?
     5 * Do I have a packet to send?
    66       * If the medium is idle, send it, enter a timeout, and wait for an acknowledgment from the destination
    77       * If the medium is busy, enter a backoff period and wait for the medium to become idle
    8 * Did I receive a data packet?
     8 * Did I receive a data packet?
    99       * If the packet pass checksum and is addressed to me, send an acknowledgment
    10 * Did no know acknowledgment happen during a timeout period?
     10 * Did no know acknowledgment happen during a timeout period?
    1111       * If the maximum number of retransmits has not occurred, enter a backoff and try retransmitting
    1212       * If the maximum number of retransmits has occurred, drop the packet
    13 * Did I wait through a backoff period?
     13 * Did I wait through a backoff period?
    1414       * If the medium is busy, retransmit, increment the total number of resends, enter a timeout, and wait for an acknowledgment from the destination
    1515       * If the medium is busy, enter a backoff period and wait for the medium to become idle