Home
last modified time | relevance | path

Searched refs:L2CAP_FCS_LEN (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/include/
Dl2cdefs.h266 #define L2CAP_FCS_LEN 2 /* FCS takes 2 bytes */ macro
270 …CS (L2CAP_PKT_OVERHEAD + L2CAP_EXT_CONTROL_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN)
/system/bt/stack/l2cap/
Dl2c_fcr.c465 UINT16_TO_STREAM (p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()
475 p_buf->len += L2CAP_FCS_LEN; in prepare_I_frame()
550 UINT16_TO_STREAM (p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame()
560 p_buf->len += L2CAP_FCS_LEN; in l2c_fcr_send_S_frame()
632 (UINT16)L2CAP_FCR_OVERHEAD : (UINT16)(L2CAP_FCS_LEN + L2CAP_FCR_OVERHEAD); in l2c_fcr_proc_pdu()
694 p = ((UINT8 *)(p_buf+1)) + p_buf->offset + p_buf->len - L2CAP_FCS_LEN; in l2c_fcr_proc_pdu()
698 p_buf->len -= L2CAP_FCS_LEN; in l2c_fcr_proc_pdu()
1293 p = ((UINT8 *)(p_buf+1)) + p_buf->offset + p_buf->len - L2CAP_FCS_LEN; in process_stream_frame()
1297 p_buf->len -= L2CAP_FCS_LEN; in process_stream_frame()
1745 p_xmit->len -= L2CAP_FCS_LEN; in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
Dl2c_api.c307 (L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET + L2CAP_FCS_LEN); in L2CA_ErtmConnectReq()
455 …bufsize (p_ertm_info->user_rx_pool_id) - (L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET + L2CAP_FCS_LEN); in L2CA_ErtmConnectRsp()
Dl2c_utils.c2643 …(packet_size <= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN)) in l2cu_adjust_out_mps()
2651 … packet_size -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN); in l2cu_adjust_out_mps()