* [PATCH] wext
@ 2006-10-02 17:55 chunkeey
2006-10-04 8:37 ` Johannes Berg
0 siblings, 1 reply; 6+ messages in thread
From: chunkeey @ 2006-10-02 17:55 UTC (permalink / raw)
To: netdev
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
This patch (wext-patch) is a proposal. It adds two new defines for the
SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a ioctl.
(it would be nice to have them, so that I can post the hostapd code for the
prism54 card!)
I didn't update the changelog! but this should be done in a matter of seconds.
diffstat wext-patch
wireless.h | 2 ++
1 file changed, 2 insertions(+)
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Regards,
Chr. Lamparter
[-- Attachment #2: wext-patch --]
[-- Type: text/x-diff, Size: 398 bytes --]
--- a/include/linux/wireless.h 2006-10-01 03:24:01.000000000 +0200
+++ b/include/linux/wireless.h 2006-10-01 03:24:38.000000000 +0200
@@ -546,6 +546,8 @@
/* MLME requests (SIOCSIWMLME / struct iw_mlme) */
#define IW_MLME_DEAUTH 0
#define IW_MLME_DISASSOC 1
+#define IW_MLME_AUTH 2
+#define IW_MLME_ASSOC 3
/* SIOCSIWAUTH/SIOCGIWAUTH struct iw_param flags */
#define IW_AUTH_INDEX 0x0FFF
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] wext
2006-10-02 17:55 [PATCH] wext chunkeey
@ 2006-10-04 8:37 ` Johannes Berg
2006-10-04 10:56 ` chunkeey
2006-10-04 21:45 ` Jouni Malinen
0 siblings, 2 replies; 6+ messages in thread
From: Johannes Berg @ 2006-10-04 8:37 UTC (permalink / raw)
To: chunkeey; +Cc: netdev
On Mon, 2006-10-02 at 19:55 +0200, chunkeey@web.de wrote:
> This patch (wext-patch) is a proposal. It adds two new defines for the
> SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a ioctl.
> (it would be nice to have them, so that I can post the hostapd code for the
> prism54 card!)
NACK from me. Please help me work on nl80211 instead :)
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] wext
2006-10-04 8:37 ` Johannes Berg
@ 2006-10-04 10:56 ` chunkeey
2006-10-04 11:06 ` Johannes Berg
2006-10-04 21:45 ` Jouni Malinen
1 sibling, 1 reply; 6+ messages in thread
From: chunkeey @ 2006-10-04 10:56 UTC (permalink / raw)
To: Johannes Berg; +Cc: netdev, chunkeey
On Wed, 2006-10-04 at 10:37, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Mon, 2006-10-02 at 19:55 +0200, chunkeey@web.de wrote:
> > This patch (wext-patch) is a proposal. It adds two new defines for the
> > SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a
> > ioctl. (it would be nice to have them, so that I can post the hostapd
> > code for the prism54 card!)
>
> NACK from me. Please help me work on nl80211 instead :)
>
> johannes
hmm... another month of fun. ;)
no really, the problem is that "my" hardware (aka: prism54 fullmac) does all
the mac-management, encryption/decryption, AP-Management,... in the firmware.
And all "management" operation are wrapped into a simple unique
4-byte "Operation ID"... That's why the WEXT "would be better" for that
thing...
(Or, do I mix everything up and nl80211 has "nothing" to do with devicescape's
networkstack d80211?)
Chr
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] wext
2006-10-04 10:56 ` chunkeey
@ 2006-10-04 11:06 ` Johannes Berg
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Berg @ 2006-10-04 11:06 UTC (permalink / raw)
To: chunkeey; +Cc: netdev
On Wed, 2006-10-04 at 12:56 +0200, chunkeey@web.de wrote:
> no really, the problem is that "my" hardware (aka: prism54 fullmac) does all
> the mac-management, encryption/decryption, AP-Management,... in the firmware.
> And all "management" operation are wrapped into a simple unique
> 4-byte "Operation ID"... That's why the WEXT "would be better" for that
> thing...
>
> (Or, do I mix everything up and nl80211 has "nothing" to do with devicescape's
> networkstack d80211?)
Yes, nl80211 is not tied to d80211, it simply provides a new way of
doing configuration.
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] wext
2006-10-04 8:37 ` Johannes Berg
2006-10-04 10:56 ` chunkeey
@ 2006-10-04 21:45 ` Jouni Malinen
2006-10-05 8:15 ` Johannes Berg
1 sibling, 1 reply; 6+ messages in thread
From: Jouni Malinen @ 2006-10-04 21:45 UTC (permalink / raw)
To: Johannes Berg; +Cc: chunkeey, netdev
On Wed, Oct 04, 2006 at 10:37:23AM +0200, Johannes Berg wrote:
> On Mon, 2006-10-02 at 19:55 +0200, chunkeey@web.de wrote:
> > This patch (wext-patch) is a proposal. It adds two new defines for the
> > SIOCSIWMLME to cover all kinds MLMEs (well, except REASSOC) through a ioctl.
> > (it would be nice to have them, so that I can post the hostapd code for the
> > prism54 card!)
>
> NACK from me. Please help me work on nl80211 instead :)
SIOCSIWMLME was designed to allow additional MLME commands to be added.
IMHO, a potential replacement in the future should not prevent us from
extending WEXT at this point and stop all changes in something that is
currently available.
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] wext
2006-10-04 21:45 ` Jouni Malinen
@ 2006-10-05 8:15 ` Johannes Berg
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Berg @ 2006-10-05 8:15 UTC (permalink / raw)
To: Jouni Malinen; +Cc: chunkeey, netdev
On Wed, 2006-10-04 at 14:45 -0700, Jouni Malinen wrote:
> SIOCSIWMLME was designed to allow additional MLME commands to be added.
> IMHO, a potential replacement in the future should not prevent us from
> extending WEXT at this point and stop all changes in something that is
> currently available.
Fine with me, it's really just a matter of switch()ing on the
sub-command in the cfg80211-we compat code. My answer was more political
in nature I guess -- even I need sleep, you know. :P
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-05 8:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 17:55 [PATCH] wext chunkeey
2006-10-04 8:37 ` Johannes Berg
2006-10-04 10:56 ` chunkeey
2006-10-04 11:06 ` Johannes Berg
2006-10-04 21:45 ` Jouni Malinen
2006-10-05 8:15 ` Johannes Berg
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).