Home | History | Annotate | Download | only in drivers

Lines Matching defs:bytes

135  * @ssid: Buffer for the SSID; must be at least 32 bytes long
259 int bytes;
264 bytes = strspn(spos, "0123456789abcdefABCDEF");
265 if (!bytes || (bytes & 1))
267 bytes /= 2;
269 req_ies = os_malloc(bytes);
271 hexstr2bin(spos, req_ies, bytes) < 0)
274 data.assoc_info.req_ies_len = bytes;
276 spos += bytes * 2;
284 bytes = strspn(spos, "0123456789abcdefABCDEF");
285 if (!bytes || (bytes & 1))
287 bytes /= 2;
289 resp_ies = os_malloc(bytes);
291 hexstr2bin(spos, resp_ies, bytes) < 0)
294 data.assoc_info.resp_ies_len = bytes;
1095 "trying larger buffer (%lu bytes)",
1297 int bytes;
1299 bytes = custom + clen - spos;
1300 if (bytes & 1 || bytes == 0)
1302 bytes /= 2;
1303 tmp = os_realloc(res->ie, res->ie_len + bytes);
1307 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1309 res->ie_len += bytes;
1312 int bytes;
1314 bytes = custom + clen - spos;
1315 if (bytes & 1 || bytes == 0)
1317 bytes /= 2;
1318 tmp = os_realloc(res->ie, res->ie_len + bytes);
1322 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1324 res->ie_len += bytes;
1327 int bytes;
1330 bytes = custom + clen - spos;
1331 if (bytes != 16) {
1332 wpa_printf(MSG_INFO, "Invalid TSF length (%d)", bytes);
1335 bytes /= 2;
1336 if (hexstr2bin(spos, bin, bytes) < 0) {
1517 wpa_printf(MSG_DEBUG, "Received %lu bytes of scan results (%lu BSSes)",