Searched refs:L2CAP_FCS_LEN (Results 1 – 4 of 4) sorted by relevance
277 #define L2CAP_FCS_LEN 2 /* FCS takes 2 bytes */ macro281 …CS (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN)
346 uint16_t buf_size = no_of_bytes + sizeof(BT_HDR) + new_offset + L2CAP_FCS_LEN; in l2c_fcr_clone_buf()457 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()467 p_buf->len += L2CAP_FCS_LEN; in prepare_I_frame()539 UINT16_TO_STREAM (p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame()548 p_buf->len += L2CAP_FCS_LEN; in l2c_fcr_send_S_frame()614 (UINT16)L2CAP_FCR_OVERHEAD : (UINT16)(L2CAP_FCS_LEN + L2CAP_FCR_OVERHEAD); in l2c_fcr_proc_pdu()670 p = ((UINT8 *)(p_buf + 1)) + p_buf->offset + p_buf->len - L2CAP_FCS_LEN; in l2c_fcr_proc_pdu()674 p_buf->len -= L2CAP_FCS_LEN; in l2c_fcr_proc_pdu()1224 p = ((UINT8 *)(p_buf + 1)) + p_buf->offset + p_buf->len - L2CAP_FCS_LEN; in process_stream_frame()1228 p_buf->len -= L2CAP_FCS_LEN; in process_stream_frame()[all …]
289 (L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET + L2CAP_FCS_LEN); in L2CA_ErtmConnectReq()438 (L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET + L2CAP_FCS_LEN); in L2CA_ErtmConnectRsp()
2639 …acket_size <= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN)) { in l2cu_adjust_out_mps()2644 … packet_size -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN); in l2cu_adjust_out_mps()