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 17:00:27 +0000 (18:00 +0100)
commit3e25da3cdf3779e1bd3d46b91d9f99aaa0cf349c
tree39402e6d33c103982790ecccaf6c3209b3b9d0f1
parentb1d888b7631fee5b83f9be6572ebeccac4f9a872
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