Home
last modified time | relevance | path

Searched refs:bt_packet (Results 1 – 1 of 1) sorted by relevance

/system/bt/stack/l2cap/
Dl2cap_client.cc395 BT_HDR* bt_packet = static_cast<BT_HDR*>( in fragment_packet() local
397 bt_packet->offset = L2CAP_MIN_OFFSET; in fragment_packet()
398 bt_packet->len = buffer_length(packet); in fragment_packet()
399 memcpy(bt_packet->data + bt_packet->offset, buffer_ptr(packet), in fragment_packet()
403 if (bt_packet->len <= client->remote_mtu) { in fragment_packet()
404 if (bt_packet->len > 0) in fragment_packet()
405 list_append(client->outbound_fragments, bt_packet); in fragment_packet()
407 osi_free(bt_packet); in fragment_packet()
416 bt_packet->data + bt_packet->offset, client->remote_mtu); in fragment_packet()
420 bt_packet->offset += client->remote_mtu; in fragment_packet()
[all …]