Searched refs:L2CAP_PKT_OVERHEAD (Results 1 – 7 of 7) sorted by relevance
47 #define L2CAP_PKT_OVERHEAD 4 /* Length and CID */ macro254 #define L2CAP_MAX_HEADER_FCS (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN…258 #define L2CAP_OFFSET_WO_L2HDR (L2CAP_MIN_OFFSET-(L2CAP_PKT_OVERHEAD+L2CAP_FCR_OVERHEAD))
354 p_buf->len = len + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_build_header()373 UINT16_TO_STREAM (p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()445 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_cmd_reject()488 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_req()528 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_connect_rsp()561 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET+HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2C… in l2cu_reject_connection()614 L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD; in l2cu_send_peer_config_req()713 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET+HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2C… in l2cu_send_peer_config_rsp()791 …len = BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD + L2CAP_CONFI… in l2cu_send_peer_config_rej()927 …p = (UINT8 *)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L… in l2cu_send_peer_disc_req()[all …]
76 p_buf->offset -= (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD); in l2c_bcst_msg()77 p_buf->len += L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD; in l2c_bcst_msg()96 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_bcst_msg()205 if (hci_len >= L2CAP_PKT_OVERHEAD) /* Must receive at least the L2CAP length and CID.*/ in l2c_rcv_acl_data()207 p_msg->len = hci_len - L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()208 p_msg->offset += L2CAP_PKT_OVERHEAD; in l2c_rcv_acl_data()
161 p -= L2CAP_PKT_OVERHEAD; in l2c_fcr_rx_get_fcs()163 return (l2c_fcr_updcrc (L2CAP_FCR_INIT_CRC, p, p_buf->len + L2CAP_PKT_OVERHEAD)); in l2c_fcr_rx_get_fcs()434 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()463 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in prepare_I_frame()472 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()556 p_buf->len = L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_send_S_frame()1540 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in retransmit_i_frames()1647 p = ((UINT8 *) (p_buf+1)) + p_buf->offset + L2CAP_PKT_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()1717 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()1718 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()[all …]
1308 p_buf->offset -= L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1309 p_buf->len += L2CAP_PKT_OVERHEAD; in l2c_enqueue_peer_data()1315 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1722 if (l2cap_len > (p_buf->len - (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD))) in l2cap_link_chk_pkt_end()
168 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) in port_select_mtu()170 …ort->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OVERH… in port_select_mtu()