mac80211: Encrypt "Group addressed privacy" action frames
authorMasashi Honma <masashi.honma@gmail.com>
Wed, 22 Jun 2016 10:55:20 +0000 (19:55 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 16:55:58 +0000 (17:55 +0100)
commitb1d888b7631fee5b83f9be6572ebeccac4f9a872
tree9c92134fbc2893e4d2b1046f55080e4276c0da7e
parentfec70b2b25464dbb3bd961b65f0e40a61d19eb74
mac80211: Encrypt "Group addressed privacy" action frames

Previously, the action frames to group address was not encrypted. But
[1] "Table 8-38 Category values" indicates "Mesh" and "Multihop" category
action frames should be encrypted (Group addressed privacy == yes). And the
encyption key should be MGTK ([1] 10.13 Group addressed robust management frame
procedures). So this patch modifies the code to make it suitable for spec.

[1] IEEE Std 802.11-2012

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h