Searched refs:hdr_len (Results 1 – 4 of 4) sorted by relevance
474 uint8_t hdr_len; in avct_lcb_send_msg() local498 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg()501 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) { in avct_lcb_send_msg()506 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg()507 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg()523 p_buf->len += hdr_len; in avct_lcb_send_msg()524 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
447 uint8_t hdr_len; in avct_bcb_send_msg() local463 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()
1062 uint8_t hdr_len; in avdt_msg_send() local1092 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 …]
43 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len,498 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, in bnepu_init_hdr() argument503 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) { in bnepu_init_hdr()512 p_buf->len += hdr_len; in bnepu_init_hdr()513 p_buf->offset -= hdr_len; in bnepu_init_hdr()514 p -= hdr_len; in bnepu_init_hdr()