Linux wireless drivers development
 help / color / mirror / Atom feed
From: David Kilroy <kilroyd@googlemail.com>
To: linux-wireless@vger.kernel.org
Cc: orinoco-devel@lists.sourceforge.net, linville@tuxdriver.com,
	David Kilroy <kilroyd@googlemail.com>
Subject: orinoco_usb: support wpa
Date: Tue,  4 May 2010 22:54:40 +0100	[thread overview]
Message-ID: <1273010082-15871-1-git-send-email-kilroyd@googlemail.com> (raw)

The following patches enable WPA for the orinoco_usb cards. The first
patch contains all the code required to use WPA. The second patch
neatens things up but doesn't work so well, since it relies on having
spare tailroom in the SKB to store the MIC.

In order to use WPA with these cards, the following is required:
 * Agere firmware 9.42 or better (as with other orinoco cards)
 * compatible bridge firmware

The bridge firmware currently extracted by the orinoco-fwutils scripts
is not compatible with WPA. Instead you'll need to find the v7.82
Agere driver containing the WPA-enabled USB driver (containing the
appropriate bridge firmware and Agere fw 9.42). I'm not sure if there
is still a reliable source on the net. Further details about
extracting the firmware below.

John: 1st patch should be OK for w-t if there are no objections. I'm
expecting to redo or drop the second, depending on feedback.



Regards,

Dave.

The bridge firmware is in WLAGS51.SYS. The firmware will be 6976 bytes
long, starting with the bytes 0x02 0x10 at an offset around 0x028480.
I used the following command to extract it (you may need to modify
this if you get something different from what I have):

dd if=WLAGS51.SYS of=orinoco_ezusb_fw skip=10312 count=436 bs=16

---
David Kilroy (2):
  orinoco: refactor xmit path
  orinoco: use SKB tail for MIC

 drivers/net/wireless/orinoco/main.c        |  175 ++++++++++++++++------------
 drivers/net/wireless/orinoco/orinoco.h     |    5 +
 drivers/net/wireless/orinoco/orinoco_usb.c |   77 +++++--------
 3 files changed, 135 insertions(+), 122 deletions(-)


             reply	other threads:[~2010-05-04 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 21:54 David Kilroy [this message]
2010-05-04 21:54 ` [PATCH] orinoco: refactor xmit path David Kilroy
2010-05-04 21:54 ` [RFC] orinoco: use SKB tail for MIC David Kilroy

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=1273010082-15871-1-git-send-email-kilroyd@googlemail.com \
    --to=kilroyd@googlemail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=orinoco-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