/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 544 u8 key_index, bool pairwise, const u8 *mac_addr, in add_key() argument 564 ret = wilc_wfi_cfg_allocate_wpa_entry(priv, key_index); in add_key() 583 key = priv->wilc_gtk[key_index]; in add_key() 590 key = priv->wilc_ptk[key_index]; in add_key() 610 key_index, params->seq_len, in add_key() 616 key_index); in add_key() 620 ret = wilc_wfi_cfg_allocate_wpa_igtk_entry(priv, key_index); in add_key() 624 key = priv->wilc_igtk[key_index - 4]; in add_key() 637 key_index); in add_key() 649 u8 key_index, in del_key() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 1012 int key_index, index_specified; in gelic_wl_set_encode() local 1017 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_set_encode() 1019 pr_debug("%s: key_index = %d\n", __func__, key_index); in gelic_wl_set_encode() 1023 if (GELIC_WEP_KEYS < key_index) in gelic_wl_set_encode() 1027 if (key_index) { in gelic_wl_set_encode() 1029 key_index--; in gelic_wl_set_encode() 1032 key_index = wl->current_key; in gelic_wl_set_encode() 1038 wl->current_key = key_index; in gelic_wl_set_encode() 1051 clear_bit(key_index, &wl->key_enabled); in gelic_wl_set_encode() 1065 wl->key_len[key_index] = enc->length; in gelic_wl_set_encode() [all …]
|
/linux-6.1.9/drivers/staging/wlan-ng/ |
D | cfg80211.c | 146 int link_id, u8 key_index, bool pairwise, in prism2_add_key() argument 152 if (key_index >= NUM_WEPKEYS) in prism2_add_key() 163 key_index)) in prism2_add_key() 167 did = didmib_dot11smt_wepdefaultkeystable_key(key_index + 1); in prism2_add_key() 175 int link_id, u8 key_index, bool pairwise, in prism2_get_key() argument 183 if (key_index >= NUM_WEPKEYS) in prism2_get_key() 186 len = wlandev->wep_keylens[key_index]; in prism2_get_key() 196 params.key = wlandev->wep_keys[key_index]; in prism2_get_key() 205 int link_id, u8 key_index, bool pairwise, in prism2_del_key() argument 217 if (key_index >= NUM_WEPKEYS) in prism2_del_key() [all …]
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.h | 38 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, 40 int qtnf_cmd_send_del_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, 42 int qtnf_cmd_send_set_default_key(struct qtnf_vif *vif, u8 key_index, 44 int qtnf_cmd_send_set_default_mgmt_key(struct qtnf_vif *vif, u8 key_index);
|
D | cfg80211.c | 535 int link_id, u8 key_index, bool pairwise, in qtnf_add_key() argument 541 ret = qtnf_cmd_send_add_key(vif, key_index, pairwise, mac_addr, params); in qtnf_add_key() 544 vif->mac->macid, vif->vifid, params->cipher, key_index, in qtnf_add_key() 551 int link_id, u8 key_index, bool pairwise, in qtnf_del_key() argument 557 ret = qtnf_cmd_send_del_key(vif, key_index, pairwise, mac_addr); in qtnf_del_key() 561 vif->mac->macid, vif->vifid, key_index); in qtnf_del_key() 565 key_index, pairwise); in qtnf_del_key() 573 int link_id, u8 key_index, bool unicast, in qtnf_set_default_key() argument 579 ret = qtnf_cmd_send_set_default_key(vif, key_index, unicast, multicast); in qtnf_set_default_key() 582 vif->mac->macid, vif->vifid, key_index, unicast, in qtnf_set_default_key() [all …]
|
D | qlink.h | 463 u8 key_index; member 481 u8 key_index; member 495 u8 key_index; member 508 u8 key_index; member 1445 u8 key_index; member
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 192 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92c_set_key() argument 247 macaddr = cam_const_addr[key_index]; in rtl92c_set_key() 248 entry_id = key_index; in rtl92c_set_key() 252 entry_id = key_index; in rtl92c_set_key() 266 key_index = PAIRWISE_KEYIDX; in rtl92c_set_key() 270 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key() 296 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key() 300 key_buf[key_index]); in rtl92c_set_key() 314 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
|
/linux-6.1.9/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 82 unsigned int key_index, in ath5k_hw_setup_2word_tx_desc() argument 199 if (key_index != AR5K_TXKEYIX_INVALID) { in ath5k_hw_setup_2word_tx_desc() 203 AR5K_REG_SM(key_index, in ath5k_hw_setup_2word_tx_desc() 248 unsigned int key_index, in ath5k_hw_setup_4word_tx_desc() argument 335 if (key_index != AR5K_TXKEYIX_INVALID) { in ath5k_hw_setup_4word_tx_desc() 337 txctl1 |= AR5K_REG_SM(key_index, in ath5k_hw_setup_4word_tx_desc()
|
/linux-6.1.9/net/wireless/ |
D | rdev-ops.h | 81 u8 key_index, bool pairwise, const u8 *mac_addr, in rdev_add_key() argument 85 trace_rdev_add_key(&rdev->wiphy, netdev, link_id, key_index, pairwise, in rdev_add_key() 87 ret = rdev->ops->add_key(&rdev->wiphy, netdev, link_id, key_index, in rdev_add_key() 95 int link_id, u8 key_index, bool pairwise, const u8 *mac_addr, in rdev_get_key() argument 100 trace_rdev_get_key(&rdev->wiphy, netdev, link_id, key_index, pairwise, in rdev_get_key() 102 ret = rdev->ops->get_key(&rdev->wiphy, netdev, link_id, key_index, in rdev_get_key() 110 u8 key_index, bool pairwise, const u8 *mac_addr) in rdev_del_key() argument 113 trace_rdev_del_key(&rdev->wiphy, netdev, link_id, key_index, pairwise, in rdev_del_key() 115 ret = rdev->ops->del_key(&rdev->wiphy, netdev, link_id, key_index, in rdev_del_key() 123 struct net_device *netdev, int link_id, u8 key_index, in rdev_set_default_key() argument [all …]
|
D | trace.h | 438 u8 key_index, bool pairwise, const u8 *mac_addr), 439 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr), 445 __field(u8, key_index) 453 __entry->key_index = key_index; 459 __entry->key_index, BOOL_TO_STR(__entry->pairwise), 465 u8 key_index, bool pairwise, const u8 *mac_addr), 466 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr) 471 u8 key_index, bool pairwise, const u8 *mac_addr), 472 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr) 477 u8 key_index, bool pairwise, const u8 *mac_addr, u8 mode), [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1127 int link_id, u8 key_index, bool pairwise, in ath6kl_cfg80211_add_key() argument 1148 if (key_index > WMI_MAX_KEY_INDEX) { in ath6kl_cfg80211_add_key() 1151 key_index); in ath6kl_cfg80211_add_key() 1155 key = &vif->keys[key_index]; in ath6kl_cfg80211_add_key() 1207 __func__, key_index, key->key_len, key_type, in ath6kl_cfg80211_add_key() 1214 ar->ap_mode_bkey.key_index = key_index; in ath6kl_cfg80211_add_key() 1238 vif->wep_key_list[key_index].key_len = key->key_len; in ath6kl_cfg80211_add_key() 1239 memcpy(vif->wep_key_list[key_index].key, key->key, in ath6kl_cfg80211_add_key() 1244 return ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, key_index, in ath6kl_cfg80211_add_key() 1252 int link_id, u8 key_index, bool pairwise, in ath6kl_cfg80211_del_key() argument [all …]
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 913 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key() 940 wep_key->key_index = index; in mwifiex_sec_ioctl_set_wep_key() 1008 encrypt_key->key_index = MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1028 encrypt_key->key_index = ~MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1031 if (!encrypt_key->key_index) in mwifiex_sec_ioctl_set_wpa_key() 1032 encrypt_key->key_index = MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1097 const u8 *key, int key_len, u8 key_index, in mwifiex_set_encode() argument 1104 encrypt_key.key_index = key_index; in mwifiex_set_encode()
|
D | ioctl.h | 64 u8 key_index; member 243 u32 key_index; member
|
/linux-6.1.9/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 1561 void wil_set_crypto_rx(u8 key_index, enum wmi_key_usage key_usage, in wil_set_crypto_rx() argument 1575 cc = &cs->tid_crypto_rx[tid].key_id[key_index]; in wil_set_crypto_rx() 1585 cc = &cs->group_crypto_rx.key_id[key_index]; in wil_set_crypto_rx() 1597 static void wil_del_rx_key(u8 key_index, enum wmi_key_usage key_usage, in wil_del_rx_key() argument 1609 cc = &cs->tid_crypto_rx[tid].key_id[key_index]; in wil_del_rx_key() 1614 cc = &cs->group_crypto_rx.key_id[key_index]; in wil_del_rx_key() 1624 u8 key_index, bool pairwise, in wil_cfg80211_add_key() argument 1643 mac_addr, key_usage_str[key_usage], key_index, in wil_cfg80211_add_key() 1652 mac_addr, key_usage_str[key_usage], key_index, in wil_cfg80211_add_key() 1657 wil_del_rx_key(key_index, key_usage, cs); in wil_cfg80211_add_key() [all …]
|
/linux-6.1.9/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1439 u8 key_index, bool unicast, in lbs_cfg_set_default_key() argument 1447 if (key_index != priv->wep_tx_key) { in lbs_cfg_set_default_key() 1448 lbs_deb_assoc("set_default_key: to %d\n", key_index); in lbs_cfg_set_default_key() 1449 priv->wep_tx_key = key_index; in lbs_cfg_set_default_key() 1519 int link_id, u8 key_index, bool pairwise, in lbs_cfg_del_key() argument 1524 key_index, mac_addr); in lbs_cfg_del_key() 1543 if (key_index < 3 && priv->wep_key_len[key_index]) { in lbs_cfg_del_key() 1544 priv->wep_key_len[key_index] = 0; in lbs_cfg_del_key()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.h | 31 void rtl8723be_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.h | 48 u32 key_index, u8 *macaddr, bool is_group,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.h | 29 void rtl88ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.h | 29 void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.h | 29 void rtl92ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.h | 35 void rtl8723e_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.h | 31 void rtl8821ae_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.h | 42 void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.1.9/drivers/net/wireless/ |
D | rndis_wlan.c | 492 int link_id, u8 key_index, bool pairwise, 496 int link_id, u8 key_index, bool pairwise, 500 int link_id, u8 key_index, bool unicast, 2376 int link_id, u8 key_index, bool pairwise, in rndis_add_key() argument 2384 __func__, key_index, mac_addr, params->cipher); in rndis_add_key() 2390 key_index); in rndis_add_key() 2402 key_index, mac_addr, params->seq, in rndis_add_key() 2412 int link_id, u8 key_index, bool pairwise, in rndis_del_key() argument 2418 netdev_dbg(usbdev->net, "%s(%i, %pM)\n", __func__, key_index, mac_addr); in rndis_del_key() 2420 return remove_key(usbdev, key_index, mac_addr); in rndis_del_key() [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | wlan_bssdef.h | 114 u32 key_index; /* 0 is the per-client key, 1-N are the global keys */ member
|