Lines Matching refs:partial_packet
180 BT_HDR* partial_packet = in reassemble_and_dispatch() local
182 partial_packet->event = packet->event; in reassemble_and_dispatch()
183 partial_packet->len = full_length; in reassemble_and_dispatch()
184 partial_packet->offset = packet->len; in reassemble_and_dispatch()
186 memcpy(partial_packet->data, packet->data, packet->len); in reassemble_and_dispatch()
189 stream = partial_packet->data; in reassemble_and_dispatch()
193 partial_packets[handle] = partial_packet; in reassemble_and_dispatch()
206 BT_HDR* partial_packet = map_iter->second; in reassemble_and_dispatch() local
210 partial_packet->offset + (packet->len - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
212 partial_packet->len) { // len stores the expected length in reassemble_and_dispatch()
216 __func__, partial_packet->len); in reassemble_and_dispatch()
217 packet->len = partial_packet->len - partial_packet->offset; in reassemble_and_dispatch()
218 projected_offset = partial_packet->len; in reassemble_and_dispatch()
221 memcpy(partial_packet->data + partial_packet->offset, in reassemble_and_dispatch()
226 partial_packet->offset = projected_offset; in reassemble_and_dispatch()
228 if (partial_packet->offset == partial_packet->len) { in reassemble_and_dispatch()
230 partial_packet->offset = 0; in reassemble_and_dispatch()
231 callbacks->reassembled(partial_packet); in reassemble_and_dispatch()