keyidx 2289 drivers/net/wireless/ath/ath10k/htt_rx.c s8 keyidx = 0; keyidx 2308 drivers/net/wireless/ath/ath10k/htt_rx.c keyidx = peer->keys[i]->keyidx; keyidx 2312 drivers/net/wireless/ath/ath10k/htt_rx.c ivp[IEEE80211_WEP_IV_LEN - 1] |= keyidx << 6; keyidx 231 drivers/net/wireless/ath/ath10k/mac.c .key_idx = key->keyidx, keyidx 440 drivers/net/wireless/ath/ath10k/mac.c u8 keyidx) keyidx 457 drivers/net/wireless/ath/ath10k/mac.c if (peer->keys[i] && peer->keys[i]->keyidx == keyidx) keyidx 528 drivers/net/wireless/ath/ath10k/mac.c if (peer->keys[key->keyidx] == key) keyidx 532 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, key->keyidx); keyidx 6099 drivers/net/wireless/ath/ath10k/mac.c key->keyidx); keyidx 6130 drivers/net/wireless/ath/ath10k/mac.c if (key->keyidx > WMI_MAX_KEY_INDEX) keyidx 6142 drivers/net/wireless/ath/ath10k/mac.c key->hw_key_idx = key->keyidx; keyidx 6146 drivers/net/wireless/ath/ath10k/mac.c arvif->wep_keys[key->keyidx] = key; keyidx 6148 drivers/net/wireless/ath/ath10k/mac.c arvif->wep_keys[key->keyidx] = NULL; keyidx 6234 drivers/net/wireless/ath/ath10k/mac.c peer->keys[key->keyidx] = key; keyidx 6236 drivers/net/wireless/ath/ath10k/mac.c peer->keys[key->keyidx] = NULL; keyidx 6253 drivers/net/wireless/ath/ath10k/mac.c int keyidx) keyidx 6265 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, keyidx); keyidx 6270 drivers/net/wireless/ath/ath10k/mac.c keyidx); keyidx 6279 drivers/net/wireless/ath/ath10k/mac.c arvif->def_wep_key_idx = keyidx; keyidx 47 drivers/net/wireless/ath/ath10k/mac.h u8 keyidx); keyidx 2204 drivers/net/wireless/ath/ath10k/wmi.c u8 *addr, keyidx; keyidx 2214 drivers/net/wireless/ath/ath10k/wmi.c keyidx = skb->data[hdrlen + (IEEE80211_WEP_IV_LEN - 1)] >> WEP_KEYID_SHIFT; keyidx 2218 drivers/net/wireless/ath/ath10k/wmi.c peer_key = ath10k_mac_is_peer_wep_key_set(ar, addr, keyidx); keyidx 739 drivers/net/wireless/ath/ath5k/base.c unsigned int pktlen, flags, keyidx = AR5K_TXKEYIX_INVALID; keyidx 780 drivers/net/wireless/ath/ath5k/base.c keyidx = info->control.hw_key->hw_key_idx; keyidx 801 drivers/net/wireless/ath/ath5k/base.c bf->rates[0].count, keyidx, ah->ah_tx_ant, flags, keyidx 566 drivers/net/wireless/ath/carl9170/carl9170.h const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen); keyidx 475 drivers/net/wireless/ath/carl9170/mac.c const u8 ktype, const u8 keyidx, const u8 *keydata, keyidx 485 drivers/net/wireless/ath/carl9170/mac.c key.keyId = cpu_to_le16(keyidx); keyidx 1235 drivers/net/wireless/ath/carl9170/main.c i = 64 + key->keyidx; keyidx 518 drivers/net/wireless/ath/key.c idx = key->keyidx; keyidx 527 drivers/net/wireless/ath/key.c idx = key->keyidx; keyidx 530 drivers/net/wireless/ath/key.c } else if (key->keyidx) { keyidx 538 drivers/net/wireless/ath/key.c idx = key->keyidx; keyidx 502 drivers/net/wireless/ath/wcn36xx/main.c cmd, key_conf->cipher, key_conf->keyidx, keyidx 559 drivers/net/wireless/ath/wcn36xx/main.c key_conf->keyidx, keyidx 567 drivers/net/wireless/ath/wcn36xx/main.c key_conf->keyidx, keyidx 578 drivers/net/wireless/ath/wcn36xx/main.c key_conf->keyidx, keyidx 592 drivers/net/wireless/ath/wcn36xx/main.c key_conf->keyidx); keyidx 601 drivers/net/wireless/ath/wcn36xx/main.c key_conf->keyidx, keyidx 1721 drivers/net/wireless/ath/wcn36xx/smd.c u8 keyidx, keyidx 1738 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.set_sta_key_params.def_wep_idx = keyidx; keyidx 1741 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.set_sta_key_params.key[0].id = keyidx; keyidx 1771 drivers/net/wireless/ath/wcn36xx/smd.c u8 keyidx, keyidx 1783 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.keys[0].id = keyidx; keyidx 1809 drivers/net/wireless/ath/wcn36xx/smd.c u8 keyidx, keyidx 1820 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.key_id = keyidx; keyidx 1842 drivers/net/wireless/ath/wcn36xx/smd.c u8 keyidx) keyidx 1851 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.key_id = keyidx; keyidx 98 drivers/net/wireless/ath/wcn36xx/smd.h u8 keyidx, keyidx 105 drivers/net/wireless/ath/wcn36xx/smd.h u8 keyidx, keyidx 110 drivers/net/wireless/ath/wcn36xx/smd.h u8 keyidx, keyidx 115 drivers/net/wireless/ath/wcn36xx/smd.h u8 keyidx); keyidx 2142 drivers/net/wireless/atmel/at76c50x-usb.c __func__, cmd, key->cipher, key->keyidx, key->keylen); keyidx 2148 drivers/net/wireless/atmel/at76c50x-usb.c key->hw_key_idx = key->keyidx; keyidx 2154 drivers/net/wireless/atmel/at76c50x-usb.c memcpy(priv->wep_keys[key->keyidx], key->key, key->keylen); keyidx 2155 drivers/net/wireless/atmel/at76c50x-usb.c priv->wep_keys_len[key->keyidx] = key->keylen; keyidx 2158 drivers/net/wireless/atmel/at76c50x-usb.c priv->wep_key_id = key->keyidx; keyidx 2163 drivers/net/wireless/atmel/at76c50x-usb.c priv->wep_keys_len[key->keyidx] = 0; keyidx 4214 drivers/net/wireless/broadcom/b43/main.c index = (u8) (key->keyidx); keyidx 4270 drivers/net/wireless/broadcom/b43/main.c cmd == SET_KEY ? "Using" : "Disabling", key->keyidx, keyidx 709 drivers/net/wireless/broadcom/b43/xmit.c unsigned int keyidx; keyidx 712 drivers/net/wireless/broadcom/b43/xmit.c keyidx = ((macstat & B43_RX_MAC_KEYIDX) keyidx 717 drivers/net/wireless/broadcom/b43/xmit.c keyidx = b43_kidx_to_raw(dev, keyidx); keyidx 718 drivers/net/wireless/broadcom/b43/xmit.c B43_WARN_ON(keyidx >= ARRAY_SIZE(dev->key)); keyidx 720 drivers/net/wireless/broadcom/b43/xmit.c if (dev->key[keyidx].algorithm != B43_SEC_ALGO_NONE) { keyidx 468 drivers/net/wireless/broadcom/b43legacy/xmit.c unsigned int keyidx; keyidx 473 drivers/net/wireless/broadcom/b43legacy/xmit.c keyidx = ((macstat & B43legacy_RX_MAC_KEYIDX) keyidx 478 drivers/net/wireless/broadcom/b43legacy/xmit.c keyidx = b43legacy_kidx_to_raw(dev, keyidx); keyidx 479 drivers/net/wireless/broadcom/b43legacy/xmit.c B43legacy_WARN_ON(keyidx >= dev->max_nr_keys); keyidx 481 drivers/net/wireless/broadcom/b43legacy/xmit.c if (dev->key[keyidx].algorithm != B43legacy_SEC_ALGO_NONE) { keyidx 300 drivers/net/wireless/intel/ipw2x00/libipw_rx.c struct sk_buff *skb, int keyidx, keyidx 313 drivers/net/wireless/intel/ipw2x00/libipw_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); keyidx 318 drivers/net/wireless/intel/ipw2x00/libipw_rx.c keyidx); keyidx 349 drivers/net/wireless/intel/ipw2x00/libipw_rx.c int keyidx = 0; keyidx 422 drivers/net/wireless/intel/ipw2x00/libipw_rx.c keyidx = skb->data[hdrlen + 3] >> 6; keyidx 429 drivers/net/wireless/intel/ipw2x00/libipw_rx.c crypt = ieee->crypt_info.crypt[keyidx]; keyidx 467 drivers/net/wireless/intel/ipw2x00/libipw_rx.c (keyidx = hostap_rx_frame_decrypt(ieee, skb, crypt)) < 0) { keyidx 570 drivers/net/wireless/intel/ipw2x00/libipw_rx.c (keyidx = libipw_rx_frame_decrypt(ieee, skb, crypt)) < 0) keyidx 634 drivers/net/wireless/intel/ipw2x00/libipw_rx.c libipw_rx_frame_decrypt_msdu(ieee, skb, keyidx, crypt)) keyidx 667 drivers/net/wireless/intel/ipw2x00/libipw_rx.c keyidx = skb->data[hdrlen + 3] >> 6; keyidx 674 drivers/net/wireless/intel/ipw2x00/libipw_rx.c switch (ieee->sec.encode_alg[keyidx]) { keyidx 125 drivers/net/wireless/intel/iwlegacy/3945-mac.c key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 131 drivers/net/wireless/intel/iwlegacy/3945-mac.c keyconf->hw_key_idx = keyconf->keyidx; keyidx 223 drivers/net/wireless/intel/iwlegacy/3945-mac.c keyconf->cipher, keyconf->keylen, keyconf->keyidx, sta_id, ret); keyidx 1622 drivers/net/wireless/intel/iwlegacy/4965-mac.c (TX_CMD_SEC_WEP | (keyconf->keyidx & TX_CMD_SEC_MSK) << keyidx 1628 drivers/net/wireless/intel/iwlegacy/4965-mac.c keyconf->keyidx); keyidx 3181 drivers/net/wireless/intel/iwlegacy/4965-mac.c int idx = keyconf->keyidx; keyidx 3205 drivers/net/wireless/intel/iwlegacy/4965-mac.c int idx = keyconf->keyidx; keyidx 3240 drivers/net/wireless/intel/iwlegacy/4965-mac.c key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 3253 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].keyinfo.keyidx = keyconf->keyidx; keyidx 3292 drivers/net/wireless/intel/iwlegacy/4965-mac.c key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 3338 drivers/net/wireless/intel/iwlegacy/4965-mac.c key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 3414 drivers/net/wireless/intel/iwlegacy/4965-mac.c u8 keyidx; keyidx 3423 drivers/net/wireless/intel/iwlegacy/4965-mac.c keyidx = (key_flags >> STA_KEY_FLG_KEYID_POS) & 0x3; keyidx 3425 drivers/net/wireless/intel/iwlegacy/4965-mac.c D_WEP("Remove dynamic key: idx=%d sta=%d\n", keyconf->keyidx, sta_id); keyidx 3427 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (keyconf->keyidx != keyidx) { keyidx 3438 drivers/net/wireless/intel/iwlegacy/4965-mac.c IL_WARN("Removing wrong key %d 0x%x\n", keyconf->keyidx, keyidx 3500 drivers/net/wireless/intel/iwlegacy/4965-mac.c keyconf->cipher, keyconf->keylen, keyconf->keyidx, sta_id, ret); keyidx 653 drivers/net/wireless/intel/iwlegacy/common.h u8 keyidx; keyidx 1003 drivers/net/wireless/intel/iwlwifi/dvm/sta.c keyconf->keyidx); keyidx 1005 drivers/net/wireless/intel/iwlwifi/dvm/sta.c memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); keyidx 1014 drivers/net/wireless/intel/iwlwifi/dvm/sta.c keyconf->keyidx, ret); keyidx 1036 drivers/net/wireless/intel/iwlwifi/dvm/sta.c ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; keyidx 1037 drivers/net/wireless/intel/iwlwifi/dvm/sta.c memcpy(&ctx->wep_keys[keyconf->keyidx].key, &keyconf->key, keyidx 1042 drivers/net/wireless/intel/iwlwifi/dvm/sta.c keyconf->keylen, keyconf->keyidx, ret); keyidx 1095 drivers/net/wireless/intel/iwlwifi/dvm/sta.c key_flags = cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 1182 drivers/net/wireless/intel/iwlwifi/dvm/sta.c keyconf->keyidx, sta_id); keyidx 1188 drivers/net/wireless/intel/iwlwifi/dvm/sta.c key_flags = cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); keyidx 1255 drivers/net/wireless/intel/iwlwifi/dvm/sta.c keyconf->cipher, keyconf->keylen, keyconf->keyidx, keyidx 216 drivers/net/wireless/intel/iwlwifi/dvm/tx.c (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); keyidx 221 drivers/net/wireless/intel/iwlwifi/dvm/tx.c "with key %d\n", keyconf->keyidx); keyidx 199 drivers/net/wireless/intel/iwlwifi/mvm/d3.c .wep_key.key_index = key->keyidx, keyidx 212 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (key->keyidx == mvmvif->tx_key_idx) { keyidx 330 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvmsta->ptk_pn[key->keyidx], keyidx 1289 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ptk_pn = rcu_dereference_protected(mvmsta->ptk_pn[key->keyidx], keyidx 1473 drivers/net/wireless/intel/iwlwifi/mvm/d3.c .conf.keyidx = keyidx 3327 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c int keyidx = key->keyidx; keyidx 3438 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); keyidx 3455 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); keyidx 3507 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmsta->ptk_pn[keyidx], keyidx 3509 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); keyidx 103 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c u8 tid, keyidx; keyidx 136 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c keyidx = extiv[3] >> 6; keyidx 138 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); keyidx 2384 drivers/net/wireless/intel/iwlwifi/mvm/sta.c key_flags = cpu_to_le16((keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & keyidx 3208 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 keyidx; keyidx 3217 drivers/net/wireless/intel/iwlwifi/mvm/sta.c keyidx = (key->keyidx << STA_KEY_FLG_KEYID_POS) & keyidx 3219 drivers/net/wireless/intel/iwlwifi/mvm/sta.c key_flags = cpu_to_le16(keyidx); keyidx 3315 drivers/net/wireless/intel/iwlwifi/mvm/sta.c (keyconf->keyidx != 4 && keyconf->keyidx != 5) || keyidx 3325 drivers/net/wireless/intel/iwlwifi/mvm/sta.c igtk_cmd.key_id = cpu_to_le32(keyconf->keyidx); keyidx 3559 drivers/net/wireless/intel/iwlwifi/mvm/sta.c keyconf->cipher, keyconf->keylen, keyconf->keyidx, keyidx 3585 drivers/net/wireless/intel/iwlwifi/mvm/sta.c keyconf->keyidx, sta_id); keyidx 422 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); keyidx 462 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & keyidx 688 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c int keyidx, struct lib80211_crypt_data *crypt) keyidx 700 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); keyidx 705 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c local->dev->name, hdr->addr2, keyidx); keyidx 735 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c int keyidx = 0; keyidx 823 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0) keyidx 912 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0) keyidx 976 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c hostap_rx_frame_decrypt_msdu(local, skb, keyidx, crypt)) keyidx 588 drivers/net/wireless/intersil/p54/main.c ret = p54_upload_key(priv, algo, slot, key->keyidx, keyidx 4290 drivers/net/wireless/marvell/mwl8k.c cmd->key_id = cpu_to_le32(key->keyidx); keyidx 4298 drivers/net/wireless/marvell/mwl8k.c if (key->keyidx == 0) keyidx 4343 drivers/net/wireless/marvell/mwl8k.c idx = key->keyidx; keyidx 4402 drivers/net/wireless/marvell/mwl8k.c mwl8k_vif->wep_key_conf[key->keyidx].enabled = 0; keyidx 762 drivers/net/wireless/mediatek/mt76/mt7603/mac.c addr += key->keyidx * 16; keyidx 771 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_rmw_field(dev, addr, MT_WTBL1_W0_KEY_IDX, key->keyidx); keyidx 458 drivers/net/wireless/mediatek/mt76/mt7603/main.c int idx = key->keyidx; keyidx 668 drivers/net/wireless/mediatek/mt76/mt7615/mac.c enum mt7615_cipher_type cipher, int keyidx, keyidx 684 drivers/net/wireless/mediatek/mt76/mt7615/mac.c w0 |= FIELD_PREP(MT_WTBL_W0_KEY_IDX, keyidx); keyidx 746 drivers/net/wireless/mediatek/mt76/mt7615/mac.c err = mt7615_mac_wtbl_update_pk(dev, wcid, cipher, key->keyidx, keyidx 176 drivers/net/wireless/mediatek/mt76/mt7615/main.c int idx = key->keyidx; keyidx 106 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c iv_data[3] = key->keyidx << 6; keyidx 348 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[3] = 0x20 | (key->keyidx << 6); keyidx 392 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c if (wcid->hw_key_idx != key->keyidx || wcid->sw_iv) keyidx 416 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int idx = key->keyidx; keyidx 548 drivers/net/wireless/mediatek/mt7601u/mac.c iv_data[3] = key->keyidx << 6; keyidx 300 drivers/net/wireless/mediatek/mt7601u/main.c int idx = key->keyidx; keyidx 335 drivers/net/wireless/ralink/rt2x00/rt2500usb.c key->keyidx != 0) keyidx 1664 drivers/net/wireless/ralink/rt2x00/rt2800lib.c iveiv_entry.iv[3] |= key->keyidx << 6; keyidx 1683 drivers/net/wireless/ralink/rt2x00/rt2800lib.c key->hw_key_idx = (4 * crypto->bssidx) + key->keyidx; keyidx 4260 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c addr = key->keyidx << CAM_CMD_KEY_SHIFT; keyidx 4261 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c ctrl = (key->cipher & 0x0f) << 2 | key->keyidx | CAM_WRITE_VALID; keyidx 5674 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __func__, cmd, key->cipher, key->keyidx); keyidx 5679 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (key->keyidx > 3) keyidx 5716 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c key->hw_key_idx = key->keyidx; keyidx 5724 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c key->keyidx << CAM_CMD_KEY_SHIFT; keyidx 1531 drivers/net/wireless/realtek/rtlwifi/core.c cmd == SET_KEY ? "Using" : "Disabling", key->keyidx, keyidx 1575 drivers/net/wireless/realtek/rtlwifi/core.c key_idx = (u8) (key->keyidx); keyidx 404 drivers/net/wireless/realtek/rtw88/mac80211.c hw_key_idx = key->keyidx; keyidx 50 drivers/net/wireless/realtek/rtw88/sec.c content = ((key->keyidx & 0x3)) | keyidx 976 drivers/net/wireless/rsi/rsi_91x_mac80211.c key->keyidx, keyidx 989 drivers/net/wireless/rsi/rsi_91x_mac80211.c key->keyidx, keyidx 1042 drivers/net/wireless/rsi/rsi_91x_mac80211.c key->hw_key_idx = key->keyidx; keyidx 1492 drivers/net/wireless/rsi/rsi_91x_mac80211.c key->keyidx, keyidx 729 drivers/net/wireless/st/cw1200/sta.c wsm_key->wep_group.keyid = key->keyidx; keyidx 763 drivers/net/wireless/st/cw1200/sta.c wsm_key->tkip_group.keyid = key->keyidx; keyidx 787 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.keyid = key->keyidx; keyidx 799 drivers/net/wireless/st/cw1200/sta.c wsm_key->wapi_pairwise.keyid = key->keyidx; keyidx 806 drivers/net/wireless/st/cw1200/sta.c wsm_key->wapi_group.keyid = key->keyidx; keyidx 1533 drivers/net/wireless/st/cw1200/wsm.c tx_info->control.hw_key->keyidx != priv->wep_default_key_id && keyidx 1562 drivers/net/wireless/st/cw1200/wsm.c priv->wep_default_key_id = tx_info->control.hw_key->keyidx; keyidx 841 drivers/net/wireless/ti/wl1251/main.c mac80211_key->hw_key_idx = mac80211_key->keyidx; keyidx 849 drivers/net/wireless/ti/wl1251/main.c mac80211_key->hw_key_idx = mac80211_key->keyidx; keyidx 892 drivers/net/wireless/ti/wl1251/main.c key->cipher, key->keyidx, key->keylen, key->flags); keyidx 949 drivers/net/wireless/ti/wl1251/main.c wl_cmd->id = key->keyidx; keyidx 3510 drivers/net/wireless/ti/wlcore/main.c key_conf->cipher, key_conf->keyidx, keyidx 3535 drivers/net/wireless/ti/wlcore/main.c key_conf->hw_key_idx = key_conf->keyidx; keyidx 3539 drivers/net/wireless/ti/wlcore/main.c key_conf->hw_key_idx = key_conf->keyidx; keyidx 3557 drivers/net/wireless/ti/wlcore/main.c key_conf->keyidx, key_type, keyidx 3583 drivers/net/wireless/ti/wlcore/main.c key_conf->keyidx, key_type, keyidx 40 drivers/staging/rtl8188eu/include/rtw_xmit.h #define WEP_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 45 drivers/staging/rtl8188eu/include/rtw_xmit.h pattrib_iv[3] = ((keyidx & 0x3)<<6);\ keyidx 50 drivers/staging/rtl8188eu/include/rtw_xmit.h #define TKIP_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 55 drivers/staging/rtl8188eu/include/rtw_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ keyidx 63 drivers/staging/rtl8188eu/include/rtw_xmit.h #define AES_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 68 drivers/staging/rtl8188eu/include/rtw_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6); \ keyidx 225 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 keyidx, *pos; keyidx 238 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c keyidx = pos[3]; keyidx 239 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c if (!(keyidx & (1 << 5))) { keyidx 247 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c keyidx >>= 6; keyidx 248 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c if (key->key_idx != keyidx) { keyidx 250 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c key->key_idx, keyidx, priv); keyidx 256 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c hdr->addr2, keyidx); keyidx 313 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c return keyidx; keyidx 320 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c int keyidx; keyidx 323 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c keyidx = data->key_idx; keyidx 325 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c data->key_idx = keyidx; keyidx 370 drivers/staging/rtl8192e/rtllib_crypt_tkip.c u8 keyidx, *pos; keyidx 388 drivers/staging/rtl8192e/rtllib_crypt_tkip.c keyidx = pos[3]; keyidx 389 drivers/staging/rtl8192e/rtllib_crypt_tkip.c if (!(keyidx & (1 << 5))) { keyidx 397 drivers/staging/rtl8192e/rtllib_crypt_tkip.c keyidx >>= 6; keyidx 398 drivers/staging/rtl8192e/rtllib_crypt_tkip.c if (tkey->key_idx != keyidx) { keyidx 401 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->key_idx, keyidx, priv); keyidx 408 drivers/staging/rtl8192e/rtllib_crypt_tkip.c hdr->addr2, keyidx); keyidx 495 drivers/staging/rtl8192e/rtllib_crypt_tkip.c return keyidx; keyidx 587 drivers/staging/rtl8192e/rtllib_crypt_tkip.c int keyidx) keyidx 594 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; keyidx 606 drivers/staging/rtl8192e/rtllib_crypt_tkip.c static int rtllib_michael_mic_verify(struct sk_buff *skb, int keyidx, keyidx 632 drivers/staging/rtl8192e/rtllib_crypt_tkip.c hdr->addr2, keyidx); keyidx 637 drivers/staging/rtl8192e/rtllib_crypt_tkip.c rtllib_michael_mic_failure(skb->dev, hdr, keyidx); keyidx 658 drivers/staging/rtl8192e/rtllib_crypt_tkip.c int keyidx; keyidx 664 drivers/staging/rtl8192e/rtllib_crypt_tkip.c keyidx = tkey->key_idx; keyidx 666 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->key_idx = keyidx; keyidx 31 drivers/staging/rtl8192e/rtllib_crypt_wep.c static void *prism2_wep_init(int keyidx) keyidx 38 drivers/staging/rtl8192e/rtllib_crypt_wep.c priv->key_idx = keyidx; keyidx 170 drivers/staging/rtl8192e/rtllib_crypt_wep.c u8 keyidx, *pos; keyidx 185 drivers/staging/rtl8192e/rtllib_crypt_wep.c keyidx = *pos++ >> 6; keyidx 186 drivers/staging/rtl8192e/rtllib_crypt_wep.c if (keyidx != wep->key_idx) keyidx 325 drivers/staging/rtl8192e/rtllib_rx.c int keyidx, struct lib80211_crypt_data *crypt) keyidx 346 drivers/staging/rtl8192e/rtllib_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); keyidx 351 drivers/staging/rtl8192e/rtllib_rx.c hdr->addr2, keyidx); keyidx 1083 drivers/staging/rtl8192e/rtllib_rx.c int keyidx = 0; keyidx 1097 drivers/staging/rtl8192e/rtllib_rx.c keyidx = rtllib_rx_frame_decrypt(ieee, skb, crypt); keyidx 1098 drivers/staging/rtl8192e/rtllib_rx.c if (ieee->host_decrypt && (fc & RTLLIB_FCTL_WEP) && (keyidx < 0)) { keyidx 1163 drivers/staging/rtl8192e/rtllib_rx.c rtllib_rx_frame_decrypt_msdu(ieee, skb, keyidx, crypt)) { keyidx 179 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c static void *ieee80211_crypt_null_init(int keyidx) { return (void *)1; } keyidx 31 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h void * (*init)(int keyidx); keyidx 49 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len, keyidx 231 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 keyidx, *pos; keyidx 243 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c keyidx = pos[3]; keyidx 244 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c if (!(keyidx & BIT(5))) { keyidx 252 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c keyidx >>= 6; keyidx 253 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c if (key->key_idx != keyidx) { keyidx 255 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c key->key_idx, keyidx, priv); keyidx 261 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c hdr->addr2, keyidx); keyidx 323 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c return keyidx; keyidx 329 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c int keyidx; keyidx 332 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c keyidx = data->key_idx; keyidx 334 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c data->key_idx = keyidx; keyidx 371 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c u8 keyidx, *pos; keyidx 388 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c keyidx = pos[3]; keyidx 389 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c if (!(keyidx & BIT(5))) { keyidx 396 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c keyidx >>= 6; keyidx 397 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c if (tkey->key_idx != keyidx) { keyidx 399 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c "keyidx=%d priv=%p\n", tkey->key_idx, keyidx, priv); keyidx 406 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c " key\n", hdr->addr2, keyidx); keyidx 492 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c return keyidx; keyidx 586 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c int keyidx) keyidx 593 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; keyidx 605 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c static int ieee80211_michael_mic_verify(struct sk_buff *skb, int keyidx, keyidx 634 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c keyidx); keyidx 636 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ieee80211_michael_mic_failure(skb->dev, hdr, keyidx); keyidx 657 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c int keyidx; keyidx 663 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c keyidx = tkey->key_idx; keyidx 665 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c tkey->key_idx = keyidx; keyidx 36 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c static void *prism2_wep_init(int keyidx) keyidx 43 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c priv->key_idx = keyidx; keyidx 165 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c u8 keyidx, *pos; keyidx 179 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c keyidx = *pos++ >> 6; keyidx 180 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c if (keyidx != wep->key_idx) keyidx 381 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c int keyidx, struct ieee80211_crypt_data *crypt) keyidx 397 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); keyidx 402 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ieee->dev->name, hdr->addr2, keyidx); keyidx 898 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c int keyidx = 0; keyidx 1115 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c (keyidx = ieee80211_rx_frame_decrypt(ieee, skb, crypt)) < 0) { keyidx 1180 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ieee80211_rx_frame_decrypt_msdu(ieee, skb, keyidx, crypt)) { keyidx 39 drivers/staging/rtl8712/rtl871x_xmit.h #define WEP_IV(pattrib_iv, txpn, keyidx)\ keyidx 44 drivers/staging/rtl8712/rtl871x_xmit.h pattrib_iv[3] = ((keyidx & 0x3) << 6);\ keyidx 51 drivers/staging/rtl8712/rtl871x_xmit.h #define TKIP_IV(pattrib_iv, txpn, keyidx)\ keyidx 56 drivers/staging/rtl8712/rtl871x_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ keyidx 65 drivers/staging/rtl8712/rtl871x_xmit.h #define AES_IV(pattrib_iv, txpn, keyidx)\ keyidx 70 drivers/staging/rtl8712/rtl871x_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ keyidx 42 drivers/staging/rtl8723bs/include/rtw_xmit.h #define WEP_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 47 drivers/staging/rtl8723bs/include/rtw_xmit.h pattrib_iv[3] = ((keyidx & 0x3)<<6);\ keyidx 52 drivers/staging/rtl8723bs/include/rtw_xmit.h #define TKIP_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 57 drivers/staging/rtl8723bs/include/rtw_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ keyidx 65 drivers/staging/rtl8723bs/include/rtw_xmit.h #define AES_IV(pattrib_iv, dot11txpn, keyidx)\ keyidx 70 drivers/staging/rtl8723bs/include/rtw_xmit.h pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ keyidx 29 drivers/staging/vt6655/key.c u8 key_inx = key->keyidx; keyidx 45 drivers/staging/vt6656/key.c u8 key_inx = key->keyidx; keyidx 149 drivers/staging/wlan-ng/p80211wep.c u8 keyidx; keyidx 159 drivers/staging/wlan-ng/p80211wep.c keyidx = WEP_KEY(iv[3]); keyidx 162 drivers/staging/wlan-ng/p80211wep.c keyidx = key_override; keyidx 164 drivers/staging/wlan-ng/p80211wep.c if (keyidx >= NUM_WEPKEYS) keyidx 167 drivers/staging/wlan-ng/p80211wep.c keylen = wlandev->wep_keylens[keyidx]; keyidx 173 drivers/staging/wlan-ng/p80211wep.c memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); keyidx 51 include/net/lib80211.h void *(*init) (int keyidx); keyidx 68 include/net/lib80211.h int (*decrypt_msdu) (struct sk_buff * skb, int keyidx, int hdr_len, keyidx 1760 include/net/mac80211.h s8 keyidx; keyidx 63 net/mac80211/debugfs_key.c KEY_CONF_FILE(keyidx, D); keyidx 352 net/mac80211/debugfs_key.c DEBUGFS_ADD(keyidx); keyidx 203 net/mac80211/key.c key->conf.keyidx, keyidx 261 net/mac80211/key.c key->conf.keyidx, keyidx 274 net/mac80211/key.c sta->ptk_idx = key->conf.keyidx; keyidx 419 net/mac80211/key.c WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); keyidx 429 net/mac80211/key.c idx = old->conf.keyidx; keyidx 439 net/mac80211/key.c idx = new->conf.keyidx; keyidx 482 net/mac80211/key.c __ieee80211_set_default_key(sdata, new->conf.keyidx, keyidx 485 net/mac80211/key.c __ieee80211_set_default_key(sdata, new->conf.keyidx, keyidx 489 net/mac80211/key.c new->conf.keyidx); keyidx 522 net/mac80211/key.c key->conf.keyidx = idx; keyidx 768 net/mac80211/key.c int idx = key->conf.keyidx; keyidx 1251 net/mac80211/key.c key = ieee80211_key_alloc(keyconf->cipher, keyconf->keyidx, keyidx 1877 net/mac80211/rx.c int keyidx; keyidx 2008 net/mac80211/rx.c keyidx = ieee80211_get_keyid(rx->skb, cs); keyidx 2010 net/mac80211/rx.c if (unlikely(keyidx < 0)) keyidx 2015 net/mac80211/rx.c rx->key = rcu_dereference(rx->sta->gtk[keyidx]); keyidx 2019 net/mac80211/rx.c rx->key = rcu_dereference(rx->sdata->keys[keyidx]); keyidx 146 net/mac80211/tkip.c *pos++ = (keyconf->keyidx << 6) | (1 << 5) /* Ext IV */; keyidx 263 net/mac80211/tkip.c if ((keyid >> 6) != key->conf.keyidx) keyidx 82 net/mac80211/trace.h __field(s8, keyidx) keyidx 85 net/mac80211/trace.h __entry->keyidx = (k)->keyidx; \ keyidx 88 net/mac80211/trace.h #define KEY_PR_ARG __entry->cipher, __entry->flags, __entry->keyidx, __entry->hw_key_idx keyidx 3412 net/mac80211/tx.c crypto_hdr[3] = 0x20 | (key->conf.keyidx << 6); keyidx 50 net/mac80211/wep.c int keylen, int keyidx, u8 *iv) keyidx 62 net/mac80211/wep.c *iv++ = keyidx << 6; keyidx 68 net/mac80211/wep.c int keylen, int keyidx) keyidx 89 net/mac80211/wep.c ieee80211_wep_get_iv(local, keylen, keyidx, newhdr + hdrlen); keyidx 135 net/mac80211/wep.c const u8 *key, int keylen, int keyidx) keyidx 144 net/mac80211/wep.c iv = ieee80211_wep_add_iv(local, skb, keylen, keyidx); keyidx 199 net/mac80211/wep.c u8 keyidx; keyidx 214 net/mac80211/wep.c keyidx = skb->data[hdrlen + 3] >> 6; keyidx 216 net/mac80211/wep.c if (!key || keyidx != key->conf.keyidx) keyidx 280 net/mac80211/wep.c tx->key->conf.keyidx)) keyidx 286 net/mac80211/wep.c tx->key->conf.keyidx)) keyidx 21 net/mac80211/wep.h const u8 *key, int keylen, int keyidx); keyidx 137 net/mac80211/wpa.c if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { keyidx 188 net/mac80211/wpa.c rx->key ? rx->key->conf.keyidx : -1, keyidx 463 net/mac80211/wpa.c ccmp_pn2hdr(pos, pn, key->conf.keyidx); keyidx 695 net/mac80211/wpa.c gcmp_pn2hdr(pos, pn, key->conf.keyidx); keyidx 959 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); keyidx 1006 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); keyidx 1151 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); keyidx 230 net/wireless/lib80211.c static void *lib80211_crypt_null_init(int keyidx) keyidx 257 net/wireless/lib80211_crypt_ccmp.c u8 keyidx, *pos; keyidx 274 net/wireless/lib80211_crypt_ccmp.c keyidx = pos[3]; keyidx 275 net/wireless/lib80211_crypt_ccmp.c if (!(keyidx & (1 << 5))) { keyidx 281 net/wireless/lib80211_crypt_ccmp.c keyidx >>= 6; keyidx 282 net/wireless/lib80211_crypt_ccmp.c if (key->key_idx != keyidx) { keyidx 284 net/wireless/lib80211_crypt_ccmp.c key->key_idx, keyidx); keyidx 289 net/wireless/lib80211_crypt_ccmp.c hdr->addr2, keyidx); keyidx 344 net/wireless/lib80211_crypt_ccmp.c return keyidx; keyidx 350 net/wireless/lib80211_crypt_ccmp.c int keyidx; keyidx 353 net/wireless/lib80211_crypt_ccmp.c keyidx = data->key_idx; keyidx 355 net/wireless/lib80211_crypt_ccmp.c data->key_idx = keyidx; keyidx 380 net/wireless/lib80211_crypt_tkip.c u8 keyidx, *pos; keyidx 400 net/wireless/lib80211_crypt_tkip.c keyidx = pos[3]; keyidx 401 net/wireless/lib80211_crypt_tkip.c if (!(keyidx & (1 << 5))) { keyidx 406 net/wireless/lib80211_crypt_tkip.c keyidx >>= 6; keyidx 407 net/wireless/lib80211_crypt_tkip.c if (tkey->key_idx != keyidx) { keyidx 409 net/wireless/lib80211_crypt_tkip.c tkey->key_idx, keyidx); keyidx 414 net/wireless/lib80211_crypt_tkip.c hdr->addr2, keyidx); keyidx 471 net/wireless/lib80211_crypt_tkip.c return keyidx; keyidx 565 net/wireless/lib80211_crypt_tkip.c int keyidx) keyidx 572 net/wireless/lib80211_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; keyidx 584 net/wireless/lib80211_crypt_tkip.c static int lib80211_michael_mic_verify(struct sk_buff *skb, int keyidx, keyidx 603 net/wireless/lib80211_crypt_tkip.c keyidx); keyidx 605 net/wireless/lib80211_crypt_tkip.c lib80211_michael_mic_failure(skb->dev, hdr, keyidx); keyidx 623 net/wireless/lib80211_crypt_tkip.c int keyidx; keyidx 629 net/wireless/lib80211_crypt_tkip.c keyidx = tkey->key_idx; keyidx 631 net/wireless/lib80211_crypt_tkip.c tkey->key_idx = keyidx; keyidx 39 net/wireless/lib80211_crypt_wep.c static void *lib80211_wep_init(int keyidx) keyidx 49 net/wireless/lib80211_crypt_wep.c priv->key_idx = keyidx; keyidx 156 net/wireless/lib80211_crypt_wep.c u8 keyidx, *pos, icv[4]; keyidx 165 net/wireless/lib80211_crypt_wep.c keyidx = *pos++ >> 6; keyidx 166 net/wireless/lib80211_crypt_wep.c if (keyidx != wep->key_idx)