Home
last modified time | relevance | path

Searched refs:encrypt_key (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c940 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wapi_key() argument
945 encrypt_key, true); in mwifiex_sec_ioctl_set_wapi_key()
955 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wep_key() argument
965 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key()
966 if (encrypt_key->key_disable) { in mwifiex_sec_ioctl_set_wep_key()
968 } else if (!encrypt_key->key_len) { in mwifiex_sec_ioctl_set_wep_key()
978 memcpy(encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
980 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
990 encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
991 encrypt_key->key_len); in mwifiex_sec_ioctl_set_wep_key()
[all …]
H A Dcfg80211.c526 struct mwifiex_ds_encrypt_key encrypt_key; in mwifiex_cfg80211_set_default_mgmt_key() local
533 memset(&encrypt_key, 0, sizeof(struct mwifiex_ds_encrypt_key)); in mwifiex_cfg80211_set_default_mgmt_key()
534 encrypt_key.key_len = WLAN_KEY_LEN_CCMP; in mwifiex_cfg80211_set_default_mgmt_key()
535 encrypt_key.key_index = key_index; in mwifiex_cfg80211_set_default_mgmt_key()
536 encrypt_key.is_igtk_def_key = true; in mwifiex_cfg80211_set_default_mgmt_key()
537 eth_broadcast_addr(encrypt_key.mac_addr); in mwifiex_cfg80211_set_default_mgmt_key()
540 HostCmd_ACT_GEN_SET, true, &encrypt_key, true)) { in mwifiex_cfg80211_set_default_mgmt_key()