Hi,

NS doesn't model at 100% the real world. For example you some of the 
802.11 frames (i.e management and some control frames) aren't even 
implemented under NS (but I know that some work is being done to provide 
a more accurate 802.11 implementation). This is the case too for the 
phys layer and the propagation. Just keep in mind that you won't get a 
100% representation of the real world.

Now concerning the RX,Rb,Pt and CP parameters, I really didn't have the 
chance to play with them so that I can't provide a full answer (some 
people may, just keep asking) to your question. However, the best 
reference to answer your question is the source code of the involved 
components, namely Phy/WirelessPhy, Propagation/TwoRayGround and 
Antenna/OmniAntenna.

Regards,
Ilyes Gouta.

hamid reza wrote:
> Dear Mr.Gouta,
> I dont want to Emulate WLAN card with NS2,
> I only Want to Match Between WLAN Specifications
> and NS2 Parameters To show if we use NS2 as our
> Simulator, NS2 show my these proposed results?
> May be in real world we cant see this Result.
> As you Told me
>> You have to make sure which model your real
>  WLAN card uses and  check if it really complies with 
>  the model  implemented in NS (it will hardly match).
> <
> But I Suppose that WLAN Support NS2 Model.
> In my mind i think 
> Phy/WirelessPhy set CSThresh_ 
> Equal with Reciever Sensivity 
> 
> But How Can i Catch RX,Rb,Pt,CP?
> 
> 
> Best Regards
> Hamid.R Afrancheh
> 
> 
> 
> 
> --- Ilyes Gouta <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> Emulating a real card on NS is pretty hard actually
>> since in
>> real-life, the WLAN card would change dynamically
>> it's transmission
>> power and RX/CS Thresholds during an association
>> with an access point.
>> Let's assume that you got the different parameters
>> then you could use
>> them within NS by altering values in a TCL script
>> like:
>>
>> Phy/WirelessPhy set CPThresh_
>> Phy/WirelessPhy set CSThresh_
>> Phy/WirelessPhy set RXThresh_
>> Phy/WirelessPhy set Rb_
>> Phy/WirelessPhy set Pt_
>> Phy/WirelessPhy set freq_
>>
>> These parameters are implementation-dependent
>> (Phy/Wireless in our
>> case). You have to make sure which model your real
>> WLAN card uses and
>> check if it really complies with the model
>> implemented in NS (it will
>> hardly match).
>>
>> To get those values from a real card you should
>> check first if its
>> driver exports them. Try looking inside /proc or use
>> the
>> iw{list|config|priv|...} commands to see if you can
>> get that
>> information. It depends heavily on the hardware and
>> the driver.
>>
>> Regards,
>> Ilyes Gouta.
>>
>> On 4/29/06, hamid reza <[EMAIL PROTECTED]> wrote:
>>> Thanks For your response,
>>> and sorry if i send this email to you personally.
>>> I asked this question on NS Users Room and it
>> seems
>>> You have a good information about it.
>>> My Question :
>>> We have a tech spec for special WLAN Card.
>>> How can I convert its specifications to NS2
>>> Parameters?
>>> Example How can I retrieve CSThresh_ and Pt_ and
>> ...
>>> From a spec tech on special WLAN Card.
>>>
>>> Best Regards
>>> Hamid Reza
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>>> http://mail.yahoo.com
>>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Reply via email to