Research Article
Enhancing the Selection of Backoff Interval Using Fuzzy Logic over Wireless Ad Hoc Networks
Algorithm 1
Steps to be followed while transmitting and receiving RTS.
TransmitRTS: | (i) If the medium is Free for DIFS period then | (a) If the backoff counter is in freeze state then do continue with old backoff counter | (b) else if node is in training Phase then | (i) Generate Backoff counter randomly between (0, CW) | (c) else if node is not in training phase then | (i) Apply local data, input from NT to Fuzzy logic algorithm and find out backoff | between (0, CW). | (ii) Decrement backoff counter by one for every idle slot. | (iii) If the back off counter reaches zero, | (a) Store current queue length and waiting time of this node | (b) Start transmission. | (iv) else if the channel is busy, the backoff counter is paused until the next DIFS free period. | ReceiveRTS: | (i) Receive RTS and increment RTS count by one. | (ii) If RTS count is greater than 15 then training phase is set to false | (iii) If the packet is destined to current node | (a) update neighbor table and process the packet. |
(iv) If the packet is not destined to current node. | (a) update the neighbor table and NAV (Network Allocation Vector) timer. | (b) drop the packet. |
|