wifi: Set correct max A-MPDU size for HE PPDUs

This commit is contained in:
Sharan Naribole
2021-06-16 17:31:25 +02:00
committed by Stefano Avallone
parent 0bde83553b
commit 5767159db8

View File

@@ -920,32 +920,32 @@ RegularWifiMac::GetTypeId (void)
MakeUintegerChecker<uint16_t> (0, 11398))
.AddAttribute ("VO_MaxAmpduSize",
"Maximum length in bytes of an A-MPDU for AC_VO access class "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 8388607 for HE PPDUs). "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 6500631 for HE PPDUs). "
"Value 0 means A-MPDU aggregation is disabled for that AC.",
UintegerValue (0),
MakeUintegerAccessor (&RegularWifiMac::m_voMaxAmpduSize),
MakeUintegerChecker<uint32_t> ())
MakeUintegerChecker<uint32_t> (0, 6500631))
.AddAttribute ("VI_MaxAmpduSize",
"Maximum length in bytes of an A-MPDU for AC_VI access class "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 8388607 for HE PPDUs). "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 6500631 for HE PPDUs). "
"Value 0 means A-MPDU aggregation is disabled for that AC.",
UintegerValue (65535),
MakeUintegerAccessor (&RegularWifiMac::m_viMaxAmpduSize),
MakeUintegerChecker<uint32_t> ())
MakeUintegerChecker<uint32_t> (0, 6500631))
.AddAttribute ("BE_MaxAmpduSize",
"Maximum length in bytes of an A-MPDU for AC_BE access class "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 8388607 for HE PPDUs). "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 6500631 for HE PPDUs). "
"Value 0 means A-MPDU aggregation is disabled for that AC.",
UintegerValue (65535),
MakeUintegerAccessor (&RegularWifiMac::m_beMaxAmpduSize),
MakeUintegerChecker<uint32_t> ())
MakeUintegerChecker<uint32_t> (0, 6500631))
.AddAttribute ("BK_MaxAmpduSize",
"Maximum length in bytes of an A-MPDU for AC_BK access class "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 8388607 for HE PPDUs). "
"(capped to 65535 for HT PPDUs, 1048575 for VHT PPDUs, and 6500631 for HE PPDUs). "
"Value 0 means A-MPDU aggregation is disabled for that AC.",
UintegerValue (0),
MakeUintegerAccessor (&RegularWifiMac::m_bkMaxAmpduSize),
MakeUintegerChecker<uint32_t> ())
MakeUintegerChecker<uint32_t> (0, 6500631))
.AddAttribute ("VO_BlockAckThreshold",
"If number of packets in VO queue reaches this value, "
"block ack mechanism is used. If this value is 0, block ack is never used."