RSSI value from receiver
Hi everybody,
I'm using NS2 2.33 and my research involved IEEE802.11 infrastructure network. Is it possible for me to obtain the RSSI value from the receiver? How can I go about it? How can I use the RSSI value to find the distance between the transceiver and the receiver using Friis free space equation? I tried to insert several lines: 1) (packet.h) double rssi; at struc hdr_cmn 2)(wireless-phy.cc) inside WirelessPhy::SendUp hdr_cmn*cmh = hdr_cmn::access(p) cmh->rssi = Pr; printf ("The rssi is : %f", cmh->rssi) after compile, I just got The rssi is :0.0000 Please give me some advice. Thanking you in advance. |
All times are GMT -5. The time now is 04:21 AM. |