Changes between Version 3 and Version 4 of 802.11/MAC/Lower/DCF
- Timestamp:
- Aug 6, 2015, 5:00:57 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/MAC/Lower/DCF
v3 v4 28 28 When 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. 29 29 30 1.31 32 30 Pseudocode: 33 31 {{{ 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() 35 42 }}} 43 44 For the DCF application, the {{{frame_tx_callback()}}} executes the {{{frame_transmit()}}} function in the DCF code. 45 46 ---- 47 48 '''P2:''' 49 50 The {{{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. 36 55 37 56 == MPDU Reception ==