Home
last modified time | relevance | path

Searched refs:keyinfo (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/
H A D3945-mac.c135 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info()
136 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il3945_set_ccmp_dynamic_key_info()
137 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info()
185 memset(&il->stations[sta_id].keyinfo, 0, sizeof(struct il_hw_key)); in il3945_clear_sta_key_info()
352 struct il_hw_key *keyinfo = &il->stations[sta_id].keyinfo; in il3945_build_tx_cmd_hwcrypto() local
356 switch (keyinfo->cipher) { in il3945_build_tx_cmd_hwcrypto()
359 memcpy(tx_cmd->key, keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto()
375 memcpy(&tx_cmd->key[3], keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto()
382 IL_ERR("Unknown encode cipher %x\n", keyinfo->cipher); in il3945_build_tx_cmd_hwcrypto()
H A D4965-mac.c3214 il->stations[IL_AP_ID].keyinfo.cipher = keyconf->cipher; in il4965_set_default_wep_key()
3249 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il4965_set_wep_dynamic_key_info()
3250 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il4965_set_wep_dynamic_key_info()
3251 il->stations[sta_id].keyinfo.keyidx = keyconf->keyidx; in il4965_set_wep_dynamic_key_info()
3253 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_wep_dynamic_key_info()
3299 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il4965_set_ccmp_dynamic_key_info()
3300 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il4965_set_ccmp_dynamic_key_info()
3302 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_ccmp_dynamic_key_info()
3346 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il4965_set_tkip_dynamic_key_info()
3347 il->stations[sta_id].keyinfo.keylen = 16; in il4965_set_tkip_dynamic_key_info()
[all …]
H A Dcommon.h709 struct il_hw_key keyinfo; member
/OK3568_Linux_fs/kernel/drivers/staging/ks7010/
H A Dks_hostif.c1067 unsigned short keyinfo = 0; in hostif_data_request() local
1160 keyinfo = ntohs(eap_key->key_info); in hostif_data_request()
1212 if (keyinfo & WPA_KEY_INFO_ERROR && in hostif_data_request()
1213 keyinfo & WPA_KEY_INFO_REQUEST) { in hostif_data_request()
1215 "MIC ERROR Report SET : %04X\n", keyinfo); in hostif_data_request()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_android_ext.c2195 gtk_keyinfo_t keyinfo; in wl_ext_gtk_key_info() local
2216 memset(&keyinfo, 0, sizeof(keyinfo)); in wl_ext_gtk_key_info()
2217 memcpy(&keyinfo, data, RSN_KCK_LENGTH+RSN_KEK_LENGTH+RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
2218 err = wl_ext_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_ext_gtk_key_info()
2228 prhex("kck", (uchar *)keyinfo.KCK, RSN_KCK_LENGTH); in wl_ext_gtk_key_info()
2229 prhex("kek", (uchar *)keyinfo.KEK, RSN_KEK_LENGTH); in wl_ext_gtk_key_info()
2230 prhex("replay_ctr", (uchar *)keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
H A Dwl_cfg80211.c19988 gtk_keyinfo_t keyinfo; in wl_cfg80211_set_rekey_data() local
20014 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH); in wl_cfg80211_set_rekey_data()
20015 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH); in wl_cfg80211_set_rekey_data()
20016 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_cfg80211_set_rekey_data()
20017 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_cfg80211_set_rekey_data()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_android_ext.c2167 gtk_keyinfo_t keyinfo; in wl_ext_gtk_key_info() local
2188 memset(&keyinfo, 0, sizeof(keyinfo)); in wl_ext_gtk_key_info()
2189 memcpy(&keyinfo, data, RSN_KCK_LENGTH+RSN_KEK_LENGTH+RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
2190 err = wl_ext_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_ext_gtk_key_info()
2200 prhex("kck", (uchar *)keyinfo.KCK, RSN_KCK_LENGTH); in wl_ext_gtk_key_info()
2201 prhex("kek", (uchar *)keyinfo.KEK, RSN_KEK_LENGTH); in wl_ext_gtk_key_info()
2202 prhex("replay_ctr", (uchar *)keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
H A Dwl_cfg80211.c20233 gtk_keyinfo_t keyinfo; in wl_cfg80211_set_rekey_data() local
20259 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH); in wl_cfg80211_set_rekey_data()
20260 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH); in wl_cfg80211_set_rekey_data()
20261 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_cfg80211_set_rekey_data()
20262 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_cfg80211_set_rekey_data()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/
H A Dhost.h817 __le16 keyinfo; member
H A Dcfg.c1002 cmd.param.keyinfo = cpu_to_le16(key_info); in lbs_set_key_material()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android_ext.c6038 gtk_keyinfo_t keyinfo; in wl_ext_gtk_key_info() local
6044 memset(&keyinfo, 0, sizeof(keyinfo)); in wl_ext_gtk_key_info()
6045 memcpy(&keyinfo, data, RSN_KCK_LENGTH+RSN_KEK_LENGTH+RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
6047 prhex("kck", (uchar *)keyinfo.KCK, RSN_KCK_LENGTH); in wl_ext_gtk_key_info()
6048 prhex("kek", (uchar *)keyinfo.KEK, RSN_KEK_LENGTH); in wl_ext_gtk_key_info()
6049 prhex("replay_ctr", (uchar *)keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_ext_gtk_key_info()
6062 err = wl_ext_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_ext_gtk_key_info()
H A Dwl_cfg80211.c21777 gtk_keyinfo_t keyinfo; in wl_cfg80211_set_rekey_data() local
21794 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH); in wl_cfg80211_set_rekey_data()
21795 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH); in wl_cfg80211_set_rekey_data()
21796 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN); in wl_cfg80211_set_rekey_data()
21809 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo), in wl_cfg80211_set_rekey_data()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfg80211.c23229 gtk_keyinfo_t keyinfo; local
23240 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH);
23241 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH);
23242 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN);
23244 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo),
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfg80211.c23227 gtk_keyinfo_t keyinfo; local
23238 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH);
23239 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH);
23240 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN);
23242 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo),
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfg80211.c22983 gtk_keyinfo_t keyinfo; local
22994 bcopy(data->kck, keyinfo.KCK, RSN_KCK_LENGTH);
22995 bcopy(data->kek, keyinfo.KEK, RSN_KEK_LENGTH);
22996 bcopy(data->replay_ctr, keyinfo.ReplayCounter, RSN_REPLAY_LEN);
22998 if ((err = wldev_iovar_setbuf(dev, "gtk_key_info", &keyinfo, sizeof(keyinfo),