iwlwifi: store cipher scheme independent of mac80211
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Jun 2016 10:34:36 +0000 (12:34 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Jul 2016 07:08:25 +0000 (10:08 +0300)
commit24ddddf3673b43708c9e7edc576b4d14a81a43e9
treed7bc04a96e85e618bcb800b4d76f3b1ccf598ea7
parent60dec5233cd8651860e8010c953d116fb0f1ba86
iwlwifi: store cipher scheme independent of mac80211

In order to reduce reliance on mac80211 structs in the core
iwlwifi code, store the cipher schemes in the format given
by the firmware and convert it later, rather than storing it
in the mac80211 format.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-fw.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h