Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: > On Sat, 2008-11-01 at 17:19 +0200, Jouni Malinen wrote: > >> Anyway, if you just want to test Michael MIC error processing on a >> client, force mac80211 to do software encryption > > On that matter, should we put a debugfs control knob in place to > completely disable HW encryption in mac80211, so we don't need this > override in all drivers? I think there's a need for this and we should do it. Just look at this commit from earlier this week: commit 05e6eb6f607cc3623c50b2a7c62b29ba6707a316 Author: Bob Copeland <me@xxxxxxxxxxxxxxx> Date: Wed Oct 29 08:30:54 2008 -0400 ath5k: enable hardware encryption for WEP This change re-enables hardware encryption for ath5k after setting up mac80211 to handle the initialization vectors which happens to make it work. Add a module param (nohwcrypt) to optionally turn it off. Signed-off-by: Bob Copeland <me@xxxxxxxxxxxxxxx> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx> Having a support in mac80211 would make it easier both for the driver developers and users. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html