Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 21:34:24 -0800 (PST)
From:      Dave Cornejo <dave@dogwood.com>
To:        Bill Paul <wpaul@FreeBSD.ORG>
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.cc
Message-ID:  <200011140534.eAE5YOw05604@white.dogwood.com>
In-Reply-To: <200011132304.PAA98092@freefall.freebsd.org> from Bill Paul at "Nov 13, 2000 03:04:16 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.

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)

Full encryption is defined as
AN_AUTHTYPE_{OPEN|SHARED} | AN_AUTHTYPE_PRIVACY_IN_USE

Mixed cell is
AN_AUTHTYPE_{OPEN|SHARED} | AN_AUTHTYPE_PRIVACY_IN_USE | AN_AUTHTYPE_ALLOW_UNENCRYPTED

No encryption is
AN_AUTHTYPE_NONE

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.

[There is not really any good documentation out there on this right
now or I'd cite it - I got this info direct from Aironet engineers]

-- 
Dave Cornejo @ Dogwood Media, Fremont, California
  "There aren't any monkeys chasing us..." - Xochi


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?200011140534.eAE5YOw05604>