rate is what you define in the traffic pattern file. or alternatively in
the CBR settings.

otherwise you can add more traces in the relevant routing algorithm and
look at the receive or send rate.

will this help?

Sasan




> Thank you Sasan!
>     Just one more question: how can I see the bit rate of the transmition?
>
> regards
> Luciana
>
> ----- Original Message -----
> From: "Sasan Sahraei" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Sent: Thursday, April 06, 2006 6:40 PM
> Subject: Re: [ns] What this code means?
>
>
>> Hi Luciana,
>>
>> SharedMedia interface with parameters:
>>
>> extracted from the header file:
>>
>> double freq_;           // frequency
>> double lambda_; // wavelength (m)
>> double L_; // system loss factor
>>
>> double RXThresh_; // receive power threshold (W)
>> double CSThresh_; // carrier sense threshold (W)
>> double CPThresh_; // capture threshold (db)
>>
>> double Pt_; // transmitted signal power (W)
>>
>> hope this helps,
>>
>> Sasan
>>>
>>>  Hi everybody!
>>>     I`m doing some tests with an old version of ns-2
>>> (ns-allinone-2.1b3),
>>>  and I don`t understand a part of tcl code and I could`n find the
>>>  meaning in ns manual. I think is because this ns version is old and
>>> the
>>>  manual is referring of new version. The code is following:
>>>
>>>  NetIf/SharedMedia set CPThresh_ 10.0
>>>  NetIf/SharedMedia set CSThresh_ 1.559e-11
>>>  NetIf/SharedMedia set RXThresh_ 3.652e-10
>>>  NetIf/SharedMedia set Rb_ 2.0e6
>>>  NetIf/SharedMedia set Pt_ 0.2818
>>>  NetIf/SharedMedia set freq_ 914e+6
>>>  NetIf/SharedMedia set L_ 1.0
>>>
>>>  I need to know the meaning of this sets (CPThresh_, CSThresh_,
>>> RXThresh_,
>>>  Rb_, Pt_, freq_, L_). I found that the Network Interface called Shared
>>>  Media now calls Phy/WirellesPhy.
>>>  These tests are in an Ad Hoc network, with a QoS protocol.
>>>
>>>  Another question: the same code could generate different results if
>>> runs
>>>  in differents computers?
>>>
>>>  I hope that someone could help me. Thanks a lot!
>>>
>>>  Regards
>>>  Luciana
>>>
>>>
>>
>>
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 5/4/2006
>>
>>
>
>


Reply via email to