[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Why var "bandwidth_" in class Mac can't change through t he simula tion





-----Original Message-----
From: ext Neundorf Alexander
[mailto:[email protected]]
Sent: 14. September 2001 15:20
To: '[email protected]'; [email protected]
Subject: RE: [ns] Why var "bandwidth_" in class Mac can't change through
t he simula tion 




--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org

> -----Original Message-----
> From:	[email protected] [SMTP:[email protected]]
> Sent:	Thursday, September 13, 2001 10:19 AM
> To:	[email protected]
> Subject:	[ns] Why var "bandwidth_" in class Mac can't change through
the simula tion 
> 
> Hi,all:
>       I want to create two BS with different bitrates. I've tried to set
> "bandwidth_" either in c++ or in TCl. 
> But it doesn't work. It seems that the variable is set at the very
beginning
> of a simulation and can't change 
> even in different objects of mac/mac802.11 class.
> 
	What do you weant to achieve with this ?
	It won't change the bitrate, at least if I remember correctly, I
tried the same. Very strange code....

	Bye
	Alex

  It does very strange. If you change it in c++,the bitrate won't change. If
change in TCL,ns only remembers the last change.