public inbox for radiotap@archiver.kernel.org
 help / color / mirror / Atom feed
* Query about recent Radiotap changes
@ 2007-03-26  9:35 Scott Raynel
       [not found] ` <16B0F9F6-C3B2-4A00-A789-C1DD3E279D08-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Raynel @ 2007-03-26  9:35 UTC (permalink / raw)
  To: radiotap-rN9S6JXhQ+WXmMXjJBpWqg

Hi!

Just noticed the changes that went into OpenBSD tonight, but I have a  
query as to one of the comments in the file:

/* For IEEE80211_RADIOTAP_RX_FLAGS */
#define IEEE80211_RADIOTAP_F_RX_BADFCS 0x0001  /* Frame failed CRC  
check.
						*
						* Deprecated: use the flag
						* IEEE80211_RADIOTAP_F_FCS in
						* the IEEE80211_RADIOTAP_FLAGS
						* field, instead.
						*/

/* For IEEE80211_RADIOTAP_TX_FLAGS */

What does the Deprecated warning apply to? I presume it's got to do  
with the old field, IEEE80211_RADIOTAP_FCS, but the comment is in an  
extremely weird place. It implies that the new _F_RX_BADFCS flag is  
deprecated.

Cheers,

--
Scott Raynel
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand

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

* Re: Query about recent Radiotap changes
       [not found] ` <16B0F9F6-C3B2-4A00-A789-C1DD3E279D08-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2007-03-26 19:50   ` David Young
       [not found]     ` <20070326195045.GA11742-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: David Young @ 2007-03-26 19:50 UTC (permalink / raw)
  To: radiotap-rN9S6JXhQ+WXmMXjJBpWqg

On Mon, Mar 26, 2007 at 09:35:24PM +1200, Scott Raynel wrote:
> Hi!
> 
> Just noticed the changes that went into OpenBSD tonight, but I have a  
> query as to one of the comments in the file:
> 
> /* For IEEE80211_RADIOTAP_RX_FLAGS */
> #define IEEE80211_RADIOTAP_F_RX_BADFCS 0x0001  /* Frame failed CRC  
> check.
> 						*
> 						* Deprecated: use the flag
> 						* IEEE80211_RADIOTAP_F_FCS in
> 						* the 
> 						IEEE80211_RADIOTAP_FLAGS
> 						* field, instead.
> 						*/
> 
> /* For IEEE80211_RADIOTAP_TX_FLAGS */
> 
> What does the Deprecated warning apply to? I presume it's got to do  
> with the old field, IEEE80211_RADIOTAP_FCS, but the comment is in an  
> extremely weird place. It implies that the new _F_RX_BADFCS flag is  
> deprecated.

The _F_RX_BADFCS flag in the field IEEE80211_RADIOTAP_RX_FLAGS is
redundant.  The flag duplicates the function of the _F_FCS field in
the IEEE80211_RADIOTAP_FLAGS field.  TIMTOWTDI is a recipe for design
complexity.

The reasons I add the four new fields are three-fold:

        * keep my word that those fields would become part of the standard
        * standardize an existing practice that apparently came to
          be due to an innocent misunderstanding between myself and
          another developer
        * create a basis for adding new fields: the next available
	  type number is 18.

You could say these fields became part of the standard through the first
and last radiotap fields amnesty.  I am not 

Dave

-- 
David Young             OJC Technologies
dyoung-eZodSLrBbDpBDgjK7y7TUQ@public.gmane.org      Urbana, IL * (217) 278-3933

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

* Re: Query about recent Radiotap changes
       [not found]     ` <20070326195045.GA11742-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
@ 2007-03-26 19:53       ` David Young
  2007-03-26 21:11       ` Scott Raynel
  1 sibling, 0 replies; 5+ messages in thread
From: David Young @ 2007-03-26 19:53 UTC (permalink / raw)
  To: radiotap-rN9S6JXhQ+WXmMXjJBpWqg

On Mon, Mar 26, 2007 at 02:50:45PM -0500, David Young wrote:
> You could say these fields became part of the standard through the first
> and last radiotap fields amnesty.  I am not 

going to finish that sentence, apparently.

Dave

-- 
David Young             OJC Technologies
dyoung-eZodSLrBbDpBDgjK7y7TUQ@public.gmane.org      Urbana, IL * (217) 278-3933

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

* Re: Query about recent Radiotap changes
       [not found]     ` <20070326195045.GA11742-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
  2007-03-26 19:53       ` David Young
@ 2007-03-26 21:11       ` Scott Raynel
       [not found]         ` <F63792BF-FB34-46CB-A541-E33015EEF69E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Scott Raynel @ 2007-03-26 21:11 UTC (permalink / raw)
  To: radiotap-rN9S6JXhQ+WXmMXjJBpWqg

Hello again,

On 27/03/2007, at 7:50 AM, David Young wrote:

>
> The _F_RX_BADFCS flag in the field IEEE80211_RADIOTAP_RX_FLAGS is
> redundant.  The flag duplicates the function of the _F_FCS field in
> the IEEE80211_RADIOTAP_FLAGS field.  TIMTOWTDI is a recipe for design
> complexity.

I was under the impression that IEEE80211_RADIOTAP_F_RX_BADFCS  
duplicated the function of the _F_BADFCS, not _F_FCS, which indicates  
the presence of FCS bytes in the frame. Or am I missing something?

Cheers,

--
Scott Raynel
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand

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

* Re: Query about recent Radiotap changes
       [not found]         ` <F63792BF-FB34-46CB-A541-E33015EEF69E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2007-03-26 21:17           ` David Young
  0 siblings, 0 replies; 5+ messages in thread
From: David Young @ 2007-03-26 21:17 UTC (permalink / raw)
  To: radiotap-rN9S6JXhQ+WXmMXjJBpWqg

On Tue, Mar 27, 2007 at 09:11:17AM +1200, Scott Raynel wrote:
> Hello again,
> 
> On 27/03/2007, at 7:50 AM, David Young wrote:
> 
> >
> >The _F_RX_BADFCS flag in the field IEEE80211_RADIOTAP_RX_FLAGS is
> >redundant.  The flag duplicates the function of the _F_FCS field in
> >the IEEE80211_RADIOTAP_FLAGS field.  TIMTOWTDI is a recipe for design
> >complexity.
> 
> I was under the impression that IEEE80211_RADIOTAP_F_RX_BADFCS  
> duplicated the function of the _F_BADFCS, not _F_FCS, which indicates  
> the presence of FCS bytes in the frame. Or am I missing something?

You're right.  It duplicates the _F_BADFCS flag, not _F_FCS.

Dave

-- 
David Young             OJC Technologies
dyoung-eZodSLrBbDpBDgjK7y7TUQ@public.gmane.org      Urbana, IL * (217) 278-3933

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

end of thread, other threads:[~2007-03-26 21:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26  9:35 Query about recent Radiotap changes Scott Raynel
     [not found] ` <16B0F9F6-C3B2-4A00-A789-C1DD3E279D08-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2007-03-26 19:50   ` David Young
     [not found]     ` <20070326195045.GA11742-eZ+MEZF6i8Dc+919tysfdA@public.gmane.org>
2007-03-26 19:53       ` David Young
2007-03-26 21:11       ` Scott Raynel
     [not found]         ` <F63792BF-FB34-46CB-A541-E33015EEF69E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2007-03-26 21:17           ` David Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox