netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
To: Michael Buesch <mb@bu3sch.de>
Cc: netdev@vger.kernel.org, linville@tuxdriver.com
Subject: Re: bcm43xx-d80211 broadcast reception with WPA
Date: Wed, 15 Nov 2006 01:29:59 +1100	[thread overview]
Message-ID: <20061114142959.GA17486@keitarou> (raw)
In-Reply-To: <200611120934.28133.mb@bu3sch.de>

[-- Attachment #1: Type: text/plain, Size: 3077 bytes --]

On Sun, Nov 12, 2006 at 09:34:27AM +0100, Michael Buesch wrote:
> On Sunday 12 November 2006 02:24, Paul TBBle Hampson wrote:
>> On Sat, Nov 11, 2006 at 04:07:05PM +0100, Michael Buesch wrote:
> >> On Saturday 11 November 2006 07:32, Paul Hampson wrote:
> >>> Michael Buesch <mb <at> bu3sch.de> writes:
>> 
> > >>> On Thursday 09 November 2006 23:23, Paul Hampson wrote:
> > > >>> I've been backporting the bcm43xx-d80211 driver to whatever the released
> > > >>> 2.6 kernel was using the rt2x00 project's d80211 stack (equivalent to
> > > >>> current wireless-dev but with a workaround for not having a ieee80211_dev
> > > >>> pointer and still using the _tfm interface instead of the _cypher interface.)
>> 
> > > >>> As of last night's wireless-dev tree bcm43xx, everything seems to be
> > > >>> operating fine except incoming broadcast traffic is coming in 14 bytes too
> > > >>> long and scrambled. I presume this means it's not decrypting properly...
>> 
> > >>> It sounds like a bug in the hardware decryption setup.
> > >>> Are you using TKIP or not?
>> 
> >>> Yes, it's using TKIP. The router docs and the loading of the tkip module
> >>> when I use the softmac driver agree on this.
>> 
> >> TKIP is still software encryption. Did you try with WPA-AES, for example,
> >> which is hardware encryption?

I've just tried with WEP-104, which reports hardware encryption for all
four keys.

> Ah, and also note that you _need_ firmware from a v4 binary driver
> to have hardware encryption with bcm43xx.

Just to summarise results so far:

(Current version)
bcm43xx-d80211 w/v3 firmware and TKIP: Garbled broadcast RX
bcm43xx-d80211 w/v4 firmware and TKIP: Garbled broadcast RX
bcm43xx-d80211 w/v4 firmware and WEP-104: Correct broadcast RX

(version from wireless-dev before October 23rd, unsure of exact date)
bcm43xx (softmac) w/v3 firmware and TKIP: Correct broadcast RX

Still to test: bcm43xx-d80211 w/v3 firmware and WEP-104

I also tried looking at how the two drivers I've got here are clearing
their keys and comparing them to the bcm specs, and there's nothing
obviously wrong that I can see. Sadly I can't compare the drivers
directly since one is using the v3 specs and one the v4 specs... -_-

And to top it off, current wireless-dev's softmac bcm43xx driver doesn't
build against 2.6.18, and I'm not yet motivated into munging it into
doing so, unless it will have diagnostic advantage to this situation.
(It'll require also building a new ieee80211softmac at least)

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@Pobox.Com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-11-14 14:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09 22:23 bcm43xx-d80211 broadcast reception with WPA Paul Hampson
2006-11-10  8:27 ` Ivo Van Doorn
2006-11-10  9:24   ` Paul Hampson
2006-11-10 20:12 ` Michael Buesch
2006-11-11  6:32   ` Paul Hampson
2006-11-11 15:07     ` Michael Buesch
2006-11-12  1:24       ` Paul TBBle Hampson
2006-11-12  8:34         ` Michael Buesch
2006-11-12 20:43           ` Ismail Donmez
2006-11-12 21:47             ` Michael Buesch
2006-11-12 22:40               ` Ismail Donmez
2006-11-12 22:41                 ` Ismail Donmez
2006-11-12 22:54                   ` Johannes Berg
2006-11-13  8:10                     ` Ismail Donmez
2006-11-13 10:43           ` Jiri Benc
2006-11-14 14:29           ` Paul TBBle Hampson [this message]
2006-11-14 14:40             ` Johannes Berg
2006-11-14 15:53               ` Michael Buesch
2006-11-14 14:40             ` Paul TBBle Hampson
2006-11-14 14:41               ` Johannes Berg
2006-11-15 18:48             ` [PATCH, RFT]: Fix bcm43xx-d80211 hwcrypto (was Re: bcm43xx-d80211 broadcast reception with WPA) Michael Buesch
2006-11-16 12:34               ` [PATCH, RFT]: Fix bcm43xx-d80211 hwcrypto Paul TBBle Hampson
2006-11-16 14:07             ` [PATCH]: bcm43xx-d80211: fix hwcrypto issues (mcast) Michael Buesch
     [not found]               ` <200611161507.33971.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2006-11-17  7:46                 ` Benjamin Herrenschmidt
2006-11-17  7:53                   ` Johannes Berg
2006-11-17  8:02                     ` Benjamin Herrenschmidt
2006-11-17  8:49                       ` Paul Hampson
2006-11-17 10:35                       ` Andreas Schwab
     [not found]                         ` <jeveles6lx.fsf-+JVCjXrnBTholqkO4TVVkw@public.gmane.org>
2006-11-17 11:04                           ` Johannes Berg
2006-11-17 11:30                             ` Andreas Schwab
2006-11-17 22:59                             ` Martin Langer
2006-11-17 13:20                         ` Paul TBBle Hampson
2006-11-18  1:15                   ` Paul TBBle Hampson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061114142959.GA17486@keitarou \
    --to=paul.hampson@pobox.com \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).