/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 540 u8 key_index, bool pairwise, const u8 *mac_addr, in add_key() argument 560 ret = wilc_wfi_cfg_allocate_wpa_entry(priv, key_index); in add_key() 579 key = priv->wilc_gtk[key_index]; in add_key() 586 key = priv->wilc_ptk[key_index]; in add_key() 606 key_index, params->seq_len, in add_key() 612 key_index); in add_key() 616 ret = wilc_wfi_cfg_allocate_wpa_igtk_entry(priv, key_index); in add_key() 620 key = priv->wilc_igtk[key_index - 4]; in add_key() 633 key_index); in add_key() 645 u8 key_index, in del_key() argument [all …]
|
/linux/drivers/net/ethernet/toshiba/ |
H A 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/drivers/net/wireless/quantenna/qtnfmac/ |
H 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);
|
H A 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 …]
|
H 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/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | mac.c | 193 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92c_set_key() argument 248 macaddr = cam_const_addr[key_index]; in rtl92c_set_key() 249 entry_id = key_index; in rtl92c_set_key() 253 entry_id = key_index; in rtl92c_set_key() 267 key_index = PAIRWISE_KEYIDX; in rtl92c_set_key() 271 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key() 297 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key() 301 key_buf[key_index]); in rtl92c_set_key() 315 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
|
/linux/drivers/net/wireless/ath/ath5k/ |
H 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/net/wireless/ |
H A 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 …]
|
H A D | trace.h | 518 u8 key_index, bool pairwise, const u8 *mac_addr), 519 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr), 525 __field(u8, key_index) 533 __entry->key_index = key_index; 539 __entry->key_index, BOOL_TO_STR(__entry->pairwise), 545 u8 key_index, bool pairwise, const u8 *mac_addr), 546 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr) 551 u8 key_index, bool pairwise, const u8 *mac_addr), 552 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr) 557 u8 key_index, bool pairwise, const u8 *mac_addr, u8 mode), [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A 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/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_ioctl.c | 912 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key() 939 wep_key->key_index = index; in mwifiex_sec_ioctl_set_wep_key() 1007 encrypt_key->key_index = MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1027 encrypt_key->key_index = ~MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1030 if (!encrypt_key->key_index) in mwifiex_sec_ioctl_set_wpa_key() 1031 encrypt_key->key_index = MWIFIEX_KEY_INDEX_UNICAST; in mwifiex_sec_ioctl_set_wpa_key() 1096 const u8 *key, int key_len, u8 key_index, in mwifiex_set_encode() argument 1103 encrypt_key.key_index = key_index; in mwifiex_set_encode()
|
H A D | ioctl.h | 64 u8 key_index; member 249 u32 key_index; member
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | hw_common.c | 1098 void rtl92d_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92d_set_key() argument 1158 macaddr = cam_const_addr[key_index]; in rtl92d_set_key() 1159 entry_id = key_index; in rtl92d_set_key() 1163 entry_id = key_index; in rtl92d_set_key() 1174 key_index = PAIRWISE_KEYIDX; in rtl92d_set_key() 1178 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92d_set_key() 1202 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92d_set_key() 1205 rtlpriv->sec.key_buf[key_index]); in rtl92d_set_key() 1217 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92d_set_key()
|
H A D | hw_common.h | 20 void rtl92d_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 1558 void wil_set_crypto_rx(u8 key_index, enum wmi_key_usage key_usage, in wil_set_crypto_rx() argument 1572 cc = &cs->tid_crypto_rx[tid].key_id[key_index]; in wil_set_crypto_rx() 1582 cc = &cs->group_crypto_rx.key_id[key_index]; in wil_set_crypto_rx() 1594 static void wil_del_rx_key(u8 key_index, enum wmi_key_usage key_usage, in wil_del_rx_key() argument 1606 cc = &cs->tid_crypto_rx[tid].key_id[key_index]; in wil_del_rx_key() 1611 cc = &cs->group_crypto_rx.key_id[key_index]; in wil_del_rx_key() 1621 u8 key_index, bool pairwise, in wil_cfg80211_add_key() argument 1640 mac_addr, key_usage_str[key_usage], key_index, in wil_cfg80211_add_key() 1649 mac_addr, key_usage_str[key_usage], key_index, in wil_cfg80211_add_key() 1654 wil_del_rx_key(key_index, key_usage, cs); in wil_cfg80211_add_key() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.h | 31 void rtl8723be_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/marvell/libertas/ |
H 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/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | hw.h | 48 u32 key_index, u8 *macaddr, bool is_group,
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.h | 29 void rtl92ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.h | 29 void rtl88ee_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | hw.h | 42 void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | hw.h | 31 void rtl8821ae_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hw.h | 35 void rtl8723e_set_key(struct ieee80211_hw *hw, u32 key_index,
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | wlan_bssdef.h | 114 u32 key_index; /* 0 is the per-client key, 1-N are the global keys */ member
|
/linux/drivers/nfc/fdp/ |
H A D | fdp.c | 53 u8 key_index; member 648 info->key_index = *p++; in fdp_nci_core_get_config_rsp_packet() 655 dev_dbg(dev, "key index %d\n", info->key_index); in fdp_nci_core_get_config_rsp_packet()
|