From owner-freebsd-mobile Sat Feb 23 20: 6:11 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 3634037B404 for ; Sat, 23 Feb 2002 20:06:10 -0800 (PST) Received: from pacbell.net ([63.193.114.253]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GS0004QIRE9CA@mta7.pltn13.pbi.net> for mobile@FreeBSD.ORG; Sat, 23 Feb 2002 20:06:09 -0800 (PST) Date: Sat, 23 Feb 2002 20:03:41 -0800 From: Thomas Skibo Subject: Re: Linksys WMP11 support To: FUJITA Kazutoshi Cc: mitchy@er.ams.eng.osaka-u.ac.jp, mobile@FreeBSD.ORG, brooks@one-eyed-alien.net Message-id: <3C78661D.88619743@pacbell.net> Organization: College Avenue Surf Shop MIME-version: 1.0 X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en References: <20020205133602.A6294@Odin.AC.HMC.Edu> <20020206095856D.mitchy@er.ams.eng.osaka-u.ac.jp> <20020224.084619.74696422.fujita@soum.co.jp> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well now I now know why my FreeBSD systems (not just the WMP11 system) will all talk to each other in "128 bit" mode but won't talk to my Windows XP machine or my friend's AP: It looks like 128 bit encryption is just plain broken for prism2 cards (given that only 5 bytes of any key get copied to the device): memcpy(ws.wi_str, &wk->wi_keys[i].wi_keydat, 5); One comment: If you're trying to determine if a device is a Prism 2.5, "sc->wi_bus_type == WI_BUS_PCI_NATIVE" isn't a good check. I believe the latest WPC11 PCMCIA card is a Prism 2.5 but it's bus type would be WI_BUS_PCCARD. -- ------------------------------------------------------------------------ Thomas Skibo skibo@pacbell.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message