src/wifi/model/parf-wifi-manager.cc
changeset 11245 5c781d7e5a25
parent 11153 324c767aefdd
child 11450 9f4ae69f12b7
equal deleted inserted replaced
11244:2a117115b91f 11245:5c781d7e5a25
    60 TypeId
    60 TypeId
    61 ParfWifiManager::GetTypeId (void)
    61 ParfWifiManager::GetTypeId (void)
    62 {
    62 {
    63   static TypeId tid = TypeId ("ns3::ParfWifiManager")
    63   static TypeId tid = TypeId ("ns3::ParfWifiManager")
    64     .SetParent<WifiRemoteStationManager> ()
    64     .SetParent<WifiRemoteStationManager> ()
       
    65     .SetGroupName ("Wifi")
    65     .AddConstructor<ParfWifiManager> ()
    66     .AddConstructor<ParfWifiManager> ()
    66     .AddAttribute ("AttemptThreshold",
    67     .AddAttribute ("AttemptThreshold",
    67                    "The minimum number of transmission attempts to try a new power or rate.",
    68                    "The minimum number of transmission attempts to try a new power or rate.",
    68                    UintegerValue (15),
    69                    UintegerValue (15),
    69                    MakeUintegerAccessor (&ParfWifiManager::m_attemptThreshold),
    70                    MakeUintegerAccessor (&ParfWifiManager::m_attemptThreshold),