summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/tx.c
diff options
context:
space:
mode:
authorMax Stepanov <Max.Stepanov@intel.com>2013-08-27 19:56:13 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-17 19:39:38 +0200
commite36e5433c98d0411af51683c53578e84dee42470 (patch)
tree204edc459a2218c98e410752d2785c66d24e188c /drivers/net/wireless/iwlwifi/mvm/tx.c
parent1f3b0ff8eccefb0a22398bb044fa12f7e3f6f058 (diff)
downloadop-kernel-dev-e36e5433c98d0411af51683c53578e84dee42470.zip
op-kernel-dev-e36e5433c98d0411af51683c53578e84dee42470.tar.gz
iwlwifi: mvm: add a generic cipher scheme support
This patch adds a cipher scheme support to extend a set of the supported ciphers. The driver reads a cipher scheme list TLV from FW image and passes it to mac80211 on hw registration. After the cipher schemes are registered the driver handles key installation and Tx/Rx calls related to the new ciphers. Signed-off-by: Max Stepanov <Max.Stepanov@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c
index d87649a..735f86d 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tx.c
@@ -253,8 +253,7 @@ static void iwl_mvm_set_tx_cmd_crypto(struct iwl_mvm *mvm,
memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen);
break;
default:
- IWL_ERR(mvm, "Unknown encode cipher %x\n", keyconf->cipher);
- break;
+ tx_cmd->sec_ctl |= TX_CMD_SEC_EXT;
}
}
OpenPOWER on IntegriCloud