Simulation of an 802.11 Wireless Network

_________________________________________

Home   Report   Presentation   Simulation   Useful Links 

The simulation for the 802.11 MAC protocol was implemented entirely in MATLAB. Feel free to peruse through the code. There is plenty of room for improvement.

Please note that both 'm' files are required to run the simulator. Make sure they are in the same directory.

Main simulator code

Code that changes object properties based on their handles

 

Shown below is a comparison between our simulator results (using CSMA/CA) and the results obtained using Li and Sherzai's code (running just CSMA without Collision Avoidance).

The key observation here is that the number of successful transmissions has increased and the number of collisions (both DATA and ACK packet collisions) has decreased using CSMA/CA.