Changes between Version 7 and Version 8 of 802.11/PacketFlow


Ignore:
Timestamp:
Nov 26, 2013, 8:47:32 AM (10 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/PacketFlow

    v7 v8  
    2323=== Packet Buffer Contents ===
    2424
    25 Each packet buffer stores more than just the raw Tx/Rx bytes for the PHY. The MAC uses each buffer to store other metadata. The contents of each packet buffer are illustrated below.
     25Each packet buffer stores more than just the raw Tx/Rx bytes for the PHY. The MAC uses each buffer to store other metadata. The contents of each packet buffer are shown in the below table:
    2626
    27 [[Image(wiki:802.11/files:wlan_ref_des_pkt_buf_offsets.png,height=300)]]
     27|| ||= TX Packet Buffer =||= RX Packet Buffer =||
     28|| frame_info ||  32 bytes  ||  272 bytes  ||
     29|| PHY Header ||  8 bytes  ||  8 bytes  ||
     30|| MAC Header||  24 bytes  ||  24 bytes  ||
     31|| Payload ||  [0,  ||  [0,  ||
     32|| FCS ||  4 bytes  ||  4 bytes  ||
    2833
    2934The MAC code utilizes the first section of each packet buffer for metadata about the packet contained in that buffer. This metadata is stored in the {{{tx_frame_info}}} and {{{rx_frame_info}}} structs, defined in [source:ReferenceDesigns/w3_802.11/c/wlan_mac_common/include/wlan_mac_misc_util.h wlan_mac_misc_util.h]. This metadata includes the per-subcarrier channel estimates from the RX PHY.