* mac80211: Breakage in software encryption (iwl3945)
@ 2010-01-23 20:10 Maxim Levitsky
2010-01-24 10:32 ` Marcus Better
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Maxim Levitsky @ 2010-01-23 20:10 UTC (permalink / raw)
To: linux-wireless
I updated the kernel and lost connection to my WPA2
AP. Strangely the WPA handshake completes, but DHCP not.
I also unfortunately found that all that time I was using software
encryption (this is iwl3945 loaded with swcrypto=1).
Hardware encryption doesn't work ether and didn't work in the slightly
older kernel (but it did work once, I sure)
Now, the commit a6bae9e7ab19876a157c91019852395539e4f20e breaks software
encryption, with behaviour like described above.
Best regards,
Maxim Levitsky
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-23 20:10 mac80211: Breakage in software encryption (iwl3945) Maxim Levitsky
@ 2010-01-24 10:32 ` Marcus Better
2010-01-24 11:15 ` Marcus Better
2010-01-24 10:40 ` Sedat Dilek
2010-01-24 10:56 ` Johannes Berg
2 siblings, 1 reply; 10+ messages in thread
From: Marcus Better @ 2010-01-24 10:32 UTC (permalink / raw)
To: linux-wireless
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maxim Levitsky wrote:
> I updated the kernel and lost connection to my WPA2
> AP. Strangely the WPA handshake completes, but DHCP not.
I have observed this a few times with 2.6.32.4. I could work around it by
unloading and re-loading iwl3945.
> Now, the commit a6bae9e7ab19876a157c91019852395539e4f20e breaks software
> encryption, with behaviour like described above.
I don't think 2.6.32.4 includes that commit though.
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAktcIbMACgkQXjXn6TzcAQl0TQCg3IumaU/tB0N+yld2dg6weJG4
+IAAoO19+HFQuQRKBvm8wsKVl43tUET6
=4lgK
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-23 20:10 mac80211: Breakage in software encryption (iwl3945) Maxim Levitsky
2010-01-24 10:32 ` Marcus Better
@ 2010-01-24 10:40 ` Sedat Dilek
2010-01-24 10:56 ` Johannes Berg
2 siblings, 0 replies; 10+ messages in thread
From: Sedat Dilek @ 2010-01-24 10:40 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: linux-wireless
Hi,
it is very helpful to give commit-id *and* commit-msg so that others
can follow more easily.
Which GIT repository (branch) is that?
Kind Regards,
- Sedat -
On Sat, Jan 23, 2010 at 9:10 PM, Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> I updated the kernel and lost connection to my WPA2
> AP. Strangely the WPA handshake completes, but DHCP not.
>
> I also unfortunately found that all that time I was using software
> encryption (this is iwl3945 loaded with swcrypto=1).
> Hardware encryption doesn't work ether and didn't work in the slightly
> older kernel (but it did work once, I sure)
>
> Now, the commit a6bae9e7ab19876a157c91019852395539e4f20e breaks software
> encryption, with behaviour like described above.
>
> Best regards,
> Maxim Levitsky
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-23 20:10 mac80211: Breakage in software encryption (iwl3945) Maxim Levitsky
2010-01-24 10:32 ` Marcus Better
2010-01-24 10:40 ` Sedat Dilek
@ 2010-01-24 10:56 ` Johannes Berg
2010-01-24 18:24 ` Maxim Levitsky
2 siblings, 1 reply; 10+ messages in thread
From: Johannes Berg @ 2010-01-24 10:56 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
Maxim,
Your mail is confusing me.
On Sat, 2010-01-23 at 22:10 +0200, Maxim Levitsky wrote:
> I updated the kernel and lost connection to my WPA2
> AP. Strangely the WPA handshake completes, but DHCP not.
What did you upgrade to?
> I also unfortunately found that all that time I was using software
> encryption (this is iwl3945 loaded with swcrypto=1).
> Hardware encryption doesn't work ether and didn't work in the slightly
> older kernel (but it did work once, I sure)
That must be a different problem, surely?
> Now, the commit a6bae9e7ab19876a157c91019852395539e4f20e breaks software
> encryption, with behaviour like described above.
And how did you arrive at that conclusion? Have you reverted the patch
and it works again? I really don't see how this particular patch could
break it since afaict it's entirely correct, there are exactly two tests
for IEEE80211_TX_INTFL_DONT_ENCRYPT in mac80211, both of which execute
before the code I removed.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-24 10:32 ` Marcus Better
@ 2010-01-24 11:15 ` Marcus Better
0 siblings, 0 replies; 10+ messages in thread
From: Marcus Better @ 2010-01-24 11:15 UTC (permalink / raw)
To: linux-wireless
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marcus Better wrote:
> Maxim Levitsky wrote:
>> I updated the kernel and lost connection to my WPA2
>> AP. Strangely the WPA handshake completes, but DHCP not.
>
> I have observed this a few times with 2.6.32.4. I could work around it by
> unloading and re-loading iwl3945.
Oh, and I should say that I didn't see this with 2.6.31.6.
After the WPA handshake completed, I ran tcpdump and could see the outgoing
DHCP requests, but no other traffic on the interface.
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAktcK8IACgkQXjXn6TzcAQkRowCgpObrzU7e1tYuY08nzQYE3yKS
NycAoO6rdlFkZeqm37fs3nYwD22pI8Qq
=TjWE
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-24 10:56 ` Johannes Berg
@ 2010-01-24 18:24 ` Maxim Levitsky
2010-01-24 23:27 ` Jochen Friedrich
0 siblings, 1 reply; 10+ messages in thread
From: Maxim Levitsky @ 2010-01-24 18:24 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
On Sun, 2010-01-24 at 11:56 +0100, Johannes Berg wrote:
> Maxim,
>
> Your mail is confusing me.
>
> On Sat, 2010-01-23 at 22:10 +0200, Maxim Levitsky wrote:
> > I updated the kernel and lost connection to my WPA2
> > AP. Strangely the WPA handshake completes, but DHCP not.
>
> What did you upgrade to?
latest -git of wireless-testing
>
> > I also unfortunately found that all that time I was using software
> > encryption (this is iwl3945 loaded with swcrypto=1).
> > Hardware encryption doesn't work ether and didn't work in the slightly
> > older kernel (but it did work once, I sure)
>
> That must be a different problem, surely?
Sure, and I open a bugreport about it too.
>
> > Now, the commit a6bae9e7ab19876a157c91019852395539e4f20e breaks software
> > encryption, with behaviour like described above.
>
> And how did you arrive at that conclusion? Have you reverted the patch
> and it works again? I really don't see how this particular patch could
> break it since afaict it's entirely correct, there are exactly two tests
> for IEEE80211_TX_INTFL_DONT_ENCRYPT in mac80211, both of which execute
> before the code I removed.
I didn't want to add the standard meme: 'Commit X just before Y works,
commit Y doesn't. I reverted Y and now everything works fine.'
I bisected it, manually this time. Sorry for confusion.
I will continue that discussion in the thread about this patch.
(Also sorry for not including commit description....)
Best regards,
Maxim Levitsky
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-24 18:24 ` Maxim Levitsky
@ 2010-01-24 23:27 ` Jochen Friedrich
2010-01-25 0:05 ` Jochen Friedrich
2010-01-25 15:10 ` Maxim Levitsky
0 siblings, 2 replies; 10+ messages in thread
From: Jochen Friedrich @ 2010-01-24 23:27 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: Johannes Berg, linux-wireless
Hi Maxim,
>> On Sat, 2010-01-23 at 22:10 +0200, Maxim Levitsky wrote:
>>> I updated the kernel and lost connection to my WPA2
>>> AP. Strangely the WPA handshake completes, but DHCP not.
>> What did you upgrade to?
> latest -git of wireless-testing
I have the same problem since compat-wireless-2010-01-20 with
iwl3945. compat-wireless-2010-01-15 works OK. However, as i don't
use any module parameters, i guess i'm using hw encryption.
Thanks,
Jochen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-24 23:27 ` Jochen Friedrich
@ 2010-01-25 0:05 ` Jochen Friedrich
2010-01-25 9:32 ` Johannes Berg
2010-01-25 15:10 ` Maxim Levitsky
1 sibling, 1 reply; 10+ messages in thread
From: Jochen Friedrich @ 2010-01-25 0:05 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: Johannes Berg, linux-wireless
Jochen Friedrich wrote:
> Hi Maxim,
>
>>> On Sat, 2010-01-23 at 22:10 +0200, Maxim Levitsky wrote:
>>>> I updated the kernel and lost connection to my WPA2
>>>> AP. Strangely the WPA handshake completes, but DHCP not.
>>> What did you upgrade to?
>> latest -git of wireless-testing
>
> I have the same problem since compat-wireless-2010-01-20 with
> iwl3945. compat-wireless-2010-01-15 works OK. However, as i don't
> use any module parameters, i guess i'm using hw encryption.
I bisected this to commit 813d76694043d00b59475baa1fbfaf54a2eb7fad.
Reverting this patch makes compat-wireless-2010-01-20 and later run OK.
Thanks,
Jochen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-25 0:05 ` Jochen Friedrich
@ 2010-01-25 9:32 ` Johannes Berg
0 siblings, 0 replies; 10+ messages in thread
From: Johannes Berg @ 2010-01-25 9:32 UTC (permalink / raw)
To: Jochen Friedrich; +Cc: Maxim Levitsky, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
On Mon, 2010-01-25 at 01:05 +0100, Jochen Friedrich wrote:
> > I have the same problem since compat-wireless-2010-01-20 with
> > iwl3945. compat-wireless-2010-01-15 works OK. However, as i don't
> > use any module parameters, i guess i'm using hw encryption.
>
> I bisected this to commit 813d76694043d00b59475baa1fbfaf54a2eb7fad.
> Reverting this patch makes compat-wireless-2010-01-20 and later run OK.
Thanks. I'll look into that today.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: mac80211: Breakage in software encryption (iwl3945)
2010-01-24 23:27 ` Jochen Friedrich
2010-01-25 0:05 ` Jochen Friedrich
@ 2010-01-25 15:10 ` Maxim Levitsky
1 sibling, 0 replies; 10+ messages in thread
From: Maxim Levitsky @ 2010-01-25 15:10 UTC (permalink / raw)
To: Jochen Friedrich; +Cc: Johannes Berg, linux-wireless
On Mon, 2010-01-25 at 00:27 +0100, Jochen Friedrich wrote:
> Hi Maxim,
>
> >> On Sat, 2010-01-23 at 22:10 +0200, Maxim Levitsky wrote:
> >>> I updated the kernel and lost connection to my WPA2
> >>> AP. Strangely the WPA handshake completes, but DHCP not.
> >> What did you upgrade to?
> > latest -git of wireless-testing
>
> I have the same problem since compat-wireless-2010-01-20 with
> iwl3945. compat-wireless-2010-01-15 works OK. However, as i don't
> use any module parameters, i guess i'm using hw encryption.
Nether did I use any parameters. However software encryption is the
default today, this is why nobody notice it is broken.
I use WPA2 thus CCMP.
Best regards,
Maxim Levitsky
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-01-25 15:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 20:10 mac80211: Breakage in software encryption (iwl3945) Maxim Levitsky
2010-01-24 10:32 ` Marcus Better
2010-01-24 11:15 ` Marcus Better
2010-01-24 10:40 ` Sedat Dilek
2010-01-24 10:56 ` Johannes Berg
2010-01-24 18:24 ` Maxim Levitsky
2010-01-24 23:27 ` Jochen Friedrich
2010-01-25 0:05 ` Jochen Friedrich
2010-01-25 9:32 ` Johannes Berg
2010-01-25 15:10 ` Maxim Levitsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox