linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: David Young <dyoung@pobox.com>
Cc: linux-wireless@vger.kernel.org,
	Scott Raynel <scottraynel@gmail.com>,
	radiotap@mail.ojctech.com
Subject: Re: RFC: radiotap discrepancy in Linux vs OpenBSD
Date: Mon, 26 Mar 2007 18:45:49 -0400	[thread overview]
Message-ID: <1174949149.28132.49.camel@dv> (raw)
In-Reply-To: <20070326033729.GG31621@che.ojctech.com>

On Sun, 2007-03-25 at 22:37 -0500, David Young wrote:

> > One is found in the current wireless-2.6.git:
> > 
> >         IEEE80211_RADIOTAP_RX_FLAGS = 14,
> >         IEEE80211_RADIOTAP_TX_FLAGS = 15,
> >         IEEE80211_RADIOTAP_RTS_RETRIES = 16,
> >         IEEE80211_RADIOTAP_DATA_RETRIES = 17,
> 
> These fields are slated to become part of the standard, I just haven't got
> around to updating the manual page, yet.  I have time to do that tonight.

OK.  I was wrong to assume that non-standard fields were introduced on
the Linux side.

> > Another set of the flags can be found in CVS OpenBSD:
> > 
> >         IEEE80211_RADIOTAP_FCS = 14,
> >         IEEE80211_RADIOTAP_HWQUEUE = 15,
> >         IEEE80211_RADIOTAP_RSSI = 16,
> 
> These fields are not part of the standard, and they will not become part
> of the standard with these numbers.  This is the first time I have ever
> heard of HWQUEUE and RSSI, actually.  What are they for?

IEEE80211_RADIOTAP_HWQUEUE specifies the hardware queue.  This is used
in the drivers for Atheros and Intel ipw3945 to report transmitted
frames to the userspace.

In case of Atheros, the value would always be 0, but the way it's
written (HAL_TX_QUEUE_ID_DATA_MIN), I assume the value is supposed to be
hardware specific rather than a number from the 802.11e standard.  Other
values in the same enum are 6, 7, 8 and 9.

In case of the ipw3945 driver, it's always 0, but it's used as an index
in an array of size 4, so at least it a number from 0 to 3.

The description in ieee80211_radiotap.h is: "A specific hardware queue
(used by WME)" and it's one 8-bit integer.

IEEE80211_RADIOTAP_HWQUEUE is described as "A relative Received Signal
Strength Index" and it's two 8-bit integers, RSSI and max RSSI.  It's
used by many drivers and includes uncalibrated signal data.  It looks
like noise data is not included.

-- 
Regards,
Pavel Roskin


  reply	other threads:[~2007-03-26 22:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26  3:24 RFC: radiotap discrepancy in Linux vs OpenBSD Pavel Roskin
2007-03-26  3:37 ` David Young
2007-03-26 22:45   ` Pavel Roskin [this message]
2007-03-28 18:04     ` [Radiotap] " Marcelo Tosatti
2007-03-28 20:33       ` Pavel Roskin
2007-03-26  3:38 ` David Young
2007-03-26 15:41   ` Luis R. Rodriguez
2007-03-26 16:59     ` David Young

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=1174949149.28132.49.camel@dv \
    --to=proski@gnu.org \
    --cc=dyoung@pobox.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=radiotap@mail.ojctech.com \
    --cc=scottraynel@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).