--- a/src/devices/wifi/wifi-mac-queue.cc Fri Jan 16 17:18:49 2009 +0000
+++ b/src/devices/wifi/wifi-mac-queue.cc Fri Jan 16 18:52:00 2009 +0000
@@ -28,6 +28,9 @@
namespace ns3 {
+NS_OBJECT_ENSURE_REGISTERED (WifiMacQueue);
+
+
WifiMacQueue::Item::Item (Ptr<const Packet> packet,
WifiMacHeader const &hdr,
Time tstamp)
@@ -37,7 +40,7 @@
TypeId
WifiMacQueue::GetTypeId (void)
{
- static TypeId tid = TypeId ("WifiMacQueue")
+ static TypeId tid = TypeId ("ns3::WifiMacQueue")
.SetParent<Object> ()
.AddConstructor<WifiMacQueue> ()
.AddAttribute ("MaxPacketNumber", "If a packet arrives when there are already this number of packets, it is dropped.",