Lines Matching refs:keyconf
452 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local
455 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
458 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn()
475 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local
480 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto()
488 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
489 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto()
490 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwl_mvm_set_tx_cmd_crypto()
498 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto()
501 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto()
515 tx_cmd->key[0] = keyconf->hw_key_idx; in iwl_mvm_set_tx_cmd_crypto()