UPSTREAM: 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>

(cherry-picked from mac80211 46f6b06050b736dab4d41494dae27b883cddc365)

BUG=chrome-os-partner:55156
TEST=manually load on 2 whirlwinds; run_lab_test.py --board=whirlwind
suite:jetstream_sanity

Change-Id: I739fa37a8b0f65fd5e80963e7863ac36af386cad
Signed-off-by: Julan Hsu <julanhsu@google.com>
Reviewed-on: https://chromium-review.googlesource.com/359946
Reviewed-by: Srinivasa duvvuri <sduvvuri@chromium.org>
3 files changed