Home
last modified time | relevance | path

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

/system/nfc/src/nfa/p2p/
Dnfa_p2p_act.cc58 static uint8_t nfa_p2p_allocate_conn_cb(uint8_t local_sap) { in nfa_p2p_allocate_conn_cb() argument
64 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb()
103 static uint8_t nfa_p2p_find_conn_cb(uint8_t local_sap, uint8_t remote_sap) { in nfa_p2p_find_conn_cb() argument
108 (nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) && in nfa_p2p_find_conn_cb()
130 p_data->hdr.local_sap); in nfa_p2p_llcp_cback()
178 uint8_t local_sap; in nfa_p2p_sdp_cback() local
187 if ((nfa_p2p_cb.sdp_cb[xx].local_sap != LLCP_INVALID_SAP) && in nfa_p2p_sdp_cback()
189 local_sap = nfa_p2p_cb.sdp_cb[xx].local_sap; in nfa_p2p_sdp_cback()
191 evt_data.sdp.handle = (NFA_HANDLE_GROUP_P2P | local_sap); in nfa_p2p_sdp_cback()
193 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_SDP_EVT, &evt_data); in nfa_p2p_sdp_cback()
[all …]
Dnfa_p2p_api.cc670 } else if (LLCP_IsDataLinkCongested(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pSendData()
748 *p_more = LLCP_ReadDataLinkData(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pReadData()
786 *p_length = LLCP_FlushDataLinkRxData(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pFlushData()
Dnfa_p2p_main.cc484 nfa_p2p_cb.sdp_cb[xx].local_sap = LLCP_INVALID_SAP; in nfa_p2p_init()
/system/nfc/src/nfc/include/
Dllcp_api.h132 uint8_t local_sap; /* SAP of local device */ member
140 uint8_t local_sap; /* SAP of local device */ member
149 uint8_t local_sap; /* SAP of local device */ member
158 uint8_t local_sap; /* SAP of local device */ member
164 uint8_t local_sap; /* SAP of local device */ member
171 uint8_t local_sap; /* SAP of local device */ member
179 uint8_t local_sap; /* SAP of local device */ member
186 uint8_t local_sap; /* SAP of local device */ member
192 uint8_t local_sap; /* SAP of local device */ member
393 extern bool LLCP_IsLogicalLinkCongested(uint8_t local_sap,
[all …]
Dllcp_int.h174 uint8_t local_sap; /* SAP of local end point */ member
340 tLLCP_DLCB* llcp_dlc_find_dlcb_by_sap(uint8_t local_sap, uint8_t remote_sap);
/system/nfc/src/nfc/llcp/
Dllcp_api.cc534 tLLCP_STATUS LLCP_Deregister(uint8_t local_sap) { in LLCP_Deregister() argument
538 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("SAP:0x%x", local_sap); in LLCP_Deregister()
540 p_app_cb = llcp_util_get_app_cb(local_sap); in LLCP_Deregister()
543 LOG(ERROR) << StringPrintf("SAP (0x%x) is not registered", local_sap); in LLCP_Deregister()
550 if (local_sap <= LLCP_UPPER_BOUND_WK_SAP) { in LLCP_Deregister()
551 llcp_cb.lcb.wks &= ~(1 << local_sap); in LLCP_Deregister()
555 LLCP_FlushLogicalLinkRxData(local_sap); in LLCP_Deregister()
561 (llcp_cb.dlcb[idx].local_sap == local_sap)) { in LLCP_Deregister()
595 bool LLCP_IsLogicalLinkCongested(uint8_t local_sap, uint8_t num_pending_ui_pdu, in LLCP_IsLogicalLinkCongested() argument
601 "Local SAP:0x%x, pending = (%d, %d, %d)", local_sap, num_pending_ui_pdu, in LLCP_IsLogicalLinkCongested()
[all …]
Dllcp_dlc.cc71 << StringPrintf("DLC (0x%02X) - state: %s, evt: %s", p_dlcb->local_sap, in llcp_dlsm_execute()
155 data.connect_ind.local_sap = p_dlcb->local_sap; in llcp_dlsm_idle()
159 data.connect_ind.server_sap = p_dlcb->local_sap; in llcp_dlsm_idle()
232 data.connect_resp.local_sap = p_dlcb->local_sap; in llcp_dlsm_w4_remote_resp()
248 data.disconnect_resp.local_sap = p_dlcb->local_sap; in llcp_dlsm_w4_remote_resp()
265 data.disconnect_ind.local_sap = p_dlcb->local_sap; in llcp_dlsm_w4_remote_resp()
323 data.disconnect_ind.local_sap = p_dlcb->local_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()
353 data.disconnect_ind.local_sap = p_dlcb->local_sap; in llcp_dlsm_w4_local_resp()
401 llcp_util_send_disc(p_dlcb->remote_sap, p_dlcb->local_sap); in llcp_dlsm_connected()
[all …]
Dllcp_util.cc367 p_dlcb->local_sap = reg_sap; in llcp_util_allocate_data_link()
377 p_dlcb->local_sap, p_dlcb->remote_sap, in llcp_util_allocate_data_link()
395 << StringPrintf("local_sap = 0x%x", p_dlcb->local_sap); in llcp_util_deallocate_data_link()
449 p_dlcb->local_sap)); in llcp_util_send_connect()
594 p_dlcb->local_sap)); in llcp_util_send_cc()
728 p_dlcb->local_sap)); in llcp_util_build_info_pdu()
766 p_dlcb->local_sap)); in llcp_util_send_frmr()
846 p_dlcb->local_sap)); in llcp_util_send_rr_rnr()
870 tLLCP_APP_CB* llcp_util_get_app_cb(uint8_t local_sap) { in llcp_util_get_app_cb() argument
873 if (local_sap <= LLCP_UPPER_BOUND_WK_SAP) { in llcp_util_get_app_cb()
[all …]
Dllcp_link.cc67 static void llcp_link_proc_ui_pdu(uint8_t local_sap, uint8_t remote_sap,
393 uint8_t local_sap, idx; in llcp_link_deactivate() local
404 for (local_sap = LLCP_SAP_SDP + 1; local_sap < LLCP_NUM_SAPS; local_sap++) { in llcp_link_deactivate()
405 p_app_cb = llcp_util_get_app_cb(local_sap); in llcp_link_deactivate()
589 data.link_status.local_sap = sap; in llcp_link_update_status()
644 data.congest.local_sap = sap; in llcp_link_check_congestion()
661 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_congestion()
664 data.congest.local_sap = llcp_cb.dlcb[idx].local_sap; in llcp_link_check_congestion()
735 data.congest.local_sap = sap; in llcp_link_check_uncongested()
779 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_uncongested()
[all …]
/system/nfc/src/nfa/include/
Dnfa_p2p_int.h201 uint8_t local_sap; /* local SAP of data link connection */ member
224 uint8_t local_sap; member
290 bool nfa_p2p_start_sdp(char* p_service_name, uint8_t local_sap);
Dnfa_snep_int.h161 uint8_t local_sap; /* local SAP of service */ member