From: Ivo van Doorn <ivdoorn@gmail.com>
To: rt2400-devel@lists.sourceforge.net
Cc: linux-wireless@vger.kernel.org
Subject: Re: HW CRYPTO: rt2500usb
Date: Sat, 3 Jan 2009 16:07:38 +0100 [thread overview]
Message-ID: <200901031607.38915.IvDoorn@gmail.com> (raw)
In-Reply-To: <200812302055.18017.IvDoorn@gmail.com>
On Tuesday 30 December 2008, Ivo van Doorn wrote:
> Hi,
>
> Currently HW crypto support has been implemented for rt2500usb,
> but has been disabled by default since it only works for TKIP.
> I am currently investigating why WEP and AES are failing, I am currently
> hitting a deadend so I hope somebody else has some suggestions.
>
> With the current implementation which works for TKIP I noticed that WEP128
> and AES will neither transmit any data after the succesfull association. Upon
> investigation I discovered that below patch was required to make the transmitting
> of frames possible, _but_ none of the frames receive a proper reply from the AP.
>
> The strange part is that the data length of the frame must be increased by a number
> of bytes depending on the crypto algorithm. From what I gather, the value most likely
> represents the icv_len value from the ieee80211_key structure. The weird part is that
> TKIP apparently does not require this additional length.
>
> So far I haven't found the legacy driver adding these extra bytes to the length either,
> which sounds a bit suspicious as well.
>
> Frames caught using wireshark from a second computer look a bit suspicious,
> a ping command from my PC will be received as broadcast frames on wireshark
> with a size of 32 bytes. (I have changed the size of the ping request, but the received
> frames don't change in size)
>
> I'll try to do some more research later this week, but hopefully somebody has some
> suggestions on where to look for me. :)
Never mind, issue has been fixed. Well at least it is working on WEP 128
but my laptop died before I could test AES. Patch will be send to linux-wireless in
a few minutes.
Ivo
prev parent reply other threads:[~2009-01-03 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 19:55 HW CRYPTO: rt2500usb Ivo van Doorn
2009-01-03 15:07 ` Ivo van Doorn [this message]
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=200901031607.38915.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rt2400-devel@lists.sourceforge.net \
/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).