wifi: Raise default BlockAck buffer size to max value allowed by supported standard

This commit is contained in:
Stefano Avallone
2023-08-14 16:44:35 +02:00
parent 2f624efd38
commit d0259ceb99
3 changed files with 3 additions and 3 deletions

View File

@@ -51,8 +51,6 @@ void
BlockAckAgreement::SetBufferSize(uint16_t bufferSize)
{
NS_LOG_FUNCTION(this << bufferSize);
NS_ASSERT(bufferSize <= 256);
NS_ASSERT(bufferSize % 16 == 0);
m_bufferSize = bufferSize;
}

View File

@@ -125,7 +125,7 @@ WifiMac::GetTypeId()
"The size (in number of MPDUs) of the buffer used for each BlockAck "
"agreement in which this node is a recipient. The provided value is "
"capped to the maximum allowed value based on the supported standard.",
UintegerValue(64),
UintegerValue(1024),
MakeUintegerAccessor(&WifiMac::GetMpduBufferSize, &WifiMac::SetMpduBufferSize),
MakeUintegerChecker<uint16_t>(1, 1024))
.AddAttribute("VO_MaxAmsduSize",

View File

@@ -156,6 +156,8 @@ EmlsrOperationsTestBase::DoSetup()
RngSeedManager::SetRun(2);
int64_t streamNumber = 100;
Config::SetDefault("ns3::WifiMac::MpduBufferSize", UintegerValue(64));
NodeContainer wifiApNode(1);
NodeContainer wifiStaNodes(m_nEmlsrStations);