src/wifi/model/arf-wifi-manager.cc
changeset 11245 5c781d7e5a25
parent 11100 86e53d8a4cfe
child 11450 9f4ae69f12b7
equal deleted inserted replaced
11244:2a117115b91f 11245:5c781d7e5a25
    54 TypeId
    54 TypeId
    55 ArfWifiManager::GetTypeId (void)
    55 ArfWifiManager::GetTypeId (void)
    56 {
    56 {
    57   static TypeId tid = TypeId ("ns3::ArfWifiManager")
    57   static TypeId tid = TypeId ("ns3::ArfWifiManager")
    58     .SetParent<WifiRemoteStationManager> ()
    58     .SetParent<WifiRemoteStationManager> ()
       
    59     .SetGroupName ("Wifi")
    59     .AddConstructor<ArfWifiManager> ()
    60     .AddConstructor<ArfWifiManager> ()
    60     .AddAttribute ("TimerThreshold", "The 'timer' threshold in the ARF algorithm.",
    61     .AddAttribute ("TimerThreshold", "The 'timer' threshold in the ARF algorithm.",
    61                    UintegerValue (15),
    62                    UintegerValue (15),
    62                    MakeUintegerAccessor (&ArfWifiManager::m_timerThreshold),
    63                    MakeUintegerAccessor (&ArfWifiManager::m_timerThreshold),
    63                    MakeUintegerChecker<uint32_t> ())
    64                    MakeUintegerChecker<uint32_t> ())