Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2011, 11:25 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
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)( 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.

Last edited by cendana; 07-12-2011 at 04:31 AM. Reason: first time not detail.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ioctl call for obtaining the RSSI saioha Linux - Wireless Networking 11 03-27-2012 11:47 AM
Getting the RSSI information in C aztroboy Linux - Wireless Networking 3 09-13-2011 02:29 AM
Building an ir receiver amishtechie Linux - Hardware 7 11-03-2007 06:50 PM
Where can I get an IR receiver for a remote control? xymian Linux - Hardware 1 05-26-2007 08:01 AM
MRTG trap receiver HiOctane21 Linux - Software 0 03-12-2007 04:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration