Home
last modified time | relevance | path

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

/system/bt/stack/avct/
Davct_lcb_act.cc473 uint8_t hdr_len; in avct_lcb_send_msg() local
497 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg()
500 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) { in avct_lcb_send_msg()
505 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg()
506 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg()
522 p_buf->len += hdr_len; in avct_lcb_send_msg()
523 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
Davct_bcb_act.cc444 uint8_t hdr_len; in avct_bcb_send_msg() local
460 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_bcb_send_msg()
464 p_buf->len += hdr_len; in avct_bcb_send_msg()
465 p_buf->offset -= hdr_len; in avct_bcb_send_msg()
/system/bt/stack/avdt/
Davdt_msg.cc1062 uint8_t hdr_len; in avdt_msg_send() local
1092 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send()
1100 hdr_len = AVDT_LEN_TYPE_START; in avdt_msg_send()
1109 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()
1110 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1120 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send()
1126 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()
1127 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1135 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send()
1176 p_buf->len += hdr_len; in avdt_msg_send()
[all …]
/system/bt/stack/bnep/
Dbnep_utils.cc42 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len,
497 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, in bnepu_init_hdr() argument
502 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) { in bnepu_init_hdr()
511 p_buf->len += hdr_len; in bnepu_init_hdr()
512 p_buf->offset -= hdr_len; in bnepu_init_hdr()
513 p -= hdr_len; in bnepu_init_hdr()