Home
last modified time | relevance | path

Searched refs:remote_sap (Results 1 – 11 of 11) sorted by relevance

/system/nfc/src/nfc/include/
Dllcp_api.h133 uint8_t remote_sap; /* SAP of remote device */ member
141 uint8_t remote_sap; /* SAP of remote device */ member
150 uint8_t remote_sap; /* SAP of remote device */ member
159 uint8_t remote_sap; /* SAP of remote device */ member
165 uint8_t remote_sap; /* SAP of remote device */ member
172 uint8_t remote_sap; /* SAP of remote device */ member
187 uint8_t remote_sap; /* SAP of remote device */ member
211 typedef void(tLLCP_SDP_CBACK)(uint8_t tid, uint8_t remote_sap);
469 extern tLLCP_STATUS LLCP_ConnectCfm(uint8_t local_sap, uint8_t remote_sap,
488 extern tLLCP_STATUS LLCP_ConnectReject(uint8_t local_sap, uint8_t remote_sap,
[all …]
Dllcp_int.h179 uint8_t remote_sap; /* SAP of remote end point */ member
319 tLLCP_DLCB* llcp_util_allocate_data_link(uint8_t reg_sap, uint8_t remote_sap);
340 tLLCP_DLCB* llcp_dlc_find_dlcb_by_sap(uint8_t local_sap, uint8_t remote_sap);
/system/nfc/src/nfc/llcp/
Dllcp_dlc.cc154 data.connect_ind.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_idle()
231 data.connect_resp.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_w4_remote_resp()
249 data.disconnect_resp.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_w4_remote_resp()
266 data.disconnect_ind.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_w4_remote_resp()
324 data.disconnect_ind.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_w4_local_resp()
340 llcp_util_send_dm(p_dlcb->remote_sap, p_dlcb->local_sap, reason); in llcp_dlsm_w4_local_resp()
354 data.disconnect_ind.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_w4_local_resp()
401 llcp_util_send_disc(p_dlcb->remote_sap, p_dlcb->local_sap); in llcp_dlsm_connected()
418 llcp_util_send_dm(p_dlcb->remote_sap, p_dlcb->local_sap, in llcp_dlsm_connected()
423 data.disconnect_ind.remote_sap = p_dlcb->remote_sap; in llcp_dlsm_connected()
[all …]
Dllcp_api.cc932 tLLCP_STATUS LLCP_ConnectCfm(uint8_t local_sap, uint8_t remote_sap, in LLCP_ConnectCfm() argument
939 "Local SAP:0x%x, Remote SAP:0x%x)", local_sap, remote_sap); in LLCP_ConnectCfm()
954 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in LLCP_ConnectCfm()
983 tLLCP_STATUS LLCP_ConnectReject(uint8_t local_sap, uint8_t remote_sap, in LLCP_ConnectReject() argument
990 remote_sap, reason); in LLCP_ConnectReject()
992 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in LLCP_ConnectReject()
1016 bool LLCP_IsDataLinkCongested(uint8_t local_sap, uint8_t remote_sap, in LLCP_IsDataLinkCongested() argument
1025 local_sap, remote_sap, num_pending_i_pdu, total_pending_ui_pdu, in LLCP_IsDataLinkCongested()
1028 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in LLCP_IsDataLinkCongested()
1058 tLLCP_STATUS LLCP_SendData(uint8_t local_sap, uint8_t remote_sap, in LLCP_SendData() argument
[all …]
Dllcp_util.cc347 tLLCP_DLCB* llcp_util_allocate_data_link(uint8_t reg_sap, uint8_t remote_sap) { in llcp_util_allocate_data_link() argument
352 << StringPrintf("reg_sap = 0x%x, remote_sap = 0x%x", reg_sap, remote_sap); in llcp_util_allocate_data_link()
368 p_dlcb->remote_sap = remote_sap; in llcp_util_allocate_data_link()
377 p_dlcb->local_sap, p_dlcb->remote_sap, in llcp_util_allocate_data_link()
435 if ((strlen(p_params->sn)) && (p_dlcb->remote_sap == LLCP_SAP_SDP)) { in llcp_util_send_connect()
448 p, LLCP_GET_PDU_HEADER(p_dlcb->remote_sap, LLCP_PDU_CONNECT_TYPE, in llcp_util_send_connect()
593 p, LLCP_GET_PDU_HEADER(p_dlcb->remote_sap, LLCP_PDU_CC_TYPE, in llcp_util_send_cc()
727 LLCP_GET_PDU_HEADER(p_dlcb->remote_sap, LLCP_PDU_I_TYPE, in llcp_util_build_info_pdu()
765 p, LLCP_GET_PDU_HEADER(p_dlcb->remote_sap, LLCP_PDU_FRMR_TYPE, in llcp_util_send_frmr()
845 UINT16_TO_BE_STREAM(p, LLCP_GET_PDU_HEADER(p_dlcb->remote_sap, pdu_type, in llcp_util_send_rr_rnr()
Dllcp_link.cc67 static void llcp_link_proc_ui_pdu(uint8_t local_sap, uint8_t remote_sap,
628 data.congest.remote_sap = LLCP_INVALID_SAP; in llcp_link_check_congestion()
661 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_congestion()
665 data.congest.remote_sap = llcp_cb.dlcb[idx].remote_sap; in llcp_link_check_congestion()
710 data.congest.remote_sap = LLCP_INVALID_SAP; in llcp_link_check_uncongested()
779 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_uncongested()
783 data.congest.remote_sap = llcp_cb.dlcb[idx].remote_sap; in llcp_link_check_uncongested()
954 static void llcp_link_proc_ui_pdu(uint8_t local_sap, uint8_t remote_sap, in llcp_link_proc_ui_pdu() argument
967 p_dlcb = llcp_dlc_find_dlcb_by_sap(local_sap, remote_sap); in llcp_link_proc_ui_pdu()
981 "Local SAP:0x%x, Remote SAP:0x%x", local_sap, remote_sap); in llcp_link_proc_ui_pdu()
[all …]
/system/nfc/src/nfa/p2p/
Dnfa_p2p_act.cc103 static uint8_t nfa_p2p_find_conn_cb(uint8_t local_sap, uint8_t remote_sap) { in nfa_p2p_find_conn_cb() argument
109 (nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap)) { in nfa_p2p_find_conn_cb()
177 void nfa_p2p_sdp_cback(uint8_t tid, uint8_t remote_sap) { in nfa_p2p_sdp_cback() argument
183 << StringPrintf("tid:0x%02X, remote_sap:0x%02X", tid, remote_sap); in nfa_p2p_sdp_cback()
192 evt_data.sdp.remote_sap = remote_sap; in nfa_p2p_sdp_cback()
258 p_data->data_ind.remote_sap); in nfa_p2p_proc_llcp_data_ind()
266 evt_data.data.remote_sap = p_data->data_ind.remote_sap; in nfa_p2p_proc_llcp_data_ind()
299 nfa_p2p_cb.conn_cb[xx].remote_sap = p_data->connect_ind.remote_sap; in nfa_p2p_proc_llcp_connect_ind()
309 evt_data.conn_req.remote_sap = p_data->connect_ind.remote_sap; in nfa_p2p_proc_llcp_connect_ind()
342 nfa_p2p_cb.conn_cb[xx].remote_sap = p_data->connect_resp.remote_sap; in nfa_p2p_proc_llcp_connect_resp()
[all …]
Dnfa_p2p_api.cc671 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pSendData()
749 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pReadData()
787 nfa_p2p_cb.conn_cb[xx].remote_sap); in NFA_P2pFlushData()
/system/nfc/src/nfa/include/
Dnfa_p2p_api.h108 uint8_t remote_sap; member
117 uint8_t remote_sap; member
131 uint8_t remote_sap; member
153 uint8_t remote_sap; /* 0x00 if failed */ member
Dnfa_snep_int.h162 uint8_t remote_sap; /* local SAP of service */ member
Dnfa_p2p_int.h202 uint8_t remote_sap; /* remote SAP of data link connection */ member