Home
last modified time | relevance | path

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

/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c900 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wapi_key() argument
905 encrypt_key, true); in mwifiex_sec_ioctl_set_wapi_key()
915 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wep_key() argument
925 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key()
926 if (encrypt_key->key_disable) { in mwifiex_sec_ioctl_set_wep_key()
928 } else if (!encrypt_key->key_len) { in mwifiex_sec_ioctl_set_wep_key()
938 memcpy(encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
940 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
950 encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
951 encrypt_key->key_len); in mwifiex_sec_ioctl_set_wep_key()
[all …]
Dcfg80211.c514 struct mwifiex_ds_encrypt_key encrypt_key; in mwifiex_cfg80211_set_default_mgmt_key() local
518 memset(&encrypt_key, 0, sizeof(struct mwifiex_ds_encrypt_key)); in mwifiex_cfg80211_set_default_mgmt_key()
519 encrypt_key.key_len = WLAN_KEY_LEN_CCMP; in mwifiex_cfg80211_set_default_mgmt_key()
520 encrypt_key.key_index = key_index; in mwifiex_cfg80211_set_default_mgmt_key()
521 encrypt_key.is_igtk_def_key = true; in mwifiex_cfg80211_set_default_mgmt_key()
522 eth_broadcast_addr(encrypt_key.mac_addr); in mwifiex_cfg80211_set_default_mgmt_key()
525 HostCmd_ACT_GEN_SET, true, &encrypt_key, true); in mwifiex_cfg80211_set_default_mgmt_key()