From 5fc00356cf1ea2aa4eadca8d1950ba20693df942 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Mon, 17 Feb 2020 15:34:15 +0100 Subject: [PATCH] network: Move MaxSize attribute from QueueBase to derived classes --- CHANGES.html | 1 + src/network/doc/queue.rst | 10 +++++----- src/network/utils/drop-tail-queue.h | 6 ++++++ src/network/utils/queue.cc | 7 +------ .../examples/main-attribute-value.cc | 12 +++++------ src/test/ns3tcp/ns3tcp-state-test-suite.cc | 2 +- .../examples/codel-vs-pfifo-basic-test.cc | 2 +- src/traffic-control/examples/pfifo-vs-red.cc | 2 +- src/traffic-control/examples/red-vs-ared.cc | 3 ++- src/wifi/model/wifi-mac-queue.cc | 20 +++---------------- src/wifi/model/wifi-mac-queue.h | 13 ------------ 11 files changed, 27 insertions(+), 51 deletions(-) diff --git a/CHANGES.html b/CHANGES.html index 096ec9490..609d3082e 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -72,6 +72,7 @@ method to configure a specific ack policy selector for a given Access Category.< allows to choose between Block Ack policy and Implicit Block Ack Request policy and allows to request an acknowledgment after a configurable number of MPDUs have been transmitted. +
  • The MaxSize attribute is removed from the QueueBase base class and moved to subclasses. A new MaxSize attribute is therefore added to the DropTailQueue class, while the MaxQueueSize attribute of the WifiMacQueue class is renamed as MaxSize for API consistency.
  • Changes to existing API: