src/devices/wifi/nqap-wifi-mac.cc
changeset 2602 d9262bff6df2
parent 2528 a527ec47b756
child 2617 0ecb3a9422e4
equal deleted inserted replaced
2601:4297e8c61615 2602:d9262bff6df2
    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),