Searched refs:keyconf (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mld-key.c | 21 if (keyconf->link_id >= 0) { in iwl_mvm_get_sec_sta_mask() 67 switch (keyconf->cipher) { in iwl_mvm_get_sec_flags() 194 keyconf->keylen); in iwl_mvm_mld_send_key() 196 memcpy(cmd.u.add.key, keyconf->key, keyconf->keylen); in iwl_mvm_mld_send_key() 238 if (keyconf->keyidx == 4 || keyconf->keyidx == 5) { in iwl_mvm_sec_key_add() 242 if (keyconf->link_id >= 0) in iwl_mvm_sec_key_add() 243 link_id = keyconf->link_id; in iwl_mvm_sec_key_add() 268 mvm_link->igtk = keyconf; in iwl_mvm_sec_key_add() 274 keyconf->hw_key_idx = 0; in iwl_mvm_sec_key_add() 293 if (keyconf->keyidx == 4 || keyconf->keyidx == 5) { in _iwl_mvm_sec_key_del() [all …]
|
H A D | sta.c | 3709 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk() 3710 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk() 3733 switch (keyconf->cipher) { in iwl_mvm_send_sta_igtk() 3745 memcpy(igtk_cmd.igtk, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_igtk() 3951 keyconf->cipher, keyconf->keylen, keyconf->keyidx, in iwl_mvm_set_sta_key() 3986 keyconf->hw_key_idx); in iwl_mvm_remove_sta_key() 4345 keyconf = kzalloc(sizeof(*keyconf) + key_len, GFP_KERNEL); in iwl_mvm_add_pasn_sta() 4346 if (!keyconf) { in iwl_mvm_add_pasn_sta() 4351 keyconf->cipher = cipher; in iwl_mvm_add_pasn_sta() 4353 keyconf->keylen = key_len; in iwl_mvm_add_pasn_sta() [all …]
|
H A D | sta.h | 507 struct ieee80211_key_conf *keyconf, 512 struct ieee80211_key_conf *keyconf); 516 struct ieee80211_key_conf *keyconf,
|
H A D | tx.c | 432 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local 435 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn() 438 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn() 455 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local 460 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto() 468 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto() 469 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto() 470 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwl_mvm_set_tx_cmd_crypto() 478 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto() 481 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto() [all …]
|
H A D | mvm.h | 1688 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() local 1691 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp() 2394 struct ieee80211_key_conf *keyconf); 2398 struct ieee80211_key_conf *keyconf); 2409 struct ieee80211_key_conf *keyconf); 2413 struct ieee80211_key_conf *keyconf); 2685 struct ieee80211_key_conf *keyconf,
|
H A D | mac80211.c | 4365 struct ieee80211_key_conf *keyconf, in iwl_mvm_mac_update_tkip_key() argument 4371 if (keyconf->hw_key_idx == STA_KEY_IDX_INVALID) in iwl_mvm_mac_update_tkip_key() 4374 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 D | mac80211.h | 1975 ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p2k() argument 1982 ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_rx_p1k() argument 1986 KASSERT(keyconf != NULL && addr != NULL && p1k != NULL, in ieee80211_get_tkip_rx_p1k() 1987 ("%s: keyconf %p addr %p p1k %p\n", __func__, keyconf, addr, p1k)); in ieee80211_get_tkip_rx_p1k() 2199 ieee80211_tkip_add_iv(u8 *crypto_hdr, struct ieee80211_key_conf *keyconf, in ieee80211_tkip_add_iv() argument 2238 ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, uint8_t tid, in ieee80211_get_key_rx_seq() argument 2242 KASSERT(keyconf != NULL && seq != NULL, ("%s: keyconf %p seq %p\n", in ieee80211_get_key_rx_seq() 2243 __func__, keyconf, seq)); in ieee80211_get_key_rx_seq() 2246 switch (keyconf->cipher) { in ieee80211_get_key_rx_seq() 2259 pr_debug("%s: unsupported cipher suite %d\n", __func__, keyconf->cipher); in ieee80211_get_key_rx_seq()
|
/freebsd/sys/dev/bwn/ |
H A D | if_bwnvar.h | 856 void *keyconf; member
|
H A D | if_bwn.c | 3610 mac->mac_key[i].keyconf = NULL; in bwn_clear_keys()
|