Searched refs:hci_read_len (Results 1 – 1 of 1) sorted by relevance
386 … uint32_t hci_read_len = ((buf[2] << 16) & 0xFFFF00) | ((buf[1] << 8) & 0xFF00) | (buf[0] & 0xFF); in cybt_hci_read_packet() local387 if (hci_read_len > max_buf_size - 4) { in cybt_hci_read_packet()389 cybt_printf("cybt_hci_read_packet: too much data len %" PRId32"\n", hci_read_len); in cybt_hci_read_packet()393 total_read_len = hci_read_len; in cybt_hci_read_packet()396 …bt_debug("cybt_hci_read_packet: packet type 0x%" PRIx8 " len %" PRId32 "\n", buf[3], hci_read_len); in cybt_hci_read_packet()406 if (total_read_len >= hci_read_len) { in cybt_hci_read_packet()407 assert(total_read_len == ROUNDUP(hci_read_len, 4)); // check if we're losing data? in cybt_hci_read_packet()408 *size = hci_read_len + 4; in cybt_hci_read_packet()412 …_printf("cybt_hci_read_packet: failed to read all data %lu < %lu\n", total_read_len, hci_read_len); in cybt_hci_read_packet()