Subject: CVS commit: [netbsd-2] src/sys/dev/ic
To: None <>
From: Jeff Rizzo <>
List: source-changes
Date: 12/01/2005 19:39:27
Module Name:	src
Committed By:	riz
Date:		Thu Dec  1 19:39:27 UTC 2005

Modified Files:
	src/sys/dev/ic [netbsd-2]: an.c anvar.h

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #10159):
	sys/dev/ic/an.c: revision 1.33 via patch
	sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.

To generate a diff of this commit:
cvs rdiff -r1.29 -r1.29.4.1 src/sys/dev/ic/an.c
cvs rdiff -r1.8 -r1.8.6.1 src/sys/dev/ic/anvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.