linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bruno randolf <bruno@thinktube.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: ath5k-devel@lists.ath5k.org, mcgrof@gmail.com,
	jirislaby@gmail.com, mickflemm@gmail.com,
	linux-wireless@vger.kernel.org, linville@tuxdriver.com,
	flamingice@sourmilk.net, jbenc@suse.cz
Subject: Re: [PATCH] mac80211: use hardware flags for signal/noise units
Date: Fri, 28 Mar 2008 19:52:47 +0900	[thread overview]
Message-ID: <200803281952.47401.bruno@thinktube.com> (raw)
In-Reply-To: <1206622063.22530.25.camel@johannes.berg>

On Thursday 27 March 2008 21:47:43 Johannes Berg wrote:
> On Wed, 2008-03-26 at 21:30 +0900, Bruno Randolf wrote:
> > trying to clean up the signal/noise mess. the previous code in mac80211
> > did not have much definition of what units of signal and noise were
> > provided and used weird implicit mechanisms from the wireless extensions.
> >
> > introduce hardware capability flags to let the hardware specify if it can
> > provide signal and noise level values and which units it can provide:
> >
> >   IEEE80211_HW_SIGNAL_UNSPEC - unspecified, unknown, hw specific
> >   IEEE80211_HW_SIGNAL_DB     - dB difference to unspecified reference
> > point IEEE80211_HW_SIGNAL_DBM    - dBm, difference to 1mW
> >
> >   IEEE80211_HW_NOISE_DBM     - dBm, difference to 1mW
> >
> > also clean up the misleading and confusing names which were used for
> > signal, noise and qual before.
>
> I have to admit to not particularly caring about these things, so if
> you're willing to accept responsibility for all breakage I'm ok with the
> patch going in :)

well, i'm going to - for whatever that means :)

i have compile tested the current patch with all mac80211 based drivers, i 
believe and function tested with ath5k and iwl4965 - but lets give the driver 
authors some more time for feedback and review. also i'd like to integrate 
jean's suggestion that unspec doesn't have to be linear.

bruno

      reply	other threads:[~2008-03-28 10:53 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
2008-03-27 12:47 ` Johannes Berg
2008-03-28 10:52   ` bruno randolf [this message]

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=200803281952.47401.bruno@thinktube.com \
    --to=bruno@thinktube.com \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=flamingice@sourmilk.net \
    --cc=jbenc@suse.cz \
    --cc=jirislaby@gmail.com \
    --cc=johannes@sipsolutions.net \
    --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 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).