Changes between Version 3 and Version 4 of 802.11/MAC/Lower/DCF


Ignore:
Timestamp:
Aug 6, 2015, 5:00:57 PM (9 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/MAC/Lower/DCF

    v3 v4  
    2828When an IPC message arrives, the MAC Low Framework needs to perform a few different actions before passing the frame off to the DCF for transmission.
    2929
    30 1.
    31 
    3230Pseudocode:
    3331{{{
    34         if
     32        convert high-level MCS/rate into PHY-understandable rate parameter
     33       
     34        if( insert duration )
     35                calculate duration of SIFS and ACK
     36                insert duration into MAC header
     37
     38        if ( insert timestamp )
     39                tell PHY Tx which bytes to overwrite with usec timestamp
     40
     41        call the frame_tx_callback()
    3542}}}
     43
     44For the DCF application, the {{{frame_tx_callback()}}} executes the {{{frame_transmit()}}} function in the DCF code.
     45
     46----
     47
     48'''P2:'''
     49
     50The {{{frame_transmit()}}} context will only exit when an MPDU is "done." Here, "done" can mean multiple things:
     51
     52* If it is a unicast frame and an acknowledgment for that frame has been received
     53* If it is a unicast frame and all retransmission attempts have failed
     54* If it is a multicast frame, an MPDU transmission is done as soon as the PHY transmission is complete since no acknowledgment is required.
    3655
    3756== MPDU Reception ==