equal
deleted
inserted
replaced
41 NS_OBJECT_ENSURE_REGISTERED (NqapWifiMac); |
41 NS_OBJECT_ENSURE_REGISTERED (NqapWifiMac); |
42 |
42 |
43 TypeId |
43 TypeId |
44 NqapWifiMac::GetTypeId (void) |
44 NqapWifiMac::GetTypeId (void) |
45 { |
45 { |
46 static TypeId tid = TypeId ("NqapWifiMac") |
46 static TypeId tid = TypeId ("ns3::NqapWifiMac") |
47 .SetParent<WifiMac> () |
47 .SetParent<WifiMac> () |
48 .AddConstructor<NqapWifiMac> () |
48 .AddConstructor<NqapWifiMac> () |
49 .AddAttribute ("BeaconInterval", "Delay between two beacons", |
49 .AddAttribute ("BeaconInterval", "Delay between two beacons", |
50 Seconds (1.0), |
50 Seconds (1.0), |
51 MakeTimeAccessor (&NqapWifiMac::m_beaconInterval), |
51 MakeTimeAccessor (&NqapWifiMac::m_beaconInterval), |