Changes between Version 17 and Version 18 of CSMAMAC


Ignore:
Timestamp:
Feb 8, 2008, 12:18:16 AM (16 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CSMAMAC

    v17 v18  
    152152=== Accepted Packet from Source ===
    153153
     154This state is entered if a higher layer has a packet it needs transmitted. For the reference design, this means a packet has arrived via Ethernet and needs processing.
     155
    154156----
    155157
    156158=== Medium State ===
    157159
     160The purpose of this state is to check to see if the medium has been idle for a DIFS period.
     161
     162{{{
     163#!c
     164warpmac_carrierSense(-);
     165}}}
     166
     167Is called and returns a 1 if the medium is idle (and hence the medium can be contented for) and a 0 if the medium is busy (and hence the node must wait).
     168
    158169----
    159170
    160171=== Transmit Packet via PHY ===
    161172
     173To transmit a packet over-the-air via the OFDM physical layer, the MAC calls
     174
     175{{{
     176#!c
     177warpmac_sendOfdm(&txBuffer);
     178}}}
     179
     180The argument of this function
     181
     182
     183
     184
    162185----
    163186
     
    172195=== Received Packet via PHY ===
    173196
     197This state kick-starts the receive states.
    174198----
    175199
    176200=== Checksum ===
    177201
     202Either
     203
     204{{{
     205#!c
     206int receiveGoodPacket(-)
     207}}}
     208
     209is called in the event of receiving a packet that passes checksum or
     210
     211{{{
     212#!c
     213int receiveGoodPacket(-)
     214}}}
     215
     216in the event of receiving a packet that fails checksum.
     217
     218
     219
     220
    178221----
    179222