Home
last modified time | relevance | path

Searched refs:LLCP_PDU_HEADER_SIZE (Results 1 – 9 of 9) sorted by relevance

/external/libnfc-nci/src/nfc/llcp/
Dllcp_sdp.c70 llcp_cb.sdp_cb.p_snl->len += LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
71 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
131 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
160 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
236 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
263 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
Dllcp_link.c1138 p_agf->len -= LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1139 p_agf->offset += LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1221 llcp_sdp_proc_snl ((UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
1223 else if ((ptype == LLCP_PDU_UI_TYPE) && (pdu_length > LLCP_PDU_HEADER_SIZE)) in llcp_link_proc_agf_pdu()
1233 … llcp_dlc_proc_rx_pdu (dsap, ptype, ssap, (UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
1270 p_data = (UINT8 *) (p_msg + 1) + p_msg->offset + LLCP_PDU_HEADER_SIZE; in llcp_link_proc_rx_pdu()
1271 … llcp_dlc_proc_rx_pdu (dsap, ptype, ssap, (UINT16) (p_msg->len - LLCP_PDU_HEADER_SIZE), p_data); in llcp_link_proc_rx_pdu()
1276 p_data = (UINT8 *) (p_msg + 1) + p_msg->offset + LLCP_PDU_HEADER_SIZE; in llcp_link_proc_rx_pdu()
1277 llcp_sdp_proc_snl ((UINT16) (p_msg->len - LLCP_PDU_HEADER_SIZE), p_data); in llcp_link_proc_rx_pdu()
1296 p_data = (UINT8 *) (p_msg + 1) + p_msg->offset + LLCP_PDU_HEADER_SIZE; in llcp_link_proc_rx_pdu()
[all …]
Dllcp_dlc.c826 if (length != LLCP_PDU_DM_SIZE - LLCP_PDU_HEADER_SIZE) in llcp_dlc_proc_dm_pdu()
886 info_len = i_pdu_length - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
897 p = p_i_pdu + LLCP_PDU_HEADER_SIZE; in llcp_dlc_proc_i_pdu()
969 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
992 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - LLCP_PDU_AGF_LEN_SIZE; in llcp_dlc_proc_i_pdu()
995 … p_msg->offset += LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - LLCP_PDU_AGF_LEN_SIZE; in llcp_dlc_proc_i_pdu()
996 … p_msg->len -= LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - LLCP_PDU_AGF_LEN_SIZE; in llcp_dlc_proc_i_pdu()
1010 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
1093 if (length != LLCP_PDU_RR_SIZE - LLCP_PDU_HEADER_SIZE) in llcp_dlc_proc_rr_rnr_pdu()
1417 return (p_msg->len + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE); in llcp_dlc_get_next_pdu_length()
Dllcp_util.c275 p_msg->offset -= LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui()
276 p_msg->len += LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui()
446 p_msg->len = LLCP_PDU_HEADER_SIZE + miu_len + rw_len + sn_len; in llcp_util_send_connect()
598 p_msg->len = LLCP_PDU_HEADER_SIZE + miu_len + rw_len; in llcp_util_send_cc()
731 p_msg->offset -= LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_util_build_info_pdu()
732 p_msg->len += LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_util_build_info_pdu()
Dllcp_api.c781 … if (max_data_len >= (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific)) in LLCP_ReadLogicalLinkData()
784 … *p_data_len = (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_ReadLogicalLinkData()
865 … flushed_length += (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_FlushLogicalLinkRxData()
/external/libnfc-nci/src/nfa/include/
Dnfa_p2p_api.h66 #define NFA_P2P_MIU_1 (NCI_NFC_DEP_MAX_DATA - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE)
67 #define NFA_P2P_MIU_2 (2*NCI_NFC_DEP_MAX_DATA - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE)
68 #define NFA_P2P_MIU_3 (3*NCI_NFC_DEP_MAX_DATA - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE)
69 #define NFA_P2P_MIU_8 (8*NCI_NFC_DEP_MAX_DATA - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE)
/external/libnfc-nci/src/nfc/include/
Dllcp_defs.h32 #define LLCP_PDU_HEADER_SIZE 2 /* DSAP:PTYPE:SSAP excluding Sequence */ macro
Dllcp_api.h40 #define LLCP_MIN_OFFSET (NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE
/external/libnfc-nci/src/include/
Dnfc_target.h375 …(LLCP_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_MSG_OFFSET_SIZE - NCI_DATA_HDR_SIZE - LLCP_PDU_HEADER_SIZE)