Home
last modified time | relevance | path

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

/system/nfc/src/nfc/llcp/
Dllcp_link.cc1096 p_agf->len -= LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1097 p_agf->offset += LLCP_PDU_HEADER_SIZE; in llcp_link_proc_agf_pdu()
1109 if (pdu_length < LLCP_PDU_HEADER_SIZE) { in llcp_link_proc_agf_pdu()
1140 while (agf_length >= (LLCP_PDU_HEADER_SIZE + LLCP_PDU_AGF_LEN_SIZE)) { in llcp_link_proc_agf_pdu()
1171 llcp_sdp_proc_snl((uint16_t)(pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
1173 (pdu_length > LLCP_PDU_HEADER_SIZE)) { in llcp_link_proc_agf_pdu()
1180 (uint16_t)(pdu_length - LLCP_PDU_HEADER_SIZE), in llcp_link_proc_agf_pdu()
1214 p_data = (uint8_t*)(p_msg + 1) + p_msg->offset + LLCP_PDU_HEADER_SIZE; in llcp_link_proc_rx_pdu()
1216 (uint16_t)(p_msg->len - LLCP_PDU_HEADER_SIZE), in llcp_link_proc_rx_pdu()
1222 p_data = (uint8_t*)(p_msg + 1) + p_msg->offset + LLCP_PDU_HEADER_SIZE; in llcp_link_proc_rx_pdu()
[all …]
Dllcp_sdp.cc74 llcp_cb.sdp_cb.p_snl->len += LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
75 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
142 NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
167 NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
237 NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
260 NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
Dllcp_dlc.cc823 if (length != LLCP_PDU_DM_SIZE - LLCP_PDU_HEADER_SIZE) { in llcp_dlc_proc_dm_pdu()
874 if (i_pdu_length < LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE) { in llcp_dlc_proc_i_pdu()
883 info_len = i_pdu_length - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
895 p = p_i_pdu + LLCP_PDU_HEADER_SIZE; in llcp_dlc_proc_i_pdu()
962 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
982 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - in llcp_dlc_proc_i_pdu()
987 LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - LLCP_PDU_AGF_LEN_SIZE; in llcp_dlc_proc_i_pdu()
989 LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE - LLCP_PDU_AGF_LEN_SIZE; in llcp_dlc_proc_i_pdu()
1000 p = p_i_pdu + LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
1080 if (length != LLCP_PDU_RR_SIZE - LLCP_PDU_HEADER_SIZE) { in llcp_dlc_proc_rr_rnr_pdu()
[all …]
Dllcp_util.cc281 p_msg->offset -= LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui()
282 p_msg->len += LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui()
442 p_msg->len = LLCP_PDU_HEADER_SIZE + miu_len + rw_len + sn_len; in llcp_util_send_connect()
587 p_msg->len = LLCP_PDU_HEADER_SIZE + miu_len + rw_len; in llcp_util_send_cc()
722 p_msg->offset -= LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_util_build_info_pdu()
723 p_msg->len += LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE; in llcp_util_build_info_pdu()
Dllcp_api.cc726 if (max_data_len >= (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_ReadLogicalLinkData()
729 *p_data_len = (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_ReadLogicalLinkData()
802 flushed_length += (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_FlushLogicalLinkRxData()
/system/nfc/src/nfc/include/
Dllcp_defs.h31 #define LLCP_PDU_HEADER_SIZE 2 /* DSAP:PTYPE:SSAP excluding Sequence */ macro
Dllcp_api.h44 (NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE + \
/system/nfc/src/include/
Dnfc_target.h371 NCI_DATA_HDR_SIZE - LLCP_PDU_HEADER_SIZE)