linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* signal quality names
@ 2007-11-23  2:49 bruno randolf
  2007-11-26 23:49 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: bruno randolf @ 2007-11-23  2:49 UTC (permalink / raw)
  To: linux-wireless; +Cc: Larry.Finger

On Sun Apr 15 06:22:46 CEST 2007 Larry Finger wrote:
> The variables in mac80211 are confusing and should be renamed; however,
> that may take, some time to reach a consensus. 

this was seven month ago. has there been any consensus reached?

the current names are very misleading:

/**
 * struct ieee80211_rx_status - receive status
 * [...]
 * @ssi: signal strength when receiving this frame
 * @signal: used as 'qual' in statistics reporting
 * @noise: PHY noise when receiving this frame

no units are specified. so this increases the confusion we have already 
because of poorly defined wireless extensions. please let's not repeat this 
mistake and let's try to standardize the reporting of signal and noise values 
across drivers at least up to mac80211.

i see that most of the drivers already try to report signal and noise ('ssi' 
and 'noise' according to the current naming) in dBm values and calculate a 
quality percentage (current name: 'signal') based on different factors.

so may i suggest to use variable names like

signal_dbm
noise_dbm

then? or leave them as 'signal' and 'noise' and make it clear in the kerneldoc 
that we expect dBm.

if there are drivers which cannot convert their internal values into dBm, we 
could provide an alternative 'ssi' (or similar, positive, unit-less, 
un-defined) to allow for that and handle the differences in reporting (to 
wext and for the radiotap headers) inside mac80211.

and could we move the quality calculation up into mac80211 to have consistency 
and comparable values across drivers?

i am willing to do the work.

bruno

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

* Re: signal quality names
  2007-11-23  2:49 signal quality names bruno randolf
@ 2007-11-26 23:49 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2007-11-26 23:49 UTC (permalink / raw)
  To: bruno randolf; +Cc: linux-wireless, Larry.Finger

On Nov 22, 2007 9:49 PM, bruno randolf <bruno@thinktube.com> wrote:
> On Sun Apr 15 06:22:46 CEST 2007 Larry Finger wrote:
> > The variables in mac80211 are confusing and should be renamed; however,
> > that may take, some time to reach a consensus.
>
> this was seven month ago. has there been any consensus reached?
>
> the current names are very misleading:
>
> /**
>  * struct ieee80211_rx_status - receive status
>  * [...]
>  * @ssi: signal strength when receiving this frame
>  * @signal: used as 'qual' in statistics reporting
>  * @noise: PHY noise when receiving this frame
>
> no units are specified. so this increases the confusion we have already
> because of poorly defined wireless extensions. please let's not repeat this
> mistake and let's try to standardize the reporting of signal and noise values
> across drivers at least up to mac80211.
>
> i see that most of the drivers already try to report signal and noise ('ssi'
> and 'noise' according to the current naming) in dBm values and calculate a
> quality percentage (current name: 'signal') based on different factors.
>
> so may i suggest to use variable names like
>
> signal_dbm
> noise_dbm
>
> then? or leave them as 'signal' and 'noise' and make it clear in the kerneldoc
> that we expect dBm.
>
> if there are drivers which cannot convert their internal values into dBm, we
> could provide an alternative 'ssi' (or similar, positive, unit-less,
> un-defined) to allow for that and handle the differences in reporting (to
> wext and for the radiotap headers) inside mac80211.
>
> and could we move the quality calculation up into mac80211 to have consistency
> and comparable values across drivers?
>
> i am willing to do the work.

Since you are, check out our TODO list:

http://linuxwireless.org/en/developers/todo-list

Specifically the section which mentions RCPI, "the 'Received Channel
Power Indicator' - which is defined in IEEE 802.11k (the Radio
Measurements amendment to 802.11)" and the thread that discussed this.
Simon had suggested we move to this for signal strength measurement.
It seems to be the right approach and perhaps there are other
adjustments we can make based on advancements of 802.11k.

  Luis

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

end of thread, other threads:[~2007-11-26 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23  2:49 signal quality names bruno randolf
2007-11-26 23:49 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).