From Nsnam
Jump to: navigation, search

Click-MAC Extensions for ns-3-click :: Mid-term Report


The approach has been described in detail on the wiki page.


Radiotap Support for ns-3's Wifi model

  • Radiotap header support was created at YansWifiPhy::EndReceive() with the necessary modifications to send the headers up the stack through MacLow and MacRxMiddle. The PCAP tracing was refactored to contain the radiotap information. Further modifications were made for the headers to be sent higher up the stack.

A MonitorWifiMac abstraction

  • The work included the creation of a MonitorWifiMac abstraction that would essentially be a copy of the non-QoS part of RegularWifiMac, an implementation that would work independently of the type of station. Provision of a Monitor Mode was made with the required modifications in WifiNetDevice. The packet reception was then tested at MonitorWifiMac::Receive(), where the radiotap header would be added to the packet.

Test script for Monitor Mode

  • A test script was developed similar to the existing wifi-simple-adhoc-grid example for the purpose of testing the Monitor Mode and the correct working of the MonitorWifiMac class. For this purpose, a lone monitor node was chosen to be in the midst of a grid of AdhocWifiMac nodes capable of communicating with each other. The monitor node would be capable of receiving all the packets. The script is Click-based and prints information about the received packets within Click.

To summarize, this work includes the the Rx side of Monitor Mode and Radiotap support for ns-3's Wifi model.

Future work: Tx-vector modifications