Skip to content
Commit a4bf26f3 authored by Johannes Berg's avatar Johannes Berg Committed by Jeff Garzik
Browse files

[PATCH] ieee80211: enable hw wep where host has to build IV



This patch fixes some of the ieee80211 crypto related code so that
instead of having the host fully do crypto operations, the host_build_iv
flag works properly (for WEP in this patch) which, if turned on,
requires the hardware to do all crypto operations, but the ieee80211
layer builds the IV. The hardware also has to build the ICV.

Previously, the host_build_iv flag couldn't be used at all for WEP, and
not alone (with both host_decrypt and host_encrypt disabled) because the
crypto algorithm wasn't assigned. This is also fixed.

I have tested this patch both in host crypto mode and in hw crypto mode
(with the Broadcom chipset).

[resent, signing digitally caused it to be MIME-junked, sorry]

Signed-Off-By: default avatarJohannes Berg <johannes@sipsolutions.net>

Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent df22b8aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment