Home | History | Annotate | Download | only in drivers

Lines Matching defs:bytes

123  * @ssid: Buffer for the SSID; must be at least 32 bytes long
250 int bytes;
255 bytes = strspn(spos, "0123456789abcdefABCDEF");
256 if (!bytes || (bytes & 1))
258 bytes /= 2;
260 req_ies = os_malloc(bytes);
262 hexstr2bin(spos, req_ies, bytes) < 0)
265 data.assoc_info.req_ies_len = bytes;
267 spos += bytes * 2;
275 bytes = strspn(spos, "0123456789abcdefABCDEF");
276 if (!bytes || (bytes & 1))
278 bytes /= 2;
280 resp_ies = os_malloc(bytes);
282 hexstr2bin(spos, resp_ies, bytes) < 0)
285 data.assoc_info.resp_ies_len = bytes;
1175 "trying larger buffer (%lu bytes)",
1378 int bytes;
1380 bytes = custom + clen - spos;
1381 if (bytes & 1 || bytes == 0)
1383 bytes /= 2;
1384 tmp = os_realloc(res->ie, res->ie_len + bytes);
1388 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1390 res->ie_len += bytes;
1393 int bytes;
1395 bytes = custom + clen - spos;
1396 if (bytes & 1 || bytes == 0)
1398 bytes /= 2;
1399 tmp = os_realloc(res->ie, res->ie_len + bytes);
1403 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1405 res->ie_len += bytes;
1408 int bytes;
1411 bytes = custom + clen - spos;
1412 if (bytes != 16) {
1413 wpa_printf(MSG_INFO, "Invalid TSF length (%d)", bytes);
1416 bytes /= 2;
1417 if (hexstr2bin(spos, bin, bytes) < 0) {
1597 wpa_printf(MSG_DEBUG, "Received %lu bytes of scan results (%lu BSSes)",