Ok let us supose the Pt_ value is 0.282w . At that transmission power level
to have transmission range of 250m RxThreshold  3.65472e-10.If you take
carier sense range double the tx range ie 500m the csthresold will be
1.559e-11.

So set it like this


Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Pt_ 0.2818
These are the parameters u have to set at the starting of the  tcl script.
Best regards
Vinay

On Mon, Mar 24, 2008 at 7:15 PM, king kouka <[EMAIL PROTECTED]> wrote:

> hi
>   ok, suppose I run threshold.cc  as given by
> http://overegoz.tistory.com/668
>
>   in my tcl, I have created GOD for lot of nodes and have
>    $ns_ node-config -adhocRouting AODV \
>                                -phyType Phy/WirelessPhy \
>
>  so, how can I input the change into my ns.tcl script?????
>
>  Thanks
>
> ----- Message d'origine ----
> De : vinay kumar <[EMAIL PROTECTED]>
> À : king kouka <[EMAIL PROTECTED]>
> Cc : ns-user <[email protected]>
> Envoyé le : Lundi, 24 Mars 2008, 13h55mn 50s
> Objet : Re: [ns] change transmission range
>
>
> for changing the transmission range you need to change the RXThreshold
> value which indicates the receiver sesitivity.SO to get the value for that
> you can use ~/ns../indep-utils/propagation/threshold program.by using that
> you can get the value for of Rxthreshold and for carier sense threshold just
> use the the same thing with double the transmission range.
> Hope it will help you to some extent
>
> On Mon, Mar 24, 2008 at 5:55 PM, king kouka <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Hi all,
> >
> >  I want to change the transmission range for a specific work.... By
> > default, it is 250m and I want to have 1000m..... How to process????
> >
> >  regards
> >
> >
> >
> >  
> > _____________________________________________________________________________
> > Envoyez avec Yahoo! Mail. Capacité de stockage illimitée pour vos
> > emails. http://mail.yahoo.fr
> >
>
>
>
> ------------------------------
> Envoyé avec Yahoo! 
> Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52426/*http://fr.docs.yahoo.com/mail/overview/index.html>
> .
>
> Capacité de stockage illimitée pour vos emails.
>

Reply via email to