[ns] how to change transmission power

2009-12-06 Thread jeni martin
hi guys   To change transmission power i did as following but no change:   1- add a field in hdr_cmn like double txpwr to save desired transmission power for every packet.   2- add this code in sendDown function in wireless-phy.cc to transmit packet as desired Pt_:       Pt_ =

[ns] How to change transmission power of a specific node in the middle of simulation run time or in protocol?

2009-03-31 Thread Mahshid Rahnama
Hi all, I am try to change transmission power of each node according to some parameters in my protocl, How can I set and adjust a node transmission power in simualtion run time? I know threshold -m propagation-model [other-options] distance and Phy/WirelessPhy set RXThresh_ value But I

Re: [ns] How to change transmission power of a specific node in the

2009-03-31 Thread simayeji
middle of simulation run time or in protocol? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_Part_15188_18936526.1238548965795 X-Originating-IP: [202.120.185.196] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2_snapshot build