NSOC2011ClickMac/MidTermReport: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 12: | Line 12: | ||
''' Test script for Monitor Mode '''  | ''' 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   | * 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 has been Click-based to print 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.  | 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  | |||
Revision as of 05:59, 20 July 2011
Click-MAC Extensions for ns-3-click :: Mid-term Report
Approach
The approach has been described in detail on the wiki link: [1]
Progress
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. A certain amount of Pcap refactoring was done to permit the traces 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 has been Click-based to print 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