From: Jean Tourrilhes <jt@hpl.hp.com>
To: breed@zuzulu.com
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
Jouni Malinen <jkmaline@cc.hut.fi>,
chessing@users.sourceforge.net
Subject: Re: [PATCH] dynamic wep keys for airo.c
Date: Tue, 3 May 2005 16:13:19 -0700 [thread overview]
Message-ID: <20050503231319.GA22452@bougret.hpl.hp.com> (raw)
In-Reply-To: <32958.198.4.83.52.1115159671.squirrel@zuzulu.com>
On Tue, May 03, 2005 at 05:34:31PM -0500, breed@zuzulu.com wrote:
> Jean,
>
> There is no patch to xsupplicant that will work without patching the
> airo.c driver. The current airo.c driver always disables the MAC before
> setting the WEP key whether it is temporary or permanent. This is
> incorrect. When the MAC is disabled the card disassociates causing the
> whole handshake to start over again.
Yes, I know perfectly. A patch is needed, however I don't
think your current patch is the most appropriate solution.
The current solution is :
1) set perm key -> goes in the eeprom, reset MAC
2) set temp key -> not in the eeprom, reset MAC
o /proc can set (1) and (2)
o iwconfig can only set (1)
o xsupplicant always set (1) - broken
You solution is :
1) set temp key -> not in the eeprom, not reset MAC
2a) set perm key -> goes in the eeprom, reset MAC
2b) set perm key -> goes in the eeprom, not reset MAC
o module parameter select (2a) or (2b)
o iwconfig can set (2) {default} or (1) {temp keyword}
o old xsupplicant set (2) - may work, depend on module parameter
o new xsupplicant set (1) - always work
First, do we know for sure that all Aironet firmware will
accept to change the perm WEP key without having to reset the MAC ?
Maybe the Cisco driver does it this way, but it only target the latest
firware rev, whereas up to know we have included in the driver code
for very antique firmware rev. I don't have the answer to that one.
Second, I think that the module parameter is counter
productive. What we want there is people migrating to the new
xsupplicant that does the right thing. Also, module parameter is not
something that can be changed on the fly, and is one more thing to
configure. We want things to always work, all the time.
What I would think is better long term :
1) set temp key -> not in the eeprom, not reset MAC
2) set perm key -> goes in the eeprom, reset MAC
o iwconfig can set (2) {default} or (1) {temp keyword}
o old xsupplicant set (2) - always broken
o new xsupplicant set (1) - always work
But, that's only my personal opinion, and you may want to
check what the new xsupplicant is doing before making the final
decision.
> ben
Have fun...
Jean
next prev parent reply other threads:[~2005-05-03 23:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-03 18:33 Jean Tourrilhes
[not found] ` <4277C8CA.5070503@utah.edu>
2005-05-03 19:59 ` Jean Tourrilhes
2005-05-03 22:34 ` breed
2005-05-03 23:13 ` Jean Tourrilhes [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-03 15:26 Benjamin Reed
2005-05-06 8:04 ` Domen Puncer
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=20050503231319.GA22452@bougret.hpl.hp.com \
--to=jt@hpl.hp.com \
--cc=breed@zuzulu.com \
--cc=chessing@users.sourceforge.net \
--cc=jkmaline@cc.hut.fi \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®