How to change transmission power ?

18 views
Skip to first unread message

Łukasz Jop

unread,
Nov 17, 2017, 8:34:26 PM11/17/17
to ns-3-users
Hello,
I have to modify transmission power of APs and STAs im my network. 
1) only APs 
2) only STAs
3) both 
I found sth like this: 
phy.Set ("TxPowerStart", DoubleValue (10.0) ); phy.Set ("TxPowerEnd", DoubleValue (10.0) )
but, I found that those lines are changing all of transmisions powers in network. 
Is it correct or no ? Could you help me ? 
Lucas 

Łukasz Jop

unread,
Nov 18, 2017, 3:34:18 PM11/18/17
to ns-3-users
Up

Tommaso Pecorella

unread,
Nov 18, 2017, 6:31:37 PM11/18/17
to ns-3-users
Down. Read the posting guidelines.

About the question, you have to use the pointer to the node's Phy, not the one of the helper.

T.
Reply all
Reply to author
Forward
0 new messages