/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mld-key.c | 14 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 || !ieee80211_vif_is_mld(vif))) 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_flags() 62 struct ieee80211_key_conf *keyconf) in iwl_mvm_get_sec_flags() 65 bool pairwise = keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE; in iwl_mvm_get_sec_flags() 66 bool igtk = keyconf in iwl_mvm_get_sec_flags() 57 iwl_mvm_get_sec_flags(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_get_sec_flags() argument 168 iwl_mvm_mld_send_key(struct iwl_mvm * mvm,u32 sta_mask,u32 key_flags,struct ieee80211_key_conf * keyconf) iwl_mvm_mld_send_key() argument 230 iwl_mvm_sec_key_add(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_sec_key_add() argument 282 _iwl_mvm_sec_key_del(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u32 flags) _iwl_mvm_sec_key_del() argument 331 iwl_mvm_sec_key_del(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_sec_key_del() argument [all...] |
H A D | sta.c | 2641 struct ieee80211_key_conf *keyconf, in __iwl_mvm_remove_sta_key() 2658 key_flags = cpu_to_le16((keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in __iwl_mvm_remove_sta_key() 2671 u.cmd.common.key_offset = keyconf->hw_key_idx; in iwl_mvm_rm_mcast_sta() 3716 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() 3722 if (WARN_ON((keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk() 3723 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk() 3724 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk() 3725 (keyconf in iwl_mvm_send_sta_igtk() 2612 __iwl_mvm_remove_sta_key(struct iwl_mvm * mvm,u8 sta_id,struct ieee80211_key_conf * keyconf,bool mcast) __iwl_mvm_remove_sta_key() argument 3702 iwl_mvm_send_sta_igtk(struct iwl_mvm * mvm,struct ieee80211_key_conf * keyconf,u8 sta_id,bool remove_key) iwl_mvm_send_sta_igtk() argument 3809 __iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset,bool mcast) __iwl_mvm_set_sta_key() argument 3857 iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset) iwl_mvm_set_sta_key() argument 3959 iwl_mvm_remove_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_remove_sta_key() argument 4016 iwl_mvm_update_tkip_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) iwl_mvm_update_tkip_key() argument 4320 struct ieee80211_key_conf *keyconf; iwl_mvm_add_pasn_sta() local [all...] |
H A D | sta.h | 522 struct ieee80211_key_conf *keyconf, 527 struct ieee80211_key_conf *keyconf); 531 struct ieee80211_key_conf *keyconf,
|
H A D | tx.c | 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() [all …]
|
H A D | mvm.h | 1866 struct ieee80211_key_conf *keyconf = info->control.hw_key; 1869 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); 2612 struct ieee80211_key_conf *keyconf); 2616 struct ieee80211_key_conf *keyconf); 2620 struct ieee80211_key_conf *keyconf); 2631 struct ieee80211_key_conf *keyconf); in iwl_mvm_mac_config() 2635 struct ieee80211_key_conf *keyconf); 2930 struct ieee80211_key_conf *keyconf, 1688 struct ieee80211_key_conf *keyconf = info->control.hw_key; iwl_mvm_set_tx_cmd_ccmp() local
|
H A D | mac80211.c | 4615 struct ieee80211_key_conf *keyconf, in iwl_mvm_roc_common() 4621 if (keyconf->hw_key_idx == STA_KEY_IDX_INVALID) in iwl_mvm_roc_common() 4624 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_roc_common() 4365 iwl_mvm_mac_update_tkip_key(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) iwl_mvm_mac_update_tkip_key() argument
|
/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | mac80211.h | 1726 ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p2k() argument 1733 ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_rx_p1k() argument 1737 KASSERT(keyconf != NULL && addr != NULL && p1k != NULL, in ieee80211_get_tkip_rx_p1k() 1738 ("%s: keyconf %p addr %p p1k %p\n", __func__, keyconf, addr, p1k)); in ieee80211_get_tkip_rx_p1k() 2072 ieee80211_tkip_add_iv(u8 *crypto_hdr, struct ieee80211_key_conf *keyconf, in ieee80211_tkip_add_iv() argument 2456 ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, int8_t tid, in ieee80211_get_key_rx_seq() argument 2462 KASSERT(keyconf != NULL && seq != NULL, ("%s: keyconf %p seq %p\n", in ieee80211_get_key_rx_seq() 2463 __func__, keyconf, seq)); in ieee80211_get_key_rx_seq() 2466 k = keyconf->_k; in ieee80211_get_key_rx_seq() 2467 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 D | if_bwnvar.h | 856 void *keyconf; member
|
H A D | if_bwn.c | 3602 mac->mac_key[i].keyconf = NULL; in bwn_clear_keys()
|