]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b3b876c536e6e16b1777f9910946dad571be693
tree0b612258ff5ac72ab953494b0bccac7780e4da50
parent309672185a6080f024943eb04f1a676b1ab0854d
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