Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 11:24:12 -0800 (PST)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        dave@dogwood.com (Dave Cornejo)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/dev/an if_aironet_ieee.h if_an.c if_anreg.h         src/usr.sbin/ancontrol ancontrol.8 ancontrol.c
Message-ID:  <20001114192412.BCB1E37B479@hub.freebsd.org>
In-Reply-To: <200011140534.eAE5YOw05604@white.dogwood.com> from Dave Cornejo at "Nov 13, 2000 09:34:24 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> I had corresponded with Doug right after I submitted the PR and we had
> agreed that my .h files were better and that his .c & ancontrol files
> were better.

Well, you left me little choice since you didn't actually provide
changes for ancontrol.

> There is one glaring problem with the committed .h files and that is
> that the settings in the authtype field are wrong.  You cannot
> actually set encryption properly with either the original or the
> committed files.
> 
> There is, contrary to earlier Aironet documentation, no such bit as
> AN_AUTHTYPE_EXCLUDE_UNENCRYPTED.
> 
> The correct AN_AUTHTYPES are as follows:
> 
> #define AN_AUTHTYPE_NONE                        0x0000
> #define AN_AUTHTYPE_OPEN                        0x0001
> #define AN_AUTHTYPE_SHAREDKEY                   0x0002
> #define AN_AUTHTYPE_PRIVACY_IN_USE              0x0002
> #define AN_AUTHTYPE_ALLOW_UNECNRYPTED           0x0002
> 
> (I'm pretty certain these are what I called them in my patch, but I'm
> doing this from memory)

The patch submitted with your PR does not mention these bit definitions
at all. Also, I'm really confused as to why the last three definitions
are all the same (0x0002). That doesn't seem to make sense. 
 
> There are also some other things in my patch that fix errors in some
> of the structures (minor) and add support for some other interesting
> things in upcoming versions.

I merged in your structure changes, except for one which conflicted
with Doug's changes.

Look, I don't have a card here for testing: why don't you sort out
how this is supposed to work, verify that it functions with a real
card, then submit a context diff to me.

-Bill 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001114192412.BCB1E37B479>