Re: [ns] Obtaining SNR value

2006-11-09 Thread Guillermo Biot
NS2 doesn't simulate SNR, it is based in thresholds. If the signal at the receiver is weaker than CSThresh_ the packet will be discarded at the physical layer, if the signal is weaker than RxThresh_ the packet will be marked as corrupted (error flag = 1) by the physical layer and send to the mac

[ns] Obtaining SNR value

2006-11-08 Thread Piyush Agrawal
Hi, How can I obtain the SNR value at a node during the simulation from the C++ code? I need this to simulate a link adaptation algorithm. TIA, Piyush -- Piyush Agrawal 4th Year Undergraduate Student, Department of Computer Science Engineering, IIT Kanpur, India Homepage: