Subject: an(4) fix for recent firmware
To: None <tech-kern@netbsd.org>
From: Eric Auge <eau@phear.org>
List: tech-kern
Date: 08/22/2005 00:55:19
Hello,
I updated the firmware to 5.60.17 on my pcmcia aironet card,
and my card was not recognized anymore,
Aug 22 00:14:03 mubutu /netbsd: an0 at pcmcia0 function 0: <Cisco
Systems, 350 Series Wireless LAN Adapter>
Aug 22 00:14:04 mubutu /netbsd: an0: record buffer is too small,
rid=ff00, size=198, len=258
Aug 22 00:14:04 mubutu /netbsd: an0: read caps failed
Aug 22 00:14:04 mubutu /netbsd: an0: failed to attach controller
Aug 22 00:14:41 mubutu /netbsd: an0 detached
I made a quick fix (anreg.h revision 1.11) so the card get recognized
and seems to work correctly (i'm using it) :
--- anreg.h 2005-08-22 00:34:55.000000000 +0200
+++ anreg.h.patched 2005-08-22 00:33:11.000000000 +0200
@@ -408,7 +408,8 @@
u_int16_t an_req_hw_support; /* 0x80 */
/* extended capabilities */
u_int16_t an_ext_softcaps; /* 0x82 */
- u_int16_t an_spare[34];
+ /* u_int16_t an_spare[34]; */
+ u_int16_t an_spare[94];
} __attribute__((__packed__));
#define AN_REGDOMAIN_USA 0
Please correct me if it's not the right way to do it, i don't have any
documentation/experience about this device.
I would like also to try implement some radiotap header additional infos
for this device (bad crc etc..as suggested by d.young in a previous
post) for userland application, where should i start ? does somebody
have documentation for this device (to understand where this crc
checksum is done/or flagged) ?
Result:
Aug 22 00:32:16 mubutu /netbsd: an0 at pcmcia0 function 0: <Cisco
Systems, 350 Series Wireless LAN Adapter>
Aug 22 00:32:18 mubutu /netbsd: an0: Cisco Systems 350 Series (firmware
5.60.17)
Aug 22 00:32:18 mubutu /netbsd: an0: 802.11 address: 00:09:43:cd:2e:e3,
channel: 1-11
Aug 22 00:32:18 mubutu /netbsd: an0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Hope it helps,
Regards,
Eric.