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

Re: [ns] assign transmitting power and range in ns2 2.1b8a



Stefan Rank wrote:
> 
> Hi,
> 
> from ns-default.tcl:
> 
> # Initialize the SharedMedia interface with parameters to make
> # it work like the 914MHz Lucent WaveLAN DSSS radio interface
> Phy/WirelessPhy set CPThresh_ 10.0
> Phy/WirelessPhy set CSThresh_ 1.559e-11
> Phy/WirelessPhy set RXThresh_ 3.652e-10
> Phy/WirelessPhy set bandwidth_ 2e6
> Phy/WirelessPhy set Pt_ 0.28183815
> Phy/WirelessPhy set freq_ 914e+6
> Phy/WirelessPhy set L_ 1.0
> Phy/WirelessPhy set debug_ false
> 
> ns-2.1b8a/indep-utils/propagation/threshold.cc might be interesting for
> you, too.
> 
> Stefan
> 
> Prashant Ratanchandani wrote:
> >
> > I have a feeling you can set up the power in the node config.Check it
> > out.
> >
> > p
> > Chih-Fan Hsin wrote:
> > >
> > > dear ns users,
> > >
> > > I want to run a wireless model simulation.
> > > However, I coun't find the place to assign the transmitting power and
> > > the transmitting range.
> > > Could anyone tell me where I can assign them and where I can know the
> > > consumed receiving and idle power?
> > >
> > > Thanks so much,
> > > Charles