Vht-Capabilities: SetMaxMpduLength aborting if length = 11454
void VhtCapabilities::SetMaxMpduLength (uint16_t length) { NS_ABORT_MSG_IF (length != 3895 && length != 7991 && length == 11454, "Invalid MPDU Max Length value"); if (length == 11454) { m_maxMpduLength = 2; } else if (length == 7991) { m_maxMpduLength = 1; } else { m_maxMpduLength = 0; } }
The MaxAmpduLength can be 11454 bytes but the code is aborting the execution if length == 11454. Shouldn't it be length != 11454 ? Kindly review this.
Edited by Flying High