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 layer.

For SNR support in 802.11 check http://www.tlc-networks.polito.it/fiore/

Guillermo


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: http://www.cse.iitk.ac.in/users/piyushag

Reply via email to