Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:bytes

234  * @ssid: Buffer for the SSID; must be at least 32 bytes long
358 int bytes;
362 bytes = strspn(spos, "0123456789abcdefABCDEF");
363 if (!bytes || (bytes & 1))
365 bytes /= 2;
367 data.assoc_info.req_ies = os_malloc(bytes);
371 data.assoc_info.req_ies_len = bytes;
372 hexstr2bin(spos, data.assoc_info.req_ies, bytes);
374 spos += bytes * 2;
382 bytes = strspn(spos, "0123456789abcdefABCDEF");
383 if (!bytes || (bytes & 1))
385 bytes /= 2;
387 data.assoc_info.resp_ies = os_malloc(bytes);
391 data.assoc_info.resp_ies_len = bytes;
392 hexstr2bin(spos, data.assoc_info.resp_ies, bytes);
882 wpa_printf(MSG_DEBUG, "%d extra bytes in the end of netlink "
1279 "trying larger buffer (%lu bytes)",
1471 int bytes;
1473 bytes = custom + clen - spos;
1474 if (bytes & 1)
1476 bytes /= 2;
1477 if (bytes > SSID_MAX_WPA_IE_LEN) {
1479 "(%d)", bytes);
1483 bytes);
1484 results[ap_num].wpa_ie_len = bytes;
1489 int bytes;
1491 bytes = custom + clen - spos;
1492 if (bytes & 1)
1494 bytes /= 2;
1495 if (bytes > SSID_MAX_WPA_IE_LEN) {
1497 "(%d)", bytes);
1501 bytes);
1502 results[ap_num].rsn_ie_len = bytes;
1523 wpa_printf(MSG_DEBUG, "Received %lu bytes of scan results (%lu BSSes)",