LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-11-2011, 12:25 AM   #1
cendana
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)(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.

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


Reply


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 12:47 PM
Getting the RSSI information in C aztroboy Linux - Wireless Networking 3 09-13-2011 03:29 AM
Building an ir receiver amishtechie Linux - Hardware 7 11-03-2007 07:50 PM
Where can I get an IR receiver for a remote control? xymian Linux - Hardware 1 05-26-2007 09:01 AM
MRTG trap receiver HiOctane21 Linux - Software 0 03-12-2007 05:02 PM


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

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