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.cc468 uint8_t hdr_len; in avct_lcb_send_msg() local
492 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg()
495 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) { in avct_lcb_send_msg()
500 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg()
501 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg()
517 p_buf->len += hdr_len; in avct_lcb_send_msg()
518 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
Davct_bcb_act.cc447 uint8_t hdr_len; in avct_bcb_send_msg() local
463 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_bcb_send_msg()
467 p_buf->len += hdr_len; in avct_bcb_send_msg()
468 p_buf->offset -= hdr_len; in avct_bcb_send_msg()
/system/bt/stack/avdt/
Davdt_msg.cc1042 uint8_t hdr_len; in avdt_msg_send() local
1072 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send()
1080 hdr_len = AVDT_LEN_TYPE_START; in avdt_msg_send()
1089 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()
1090 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1100 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send()
1106 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()
1107 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1115 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send()
1156 p_buf->len += hdr_len; in avdt_msg_send()
[all …]
/system/bt/stack/bnep/
Dbnep_utils.cc41 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len,
492 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, in bnepu_init_hdr() argument
497 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) { in bnepu_init_hdr()
506 p_buf->len += hdr_len; in bnepu_init_hdr()
507 p_buf->offset -= hdr_len; in bnepu_init_hdr()
508 p -= hdr_len; in bnepu_init_hdr()