From: Larry Finger <larry.finger@lwfinger.net>
To: Michael Buesch <mb@bu3sch.de>
Cc: wireless <linux-wireless@vger.kernel.org>
Subject: Re: How to use software encryption with WEP and mac80211
Date: Sat, 11 Aug 2007 10:05:28 -0500 [thread overview]
Message-ID: <46BDD038.4040207@lwfinger.net> (raw)
In-Reply-To: <200708111142.15991.mb@bu3sch.de>
Michael Buesch wrote:
> On Saturday 11 August 2007 05:25:11 Larry Finger wrote:
>> What do I need to do to get mac80211 to do software encryption for WEP? My port of the PHY code from
>> bcm43xx and the mac80211 front end works with WPA encryption. With WEP, it authenticates and
>> associates, but never gets an IP number from DHCP. That indicates to me that the encryption is not
>> set up correctly. I looked through the various definitions in include/net/mac80211.h, but nothing
>> seems to apply.
>
> Which hw enc code do you use in that tree? The old softmac crap
> or my new code from bcm43xx-mac80211?
I had stripped out all the key stuff, but before that it was from bcm43xx-mac80211.
> Anyway, if you want to disable hw enc, always set the force sw enc bit
> in the set_key function and return early:
>
> key->flags |= IEEE80211_KEY_FORCE_SW_ENCRYPT;
> return 0;
This doesn't seem to work. I had tried it before. I guess I put your code back in again.
Thanks,
Larry
next prev parent reply other threads:[~2007-08-11 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-11 3:25 How to use software encryption with WEP and mac80211 Larry Finger
2007-08-11 9:42 ` Michael Buesch
2007-08-11 15:05 ` Larry Finger [this message]
2007-08-11 15:15 ` Michael Buesch
2007-08-11 15:26 ` Larry Finger
2007-08-11 16:55 ` 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=46BDD038.4040207@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mb@bu3sch.de \
/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.