All of lore.kernel.org
 help / color / mirror / Atom feed
From: bruno randolf <bruno@thinktube.com>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>,
	Ulrich Kunitz <kune@deine-taler.de>,
	Daniel Drake <dsd@gentoo.org>
Cc: ath5k-devel@lists.ath5k.org, jirislaby@gmail.com,
	mickflemm@gmail.com, linux-wireless@vger.kernel.org,
	linville@tuxdriver.com, johannes@sipsolutions.net,
	flamingice@sourmilk.net, jbenc@suse.cz,
	"Ivan Seskar" <Seskar@winlab.rutgers.edu>,
	"Jean Tourrilhes" <jt@hpl.hp.com>,
	"Haris Kremo" <harisk@winlab.rutgers.edu>,
	"Ivo van Doorn" <ivdoorn@gmail.com>
Subject: Re: [PATCH] mac80211: use hardware flags for signal/noise units
Date: Thu, 3 Apr 2008 11:05:05 +0900	[thread overview]
Message-ID: <200804031105.06176.bruno@thinktube.com> (raw)
In-Reply-To: <43e72e890804021227y520380f7j8ad25eb30f635d2b@mail.gmail.com>

On Thursday 03 April 2008 04:27:31 Luis R. Rodriguez wrote:
> >  so in the "unspecified" case we really don't know much about the units,
> > in the worst case we can't even assume that 1/2 the value will mean 1/2
> > of the received signal strength. it's very hard to work with this values,
> > but it's better than nothing.
> >
> >  other cards might not have noise, so no absolute (dBm) measurement, but
> > a form of RSSI which is measured in dB (that is a logarithmic
> > difference). in this case we might not know which reference point the
> > measurement is taken to, but we know how it behaves: -3 dB means half of
> > the signal strength. if you add a 6dB gain antenna you can expect to see
> > the signal reading to increase by 6dB. it's not strictly SNR (because we
> > don't know the noise) but quite close to it.
> >
> >  i think it's important to know the difference between this 3 cases i
> > order to make some sense of the values in userspace gui, roaming agents,
> > mesh link metrics, etc...
>
> Agreed, but can you give me an example of a card which does provide
> RSSI in db for values we don't know and that UNSPEC cannot handle? Is
> this what is assumed of the rt2x00 cards?

i currently assume that for rt2x00 and zd1211 cards - but i'm really just 
guessing here. feedback from driver authors or people who have more knowledge 
about the hardware would be greatly appreciated!

here's the current table:

    DRIVER          SIGNAL    MAX       NOISE   QUAL
    -----------------------------------------------------------------
    adm8211         unspec(?) 100   n/a     missing
    at76_usb        unspec(?) (?)   unused  missing
    ath5k           dBm             dBm     percent rssi
    b43legacy       dBm             dBm     percent jssi(?)
    b43             dBm             dBm     percent jssi(?)
    iwl-3945        dBm             dBm     percent snr+more
    iwl-4965        dBm             dBm     percent snr+more
    p54             unspec    127   n/a     missing
    rt2x00                              percent rssi+tx/rx frame success
      rt2400        dB(?)     100   n/a
      rt2500pci     dB(?)     100   n/a
      rt2500usb     dB(?)     100   n/a
      rt61pci       dB(?)     100   n/a
      rt73usb       dB(?)     100   n/a
    rtl8180         unspec(?) 65    n/a     (?)
    rtl8187         unspec(?) 65    (?)     noise(?)
    zd1211          dB(?)     100   n/a     percent

bruno

  reply	other threads:[~2008-04-03  2:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 12:30 [PATCH] mac80211: use hardware flags for signal/noise units Bruno Randolf
2008-03-26 22:59 ` Luis R. Rodriguez
2008-03-27  0:19   ` Jean Tourrilhes
2008-03-27  2:47     ` bruno randolf
2008-03-27 16:52       ` Jean Tourrilhes
2008-03-31  6:32         ` bruno randolf
2008-03-31 17:47           ` Jean Tourrilhes
2008-04-02  3:06             ` bruno randolf
2008-04-02 23:19     ` Luis R. Rodriguez
2008-04-02 23:56       ` Jean Tourrilhes
2008-04-03  1:55       ` bruno randolf
2008-03-27  2:07   ` bruno randolf
2008-04-02 19:27     ` Luis R. Rodriguez
2008-04-03  2:05       ` bruno randolf [this message]
2008-03-27 12:47 ` Johannes Berg
2008-03-28 10:52   ` bruno randolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804031105.06176.bruno@thinktube.com \
    --to=bruno@thinktube.com \
    --cc=Seskar@winlab.rutgers.edu \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=dsd@gentoo.org \
    --cc=flamingice@sourmilk.net \
    --cc=harisk@winlab.rutgers.edu \
    --cc=ivdoorn@gmail.com \
    --cc=jbenc@suse.cz \
    --cc=jirislaby@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=jt@hpl.hp.com \
    --cc=kune@deine-taler.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@gmail.com \
    --cc=mickflemm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.