key_param_set 989 drivers/net/wireless/marvell/mwifiex/fw.h struct mwifiex_ie_type_key_param_set_v2 key_param_set; key_param_set 994 drivers/net/wireless/marvell/mwifiex/fw.h struct mwifiex_ie_type_key_param_set key_param_set; key_param_set 530 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct mwifiex_ie_type_key_param_set *key_param_set, key_param_set 540 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->type = key_param_set 544 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->length = cpu_to_le16((u16) key_param_set 548 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key_type_id = key_param_set 550 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key_info = key_param_set 553 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key_len = key_param_set 556 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key[0] = i; key_param_set 561 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key[1] = 1; key_param_set 563 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set->key[1] = 0; key_param_set 564 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memmove(&key_param_set->key[2], key_param_set 572 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_param_set = key_param_set 574 drivers/net/wireless/marvell/mwifiex/sta_cmd.c ((u8 *)key_param_set + key_param_set 604 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.cmac_aes.ipn, key_param_set 606 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info &= cpu_to_le16(~KEY_MCAST); key_param_set 607 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info |= cpu_to_le16(KEY_IGTK); key_param_set 608 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC; key_param_set 609 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_params.cmac_aes.key_len = key_param_set 611 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.cmac_aes.key, key_param_set 617 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC_DEF; key_param_set 618 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_param_set 623 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.aes.pn, key_param_set 625 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_AES; key_param_set 626 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_params.aes.key_len = key_param_set 628 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.aes.key, key_param_set 633 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(len); key_param_set 666 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = key_param_set 668 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.type = cpu_to_le16(TLV_TYPE_KEY_PARAM_V2); key_param_set 669 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(KEY_PARAMS_FIXED_LEN); key_param_set 670 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.mac_addr, mac, ETH_ALEN); key_param_set 680 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info = cpu_to_le16(key_info); key_param_set 688 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memset(&km->key_param_set, 0, key_param_set 694 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.type = cpu_to_le16(TLV_TYPE_KEY_PARAM_V2); key_param_set 695 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(KEY_PARAMS_FIXED_LEN); key_param_set 696 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_param_set 698 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info = cpu_to_le16(key_info); key_param_set 699 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.mac_addr, mac, ETH_ALEN); key_param_set 707 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; key_param_set 708 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.type = cpu_to_le16(TLV_TYPE_KEY_PARAM_V2); key_param_set 710 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.mac_addr, mac, ETH_ALEN); key_param_set 715 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(len); key_param_set 716 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_WEP; key_param_set 723 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (km->key_param_set.key_idx == key_param_set 733 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info = cpu_to_le16(key_info); key_param_set 735 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_params.wep.key_len = key_param_set 737 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.wep.key, key_param_set 752 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_WAPI; key_param_set 753 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.wapi.pn, enc_key->pn, key_param_set 755 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_params.wapi.key_len = key_param_set 757 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.wapi.key, key_param_set 764 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info = cpu_to_le16(key_info); key_param_set 767 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(len); key_param_set 785 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_info = cpu_to_le16(key_info); key_param_set 794 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.tkip.pn, key_param_set 796 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_type = KEY_TYPE_ID_TKIP; key_param_set 797 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.key_params.tkip.key_len = key_param_set 799 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.tkip.key, key_param_set 803 drivers/net/wireless/marvell/mwifiex/sta_cmd.c km->key_param_set.len = cpu_to_le16(len); key_param_set 843 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memset(&key_material->key_param_set, 0, key_param_set 847 drivers/net/wireless/marvell/mwifiex/sta_cmd.c &key_material->key_param_set, key_param_set 853 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memset(&key_material->key_param_set, 0, key_param_set 857 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_type_id = key_param_set 860 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 863 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 866 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key[0] = enc_key->key_index; key_param_set 868 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key[1] = 1; key_param_set 871 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key[1] = 0; key_param_set 875 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 878 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 883 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.type = key_param_set 885 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_len = key_param_set 887 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(&key_material->key_param_set.key[2], key_param_set 889 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(&key_material->key_param_set.key[2 + enc_key->key_len], key_param_set 891 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.length = key_param_set 903 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_type_id = key_param_set 906 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 909 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 912 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 916 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_type_id = key_param_set 919 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 922 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 927 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 930 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 935 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_type_id = key_param_set 937 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info = key_param_set 942 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 945 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_info |= key_param_set 949 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (key_material->key_param_set.key_type_id) { key_param_set 950 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.type = key_param_set 952 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_len = key_param_set 954 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(key_material->key_param_set.key, enc_key->key_material, key_param_set 956 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.length = key_param_set 963 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (le16_to_cpu(key_material->key_param_set.key_type_id) == key_param_set 966 drivers/net/wireless/marvell/mwifiex/sta_cmd.c (void *)key_material->key_param_set.key; key_param_set 973 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.key_len = key_param_set 976 drivers/net/wireless/marvell/mwifiex/sta_cmd.c key_material->key_param_set.length = key_param_set 985 drivers/net/wireless/marvell/mwifiex/sta_cmd.c tlv_mac = (void *)((u8 *)&key_material->key_param_set + key_param_set 585 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { key_param_set 594 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c memset(priv->aes_key.key_param_set.key, 0, key_param_set 595 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c sizeof(key->key_param_set.key)); key_param_set 596 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c priv->aes_key.key_param_set.key_len = key->key_param_set.key_len; key_param_set 597 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, key_param_set 598 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c le16_to_cpu(priv->aes_key.key_param_set.key_len)); key_param_set 617 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if ((le16_to_cpu(key_v2->key_param_set.key_info) & KEY_MCAST)) { key_param_set 625 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if (key_v2->key_param_set.key_type != KEY_TYPE_ID_AES) key_param_set 628 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c memset(priv->aes_key_v2.key_param_set.key_params.aes.key, 0, key_param_set 630 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c priv->aes_key_v2.key_param_set.key_params.aes.key_len = key_param_set 631 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c key_v2->key_param_set.key_params.aes.key_len; key_param_set 632 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c len = priv->aes_key_v2.key_param_set.key_params.aes.key_len; key_param_set 633 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c memcpy(priv->aes_key_v2.key_param_set.key_params.aes.key, key_param_set 634 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c key_v2->key_param_set.key_params.aes.key, le16_to_cpu(len)); key_param_set 1031 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c memcpy(ibss_key->key_param_set.key, encrypt_key->key_material, key_param_set 1033 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c memcpy(&ibss_key->key_param_set.key_len, &encrypt_key->key_len, key_param_set 1034 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c sizeof(ibss_key->key_param_set.key_len)); key_param_set 1035 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c ibss_key->key_param_set.key_type_id key_param_set 1037 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED);