[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Re: 802.11 bandwidth
I guess you are calculating bandwidth the worng way...since for tcp
sources the actuall number of packets transmitted depend upon such things
as RTT, Drops at Queues etc.....
I would suggest that you trace the MAC 802.11 code and actually find out
where the bandwidth_ parameter isused and then what value is being used...
If you are unfamiliar with gdb or any other debugger, grep for bandwith_
in mac-802_11.{cc,h} and the insert printf statements before after these
places , remake and then try....
Hope this helps..
-Vikram
p.s:
another simple test would be to set the bandwidth to a VERY LOW value
(say 1bit/sec or something like that)....now your tarce should really
reflect some changes wrt packets sent/received...)..
> Hi Vikram..
>
> I tried it..
> doesn't work..
> could you let me know how are you calculating bandwidth.. I am trying to
> calculate BW by adding size of all tcp packets received in a minute..
>
> Regards,
> Gaurav.
>
> ----- Original Message -----
> From: "Vikram Kanodia" <[email protected]>
> To: "Gaurav Jain" <[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, April 04, 2001 11:15 AM
> Subject: Re: 802.11 bandwidth
>
>
> >
> > Hi Gaurav,
> >
> > Mac set bandwidth_ 1000000
> >
> > works for me.....(sets the bandwidth to 1Mb).....i have checked this by
> > actually tracing the code via gdb and seeing what value of bandwidth is
> > used for calculation of packet transmission times etc....
> >
> > The only problem is i am not sure whether we can do this since i think
> > that the physical layer parameters (time slot duration etc)...could be
> > linked to bandwidth...
> >
> > -Vikram
> >
> >
> > > Hi Vikram..
> > >
> > > I am facing the same problem as you are with the bandwidth of wireless
> nodes
> > > in 802.11
> > > I have not been able to find a solution to the problem either from the
> > > newsgroup or from various iterations of mine changing one parameter of
> the
> > > other..
> > >
> > > Do let me know if you have been any more successful with the same..
> > >
> > > Regards,
> > > Gaurav.
> > >
> > >
> >
> > --
> >
> > Department of ECE, Rice University | 713 348 3786 (O)| 713 664 5650(H)
> > WWW: http://www.ece.rice.edu/~kanodia
> >
>
>
>
--
Department of ECE, Rice University | 713 348 3786 (O)| 713 664 5650(H)
WWW: http://www.ece.rice.edu/~kanodia