Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(329)

Unified Diff: src/wifi/model/adhoc-wifi-mac.cc

Issue 4685048: Monitor mode support in ns-3
Patch Set: Undoing redundant params, changed GetMonitorMode to IsMonitorMode Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wifi/model/adhoc-wifi-mac.h ('k') | src/wifi/model/ap-wifi-mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wifi/model/adhoc-wifi-mac.cc
===================================================================
--- a/src/wifi/model/adhoc-wifi-mac.cc
+++ b/src/wifi/model/adhoc-wifi-mac.cc
@@ -162,7 +162,7 @@
}
void
-AdhocWifiMac::Receive (Ptr<Packet> packet, const WifiMacHeader *hdr)
+AdhocWifiMac::Receive (Ptr<Packet> packet, const WifiMacHeader *hdr, const RadiotapHeader *radiotaphdr)
{
NS_LOG_FUNCTION (this << packet << hdr);
NS_ASSERT (!hdr->IsCtl ());
@@ -185,7 +185,7 @@
// Invoke the receive handler of our parent class to deal with any
// other frames. Specifically, this will handle Block Ack-related
// Management Action frames.
- RegularWifiMac::Receive (packet, hdr);
+ RegularWifiMac::Receive (packet, hdr, radiotaphdr);
}
} // namespace ns3
« no previous file with comments | « src/wifi/model/adhoc-wifi-mac.h ('k') | src/wifi/model/ap-wifi-mac.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b