Subject: Re: Aironet 350 oversize frames on i386 2.0
To: None <netbsd-help@netbsd.org>
From: Dheeraj Reddy <dheeraj@ece.gatech.edu>
List: netbsd-help
Date: 01/05/2005 18:20:07
--=-=-=

Can you try the following trivial patch ?

--=-=-=
Content-Disposition: attachment; filename=an.diff

Index: an.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/an.c,v
retrieving revision 1.32
diff -r1.32 an.c
1323a1324,1325
> 	m_adj(m, -(le16toh(frmhdr.an_gaplen) + sizeof(u_int16_t)));
> 

--=-=-=
Content-Disposition: attachment; filename=anreg.diff

Index: anreg.h
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/anreg.h,v
retrieving revision 1.10
diff -r1.10 anreg.h
258c258
< 	u_int16_t               an_spare[16];
---
> 	u_int16_t               an_spare[24];

--=-=-=


It works fine for me with even the 5.* series firmware.

dheeraj

Richard Nelson <rnelson@ISI.EDU> writes:

> Dear NetBSD Help,
> 
> My Cisco Aironet PCMCIA wifi card that worked fine with an(4) under
> NetBSD 1.6.2 i386 appears to be having problems with under NetBSD 2.0
> i386 and is returning oversize frame errors.  I haven't made any
> changes to the Linksys BEFW11S4 V2/V3 Wireless Access Point Router,
> Firmware 1.45.10, or the Aironet card.  I tried a different Aironet
> 350 PCMCIA card and got the same kinds of messages, an excerpt of
> which follows.  Any suggestions are appreciated!
> 
> Thanks!
> Richard
> 
> -----
> 
> IPconfig messages - looks normal to me
> 
> /netbsd: an0 at pcmcia0 function 0: Cisco Systems, 350 Series Wireless
> LAN Adapter
> /netbsd: pcic0: port 0x400-0x43f
> /netbsd: an0: Cisco Systems 350 Series (firmware 4.25.23)
> /netbsd: an0: 802.11 address: 00:40:96:45:e1:fe, channel: 1-11
> /netbsd: an0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> /netbsd: an0: pcmcia0: card irq 7
> 
> DHCP messages - returns oversize message
> 
> DHCPREQUEST on an0 to 255.255.255.255 port 67
> ip length 576 disagrees with bytes received 578.
> accepting packet with data after udp payload.
> 
> Usage messages after IP address assigned through DHCP - lots of
> oversize mesages
> 
> /netbsd: an0: discarding oversize frame (len=1516)
> last message repeated 11 times
> 
> -----
> 

-- 
It is better to be silent and be thought a fool than to speak and remove
all doubt

--=-=-=--