Lines Matching defs:confirm
2263 struct obj_mlmeex *confirm;
2351 confirm = kmalloc(sizeof(struct obj_mlmeex) + 6, GFP_ATOMIC);
2353 if (!confirm)
2356 memcpy(&confirm->address, mlmeex->address, ETH_ALEN);
2359 confirm->id = -1; /* or mlmeex->id ? */
2360 confirm->state = 0; /* not used */
2361 confirm->code = 0;
2362 confirm->size = 6;
2363 confirm->data[0] = 0x00;
2364 confirm->data[1] = 0x00;
2365 confirm->data[2] = 0x02;
2366 confirm->data[3] = 0x00;
2367 confirm->data[4] = 0x00;
2368 confirm->data[5] = 0x00;
2370 ret = mgt_set_varlen(priv, DOT11_OID_ASSOCIATEEX, confirm, 6);
2372 kfree(confirm);
2389 confirm = kmalloc(sizeof(struct obj_mlmeex), GFP_ATOMIC);
2391 if (!confirm)
2394 memcpy(&confirm->address, mlmeex->address, ETH_ALEN);
2396 confirm->id = ((struct obj_mlmeex *)mlme)->id;
2397 confirm->state = 0; /* not used */
2398 confirm->code = 0;
2405 kfree(confirm);
2409 confirm->size = wpa_ie_len;
2410 memcpy(&confirm->data, wpa_ie, wpa_ie_len);
2412 mgt_set_varlen(priv, oid, confirm, wpa_ie_len);
2414 kfree(confirm);
2426 confirm = kmalloc(sizeof(struct obj_mlmeex), GFP_ATOMIC);
2428 if (!confirm)
2431 memcpy(&confirm->address, mlmeex->address, ETH_ALEN);
2433 confirm->id = mlmeex->id;
2434 confirm->state = 0; /* not used */
2435 confirm->code = 0;
2442 kfree(confirm);
2446 confirm->size = wpa_ie_len;
2447 memcpy(&confirm->data, wpa_ie, wpa_ie_len);
2449 mgt_set_varlen(priv, oid, confirm, wpa_ie_len);
2451 kfree(confirm);