mac80211: add option to generate CCMP IVs only for mgmt frames
authorMarek Kwaczynski <marek.kwaczynski@tieto.com>
Mon, 14 Apr 2014 09:27:21 +0000 (11:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:26:15 +0000 (17:26 +0200)
commit17d38fa8c20a9c3ec76943da46264ce657ac56d0
treea6e59c0e973e7ea873728bb002e0fb7c3ad27882
parentc0166da9fee2aa8de9d1f9460f62d02176c22350
mac80211: add option to generate CCMP IVs only for mgmt frames

Some chips can encrypt managment frames in HW, but
require generated IV in the frame. Add a key flag
that allows us to achieve this.

Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
[use BIT(0) to fill that spot, fix indentation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/wpa.c