From: Larry Finger <Larry.Finger@lwfinger.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Sam Leffler <sam@errno.com>, netdev@vger.kernel.org
Subject: Re: Problem authenticating using WPA with bcm43xx-softmac
Date: Wed, 07 Jun 2006 12:07:27 -0500 [thread overview]
Message-ID: <448707CF.7080506@lwfinger.net> (raw)
In-Reply-To: <1149696400.3925.13.camel@johannes>
Johannes Berg wrote:
> On Wed, 2006-06-07 at 09:01 -0700, Sam Leffler wrote:
>
>> Beware of the order of IE's in the management frames; some AP's are
>> touchy about this.
>
> Uh oh. I have no idea where the ieee80211 layer sticks that one,
> probably at the end.
I moved the WPA IE from the end forward without any effect. I have dumped that IE and find the
following:
SoftMAC: Added WPA_IE of 24 bytes to association request
Contents of WPA_IE: 0xdd 0x16 0x00 0x50 0xf2 0x01 0x01 0x00 0x00 0x50
0xf2 0x02 0x01 0x00 0x00 0x50 0xf2 0x02 0x01 0x00
0x00 0x50 0xf2 0x02
I think I got the right thing, but I'm having trouble interpreting it. The dump was made by
modifying the part of ieee80211softmac_assoc_req in ieee80211softmac_io.c where the WPA IE is added:
/* Add WPA IE */
if (mac->wpa.IElen && mac->wpa.IE) {
int i;
memcpy(data, mac->wpa.IE, mac->wpa.IElen);
data += mac->wpa.IElen;
printk(KERN_INFO PFX "Added WPA_IE of %d bytes to association request\n"
"Contents of WPA_IE: ", mac->wpa.IElen);
for (i=0; i<mac->wpa.IElen; i++)
printk("0x%02x ",mac->wpa.IE[i]);
printk("\n");
}
Larry
next prev parent reply other threads:[~2006-06-07 17:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 19:24 Problem authenticating using WPA with bcm43xx-softmac Larry Finger
2006-06-07 12:10 ` Johannes Berg
2006-06-07 15:47 ` Larry Finger
2006-06-07 15:51 ` Johannes Berg
2006-06-07 15:57 ` Johannes Berg
2006-06-07 17:29 ` Dan Williams
2006-06-07 18:12 ` Larry Finger
2006-06-07 19:36 ` Dan Williams
2006-06-07 19:46 ` Larry Finger
2006-06-09 11:44 ` Johannes Berg
2006-06-09 15:31 ` Larry Finger
2006-06-09 15:34 ` Johannes Berg
2006-06-09 16:24 ` Larry Finger
2006-06-12 1:11 ` Larry Finger
2006-06-13 8:40 ` Johannes Berg
2006-06-07 16:01 ` Sam Leffler
2006-06-07 16:06 ` Johannes Berg
2006-06-07 16:30 ` Larry Finger
2006-06-07 17:07 ` Larry Finger [this message]
2006-06-07 16:09 ` Larry Finger
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=448707CF.7080506@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=johannes@sipsolutions.net \
--cc=netdev@vger.kernel.org \
--cc=sam@errno.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.