Searched refs:hdr_len (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/stack/avct/ |
D | avct_lcb_act.cc | 553 uint8_t hdr_len; in avct_lcb_send_msg() local 577 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg() 580 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) { in avct_lcb_send_msg() 585 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg() 586 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg() 602 p_buf->len += hdr_len; in avct_lcb_send_msg() 603 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
|
D | avct_bcb_act.cc | 448 uint8_t hdr_len; in avct_bcb_send_msg() local 464 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_bcb_send_msg() 468 p_buf->len += hdr_len; in avct_bcb_send_msg() 469 p_buf->offset -= hdr_len; in avct_bcb_send_msg()
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger.cc | 679 profile_type_t current_profile, uint8_t* packet, uint32_t hdr_len, uint32_t pl_len) { in PayloadStrip() argument 685 hdr_len, in PayloadStrip() 706 len = hdr_len; in PayloadStrip() 708 packet[ACL_LENGTH_OFFSET] = static_cast<uint8_t>(hdr_len - BASIC_L2CAP_HEADER_LENGTH); in PayloadStrip() 710 static_cast<uint8_t>((hdr_len - BASIC_L2CAP_HEADER_LENGTH) >> 8); in PayloadStrip() 713 static_cast<uint8_t>(hdr_len - (ACL_HEADER_LENGTH + BASIC_L2CAP_HEADER_LENGTH)); in PayloadStrip() 715 static_cast<uint8_t>((hdr_len - (ACL_HEADER_LENGTH + BASIC_L2CAP_HEADER_LENGTH)) >> 8); in PayloadStrip() 718 strcpy(reinterpret_cast<char*>(&packet[hdr_len]), payload_fill_magic); in PayloadStrip() 721 static_cast<uint8_t>(hdr_len + magic_pat_len - BASIC_L2CAP_HEADER_LENGTH); in PayloadStrip() 723 static_cast<uint8_t>((hdr_len + magic_pat_len - BASIC_L2CAP_HEADER_LENGTH) >> 8); in PayloadStrip() [all …]
|
D | snoop_logger.h | 309 profile_type_t current_profile, uint8_t* packet, uint32_t hdr_len, uint32_t pl_len);
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_msg.cc | 1059 uint8_t hdr_len; in avdt_msg_send() local 1089 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send() 1097 hdr_len = AVDT_LEN_TYPE_START; 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() 1117 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send() 1123 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send() 1124 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1132 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send() 1173 p_buf->len += hdr_len; in avdt_msg_send() [all …]
|
/packages/modules/Bluetooth/system/stack/bnep/ |
D | bnep_utils.cc | 46 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, 507 static uint8_t* bnepu_init_hdr(BT_HDR* p_buf, uint16_t hdr_len, in bnepu_init_hdr() argument 512 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) { in bnepu_init_hdr() 521 p_buf->len += hdr_len; in bnepu_init_hdr() 522 p_buf->offset -= hdr_len; in bnepu_init_hdr() 523 p -= hdr_len; in bnepu_init_hdr()
|