[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] bitrate of wireless nodes
> > I have played with the bitrate_ variable and noticed a decreased number
> > of collisions when the bitrate_ was increased.
> > You can also see in ~ns/wireless-phy.cc that the variable is used when
> > packet transmission times are calculated.
> > This insinuates that the variable should have at least some affect.
> > /Dan
>
> [Neundorf Alexander]
>
> I can't find any variable named "bitrate_" in any *.h, *.cc nor *.tcl file
> in the whole ns-source tree. Are you sure you didn't mean bandwidth_ ? I
> used a LossMonitor to calculate the current received bitrate, and this
> didn't change when I changed bandwidth_ in tcl/lib/ns-default.tcl. With
> bandwidth==2e6 and bandwidth==1000 I had in both cases a received bitrate
> of approx. 0.9 MBit/sec.
>
> Bye
> Alex
Sorry, of course you are right, replace bitrate_ with bandwidth_ .
/Dan