Changes between Version 45 and Version 46 of 802.11/wlan_exp/app_notes/dcf_with_multiple_flows


Ignore:
Timestamp:
Apr 21, 2014, 11:27:35 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/app_notes/dcf_with_multiple_flows

    v45 v46  
    101101== Characterizing Collisions ==
    102102
     103The 802.11 DCF attempts to avoid collisions by requiring every node wait (i.e. backoff) a random period and sense the medium before transmitting. The random wait is designed to stagger transmission attempts by nodes that are not otherwise coordinated. Collisions could be made less likely by using longer random backoff periods. But long backoff periods reduce overall medium utilization, negatively impacting performance. Shorter backoff periods increase medium utilization, but also increase the probability that nodes select the same random value and collide. The 802.11 DCF balances this tradeoff with its contention window definition, discussed above.
     104
     105The DCF backoff procedure divides each waiting period into discrete slots. Nodes wait an integral number of slots before transmitting. The slot duration is 9 usec.
     106
     107When carrier sensing is working correctly, we expect that collisions will occur when two nodes select the same backoff slot count and initiate their transmissions in the same slot. When carrier sensing is disabled, nodes will still collide when they choose the same slot count. But other nodes, which larger backoff slot values, will fail to sense the collision and will initiate their own transmission in a future slot.
     108
     109We can test these expectations by analyzing the timestamps of PHY Tx events in the node logs. The absolute time difference between nodes is first resolved by identifying log entries of a common event, such as beacon transmissions and receptions. Once the time drift between nodes is corrected, the Tx timestamps can be extract and analyzed for overlapping Tx events. When overlapping Tx events are located, the timestamps of the Tx events are compared to compute the difference in Tx start times. We expect this difference to be small when carrier sensing allows nodes to defer to ongoing collisions.
     110
     111The plots below show the results of this analysis for all 4 traffic flows with carrier sensing enabled (left) and disabled (right).
     112
    103113||||=  '''Time Offsets of Colliding Packets - Flow 1'''  =||
     114||  '''Carrier Sensing Enabled'''  ||  '''Carrier Sensing Disabled'''  ||
    104115||  [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:cs_coll_flow_1.png, width=300)]]  || [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:no_cs_coll_flow_1.png, width=300)]]  ||
    105 ||  '''Carrier Sensing Enabled'''  ||  '''Carrier Sensing Disabled'''  ||
    106 
    107 
    108116||||=  '''Time Offsets of Colliding Packets - Flow 2'''  =||
    109117||  [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:cs_coll_flow_2.png, width=300)]]  || [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:no_cs_coll_flow_2.png, width=300)]]  ||
    110 ||  '''Carrier Sensing Enabled'''  ||  '''Carrier Sensing Disabled'''  ||
    111 
    112 
    113118||||=  '''Time Offsets of Colliding Packets - Flow 3'''  =||
    114119||  [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:cs_coll_flow_3.png, width=300)]]  || [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:no_cs_coll_flow_3.png, width=300)]]  ||
    115 ||  '''Carrier Sensing Enabled'''  ||  '''Carrier Sensing Disabled'''  ||
    116 
    117 
    118120||||=  '''Time Offsets of Colliding Packets - Flow 4'''  =||
    119121||  [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:cs_coll_flow_4.png, width=300)]]  || [[Image(wiki:802.11/wlan_exp/app_notes/dcf_with_multiple_flows/figs:no_cs_coll_flow_4.png, width=300)]]  ||
    120 ||  '''Carrier Sensing Enabled'''  ||  '''Carrier Sensing Disabled'''  ||
    121122
    122123----