--- a/src/devices/wifi/wifi-mac-header.cc Mon Mar 17 12:12:17 2008 -0700
+++ b/src/devices/wifi/wifi-mac-header.cc Mon Mar 17 13:12:17 2008 -0700
@@ -34,6 +34,8 @@
namespace ns3 {
+NS_OBJECT_ENSURE_REGISTERED (WifiMacHeader);
+
enum {
TYPE_MGT = 0,
TYPE_CTL = 1,
@@ -766,6 +768,19 @@
return "BIG_ERROR";
}
+TypeId
+WifiMacHeader::GetTypeId (void)
+{
+ static TypeId tid = TypeId ("ns3::WifiMacHeader")
+ .SetParent<Header> ()
+ ;
+ return tid;
+}
+TypeId
+WifiMacHeader::GetInstanceTypeId (void) const
+{
+ return GetTypeId ();
+}
uint32_t
WifiMacHeader::GetUid (void)
{