Searched refs:L2CAP_PKT_OVERHEAD (Results 1 – 8 of 8) sorted by relevance
62 packet->offset = 4 + L2CAP_PKT_OVERHEAD; in AllocateWrappedIncomingL2capAclPacket()63 packet->len = static_cast<uint16_t>(buffer_length - 4 - L2CAP_PKT_OVERHEAD); in AllocateWrappedIncomingL2capAclPacket()77 size_t acl_l2cap_header_size = 4 + L2CAP_PKT_OVERHEAD; in AllocateWrappedOutgoingL2capAclPacket()
50 #define L2CAP_PKT_OVERHEAD 4 macro324 (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + \339 (L2CAP_MIN_OFFSET - (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD))
324 len + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_build_header()340 UINT16_TO_STREAM(p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()405 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_cmd_reject()444 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_req()483 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_rsp()517 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_reject_connection()570 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_req()664 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_rsp()737 len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_config_rej()868 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_disc_req()[all …]
155 p -= L2CAP_PKT_OVERHEAD; in l2c_fcr_rx_get_fcs()158 l2c_fcr_updcrc(L2CAP_FCR_INIT_CRC, p, p_buf->len + L2CAP_PKT_OVERHEAD)); in l2c_fcr_rx_get_fcs()424 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()449 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()457 UINT16_TO_STREAM(p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()535 p_buf->len = L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_send_S_frame()1592 p = ((uint8_t*)(p_buf + 1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in retransmit_i_frames()1749 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()1750 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()1763 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()[all …]
83 if (hci_len < L2CAP_PKT_OVERHEAD || hci_len != p_msg->len - 4) { in l2c_rcv_acl_data()158 p_msg->len = hci_len - L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()159 p_msg->offset += L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()
1367 p_buf->offset -= L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1368 p_buf->len += L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1374 UINT16_TO_STREAM(p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
975 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()976 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
165 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu()166 p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * in port_select_mtu()168 RFCOMM_DATA_OVERHEAD - L2CAP_PKT_OVERHEAD; in port_select_mtu()