/system/nfc/src/nfc/llcp/ |
D | llcp_dlc.cc | 624 static void llcp_dlc_proc_connect_pdu(uint8_t dsap, uint8_t ssap, in llcp_dlc_proc_connect_pdu() argument 639 llcp_util_send_dm(ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 655 llcp_util_send_dm(ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 657 llcp_util_send_dm(ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 670 llcp_util_send_dm(ssap, LLCP_SAP_SDP, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 673 llcp_util_send_dm(ssap, LLCP_SAP_SDP, in llcp_dlc_proc_connect_pdu() 682 llcp_util_send_dm(ssap, LLCP_SAP_SDP, in llcp_dlc_proc_connect_pdu() 688 llcp_util_send_dm(ssap, LLCP_SAP_SDP, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 700 llcp_util_send_dm(ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE); in llcp_dlc_proc_connect_pdu() 707 p_dlcb = llcp_dlc_find_dlcb_by_sap(dsap, ssap); in llcp_dlc_proc_connect_pdu() [all …]
|
D | llcp_link.cc | 71 static void llcp_link_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap, 1094 uint8_t dsap, ptype, ssap; in llcp_link_proc_agf_pdu() local 1152 ssap = LLCP_GET_SSAP(pdu_hdr); in llcp_link_proc_agf_pdu() 1157 dsap, llcp_pdu_type(ptype).c_str(), ptype, ssap); in llcp_link_proc_agf_pdu() 1160 (ssap == LLCP_SAP_LM)) { in llcp_link_proc_agf_pdu() 1174 llcp_link_proc_ui_pdu(dsap, ssap, pdu_length, p, nullptr); in llcp_link_proc_agf_pdu() 1176 llcp_dlc_proc_i_pdu(dsap, ssap, pdu_length, p, nullptr); in llcp_link_proc_agf_pdu() 1179 llcp_dlc_proc_rx_pdu(dsap, ptype, ssap, in llcp_link_proc_agf_pdu() 1200 static void llcp_link_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap, in llcp_link_proc_rx_pdu() argument 1211 if ((dsap == LLCP_SAP_LM) && (ssap == LLCP_SAP_LM)) { in llcp_link_proc_rx_pdu() [all …]
|
D | llcp_util.cc | 276 tLLCP_STATUS llcp_util_send_ui(uint8_t ssap, uint8_t dsap, in llcp_util_send_ui() argument 285 UINT16_TO_BE_STREAM(p, LLCP_GET_PDU_HEADER(dsap, LLCP_PDU_UI_TYPE, ssap)); in llcp_util_send_ui() 302 "Logical link (SAP=0x%X) congested: ui_xmit_q.count=%d", ssap, in llcp_util_send_ui() 320 void llcp_util_send_disc(uint8_t dsap, uint8_t ssap) { in llcp_util_send_disc() argument 331 UINT16_TO_BE_STREAM(p, LLCP_GET_PDU_HEADER(dsap, LLCP_PDU_DISC_TYPE, ssap)); in llcp_util_send_disc() 689 void llcp_util_send_dm(uint8_t dsap, uint8_t ssap, uint8_t reason) { in llcp_util_send_dm() argument 700 UINT16_TO_BE_STREAM(p, LLCP_GET_PDU_HEADER(dsap, LLCP_PDU_DM_TYPE, ssap)); in llcp_util_send_dm()
|
D | llcp_api.cc | 638 tLLCP_STATUS LLCP_SendUI(uint8_t ssap, uint8_t dsap, NFC_HDR* p_buf) { in LLCP_SendUI() argument 643 << StringPrintf("SSAP=0x%x, DSAP=0x%x", ssap, dsap); in LLCP_SendUI() 645 p_app_cb = llcp_util_get_app_cb(ssap); in LLCP_SendUI() 648 LOG(ERROR) << StringPrintf("SSAP (0x%x) is not registered", ssap); in LLCP_SendUI() 651 ssap); in LLCP_SendUI() 658 status = llcp_util_send_ui(ssap, dsap, p_app_cb, p_buf); in LLCP_SendUI()
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 316 tLLCP_STATUS llcp_util_send_ui(uint8_t ssap, uint8_t dsap, 318 void llcp_util_send_disc(uint8_t dsap, uint8_t ssap); 329 void llcp_util_send_dm(uint8_t dsap, uint8_t ssap, uint8_t reason); 342 void llcp_dlc_proc_i_pdu(uint8_t dsap, uint8_t ssap, uint16_t i_pdu_length, 344 void llcp_dlc_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap,
|
D | llcp_defs.h | 37 #define LLCP_GET_PDU_HEADER(dsap, ptype, ssap) \ argument 38 (((uint16_t)(dsap) << 10) | ((uint16_t)(ptype) << 6) | (uint16_t)(ssap))
|
D | llcp_api.h | 410 extern tLLCP_STATUS LLCP_SendUI(uint8_t ssap, uint8_t dsap, NFC_HDR* p_buf);
|