wl_cmd 872 drivers/net/wireless/ti/wl1251/main.c struct wl1251_cmd_set_keys *wl_cmd; wl_cmd 881 drivers/net/wireless/ti/wl1251/main.c wl_cmd = kzalloc(sizeof(*wl_cmd), GFP_KERNEL); wl_cmd 882 drivers/net/wireless/ti/wl1251/main.c if (!wl_cmd) { wl_cmd 909 drivers/net/wireless/ti/wl1251/main.c wl_cmd->key_action = KEY_ADD_OR_REPLACE; wl_cmd 912 drivers/net/wireless/ti/wl1251/main.c wl_cmd->key_action = KEY_REMOVE; wl_cmd 923 drivers/net/wireless/ti/wl1251/main.c ret = wl1251_set_key_type(wl, wl_cmd, cmd, key, addr); wl_cmd 929 drivers/net/wireless/ti/wl1251/main.c if (wl_cmd->key_type != KEY_WEP_DEFAULT) wl_cmd 930 drivers/net/wireless/ti/wl1251/main.c memcpy(wl_cmd->addr, addr, ETH_ALEN); wl_cmd 932 drivers/net/wireless/ti/wl1251/main.c if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) || wl_cmd 933 drivers/net/wireless/ti/wl1251/main.c (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) { wl_cmd 940 drivers/net/wireless/ti/wl1251/main.c memcpy(wl_cmd->key, key->key, 16); wl_cmd 941 drivers/net/wireless/ti/wl1251/main.c memcpy(wl_cmd->key + 16, key->key + 24, 8); wl_cmd 942 drivers/net/wireless/ti/wl1251/main.c memcpy(wl_cmd->key + 24, key->key + 16, 8); wl_cmd 945 drivers/net/wireless/ti/wl1251/main.c memcpy(wl_cmd->key, key->key, key->keylen); wl_cmd 947 drivers/net/wireless/ti/wl1251/main.c wl_cmd->key_size = key->keylen; wl_cmd 949 drivers/net/wireless/ti/wl1251/main.c wl_cmd->id = key->keyidx; wl_cmd 950 drivers/net/wireless/ti/wl1251/main.c wl_cmd->ssid_profile = 0; wl_cmd 952 drivers/net/wireless/ti/wl1251/main.c wl1251_dump(DEBUG_CRYPT, "TARGET KEY: ", wl_cmd, sizeof(*wl_cmd)); wl_cmd 954 drivers/net/wireless/ti/wl1251/main.c ret = wl1251_cmd_send(wl, CMD_SET_KEYS, wl_cmd, sizeof(*wl_cmd)); wl_cmd 967 drivers/net/wireless/ti/wl1251/main.c kfree(wl_cmd);