Skip to content

RFC orinoco: WPA for Agere based cards

[email protected] linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest19 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19orinoco: Add ESSID specific scanning for Agere fwdrivers/net/wireless/orinoco.c+19 -10 replies
2/19orinoco: Update scan translationdrivers/net/wireless/orinoco.c+46 -250 replies
3/19orinoco: Specify all three parameters to every Hermes command.drivers/net/wireless/hermes.c+7 -60 replies
4/19orinoco: Move EXPORT_SYMBOL declarations next to exported functiondrivers/net/wireless/hermes.c+7 -100 replies
5/19orinoco: Add function to execute Hermes initialisation commands synchronouslydrivers/net/wireless/hermes.c drivers/net/wireless/hermes.h+60 -370 replies
6/19orinoco: Move firmware download functionality into new moduledrivers/net/wireless/Makefile drivers/net/wireless/hermes_dld.c drivers/net/wireless/hermes_dld.h +1 more+385 -2740 replies
7/19orinoco: Make firmware download logic more genericdrivers/net/wireless/hermes_dld.c drivers/net/wireless/hermes_dld.h drivers/net/wireless/spectrum_cs.c+181 -710 replies
8/19orinoco: Extend hermes_dld routines for Agere firmwaredrivers/net/wireless/hermes_dld.c drivers/net/wireless/hermes_dld.h+290 -00 replies
9/19orinoco: Invoke firmware download in main driverdrivers/net/wireless/Kconfig drivers/net/wireless/airport.c drivers/net/wireless/orinoco.c +7 more+332 -1560 replies
10/19orinoco: Fix transmit for Agere/Lucent with fw 9.xdrivers/net/wireless/hermes.h drivers/net/wireless/orinoco.c drivers/net/wireless/orinoco.h+46 -150 replies
11/19orinoco: address checkpatch typedef warningdrivers/net/wireless/orinoco.c drivers/net/wireless/orinoco.h+10 -90 replies
12/19orinoco: Use extended Agere scans available on 9.x series firmwaresdrivers/net/wireless/hermes.h drivers/net/wireless/hermes_rid.h drivers/net/wireless/orinoco.c +1 more+449 -440 replies
13/19orinoco: Don't use boolean parameter to record encoding typedrivers/net/wireless/orinoco.c drivers/net/wireless/orinoco.h+20 -130 replies
14/19orinoco: Split wevent work thread from wevent sendingdrivers/net/wireless/orinoco.c+14 -100 replies
15/19orinoco: Use a macro to define wireless handlersdrivers/net/wireless/orinoco.c+34 -320 replies
16/19orinoco: Add WE-18 ioctls for WPAdrivers/net/wireless/hermes_rid.h drivers/net/wireless/orinoco.c drivers/net/wireless/orinoco.h+554 -80 replies
17/19orinoco: Send association events to userspacedrivers/net/wireless/orinoco.c+62 -00 replies
18/19orinoco: Process bulk of receive interrupt in a taskletdrivers/net/wireless/orinoco.c drivers/net/wireless/orinoco.h+100 -190 replies
19/19orinoco: Add MIC on TX and check on RXdrivers/net/wireless/Kconfig drivers/net/wireless/hermes.h drivers/net/wireless/orinoco.c +1 more+229 -163 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 00/19] orinoco: WPA for Agere based cards

This patch series enables WPA on Agere based orinoco devices. An earlier version has been available on the orinoco-devel list for a while. I'm looking to get more feedback and testing of these patches, so hopefully they can go into the kernel.

Patchset overview
1-2: General scanning updates
3-9: Agere firmware download to RAM
10-12: Update orinoco to work with new firmware
13-19: WPA functionality

This patchset is against wireless-testing (master-2008-06-27), is sparse clean (UP), and should be bisectable. It is almost checkpatch clean - the single warning looks like a false positive to me.

To test the Agere firmware download, you will need an Agere firmware image. You can get the necessary file at
<http://marc.info/?l=orinoco-devel&m=121078835610877>, just extract and rename orinoco.fw to agere_sta_fw.bin and place it in /lib/firmware (or distro equivalent). Alternatively you can try extract firmware from a Windows driver using the program in
<http://marc.info/?l=orinoco-devel&m=120846933719051>.

A brief summary of testing results is appended below.

Regards,

Dave.
---
Good results (wpa-supplicant 0.5.7, Agere fw 9.48, kernel 2.6.24):
- WPA-PSK managed mode now works.
- WEP managed mode still working.

Issues that have been identified with earlier versions of the patchset (and haven't been explicitly addressed):

- Scan results don't appear correct on a 64-bit machine (no further debug info). Might David Millers compat changes affect this? I'm not too sure what they're about...
- Driver only reads the first 200 bytes of IEs in probe results.
- Driver resets in monitor mode with 9.48 fw (after which monitor mode appears stable). Note that with the existing driver monitor mode with Agere fw is non-functional for fw above 6.16.

Areas of concern:

Firmware download for Symbol firmwares and non pcmcia cards. The image that gets downloaded is selected based on the detected firmware on the card, and the version of that firmware.

- Firmware will not be downloaded to cards with Intersil firmware.

- The latest Agere firmware will be downloaded to cards with Agere firmware.

- Before these patches Symbol firmware was unconditionally downloaded to cards that use the spectrum_cs driver - after this patch the latest (v3.x.x) Symbol firmware is downloaded to cards with Symbol firmware greater than v3.0.0. This is an attempt to avoid downloading the v3.x.x Symbol firmware to Symbol cards that use orinoco_cs. I don't know if there are spectrum_cs cards with earlier firmware which are supposed to run the v3.x.x firmware.