All of lore.kernel.org
 help / color / mirror / Atom feed
* How to get RSSI periodically
@ 2014-07-24 15:25 Jean-Marie Lemetayer
  2014-07-24 16:00 ` Dan Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Marie Lemetayer @ 2014-07-24 15:25 UTC (permalink / raw)
  To: linux-wireless

Hi,

I am looking for a way to get the RSSI of the SELECTED network with
the wpa_supplicant (2.1). To update periodically the status connection
icon of my app.

I known that I can get it with the command: 'bss <bssid>' but it seems
that this information is updated only when perform a scan.

Have I miss something simpler than doing a background scan on the freq
of the SELECTED network ?

Regards,
Jean-Marie Lemetayer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get RSSI periodically
  2014-07-24 15:25 How to get RSSI periodically Jean-Marie Lemetayer
@ 2014-07-24 16:00 ` Dan Williams
  2014-07-24 16:17   ` Jean-Marie Lemetayer
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Williams @ 2014-07-24 16:00 UTC (permalink / raw)
  To: Jean-Marie Lemetayer; +Cc: linux-wireless

On Thu, 2014-07-24 at 17:25 +0200, Jean-Marie Lemetayer wrote:
> Hi,
> 
> I am looking for a way to get the RSSI of the SELECTED network with
> the wpa_supplicant (2.1). To update periodically the status connection
> icon of my app.
> 
> I known that I can get it with the command: 'bss <bssid>' but it seems
> that this information is updated only when perform a scan.
> 
> Have I miss something simpler than doing a background scan on the freq
> of the SELECTED network ?

Try the SIGNAL_POLL control interface command (called "signal_poll" for
wpa_cli).

Dan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get RSSI periodically
  2014-07-24 16:00 ` Dan Williams
@ 2014-07-24 16:17   ` Jean-Marie Lemetayer
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Marie Lemetayer @ 2014-07-24 16:17 UTC (permalink / raw)
  To: Dan Williams; +Cc: linux-wireless

It looks great! The AVG_RSSI is all I need. Thanks

2014-07-24 18:00 GMT+02:00 Dan Williams <dcbw@redhat.com>:
> On Thu, 2014-07-24 at 17:25 +0200, Jean-Marie Lemetayer wrote:
>> Hi,
>>
>> I am looking for a way to get the RSSI of the SELECTED network with
>> the wpa_supplicant (2.1). To update periodically the status connection
>> icon of my app.
>>
>> I known that I can get it with the command: 'bss <bssid>' but it seems
>> that this information is updated only when perform a scan.
>>
>> Have I miss something simpler than doing a background scan on the freq
>> of the SELECTED network ?
>
> Try the SIGNAL_POLL control interface command (called "signal_poll" for
> wpa_cli).
>
> Dan
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-24 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-24 15:25 How to get RSSI periodically Jean-Marie Lemetayer
2014-07-24 16:00 ` Dan Williams
2014-07-24 16:17   ` Jean-Marie Lemetayer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.