[ns] Adapting Transmission Power (Pt_) of a node in C++

2014-05-26 Thread Abdul Waheed Khan

Dear All,

I am working on Network layer in NS2.35. I am trying to adjust a single 
node's transmission power (Pt_) based on distance to destination node. 
To do it in TCL, it's pretty easy but when I try in C++, it doesn't 
work.

I will appreciate any possible help.
Thanks,
 
Abdul Waheed Khan 
 
PhD Scholar @ UTM, Malaysia


[ns] Wifi transmission power

2012-09-24 Thread Rafael P B Mota

Is there any way to restrict the transmit power (to lower the range) of
wifi nodes ? How can I configure this ?
In my cenario, the wifi nodes have a large range, but I am simulating RFID
tags, so I need to limitate the range.

Thanks

-- 

Rafael Perazzo B Mota
r pera...@ime.usp.brafaelpera...@gmail.com
Web-page: https://sites.google.com/site/rafaelperazzo/
Doutorando em Ciência da Computação
Universidade de São Paulo (USP)
Campus da Capital
Instituto de Matemática e estatística (IME)
--


Re: [ns] change transmission power in ns

2012-04-15 Thread CHALIDA

How to set related parameter correctly?Please kindly help

Best Regards

On Wed, Apr 11, 2012 at 7:00 PM, CHALIDA teddypa...@gmail.com wrote:

 Dear all,
 do you know how to change an tranmitted power in ns2?If i change it,any
 other parameters have to change also i.e range threshold?

 Best Regards
 chalida




Re: [ns] for transmission power

2010-11-24 Thread alizey Khan

Dear Dhara,


To let the packet sent by N1 be received by N2, u need to adjust the values of 
Pt_ and RxThresh_ depending upon the distance between the two nodes. U can get 
the value of RxThresh_ using a utility shipped with NS2 in a folder named as 
indep_utils and the utility name is threshold.cc. Refere to some ns tutorial 
for 
its usage.
As far as value of Pt_ is concerned, i myself is looking for it i.e. how to 
compute its value for certain distance (SO if u get to know from somewhere how 
to compute that, do letme know too).

By default in NS2, communication range of nodes is 250m and the corresponding 
values for Pt_ and RxThresh_ are 0.2818W and 3.625e-10W respectively.

Goodluck!



From: Dhara Buch dharab...@yahoo.com
To: ns-users@ISI.EDU
Sent: Tue, November 23, 2010 5:09:22 PM
Subject: Re: [ns] for transmission power


Hello,
   I want to create a wormhole link. For that, two nodes N1 and N2 have been 
positioned far away from each other. What transmission and receiver power or 
some other properties do I need to set for making the packet sent by N1 to 
reach 

at N2?
  Thank You,
Dhara Buch


  


Re: [ns] for transmission power

2010-11-23 Thread Dhara Buch

Hello,
   I want to create a wormhole link. For that, two nodes N1 and N2 have been 
positioned far away from each other. What transmission and receiver power or 
some other properties do I need to set for making the packet sent by N1 to 
reach 
at N2?
  Thank You,
Dhara Buch



  


[ns] AP transmission power in wifi network

2010-04-05 Thread Rafiza Ruslan

Hi people,

I'm Rafiza and I am new to NS2. I am interested on Wi-Fi Load balancing and
plan to develop an algorithm by making some adjustment on the AP
transmission power.
If you don't mind, I need to ask you some questions. My question is, where
and what module in NS2 that are related to my area of interest?

and should I use ns-2 or ns-3?

Thanking you in advance.

Regards,
Rafiza.


[ns] change transmission power

2009-12-12 Thread jeni martin

hi all,
 
i want to change my transmission range, one time i run my scenario with:
 
Phy/WirelessPhy set Pt_ 0.2818  //250 meter
 
another time, with 
 
Phy/WirelessPhy set Pt_ 8.5872e-4   //40 meter
 
 
but no change in results.
 
that the other values are fixed:
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10

Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set freq_ 914e+6 
Phy/WirelessPhy set L_ 1.0

whats the problem? do i miss something?
could anyone give me a step by step procedure to change the transmission power?

 


  


Re: [ns] Fw: transmission power change for one node only

2009-05-01 Thread qweq adcsad


Configure and creat that node separately in your TCL script. Configure it 
according to ur desirable parameters.

 configure and create the rest nodes alltogether if they have same properties.




