[ns] how to change the transmit power in mac-802-11.cc
word at osdp.is.tsukuba.ac.jp
Mon May 17 00:22:47 PDT 2004
thanks for answer.
I want to control the transmit power during the sending procedure. I try to
add some code in
I know using netif_ , it can get the pointer to the Phy layer, but I want to
get the wirelessPhy pointer, I do not know how to get it yet.
but I think it may the form of :
Can someone have used it,please tell me.
----- Original Message -----
From: "Kenneth Nielsen" <kenneth at daimi.au.dk>
To: "word" <word at osdp.is.tsukuba.ac.jp>; <ns-users at ISI.EDU>
Sent: Monday, May 17, 2004 3:51 PM
Subject: Re: [ns] how to change the transmit power in mac-802-11.cc
> # Power vs. Range
> # Assume AT&T's Wavelan PCMCIA card -- Chalermek
> # Pt_ = 8.5872e-4; // For 40m transmission range.
> # Pt_ = 7.214e-3; // For 100m transmission range.
> # Pt_ = 0.2818; // For 250m transmission range.
> # Pt_ = pow(10, 2.45) * 1e-3; // 24.5 dbm, ~ 281.8mw
> Phy/WirelessPhy set Pt_ 8.5872e-4
> Kenneth Nielsen
> ----- Original Message -----
> From: "word" <word at osdp.is.tsukuba.ac.jp>
> To: <ns-users at ISI.EDU>
> Sent: Monday, May 17, 2004 2:32 AM
> Subject: [ns] how to change the transmit power in mac-802-11.cc
> > I can not find the way to visit the transmit power in mac-802-11.cc,
> > who can tell me.thanks.
More information about the Ns-users