Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 235345 - Include mac80211 wpa support patches
Summary: Include mac80211 wpa support patches
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: John W. Linville
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-05 10:21 UTC by drago01
Modified: 2007-11-30 22:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-05-10 22:14:42 UTC

Attachments (Terms of Use)
lockdep error (deleted)
2007-05-01 14:08 UTC, drago01
no flags Details

Description drago01 2007-04-05 10:21:35 UTC
Description of problem:

The F7 kernel uses many mac80211 based drivers. This drivers do not support
wpa/wpa2 when used with networkmanager. I asked upstream (linux-wireless) what
is causing this and Michael Wu created two (simple) patches that adds this
support. We should include this patches in the F7 kernels else many users will
complain about being unable to use wpa/wpa2 encrypted networks.

Patch1: "Update we_version_source and set enc_capa in iw_range."

Patch2: "Use IWEVGENIE which was defined in WE-18."

Comment 1 John W. Linville 2007-04-09 20:44:54 UTC
I have added those patches to the test kernels here:

Please give them a try and post the results here...thanks!

Comment 2 drago01 2007-04-10 07:17:10 UTC
ok let me quote my email to linux-wireless (after testing your kernel):
ok I tested it again with linvilles f7 test kernel (wireless-git + your patches
+ iwlwifi).
again nm detect the card as wpa and it finds the wpa enabled network. But it
fails to connect (does not even ask for a key). So I tryed to use wpa_supplicant
by hand ( with a config that works fine with ipw3945 ; ieee80211) . Its seems
not to be related to iwlwifi but to a ioctl that mac80211 does not support (when
used with wext).
Own MAC address: 00:18:de:05:f7:9e
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported
notice the *ioctl[SIOCSIWAUTH]: Operation not supported* what is SIOCSIWAUTH and
how does it not being supproted affect wpa/wext support?
still does not work ; but better as without the patch (without it does not even
attempt to do wpa and nm says that the card does not support wpa)

Comment 4 John W. Linville 2007-04-24 18:28:07 UTC
I am seeing some reports of people have success w/ WPA on recent kernels.  Are 
you still experiencing this problem?

Comment 5 drago01 2007-04-30 13:51:47 UTC
sorry for the late reply... yes I get the same with test4 but also a message
that it could not set the freq (input/output) error (this might be fixed with
the rate stuff fixed in 0.0.14 but still have to test).

Comment 6 drago01 2007-05-01 13:54:57 UTC
I tested the kernel 2.6.21-1.3121 which includes iwlwifi 0.0.15 and it works
fine. acciotated to a wpa enabled ap without any problems. I only got one
lockdep warning (which I cannot reproduce).

Comment 7 drago01 2007-05-01 14:08:42 UTC
Created attachment 153862 [details]
lockdep error

It happend again here so I attached it (captured it the first time but this is
the same)
(the driver still works)

Comment 8 John W. Linville 2007-05-01 14:20:57 UTC

Need to figure-out some lockdep annotation to get rid of that spew...

Comment 9 drago01 2007-05-01 18:52:33 UTC
ok I tested 3122 now (with iwlwifi 0.0.16) works fine too ;)
I also copied a large file over the wpa encrypted wireless network and it worked
without any problems.
there is only a problem with the killswitch which I reported upstream a minute ago.

Comment 10 drago01 2007-05-01 18:53:26 UTC
I also don't see any of this lines anymore:
"ioctl[SIOCSIWAUTH]: Operation not supported"

Comment 11 Will Woods 2007-05-10 16:40:48 UTC
So, does this mean the patches are included and this bug can be closed?

Note You need to log in before you can comment on or make changes to this bug.