key_idx 61 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 key_idx; key_idx 231 drivers/net/wireless/ath/ath10k/mac.c .key_idx = key->keyidx, key_idx 2207 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->key_idx = __cpu_to_le32(arg->key_idx); key_idx 7207 drivers/net/wireless/ath/ath10k/wmi.c cmd->key_idx = __cpu_to_le32(arg->key_idx); key_idx 7221 drivers/net/wireless/ath/ath10k/wmi.c arg->key_idx, arg->key_cipher, arg->key_len); key_idx 5002 drivers/net/wireless/ath/ath10k/wmi.h __le32 key_idx; key_idx 5021 drivers/net/wireless/ath/ath10k/wmi.h u32 key_idx; key_idx 569 drivers/net/wireless/ath/ath6kl/cfg80211.c if (sme->key_idx > WMI_MAX_KEY_INDEX) { key_idx 571 drivers/net/wireless/ath/ath6kl/cfg80211.c sme->key_idx); key_idx 576 drivers/net/wireless/ath/ath6kl/cfg80211.c key = &vif->keys[sme->key_idx]; key_idx 580 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->def_txkey_index = sme->key_idx; key_idx 582 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, sme->key_idx, key_idx 266 drivers/net/wireless/ath/ath9k/ath9k.h u8 key_idx[4]; key_idx 356 drivers/net/wireless/ath/ath9k/main.c memset(&an->key_idx, 0, sizeof(an->key_idx)); key_idx 1527 drivers/net/wireless/ath/ath9k/main.c an->key_idx[0] = key; key_idx 1546 drivers/net/wireless/ath/ath9k/main.c an->key_idx[0] = 0; key_idx 1601 drivers/net/wireless/ath/ath9k/main.c for (i = 0; i < ARRAY_SIZE(an->key_idx); i++) { key_idx 1602 drivers/net/wireless/ath/ath9k/main.c if (!an->key_idx[i]) key_idx 1604 drivers/net/wireless/ath/ath9k/main.c ath9k_hw_set_tx_filter(ah, an->key_idx[i], set); key_idx 1725 drivers/net/wireless/ath/ath9k/main.c for (i = 0; i < ARRAY_SIZE(an->key_idx); i++) { key_idx 1726 drivers/net/wireless/ath/ath9k/main.c if (an->key_idx[i]) key_idx 1728 drivers/net/wireless/ath/ath9k/main.c an->key_idx[i] = key->hw_key_idx; key_idx 1731 drivers/net/wireless/ath/ath9k/main.c WARN_ON(i == ARRAY_SIZE(an->key_idx)); key_idx 1737 drivers/net/wireless/ath/ath9k/main.c for (i = 0; i < ARRAY_SIZE(an->key_idx); i++) { key_idx 1738 drivers/net/wireless/ath/ath9k/main.c if (an->key_idx[i] != key->hw_key_idx) key_idx 1740 drivers/net/wireless/ath/ath9k/main.c an->key_idx[i] = 0; key_idx 294 drivers/net/wireless/broadcom/b43/xmit.c u8 key_idx = info->control.hw_key->hw_key_idx; key_idx 299 drivers/net/wireless/broadcom/b43/xmit.c B43_WARN_ON(key_idx >= ARRAY_SIZE(dev->key)); key_idx 300 drivers/net/wireless/broadcom/b43/xmit.c key = &(dev->key[key_idx]); key_idx 314 drivers/net/wireless/broadcom/b43/xmit.c key_idx = b43_kidx_to_fw(dev, key_idx); key_idx 315 drivers/net/wireless/broadcom/b43/xmit.c mac_ctl |= (key_idx << B43_TXH_MAC_KEYIDX_SHIFT) & key_idx 225 drivers/net/wireless/broadcom/b43legacy/xmit.c u8 key_idx = info->control.hw_key->hw_key_idx; key_idx 230 drivers/net/wireless/broadcom/b43legacy/xmit.c B43legacy_WARN_ON(key_idx >= dev->max_nr_keys); key_idx 231 drivers/net/wireless/broadcom/b43legacy/xmit.c key = &(dev->key[key_idx]); key_idx 237 drivers/net/wireless/broadcom/b43legacy/xmit.c key_idx = b43legacy_kidx_to_fw(dev, key_idx); key_idx 238 drivers/net/wireless/broadcom/b43legacy/xmit.c mac_ctl |= (key_idx << B43legacy_TX4_MAC_KEYIDX_SHIFT) & key_idx 1785 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key.index = (u32) sme->key_idx; key_idx 2209 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u8 key_idx, bool unicast, bool multicast) key_idx 2218 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(CONN, "key index (%d)\n", key_idx); key_idx 2230 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index = key_idx; key_idx 2243 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u8 key_idx, bool pairwise, const u8 *mac_addr) key_idx 2250 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(CONN, "key index (%d)\n", key_idx); key_idx 2255 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (key_idx >= BRCMF_MAX_DEFAULT_KEYS) { key_idx 2260 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; key_idx 2268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key->index = (u32)key_idx; key_idx 2280 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u8 key_idx, bool pairwise, const u8 *mac_addr, key_idx 2294 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(CONN, "key index (%d)\n", key_idx); key_idx 2298 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (key_idx >= BRCMF_MAX_DEFAULT_KEYS) { key_idx 2300 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bphy_err(drvr, "invalid key index (%d)\n", key_idx); key_idx 2305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return brcmf_cfg80211_del_key(wiphy, ndev, key_idx, pairwise, key_idx 2320 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; key_idx 2325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key->index = key_idx; key_idx 2390 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_get_key(struct wiphy *wiphy, struct net_device *ndev, u8 key_idx, key_idx 2405 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(CONN, "key index (%d)\n", key_idx); key_idx 2447 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct net_device *ndev, u8 key_idx) key_idx 2451 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(TRACE, "Enter key_idx %d\n", key_idx); key_idx 2466 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u8 key_idx; key_idx 2470 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (key_idx = 0; key_idx < BRCMF_MAX_DEFAULT_KEYS; key_idx++) { key_idx 2471 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; key_idx 2476 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (key_idx == BRCMF_MAX_DEFAULT_KEYS) key_idx 3145 drivers/net/wireless/intel/iwlegacy/4965-mac.c wep_cmd->key[i].key_idx = i; key_idx 1102 drivers/net/wireless/intel/iwlegacy/commands.h u8 key_idx; key_idx 990 drivers/net/wireless/intersil/orinoco/hw.c int __orinoco_hw_set_tkip_key(struct orinoco_private *priv, int key_idx, key_idx 1008 drivers/net/wireless/intersil/orinoco/hw.c key_idx &= 0x3; key_idx 1011 drivers/net/wireless/intersil/orinoco/hw.c key_idx |= 0x8000; key_idx 1013 drivers/net/wireless/intersil/orinoco/hw.c buf.idx = cpu_to_le16(key_idx); key_idx 1053 drivers/net/wireless/intersil/orinoco/hw.c int orinoco_clear_tkip_key(struct orinoco_private *priv, int key_idx) key_idx 1060 drivers/net/wireless/intersil/orinoco/hw.c key_idx); key_idx 1063 drivers/net/wireless/intersil/orinoco/hw.c priv->ndev->name, err, key_idx); key_idx 40 drivers/net/wireless/intersil/orinoco/hw.h int __orinoco_hw_set_tkip_key(struct orinoco_private *priv, int key_idx, key_idx 43 drivers/net/wireless/intersil/orinoco/hw.h int orinoco_clear_tkip_key(struct orinoco_private *priv, int key_idx); key_idx 1328 drivers/net/wireless/marvell/libertas/cfg.c sme->key_idx, sme->key_len); key_idx 1340 drivers/net/wireless/marvell/libertas/cfg.c priv->wep_tx_key = sme->key_idx; key_idx 1341 drivers/net/wireless/marvell/libertas/cfg.c priv->wep_key_len[sme->key_idx] = sme->key_len; key_idx 1342 drivers/net/wireless/marvell/libertas/cfg.c memcpy(priv->wep_key[sme->key_idx], sme->key, sme->key_len); key_idx 2266 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->wep_key_curr_index = sme->key_idx; key_idx 2268 drivers/net/wireless/marvell/mwifiex/cfg80211.c sme->key_len, sme->key_idx, key_idx 975 drivers/net/wireless/marvell/mwifiex/fw.h u8 key_idx; key_idx 618 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_idx 666 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = key_idx 696 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_idx 707 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_idx 723 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (km->key_param_set.key_idx == key_idx 37 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 key_idx, struct ieee80211_key_conf *key) key_idx 48 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); key_idx 49 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); key_idx 52 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_data, key_idx 166 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h u8 key_idx, struct ieee80211_key_conf *key); key_idx 571 drivers/net/wireless/mediatek/mt7601u/mac.c int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx, key_idx 582 drivers/net/wireless/mediatek/mt7601u/mac.c trace_set_shared_key(dev, vif_idx, key_idx); key_idx 584 drivers/net/wireless/mediatek/mt7601u/mac.c mt7601u_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_idx 588 drivers/net/wireless/mediatek/mt7601u/mac.c val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); key_idx 589 drivers/net/wireless/mediatek/mt7601u/mac.c val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); key_idx 162 drivers/net/wireless/mediatek/mt7601u/mac.h int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx, key_idx 1081 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&word, TXD_W0_KEY_ID, txdesc->key_idx); key_idx 813 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txdesc->key_idx : txdesc->u.ht.wcid); key_idx 52 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c txdesc->key_idx = hw_key->hw_key_idx; key_idx 323 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h u16 key_idx; key_idx 1854 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(&word, TXD_W0_KEY_INDEX, txdesc->key_idx); key_idx 1473 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(&word, TXD_W0_KEY_INDEX, txdesc->key_idx); key_idx 1510 drivers/net/wireless/realtek/rtlwifi/core.c u8 key_idx; key_idx 1575 drivers/net/wireless/realtek/rtlwifi/core.c key_idx = (u8) (key->keyidx); key_idx 1576 drivers/net/wireless/realtek/rtlwifi/core.c if (key_idx > 3) key_idx 1624 drivers/net/wireless/realtek/rtlwifi/core.c memcpy(rtlpriv->sec.key_buf[key_idx], key_idx 1626 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->sec.key_len[key_idx] = key->keylen; key_idx 1634 drivers/net/wireless/realtek/rtlwifi/core.c memcpy(rtlpriv->sec.key_buf[key_idx], key_idx 1636 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->sec.key_len[key_idx] = key->keylen; key_idx 1658 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->cfg->ops->set_key(hw, key_idx, mac_addr, key_idx 1664 drivers/net/wireless/realtek/rtlwifi/core.c key->hw_key_idx = key_idx; key_idx 1680 drivers/net/wireless/realtek/rtlwifi/core.c memset(rtlpriv->sec.key_buf[key_idx], 0, key->keylen); key_idx 1681 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->sec.key_len[key_idx] = 0; key_idx 1690 drivers/net/wireless/realtek/rtlwifi/core.c rtl_cam_delete_one_entry(hw, mac_addr, key_idx); key_idx 1485 drivers/net/wireless/rndis_wlan.c static int restore_key(struct usbnet *usbdev, u8 key_idx) key_idx 1490 drivers/net/wireless/rndis_wlan.c if (is_wpa_key(priv, key_idx)) key_idx 1493 drivers/net/wireless/rndis_wlan.c key = priv->encr_keys[key_idx]; key_idx 1495 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %i:%i\n", __func__, key_idx, key.len); key_idx 1500 drivers/net/wireless/rndis_wlan.c return add_wep_key(usbdev, key.material, key.len, key_idx); key_idx 2217 drivers/net/wireless/rndis_wlan.c priv->encr_tx_key_index = sme->key_idx; key_idx 2218 drivers/net/wireless/rndis_wlan.c ret = add_wep_key(usbdev, sme->key, sme->key_len, sme->key_idx); key_idx 2221 drivers/net/wireless/rndis_wlan.c ret, sme->key_len, sme->key_idx); key_idx 3603 drivers/net/wireless/ti/wlcore/main.c int key_idx) key_idx 3610 drivers/net/wireless/ti/wlcore/main.c key_idx); key_idx 3613 drivers/net/wireless/ti/wlcore/main.c if (key_idx == -1) key_idx 3629 drivers/net/wireless/ti/wlcore/main.c wlvif->default_key = key_idx; key_idx 3634 drivers/net/wireless/ti/wlcore/main.c key_idx, key_idx 1288 drivers/staging/rtl8188eu/core/rtw_security.c int key_idx; key_idx 1304 drivers/staging/rtl8188eu/core/rtw_security.c key_idx = psecuritypriv->dot118021XGrpKeyid; key_idx 1305 drivers/staging/rtl8188eu/core/rtw_security.c key = psecuritypriv->dot118021XGrpKey[key_idx].skey; key_idx 1307 drivers/staging/rtl8188eu/core/rtw_security.c key_idx = 0; key_idx 1319 drivers/staging/rtl8188eu/core/rtw_security.c crypto_private = crypto_ops->init(key_idx); key_idx 526 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->key_idx = (u8)psecuritypriv->dot11PrivacyKeyIndex; key_idx 530 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->key_idx = (u8)psecuritypriv->dot118021XGrpKeyid; key_idx 532 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->key_idx = 0; key_idx 535 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->key_idx = 0; key_idx 964 drivers/staging/rtl8188eu/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 968 drivers/staging/rtl8188eu/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 974 drivers/staging/rtl8188eu/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 129 drivers/staging/rtl8188eu/include/rtw_xmit.h u8 key_idx; key_idx 664 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c u32 key_idx = 0; key_idx 708 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c key_idx = ieee->crypt_info.tx_keyidx; key_idx 711 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c key_idx = 0; key_idx 714 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c key_idx = 1; key_idx 717 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c key_idx = 2; key_idx 720 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c key_idx = 3; key_idx 733 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c rtl92e_set_key(dev, key_idx, key_idx, KEY_TYPE_WEP104, key_idx 734 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c zero_addr[key_idx], 0, hwkey); key_idx 735 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c rtl92e_set_swcam(dev, key_idx, key_idx, KEY_TYPE_WEP104, key_idx 736 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c zero_addr[key_idx], 0, hwkey, 0); key_idx 41 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c int key_idx; key_idx 50 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c static void *rtllib_ccmp_init(int key_idx) key_idx 57 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c priv->key_idx = key_idx; key_idx 181 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c *pos++ = (key->key_idx << 6) | (1 << 5) /* Ext IV included */; key_idx 248 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c if (key->key_idx != keyidx) { key_idx 250 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c key->key_idx, keyidx, priv); key_idx 323 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c keyidx = data->key_idx; key_idx 325 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c data->key_idx = keyidx; key_idx 381 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c ccmp->key_idx, ccmp->key_set, key_idx 47 drivers/staging/rtl8192e/rtllib_crypt_tkip.c int key_idx; key_idx 57 drivers/staging/rtl8192e/rtllib_crypt_tkip.c static void *rtllib_tkip_init(int key_idx) key_idx 64 drivers/staging/rtl8192e/rtllib_crypt_tkip.c priv->key_idx = key_idx; key_idx 327 drivers/staging/rtl8192e/rtllib_crypt_tkip.c *pos++ = (tkey->key_idx << 6) | (1 << 5) /* Ext IV included */; key_idx 398 drivers/staging/rtl8192e/rtllib_crypt_tkip.c if (tkey->key_idx != keyidx) { key_idx 401 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->key_idx, keyidx, priv); key_idx 664 drivers/staging/rtl8192e/rtllib_crypt_tkip.c keyidx = tkey->key_idx; key_idx 666 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->key_idx = keyidx; key_idx 727 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkip->key_idx, tkip->key_set, key_idx 25 drivers/staging/rtl8192e/rtllib_crypt_wep.c u8 key_idx; key_idx 38 drivers/staging/rtl8192e/rtllib_crypt_wep.c priv->key_idx = keyidx; key_idx 128 drivers/staging/rtl8192e/rtllib_crypt_wep.c *pos++ = wep->key_idx << 6; key_idx 186 drivers/staging/rtl8192e/rtllib_crypt_wep.c if (keyidx != wep->key_idx) key_idx 259 drivers/staging/rtl8192e/rtllib_crypt_wep.c seq_printf(m, "key[%d] alg=WEP len=%d\n", wep->key_idx, wep->key_len); key_idx 46 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c int key_idx; key_idx 55 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c static void *ieee80211_ccmp_init(int key_idx) key_idx 62 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c priv->key_idx = key_idx; key_idx 188 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c *pos++ = (key->key_idx << 6) | BIT(5) /* Ext IV included */; key_idx 253 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c if (key->key_idx != keyidx) { key_idx 255 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c key->key_idx, keyidx, priv); key_idx 332 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c keyidx = data->key_idx; key_idx 334 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c data->key_idx = keyidx; key_idx 386 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c ccmp->key_idx, ccmp->key_set, key_idx 50 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c int key_idx; key_idx 61 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c static void *ieee80211_tkip_init(int key_idx) key_idx 68 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c priv->key_idx = key_idx; key_idx 330 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c *pos++ = (tkey->key_idx << 6) | BIT(5) /* Ext IV included */; key_idx 397 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c if (tkey->key_idx != keyidx) { key_idx 399 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c "keyidx=%d priv=%p\n", tkey->key_idx, keyidx, priv); key_idx 663 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c keyidx = tkey->key_idx; key_idx 665 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c tkey->key_idx = keyidx; key_idx 728 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c tkip->key_idx, tkip->key_set, key_idx 30 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c u8 key_idx; key_idx 43 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c priv->key_idx = keyidx; key_idx 121 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c *pos++ = wep->key_idx << 6; key_idx 180 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c if (keyidx != wep->key_idx) key_idx 257 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c wep->key_idx, wep->key_len); key_idx 508 drivers/staging/rtl8192u/r8192U_wx.c u32 key_idx = 0; key_idx 546 drivers/staging/rtl8192u/r8192U_wx.c key_idx = ieee->tx_keyidx; key_idx 549 drivers/staging/rtl8192u/r8192U_wx.c key_idx = 0; key_idx 552 drivers/staging/rtl8192u/r8192U_wx.c key_idx = 1; key_idx 555 drivers/staging/rtl8192u/r8192U_wx.c key_idx = 2; key_idx 558 drivers/staging/rtl8192u/r8192U_wx.c key_idx = 3; key_idx 569 drivers/staging/rtl8192u/r8192U_wx.c key_idx, /* EntryNo */ key_idx 570 drivers/staging/rtl8192u/r8192U_wx.c key_idx, /* KeyIndex */ key_idx 572 drivers/staging/rtl8192u/r8192U_wx.c zero_addr[key_idx], key_idx 583 drivers/staging/rtl8192u/r8192U_wx.c key_idx, /* EntryNo */ key_idx 584 drivers/staging/rtl8192u/r8192U_wx.c key_idx, /* KeyIndex */ key_idx 586 drivers/staging/rtl8192u/r8192U_wx.c zero_addr[key_idx], key_idx 535 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->key_idx = (u8)psecuritypriv->dot11PrivacyKeyIndex; key_idx 539 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->key_idx = (u8)psecuritypriv->dot118021XGrpKeyid; key_idx 541 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->key_idx = 0; key_idx 544 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->key_idx = 0; key_idx 559 drivers/staging/rtl8723bs/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 575 drivers/staging/rtl8723bs/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 590 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); key_idx 166 drivers/staging/rtl8723bs/include/rtw_xmit.h u8 key_idx; key_idx 2063 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sme->privacy, sme->key, sme->key_len, sme->key_idx); key_idx 2152 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_idx = sme->key_idx; key_idx 2155 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (sme->key_idx > WEP_KEYS) { key_idx 108 drivers/staging/vt6656/mac.c u32 key_idx, u8 *addr, u8 *key) key_idx 128 drivers/staging/vt6656/mac.c (u16)key_idx, sizeof(struct vnt_mac_set_key), key_idx 362 drivers/staging/vt6656/mac.h u32 key_idx, u8 *addr, u8 *key); key_idx 290 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wep_key_len[sme->key_idx] = sme->key_len; key_idx 291 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(priv->wep_key[sme->key_idx], sme->key, key_idx 294 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_wep_default_keyid(vif, sme->key_idx); key_idx 296 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c sme->key_idx); key_idx 300 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->wep_key_len[sme->key_idx] = sme->key_len; key_idx 301 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(priv->wep_key[sme->key_idx], sme->key, key_idx 304 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_wep_default_keyid(vif, sme->key_idx); key_idx 306 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c sme->key_idx); key_idx 56 drivers/staging/wilc1000/wilc_wfi_netdevice.h u8 key_idx; key_idx 472 drivers/staging/wlan-ng/cfg80211.c if (sme->key_idx >= NUM_WEPKEYS) key_idx 477 drivers/staging/wlan-ng/cfg80211.c sme->key_idx); key_idx 483 drivers/staging/wlan-ng/cfg80211.c sme->key_idx + 1); key_idx 453 drivers/staging/wusbcore/host/hwa-hc.c u8 key_idx) key_idx 477 drivers/staging/wusbcore/host/hwa-hc.c USB_DT_KEY << 8 | key_idx, key_idx 503 drivers/staging/wusbcore/host/hwa-hc.c u8 key_idx = wusb_key_index(0, WUSB_KEY_INDEX_TYPE_PTK, key_idx 507 drivers/staging/wusbcore/host/hwa-hc.c key, key_size, key_idx); key_idx 537 drivers/staging/wusbcore/host/hwa-hc.c u8 key_idx = wusb_key_index(0, WUSB_KEY_INDEX_TYPE_GTK, key_idx 540 drivers/staging/wusbcore/host/hwa-hc.c return __hwahc_dev_set_key(wusbhc, 0, tkid, key, key_size, key_idx); key_idx 2280 include/net/cfg80211.h u8 key_len, key_idx; key_idx 2541 include/net/cfg80211.h u8 key_len, key_idx; key_idx 4612 kernel/trace/trace_events_hist.c unsigned int key_idx, key_idx 4623 kernel/trace/trace_events_hist.c if (WARN_ON(key_idx >= HIST_FIELDS_MAX)) key_idx 4650 kernel/trace/trace_events_hist.c hist_data->fields[key_idx] = hist_field; key_idx 4653 kernel/trace/trace_events_hist.c hist_data->fields[key_idx]->size = key_size; key_idx 4654 kernel/trace/trace_events_hist.c hist_data->fields[key_idx]->offset = key_offset; key_idx 281 kernel/trace/tracing_map.c map->key_idx[map->n_keys++] = idx; key_idx 792 kernel/trace/tracing_map.c map->key_idx[i] = -1; key_idx 981 kernel/trace/tracing_map.c if (map->key_idx[i] == field_idx) key_idx 195 kernel/trace/tracing_map.h int key_idx[TRACING_MAP_KEYS_MAX]; key_idx 356 net/mac80211/cfg.c const u8 *mac_addr, u8 key_idx) key_idx 372 net/mac80211/cfg.c if (sta->ptk_idx == key_idx) key_idx 376 net/mac80211/cfg.c key = key_mtx_dereference(local, sta->ptk[key_idx]); key_idx 386 net/mac80211/cfg.c u8 key_idx, bool pairwise, const u8 *mac_addr, key_idx 400 net/mac80211/cfg.c return ieee80211_set_tx(sdata, mac_addr, key_idx); key_idx 423 net/mac80211/cfg.c key = ieee80211_key_alloc(params->cipher, key_idx, params->key_len, key_idx 502 net/mac80211/cfg.c u8 key_idx, bool pairwise, const u8 *mac_addr) key_idx 521 net/mac80211/cfg.c key = key_mtx_dereference(local, sta->ptk[key_idx]); key_idx 523 net/mac80211/cfg.c key = key_mtx_dereference(local, sta->gtk[key_idx]); key_idx 525 net/mac80211/cfg.c key = key_mtx_dereference(local, sdata->keys[key_idx]); key_idx 543 net/mac80211/cfg.c u8 key_idx, bool pairwise, const u8 *mac_addr, key_idx 568 net/mac80211/cfg.c if (pairwise && key_idx < NUM_DEFAULT_KEYS) key_idx 569 net/mac80211/cfg.c key = rcu_dereference(sta->ptk[key_idx]); key_idx 571 net/mac80211/cfg.c key_idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) key_idx 572 net/mac80211/cfg.c key = rcu_dereference(sta->gtk[key_idx]); key_idx 574 net/mac80211/cfg.c key = rcu_dereference(sdata->keys[key_idx]); key_idx 662 net/mac80211/cfg.c u8 key_idx, bool uni, key_idx 667 net/mac80211/cfg.c ieee80211_set_default_key(sdata, key_idx, uni, multi); key_idx 674 net/mac80211/cfg.c u8 key_idx) key_idx 678 net/mac80211/cfg.c ieee80211_set_default_mgmt_key(sdata, key_idx); key_idx 989 net/mac80211/driver-ops.h int key_idx) key_idx 994 net/mac80211/driver-ops.h WARN_ON_ONCE(key_idx < -1 || key_idx > 3); key_idx 996 net/mac80211/driver-ops.h trace_drv_set_default_unicast_key(local, sdata, key_idx); key_idx 999 net/mac80211/driver-ops.h key_idx); key_idx 375 net/mac80211/ieee80211_i.h u8 key_len, key_idx; key_idx 2099 net/mac80211/ieee80211_i.h const u8 *da, const u8 *key, u8 key_len, u8 key_idx, key_idx 2847 net/mac80211/mlme.c auth_data->key_idx, tx_flags); key_idx 5144 net/mac80211/mlme.c auth_data->key_idx = req->key_idx; key_idx 2381 net/mac80211/trace.h int key_idx), key_idx 2383 net/mac80211/trace.h TP_ARGS(local, sdata, key_idx), key_idx 2388 net/mac80211/trace.h __field(int, key_idx) key_idx 2394 net/mac80211/trace.h __entry->key_idx = key_idx; key_idx 2398 net/mac80211/trace.h LOCAL_PR_ARG, VIF_PR_ARG, __entry->key_idx) key_idx 1555 net/mac80211/util.c const u8 *bssid, const u8 *key, u8 key_len, u8 key_idx, key_idx 1585 net/mac80211/util.c err = ieee80211_wep_encrypt(local, skb, key, key_len, key_idx); key_idx 368 net/wireless/core.h const u8 *key, int key_len, int key_idx, key_idx 436 net/wireless/core.h struct key_params *params, int key_idx, key_idx 50 net/wireless/lib80211_crypt_ccmp.c int key_idx; key_idx 59 net/wireless/lib80211_crypt_ccmp.c static void *lib80211_ccmp_init(int key_idx) key_idx 66 net/wireless/lib80211_crypt_ccmp.c priv->key_idx = key_idx; key_idx 181 net/wireless/lib80211_crypt_ccmp.c *pos++ = (key->key_idx << 6) | (1 << 5) /* Ext IV included */ ; key_idx 282 net/wireless/lib80211_crypt_ccmp.c if (key->key_idx != keyidx) { key_idx 284 net/wireless/lib80211_crypt_ccmp.c key->key_idx, keyidx); key_idx 353 net/wireless/lib80211_crypt_ccmp.c keyidx = data->key_idx; key_idx 355 net/wireless/lib80211_crypt_ccmp.c data->key_idx = keyidx; key_idx 411 net/wireless/lib80211_crypt_ccmp.c ccmp->key_idx, ccmp->key_set, key_idx 63 net/wireless/lib80211_crypt_tkip.c int key_idx; key_idx 90 net/wireless/lib80211_crypt_tkip.c static void *lib80211_tkip_init(int key_idx) key_idx 101 net/wireless/lib80211_crypt_tkip.c priv->key_idx = key_idx; key_idx 312 net/wireless/lib80211_crypt_tkip.c *pos++ = (tkey->key_idx << 6) | (1 << 5) /* Ext IV included */ ; key_idx 407 net/wireless/lib80211_crypt_tkip.c if (tkey->key_idx != keyidx) { key_idx 409 net/wireless/lib80211_crypt_tkip.c tkey->key_idx, keyidx); key_idx 629 net/wireless/lib80211_crypt_tkip.c keyidx = tkey->key_idx; key_idx 631 net/wireless/lib80211_crypt_tkip.c tkey->key_idx = keyidx; key_idx 690 net/wireless/lib80211_crypt_tkip.c tkip->key_idx, tkip->key_set, key_idx 34 net/wireless/lib80211_crypt_wep.c u8 key_idx; key_idx 49 net/wireless/lib80211_crypt_wep.c priv->key_idx = keyidx; key_idx 94 net/wireless/lib80211_crypt_wep.c *pos++ = wep->key_idx << 6; key_idx 166 net/wireless/lib80211_crypt_wep.c if (keyidx != wep->key_idx) key_idx 226 net/wireless/lib80211_crypt_wep.c seq_printf(m, "key[%d] alg=WEP len=%d\n", wep->key_idx, wep->key_len); key_idx 228 net/wireless/mlme.c const u8 *key, int key_len, int key_idx, key_idx 240 net/wireless/mlme.c .key_idx = key_idx, key_idx 247 net/wireless/mlme.c if (!key || !key_len || key_idx < 0 || key_idx > 3) key_idx 3759 net/wireless/nl80211.c u8 key_idx = 0; key_idx 3769 net/wireless/nl80211.c key_idx = nla_get_u8(info->attrs[NL80211_ATTR_KEY_IDX]); key_idx 3800 net/wireless/nl80211.c cookie.idx = key_idx; key_idx 3803 net/wireless/nl80211.c nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx)) key_idx 3809 net/wireless/nl80211.c err = rdev_get_key(rdev, dev, key_idx, pairwise, mac_addr, &cookie, key_idx 177 net/wireless/sme.c params->key_idx, NULL, 0); key_idx 1214 net/wireless/sme.c connect->key_idx = idx; key_idx 231 net/wireless/util.c struct key_params *params, int key_idx, key_idx 234 net/wireless/util.c if (key_idx < 0 || key_idx > 5) key_idx 246 net/wireless/util.c if ((pairwise && key_idx) || key_idx 266 net/wireless/util.c if (pairwise && (key_idx < 0 || key_idx > 1)) key_idx 268 net/wireless/util.c } else if (pairwise && key_idx) { key_idx 279 net/wireless/util.c if (key_idx < 4) key_idx 284 net/wireless/util.c if (key_idx > 3)