--- On Thu, 4/30/09, Arslan Munir munir.ars...@yahoo.com wrote:

 From: Arslan Munir munir.ars...@yahoo.com
 Subject: [ns] Fw: transmission power change for one node only
 To: ns-users@ISI.EDU
 Date: Thursday, April 30, 2009, 8:41 PM
 Just forwarding it again as I was not sure whether sent or
 not as I am not getting the email that I send to ns-users.
 
 
 
 - Forwarded Message 
 From: Arslan Munir munir.ars...@yahoo.com
 To: ns-users@ISI.EDU
 Sent: Wednesday, April 29, 2009 9:15:19 PM
 Subject: transmission power change for one node only
 
 
 Hi all,
 
 Does any body know how to change the transmission power Pt_
 for only one node? For all the nodes, we can set it using
 set Pt_ desiredvalue. Please let me know if any
 body knows how to do it for only single node. Thanks!
 
 Regards,
 Arslan


  



[ns] Fw: transmission power change for one node only

2009-04-30 Thread Arslan Munir

Just forwarding it again as I was not sure whether sent or not as I am not 
getting the email that I send to ns-users.



- Forwarded Message 
From: Arslan Munir munir.ars...@yahoo.com
To: ns-users@ISI.EDU
Sent: Wednesday, April 29, 2009 9:15:19 PM
Subject: transmission power change for one node only


Hi all,

Does any body know how to change the transmission power Pt_ for only one node? 
For all the nodes, we can set it using set Pt_ desiredvalue. Please let me 
know if any body knows how to do it for only single node. Thanks!

Regards,
Arslan


  


[ns] Fwd: transmission power control

2009-04-13 Thread Ojwang

-- Forwarded message --
From: Ojwang ojwang...@gmail.com
Date: Sun, Apr 12, 2009 at 7:39 PM
Subject: transmission power control
To: ns-users@isi.edu, ns-users-requ...@isi.edu


Hi all,
Anybody who has any code (modifications to ns2 source codes) for
transmission power control in a wireless network or any idea where I can get
help. I was trying to do in .tcl but getting same results.Any help will be
appreciated.
-- 
Kind Regards


Ojwang DO





-- 
Kind Regards


Ojwang DO



[ns] Changing transmission power too often

2009-01-27 Thread fhg07

Well, I want to change my transmission power very constantly, but I am not
managing to do so. Aparently, after some changes its value just stop being
updated. Here is what I am doing to change it:

In my tcl code:
 61set phy_($i) [$node_($i) set netif_(0)]
In my C++ code:
 52   tcl.evalf($phy_(%d) set Pt_ %f,a_-myaddr,Pt_array[tt]);

Some of the first changes do really occur, but from a point, the rest of
them do not take effect at all, and I do not know how to manage to change
it often.

Anyone have a suggestion?



Thanks,
-- 
Fernando Henrique Gielow - UFPR - NR2
Computer Science graduation student.



[ns] Multiple transmission power settings

2008-01-30 Thread Tae Dempsey

Dear ns-users,

I have a simulation scenario setup with two wireless networks -- one network
is running the DSR protocol and the other is running AODV in promiscuous
mode. Is there a way to adjust the settings in ns2 so that the AODV nodes
can transmit farther and faster than the DSR nodes? And which settings get
adjusted? Essentially there will be two settings: one for DSR and one for
AODV nodes.




Thank you.


[ns] Packet Transmission Power control

2007-12-30 Thread jeff

Hi all,

 

I am new to Ns-2. I am interested in implementing the simple power

control scheme. i.e. RTS/CTS are transmitted at highest power and the

Data/ Ack are transmitted at desired power calculated with the exchange

of RTS/CTS. 

 

If so I have to change the C++ code for which I am not sure where and

what changes to make?

Any hints will be appreciated and if someone has done please guide me.

 

And I have read the [ns] [PATCH] Per Packet Transmission Power this article 

 

And change the file the above mentioned, but I found that my receiver can't
receive anything

Did anyone use the same method above and can give me some hint.

Best Regards,

 

 

Jeff

 

 

 



[ns] Tuning transmission power

2007-05-30 Thread Francesca Martelli

Hi all,

I'm a (very)new user of ns2. I have to implement a mac protocol based on 
csma which is able to change the transmission power (and so the 
transmission range) dynamically. Can I do it by simply putting tcl 
commands such as the following one?

$ns at 0.2 $node_(0) set TxPower_ 8.5872e-4

If not, I have to change the c++ code of ns2 in some way?
I have read a lot of manuals and tutorials, but I didn't understand what 
I have to do..

Thank you in advance for the help
francesca