new MAC protocol employing periodic backoff instead of random one in wireless network
<p>I am trying to implement a new MAC protocol based on 2011 IEEE paper where random waiting time for default MAC wireless networks (802.11 DCF) to a Period-controlled MAC for higher performance.</p>

<p>I will explain the proposed protocol in terms of a simple scenario: consider 2 transmitting nodes experiencing a collision in a network; after they each have waited a random amount of time; say x and y, (implying they both have different backoff periods) if we imply periodic backoff from there on, their backoffs will be x+a, y+a which goes on and will never be equal; preventing them from ever colliding with each other again.</p>

<p>Also, the period of the backoff is same for all the nodes in the network ('a' in the above example), and any change that has to be done with this 'a' period will also affect with all the nodes in the network. This change is based on the channel state and the period is altered following Additive Increase Multiplicative Decrease procedure with respect to the channel idleness threshold set in the protocol algorithm.</p>

<p>Although the author of the above mentioned IEEE paper refused to help with the code, he did mention that the changes he made to implement the protocol were done in the following files :
The code in these files (mac-802.11.cc, mac-timers.cc, mac-802.11.h, mac-timers.h ) is posted in pastebin.ca:</p>

<p><a href="http://pastebin.ca/2303764" rel="nofollow">http://pastebin.ca/2303764</a>; <a href="http://pastebin.ca/2303763" rel="nofollow">http://pastebin.ca/2303763</a>; pastebin.ca/2303762;
pastebin.ca/2303765</p>

<p>Also the algorithm for the proposed MAC protocol is given in : pastebin.ca/2303772</p>

<p>I would appreciate it if anyone could help me alter this method to change the random calculation to periodic.  Thanks.</p>

<p>Any advice or suggestion will be much appreciated.</p>
