diff -r 846fe53b77fc src/wifi/model/aparf-wifi-manager.cc --- a/src/wifi/model/aparf-wifi-manager.cc Wed Apr 20 00:18:21 2016 +0200 +++ b/src/wifi/model/aparf-wifi-manager.cc Wed Apr 20 14:58:13 2016 +0200 @@ -62,12 +62,12 @@ .SetParent () .SetGroupName ("Wifi") .AddConstructor () - .AddAttribute ("SuccessThreshold 1", + .AddAttribute ("SuccessThresholdHigh", "The minimum number of successful transmissions in \"High\" state to try a new power or rate.", UintegerValue (3), MakeUintegerAccessor (&AparfWifiManager::m_succesMax1), MakeUintegerChecker ()) - .AddAttribute ("SuccessThreshold 2", + .AddAttribute ("SuccessThresholdLow", "The minimum number of successful transmissions in \"Low\" state to try a new power or rate.", UintegerValue (10), MakeUintegerAccessor (&AparfWifiManager::m_succesMax2), @@ -82,22 +82,22 @@ UintegerValue (10), MakeUintegerAccessor (&AparfWifiManager::m_powerMax), MakeUintegerChecker ()) - .AddAttribute ("Power decrement step", + .AddAttribute ("PowerDecrementStep", "Step size for decrement the power.", UintegerValue (1), MakeUintegerAccessor (&AparfWifiManager::m_powerDec), MakeUintegerChecker ()) - .AddAttribute ("Power increment step", + .AddAttribute ("PowerIncrementStep", "Step size for increment the power.", UintegerValue (1), MakeUintegerAccessor (&AparfWifiManager::m_powerInc), MakeUintegerChecker ()) - .AddAttribute ("Rate decrement step", + .AddAttribute ("RateDecrementStep", "Step size for decrement the rate.", UintegerValue (1), MakeUintegerAccessor (&AparfWifiManager::m_rateDec), MakeUintegerChecker ()) - .AddAttribute ("Rate increment step", + .AddAttribute ("RateIncrementStep", "Step size for increment the rate.", UintegerValue (1), MakeUintegerAccessor (&AparfWifiManager::m_rateInc), diff -r 846fe53b77fc src/wifi/test/power-rate-adaptation-test.cc --- a/src/wifi/test/power-rate-adaptation-test.cc Wed Apr 20 00:18:21 2016 +0200 +++ b/src/wifi/test/power-rate-adaptation-test.cc Wed Apr 20 14:58:13 2016 +0200 @@ -348,8 +348,8 @@ /* * Configure thresholds for rate and power control. */ - manager->SetAttribute ("SuccessThreshold 1",UintegerValue (3)); - manager->SetAttribute ("SuccessThreshold 2",UintegerValue (10)); + manager->SetAttribute ("SuccessThresholdHigh",UintegerValue (3)); + manager->SetAttribute ("SuccessThresholdLow",UintegerValue (10)); manager->SetAttribute ("FailThreshold",UintegerValue (1)); manager->SetAttribute ("PowerThreshold",UintegerValue (10));