* Measure RSSI in adhoc networks
@ 2009-04-22 13:08 Kai Timmer
2009-04-22 23:18 ` Dan Williams
0 siblings, 1 reply; 8+ messages in thread
From: Kai Timmer @ 2009-04-22 13:08 UTC (permalink / raw)
To: linux-wireless
Hello,
I need to get the rssi values in an adhoc network from every available
node separately.
I noticed that on some of my devices, in a adhoc network, there are
all values set to 0. Some other devices are showing values. I am not
sure how to interpret this values. If there are more than 2 nodes in
the adhoc network, it has to be some kind of average value. Am I right
with this? And if yes, is there any way to get the rssi value for
every available node?
I am not sure if this is the right place to ask these questions, if it
is not, please redirect me to a more fitting place.
Greets,
--
Kai Timmer
Email : email@kait.de
Jabber: kai@kait.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Measure RSSI in adhoc networks
2009-04-22 13:08 Measure RSSI in adhoc networks Kai Timmer
@ 2009-04-22 23:18 ` Dan Williams
2009-04-23 10:36 ` Kai Timmer
0 siblings, 1 reply; 8+ messages in thread
From: Dan Williams @ 2009-04-22 23:18 UTC (permalink / raw)
To: Kai Timmer; +Cc: linux-wireless
On Wed, 2009-04-22 at 15:08 +0200, Kai Timmer wrote:
> Hello,
> I need to get the rssi values in an adhoc network from every available
> node separately.
> I noticed that on some of my devices, in a adhoc network, there are
> all values set to 0. Some other devices are showing values. I am not
> sure how to interpret this values. If there are more than 2 nodes in
> the adhoc network, it has to be some kind of average value. Am I right
> with this? And if yes, is there any way to get the rssi value for
> every available node?
You can only get an RSSI if there are other nodes in the network, and
then you get the RSSI of *that* node, as received by your node. You
can't measure your own RSSI, because RSSI = *Received* Signal Strength
Indicator, and you can't really receive your own traffic since you're
radiating tons of power on TX and that completely deafens the RX chain.
Not all drivers report RSSI in adhoc mode at this time. But even if
they did, they could only report RSSI when they receive a beacon or
traffic from some other node in the adhoc network, and that's pretty
useless because it doesn't give you a general quality of the "network",
it gives you a specific quality of the radio path between two points in
the network.
Dan
> I am not sure if this is the right place to ask these questions, if it
> is not, please redirect me to a more fitting place.
>
> Greets,
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Measure RSSI in adhoc networks
2009-04-22 23:18 ` Dan Williams
@ 2009-04-23 10:36 ` Kai Timmer
2009-04-23 10:45 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Kai Timmer @ 2009-04-23 10:36 UTC (permalink / raw)
To: Dan Williams; +Cc: linux-wireless
2009/4/23 Dan Williams <dcbw@redhat.com>:
> You can only get an RSSI if there are other nodes in the network, and
> then you get the RSSI of *that* node, as received by your node. =C2=A0=
You
> can't measure your own RSSI, because RSSI =3D *Received* Signal Stren=
gth
> Indicator, and you can't really receive your own traffic since you're
> radiating tons of power on TX and that completely deafens the RX chai=
n.
Ok, that was clear to me. I don't know where you read that i want my
own RSSI? That would just make no sense.
> Not all drivers report RSSI in adhoc mode at this time. =C2=A0But eve=
n if
> they did, they could only report RSSI when they receive a beacon or
> traffic from some other node in the adhoc network, and that's pretty
> useless because it doesn't give you a general quality of the "network=
",
> it gives you a specific quality of the radio path between two points =
in
> the network.
Maybe i should point out, what i am trying to do :)
I need the RSSI values for distance measurements between the nodes. So
what i need is not a "quality value" for the whole network, but the
recieved mW from every reachable point in the network. So i think the
RSSI value for every network node (if i can print them out seperatly)
should do the job.
Greets,
--=20
Kai Timmer
Email : email@kait.de
Jabber: kai@kait.de
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Measure RSSI in adhoc networks
2009-04-23 10:36 ` Kai Timmer
@ 2009-04-23 10:45 ` Johannes Berg
2009-04-23 11:39 ` Kai Timmer
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2009-04-23 10:45 UTC (permalink / raw)
To: Kai Timmer; +Cc: Dan Williams, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
On Thu, 2009-04-23 at 12:36 +0200, Kai Timmer wrote:
> I need the RSSI values for distance measurements between the nodes.
Note that is very unreliable...
> So
> what i need is not a "quality value" for the whole network, but the
> recieved mW from every reachable point in the network. So i think the
> RSSI value for every network node (if i can print them out seperatly)
> should do the job.
iw dev wlan0 station dump
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Measure RSSI in adhoc networks
2009-04-23 10:45 ` Johannes Berg
@ 2009-04-23 11:39 ` Kai Timmer
2009-04-28 0:52 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Kai Timmer @ 2009-04-23 11:39 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
2009/4/23 Johannes Berg <johannes@sipsolutions.net>:
> On Thu, 2009-04-23 at 12:36 +0200, Kai Timmer wrote:
>
>> I need the RSSI values for distance measurements between the nodes.
>
> Note that is very unreliable...
I know, it is a work for my diploma thesis. I'm trying to combine it
with some kind of round trip time measurements. It is in the very
early stages,...
>> So
>> what i need is not a "quality value" for the whole network, but the
>> recieved mW from every reachable point in the network. So i think the
>> RSSI value for every network node (if i can print them out seperatly)
>> should do the job.
>
> iw dev wlan0 station dump
That works on my laptop, but on not on my Openmoko Freerunner devices.
There I get the following:
runner1:~# iw dev eth1 station dump
nl80211 not found.
I assume that something with the freerunner wireless driver is not
compatible with the linux wireless stack. The driver is called
"ar6000".
Greets,
--
Kai Timmer
Email : email@kait.de
Jabber: kai@kait.de
Blog: http://blog.kaitimmer.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Measure RSSI in adhoc networks
2009-04-23 11:39 ` Kai Timmer
@ 2009-04-28 0:52 ` Luis R. Rodriguez
2009-04-28 7:59 ` Kai Timmer
0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2009-04-28 0:52 UTC (permalink / raw)
To: Kai Timmer; +Cc: Johannes Berg, linux-wireless
On Thu, Apr 23, 2009 at 4:39 AM, Kai Timmer <email@kait.de> wrote:
> 2009/4/23 Johannes Berg <johannes@sipsolutions.net>:
>> On Thu, 2009-04-23 at 12:36 +0200, Kai Timmer wrote:
>>
>>> I need the RSSI values for distance measurements between the nodes.
>>
>> Note that is very unreliable...
>
> I know, it is a work for my diploma thesis. I'm trying to combine it
> with some kind of round trip time measurements. It is in the very
> early stages,...
>
>>> So
>>> what i need is not a "quality value" for the whole network, but the
>>> recieved mW from every reachable point in the network. So i think the
>>> RSSI value for every network node (if i can print them out seperatly)
>>> should do the job.
>>
>> iw dev wlan0 station dump
>
> That works on my laptop, but on not on my Openmoko Freerunner devices.
> There I get the following:
>
> runner1:~# iw dev eth1 station dump
> nl80211 not found.
>
> I assume that something with the freerunner wireless driver is not
> compatible with the linux wireless stack. The driver is called
> "ar6000".
The ar6000 driver uses wext and not cfg80211 which all new shiny
mac80211 drivers use. The command Johannes gave you was for cfg80211
devices.
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-04-28 8:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 13:08 Measure RSSI in adhoc networks Kai Timmer
2009-04-22 23:18 ` Dan Williams
2009-04-23 10:36 ` Kai Timmer
2009-04-23 10:45 ` Johannes Berg
2009-04-23 11:39 ` Kai Timmer
2009-04-28 0:52 ` Luis R. Rodriguez
2009-04-28 7:59 ` Kai Timmer
2009-04-28 8:58 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox