mac80211: Encrypt "Group addressed privacy" action frames
authorMasashi Honma <masashi.honma@gmail.com>
Wed, 22 Jun 2016 10:55:20 +0000 (19:55 +0900)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 30 Jun 2016 10:06:20 +0000 (12:06 +0200)
commit46f6b06050b736dab4d41494dae27b883cddc365
tree0b612258ff5ac72ab953494b0bccac7780e4da50
parent49708e3772ce648be425778702a266b207e89d4e
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>
include/linux/ieee80211.h
net/mac80211/rx.c
net/mac80211/tx.c