[Ns-developers] 802.11 CW growth
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Tue Feb 24 05:36:24 PST 2009
thanks for the bug, patch, and comment:
http://www.nsnam.org/bugzilla/show_bug.cgi?id=509
applied now.
Mathieu
On Tue, 2009-02-24 at 08:27 +0100, Mathieu Lacage wrote:
> reporting a bug with a patch in bugzilla would be great :)
>
> On Mon, 2009-02-23 at 11:14 +0100, Timo Bingmann wrote:
> > Hello guys,
> >
> > >From dcf-manager.cc:
> > void
> > DcfState::UpdateFailedCw (void)
> > {
> > uint32_t cw = m_cw;
> > cw *= 2;
> > cw = std::min (m_cwMax, cw);
> > m_cw = cw;
> > }
> >
> > Am I mistaken or is there a +1 missing here?
> > I believe newCW = min(maxCW, 2 * (oldCW + 1) - 1)
> > = min(maxCW, 2 * oldCW + 1)
> >
> > The usual CW sequence should be 7, 15, 31, 63, ...
> >
> > Greetings
> > Timo
> >
>
More information about the Ns-developers
mailing list