linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <larry.finger@lwfinger.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH V3] mac80211: Turn off meaningless TKIP message when   software WEP encryption is used
Date: Wed, 15 Aug 2007 08:16:27 -0500	[thread overview]
Message-ID: <46C2FCAB.6090607@lwfinger.net> (raw)
In-Reply-To: <1187136960.31200.37.camel@johannes.berg>

Johannes Berg wrote:
> On Mon, 2007-08-13 at 17:13 -0500, Larry Finger wrote:
>> For drivers that do no hardware encryption/decryption, WEP encryption
>> works as long as IEEE80211_HW_INCLUDE_IV is not set in the flags variable.
>> With WPA encryption and IEEE80211_HW_INCLUDE_IV not set, the logs are full
>> of TKIP decrypt failure messages. Despite the messages, RX is working.
>> This patch turns off the message for this case.
> 
> This is a bit strange. What's your actual key configuration? Are you
> using TKIP at all? I suspect you're using TKIP for multicast and
> CCMP/AES for unicast and something else is actually wrong with TKIP
> leading to this.

AFAIK, I'm using WPA-PSK TKIP. My AP is a Linksys WRT54G V5. On the "Wireless Security" page, I have 
selected "WPA Personal" for the security mode and TKIP for the WPA algorithm. On my laptop, the 
connection is managed by NetworkManager. My key is stored in Kwallet and is supplied automatically, 
but NM asked for a WPA passphrase when I set it up.
> 
> Thing is, it looks as though all frames that trigger the message are
> dropped, and I'm fairly certain we don't actually want that.

> Or something in your network is actually sending bogus frames. Could you
> capture some packets with wireshark on a secondary monitor interface or
> a second device and send me a packet dump?

That is certainly possible, either in my network or that of my neighbors. A network list shows 5 
APs, two of which are mine. Only the AP in question is using WPA, 3 are using WEP, and one is 
unencrypted. I'm collecting a packet dump now using Kismet - I don't run X on my second laptop as it 
has too little memory and is slow besides. I'll send you that file off-list. I have filtered out 
beacons. I hope that is OK.

Thanks,

Larry

  reply	other threads:[~2007-08-15 13:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13 22:13 [PATCH V3] mac80211: Turn off meaningless TKIP message when software WEP encryption is used Larry Finger
2007-08-13 22:54 ` Ivo van Doorn
2007-08-13 23:13   ` Larry Finger
2007-08-13 23:58     ` Michael Wu
2007-08-14  0:24       ` Larry Finger
2007-08-20 17:55       ` Ivo van Doorn
2007-08-21 10:17         ` Johannes Berg
2007-08-15  0:16 ` Johannes Berg
2007-08-15 13:16   ` Larry Finger [this message]
2007-08-15 13:30     ` Johannes Berg
2007-08-16 22:32     ` Johannes Berg

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=46C2FCAB.6090607@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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;
as well as URLs for NNTP newsgroup(s).