diff --git a/src/internet/model/ipv6-extension.cc b/src/internet/model/ipv6-extension.cc index 1c26e5cdc..9df8df2ae 100644 --- a/src/internet/model/ipv6-extension.cc +++ b/src/internet/model/ipv6-extension.cc @@ -832,7 +832,7 @@ TypeId Ipv6ExtensionRoutingDemux::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionRoutingDemux") .SetParent () .SetGroupName ("Internet") - .AddAttribute ("Routing Extensions", "The set of IPv6 Routing extensions registered with this demux.", + .AddAttribute ("RoutingExtensions", "The set of IPv6 Routing extensions registered with this demux.", ObjectVectorValue (), MakeObjectVectorAccessor (&Ipv6ExtensionRoutingDemux::m_extensionsRouting), MakeObjectVectorChecker ()) diff --git a/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc b/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc index d062a1699..f7dde9b73 100644 --- a/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc +++ b/src/test/ns3tc/fq-codel-queue-disc-test-suite.cc @@ -62,7 +62,7 @@ void FqCoDelQueueDiscNoSuitableFilter::DoRun (void) { // Packets that cannot be classified by the available filters should be dropped - Ptr queueDisc = CreateObjectWithAttributes ("Packet limit", UintegerValue (4)); + Ptr queueDisc = CreateObjectWithAttributes ("PacketLimit", UintegerValue (4)); Ptr filter = CreateObject (); queueDisc->AddPacketFilter (filter); @@ -121,7 +121,7 @@ FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit::AddPacket (Ptr queueDisc = CreateObjectWithAttributes ("Packet limit", UintegerValue (4)); + Ptr queueDisc = CreateObjectWithAttributes ("PacketLimit", UintegerValue (4)); Ptr ipv6Filter = CreateObject (); Ptr ipv4Filter = CreateObject (); queueDisc->AddPacketFilter (ipv6Filter); @@ -341,7 +341,7 @@ FqCoDelQueueDiscTCPFlowsSeparation::AddPacket (Ptr queue, Ipv4 void FqCoDelQueueDiscTCPFlowsSeparation::DoRun (void) { - Ptr queueDisc = CreateObjectWithAttributes ("Packet limit", UintegerValue (10)); + Ptr queueDisc = CreateObjectWithAttributes ("PacketLimit", UintegerValue (10)); Ptr ipv6Filter = CreateObject (); Ptr ipv4Filter = CreateObject (); queueDisc->AddPacketFilter (ipv6Filter); @@ -431,7 +431,7 @@ FqCoDelQueueDiscUDPFlowsSeparation::AddPacket (Ptr queue, Ipv4 void FqCoDelQueueDiscUDPFlowsSeparation::DoRun (void) { - Ptr queueDisc = CreateObjectWithAttributes ("Packet limit", UintegerValue (10)); + Ptr queueDisc = CreateObjectWithAttributes ("PacketLimit", UintegerValue (10)); Ptr ipv6Filter = CreateObject (); Ptr ipv4Filter = CreateObject (); queueDisc->AddPacketFilter (ipv6Filter); diff --git a/src/traffic-control/model/fq-codel-queue-disc.cc b/src/traffic-control/model/fq-codel-queue-disc.cc index 06fd2ca0b..1dfa16b2a 100644 --- a/src/traffic-control/model/fq-codel-queue-disc.cc +++ b/src/traffic-control/model/fq-codel-queue-disc.cc @@ -105,7 +105,7 @@ TypeId FqCoDelQueueDisc::GetTypeId (void) StringValue ("5ms"), MakeStringAccessor (&FqCoDelQueueDisc::m_target), MakeStringChecker ()) - .AddAttribute ("Packet limit", + .AddAttribute ("PacketLimit", "The hard limit on the real queue size, measured in packets", UintegerValue (10 * 1024), MakeUintegerAccessor (&FqCoDelQueueDisc::m_limit), diff --git a/src/wifi/model/ampdu-tag.cc b/src/wifi/model/ampdu-tag.cc index fe3fc747f..52b193256 100644 --- a/src/wifi/model/ampdu-tag.cc +++ b/src/wifi/model/ampdu-tag.cc @@ -34,7 +34,7 @@ AmpduTag::GetTypeId (void) .SetParent () .SetGroupName ("Wifi") .AddConstructor () - .AddAttribute ("Ampdu Exists", "The value that indicates that the packet contains an AMPDU", + .AddAttribute ("AmpduExists", "The value that indicates that the packet contains an AMPDU", UintegerValue (false), MakeUintegerAccessor (&AmpduTag::GetAmpdu), MakeUintegerChecker ()) diff --git a/src/wifi/model/aparf-wifi-manager.cc b/src/wifi/model/aparf-wifi-manager.cc index 67488f8ef..639b689eb 100644 --- a/src/wifi/model/aparf-wifi-manager.cc +++ b/src/wifi/model/aparf-wifi-manager.cc @@ -62,12 +62,12 @@ AparfWifiManager::GetTypeId (void) .SetParent () .SetGroupName ("Wifi") .AddConstructor () - .AddAttribute ("SuccessThreshold 1", + .AddAttribute ("SuccessThreshold1", "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 ("SuccessThreshold2", "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 @@ AparfWifiManager::GetTypeId (void) 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 --git a/src/wifi/test/power-rate-adaptation-test.cc b/src/wifi/test/power-rate-adaptation-test.cc index 1c53e3858..f34569355 100644 --- a/src/wifi/test/power-rate-adaptation-test.cc +++ b/src/wifi/test/power-rate-adaptation-test.cc @@ -348,8 +348,8 @@ PowerRateAdaptationTest::TestAparf () /* * Configure thresholds for rate and power control. */ - manager->SetAttribute ("SuccessThreshold 1",UintegerValue (3)); - manager->SetAttribute ("SuccessThreshold 2",UintegerValue (10)); + manager->SetAttribute ("SuccessThreshold1",UintegerValue (3)); + manager->SetAttribute ("SuccessThreshold2",UintegerValue (10)); manager->SetAttribute ("FailThreshold",UintegerValue (1)); manager->SetAttribute ("PowerThreshold",UintegerValue (10));