Hi, Bob

> AFAICT it should be fine.  The stack will handle encrypt/hash and
> decrypt/verify of management frames if IEEE80211_KEY_FLAG_SW_MGMT is
> set, which ath5k already does.  If you wanted, you could verify that
> protection is enabled by removing
>
>     key->flags |= IEEE80211_KEY_FLAG_SW_MGMT;
>
> in drivers/net/wireless/ath/ath5k/mac80211_ops.c and it should stop
> working in hwcrypt mode (assuming your card supports hardware CCMP).

* @IEEE80211_KEY_FLAG_SW_MGMT: This flag should be set by the driver for a
 *      CCMP key if it requires CCMP encryption of management frames (MFP) to
 *      be done in software.

With this flag, it should do software encryption in CCMP, so removing
it should be ensure ath5k doing hardware encryption for MFP, am I
right?

> That would bypass the important bits, so it's worth a test without
> the modparam.

Yes, I test without this modparam. Unfortunately, not working in my
ath5k chipset.

Regards,
Chun-Yeow
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to