/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/ |
A D | cfg80211.c | 616 key_index); in add_key() 637 key_index); in add_key() 649 u8 key_index, in del_key() argument 656 if (!pairwise && (key_index == 4 || key_index == 5)) { in del_key() 657 key_index -= 4; in del_key() 658 if (priv->wilc_igtk[key_index]) { in del_key() 667 if (priv->wilc_gtk[key_index]) { in del_key() 676 if (priv->wilc_ptk[key_index]) { in del_key() 699 if (key_index == 4 || key_index == 5) { in get_key() 700 key_index -= 4; in get_key() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/toshiba/ |
A D | ps3_gelic_wireless.c | 1027 if (key_index) { in gelic_wl_set_encode() 1029 key_index--; in gelic_wl_set_encode() 1096 if (key_index) in gelic_wl_get_encode() 1097 key_index--; in gelic_wl_get_encode() 1119 memcpy(extra, wl->key[key_index], wl->key_len[key_index]); in gelic_wl_get_encode() 1196 int key_index; in gelic_wl_set_encodeext() local 1214 if (key_index) in gelic_wl_set_encodeext() 1215 key_index--; in gelic_wl_set_encodeext() 1284 int key_index; in gelic_wl_get_encodeext() local 1303 if (key_index) in gelic_wl_get_encodeext() [all …]
|
/linux-6.3-rc2/drivers/staging/wlan-ng/ |
A 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() 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() 231 int link_id, u8 key_index, bool unicast, in prism2_set_default_key() argument [all …]
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A 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);
|
A D | cfg80211.c | 535 int link_id, u8 key_index, bool pairwise, in qtnf_add_key() argument 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 582 vif->mac->macid, vif->vifid, key_index, unicast, in qtnf_set_default_key() 590 int link_id, u8 key_index) in qtnf_set_default_mgmt_key() argument 595 ret = qtnf_cmd_send_set_default_mgmt_key(vif, key_index); in qtnf_set_default_mgmt_key() [all …]
|
A 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A 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.3-rc2/drivers/net/wireless/ath/ath5k/ |
A 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.3-rc2/net/wireless/ |
A D | rdev-ops.h | 81 u8 key_index, bool pairwise, const u8 *mac_addr, in rdev_add_key() argument 87 ret = rdev->ops->add_key(&rdev->wiphy, netdev, link_id, key_index, in rdev_add_key() 110 u8 key_index, bool pairwise, const u8 *mac_addr) in rdev_del_key() argument 123 struct net_device *netdev, int link_id, u8 key_index, in rdev_set_default_key() argument 130 key_index, unicast, multicast); in rdev_set_default_key() 137 struct net_device *netdev, int link_id, u8 key_index) in rdev_set_default_mgmt_key() argument 141 key_index); in rdev_set_default_mgmt_key() 143 key_index); in rdev_set_default_mgmt_key() 151 u8 key_index) in rdev_set_default_beacon_key() argument 156 key_index); in rdev_set_default_beacon_key() [all …]
|
A D | trace.h | 443 __field(u8, key_index) 451 __entry->key_index = key_index; 482 __field(u8, key_index) 491 __entry->key_index = key_index; 511 __field(u8, key_index) 519 __entry->key_index = key_index; 532 u8 key_index), 538 __field(u8, key_index) 544 __entry->key_index = key_index; 553 u8 key_index), [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/ |
A D | cfg80211.c | 1151 key_index); in ath6kl_cfg80211_add_key() 1155 key = &vif->keys[key_index]; in ath6kl_cfg80211_add_key() 1214 ar->ap_mode_bkey.key_index = key_index; in ath6kl_cfg80211_add_key() 1266 key_index); in ath6kl_cfg80211_del_key() 1276 vif->keys[key_index].key_len = 0; in ath6kl_cfg80211_del_key() 1299 key_index); in ath6kl_cfg80211_get_key() 1303 key = &vif->keys[key_index]; in ath6kl_cfg80211_get_key() 1318 u8 key_index, bool unicast, in ath6kl_cfg80211_set_default_key() argument 1335 __func__, key_index); in ath6kl_cfg80211_set_default_key() 1341 __func__, key_index); in ath6kl_cfg80211_set_default_key() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A 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()
|
A D | ioctl.h | 64 u8 key_index; member 243 u32 key_index; member
|
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/ |
A D | cfg80211.c | 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() 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 1657 wil_del_rx_key(key_index, key_usage, cs); in wil_cfg80211_add_key() 1664 key_usage_str[key_usage], key_index, in wil_cfg80211_add_key() 1685 vif->gtk_index = key_index; in wil_cfg80211_add_key() 1700 u8 key_index, bool pairwise, in wil_cfg80211_del_key() argument 1712 key_usage_str[key_usage], key_index); in wil_cfg80211_del_key() 1719 wil_del_rx_key(key_index, key_usage, cs); in wil_cfg80211_del_key() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | hw.h | 31 void rtl8723be_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | hw.h | 29 void rtl88ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | hw.h | 29 void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | hw.h | 29 void rtl92ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | hw.h | 48 u32 key_index, u8 *macaddr, bool is_group,
|
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/ |
A D | cfg.c | 1488 u8 key_index, bool unicast, in lbs_cfg_set_default_key() argument 1496 if (key_index != priv->wep_tx_key) { in lbs_cfg_set_default_key() 1497 lbs_deb_assoc("set_default_key: to %d\n", key_index); in lbs_cfg_set_default_key() 1498 priv->wep_tx_key = key_index; in lbs_cfg_set_default_key() 1568 int link_id, u8 key_index, bool pairwise, in lbs_cfg_del_key() argument 1573 key_index, mac_addr); in lbs_cfg_del_key() 1592 if (key_index < 3 && priv->wep_key_len[key_index]) { in lbs_cfg_del_key() 1593 priv->wep_key_len[key_index] = 0; in lbs_cfg_del_key()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | hw.h | 35 void rtl8723e_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | hw.h | 31 void rtl8821ae_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | hw.h | 42 void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux-6.3-rc2/drivers/net/wireless/ |
A 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, 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 2424 int link_id, u8 key_index, bool unicast, in rndis_set_default_key() argument 2433 if (key_index >= RNDIS_WLAN_NUM_KEYS) in rndis_set_default_key() 2436 priv->encr_tx_key_index = key_index; in rndis_set_default_key() 2438 if (is_wpa_key(priv, key_index)) in rndis_set_default_key() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/ |
A D | wlan_bssdef.h | 114 u32 key_index; /* 0 is the per-client key, 1-N are the global keys */ member
|