A-MPDU Size Limit

59 views
Skip to first unread message

Sampath

unread,
Jul 27, 2017, 10:15:53 PM7/27/17
to ns-3-users
Hi Everyone,

I am trying to increase A-MSDU and A-MPDU sizes beyond the set values.
For example:

BE_MaxAmpduSize
  • Underlying type: uint32_t 0:65535
  • Initial value: 65535
Can I increase this beyond 65.5 kB?

I tried to edit the regular-wifi-mac.cc

.AddAttribute ("BE_MaxAmpduSize",
                   "Maximum length in bytes of an A-MPDU for AC_BE access class."
                   "Value 0 means A-MPDU is disabled for that AC.",
                   UintegerValue (65535),
                   MakeUintegerAccessor (&RegularWifiMac::SetBeMaxAmpduSize),
                   MakeUintegerChecker<uint32_t> (0, 131071)) //instead of 65565

Will this make any undesirable outcomes?

Thanks in advance!
Sampath

Konstantinos

unread,
Jul 28, 2017, 5:33:19 AM7/28/17
to ns-3-users
Hi,

Yes, it potentially will cause errors for overflows or undesirable results. 
You need to check where this variable is used and what other checks, e.g if it is used with 16-bit variables.

Regards
K

Sampath

unread,
Jul 30, 2017, 8:08:26 PM7/30/17
to ns-3-users
Hi Konstantinos,

The variable is uint32_t type. However it does not have an effect. I will go deeper into the implementation. 
Thank you!
Regards,
Sampath
Reply all
Reply to author
Forward
0 new messages