Home
last modified time | relevance | path

Searched refs:keyconf (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmld-key.c14 struct ieee80211_key_conf *keyconf) in iwl_mvm_get_sec_sta_mask() argument
21 if (keyconf->link_id >= 0) { in iwl_mvm_get_sec_sta_mask()
22 link_info = mvmvif->link[keyconf->link_id]; in iwl_mvm_get_sec_sta_mask()
29 !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE)) { in iwl_mvm_get_sec_sta_mask()
31 if (keyconf->keyidx >= 4) in iwl_mvm_get_sec_sta_mask()
50 if (!sta && keyconf->link_id >= 0) in iwl_mvm_get_sec_sta_mask()
56 return iwl_mvm_sta_fw_id_mask(mvm, sta, keyconf->link_id); in iwl_mvm_get_sec_sta_mask()
62 struct ieee80211_key_conf *keyconf) in iwl_mvm_get_sec_flags() argument
65 bool pairwise = keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE; in iwl_mvm_get_sec_flags()
66 bool igtk = keyconf->keyidx == 4 || keyconf->keyidx == 5; in iwl_mvm_get_sec_flags()
[all …]
H A Dsta.c2622 struct ieee80211_key_conf *keyconf, in __iwl_mvm_remove_sta_key() argument
2639 key_flags = cpu_to_le16((keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in __iwl_mvm_remove_sta_key()
2652 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key()
3697 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() argument
3703 if (WARN_ON((keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk()
3704 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk()
3705 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk()
3706 (keyconf->cipher != WLAN_CIPHER_SUITE_AES_CMAC && in iwl_mvm_send_sta_igtk()
3707 keyconf->cipher != WLAN_CIPHER_SUITE_BIP_GMAC_128 && in iwl_mvm_send_sta_igtk()
3708 keyconf->cipher != WLAN_CIPHER_SUITE_BIP_GMAC_256))) in iwl_mvm_send_sta_igtk()
[all …]
H A Dsta.h499 struct ieee80211_key_conf *keyconf,
504 struct ieee80211_key_conf *keyconf);
508 struct ieee80211_key_conf *keyconf,
H A Dftm-responder.c17 struct ieee80211_key_conf keyconf; member
314 if (sta->keyconf.keylen) in iwl_mvm_resp_del_pasn_sta()
316 &sta->keyconf); in iwl_mvm_resp_del_pasn_sta()
H A Dtx.c443 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local
446 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
449 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn()
466 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local
471 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto()
479 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
480 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto()
481 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd_params->key); in iwl_mvm_set_tx_cmd_crypto()
489 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto()
492 memcpy(&tx_cmd_params->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto()
[all …]
H A Dmvm.h1727 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() local
1730 memcpy(tx_cmd_params->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
2445 struct ieee80211_key_conf *keyconf);
2449 struct ieee80211_key_conf *keyconf);
2453 struct ieee80211_key_conf *keyconf);
2464 struct ieee80211_key_conf *keyconf);
2468 struct ieee80211_key_conf *keyconf);
2767 struct ieee80211_key_conf *keyconf,
H A Dmac80211.c4496 struct ieee80211_key_conf *keyconf, in iwl_mvm_mac_update_tkip_key() argument
4502 if (keyconf->hw_key_idx == STA_KEY_IDX_INVALID) in iwl_mvm_mac_update_tkip_key()
4505 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dmac80211.h2475 ieee80211_tkip_add_iv(u8 *crypto_hdr, struct ieee80211_key_conf *keyconf, in ieee80211_tkip_add_iv() argument
2482 ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_rx_p1k() argument
2486 KASSERT(keyconf != NULL && addr != NULL && p1k != NULL, in ieee80211_get_tkip_rx_p1k()
2487 ("%s: keyconf %p addr %p p1k %p\n", __func__, keyconf, addr, p1k)); in ieee80211_get_tkip_rx_p1k()
2501 ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p2k() argument
2508 ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, int8_t tid, in ieee80211_get_key_rx_seq() argument
2514 KASSERT(keyconf != NULL && seq != NULL, ("%s: keyconf %p seq %p\n", in ieee80211_get_key_rx_seq()
2515 __func__, keyconf, seq)); in ieee80211_get_key_rx_seq()
2516 k = keyconf->_k; in ieee80211_get_key_rx_seq()
2517 KASSERT(k != NULL, ("%s: keyconf %p ieee80211_key is NULL\n", __func__, keyconf)); in ieee80211_get_key_rx_seq()
[all …]
/freebsd/sys/dev/bwn/
H A Dif_bwnvar.h856 void *keyconf; member
H A Dif_bwn.c3611 mac->mac_key[i].keyconf = NULL; in bwn_clear_keys()