Subject: CVS commit: [netbsd-2-1] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <firstname.lastname@example.org>
Date: 12/01/2005 22:20:47
Module Name: src
Committed By: riz
Date: Thu Dec 1 22:20:47 UTC 2005
src/sys/dev/ic [netbsd-2-1]: an.c anvar.h
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
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 -r188.8.131.52 src/sys/dev/ic/an.c
cvs rdiff -r1.8 -r184.108.40.206 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.