Home
last modified time | relevance | path

Searched refs:p_dlcb (Results 1 – 5 of 5) sorted by relevance

/external/libnfc-nci/src/nfc/llcp/
Dllcp_dlc.c34 static tLLCP_STATUS llcp_dlsm_idle (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_data);
35 static tLLCP_STATUS llcp_dlsm_w4_remote_resp (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_da…
36 static tLLCP_STATUS llcp_dlsm_w4_local_resp (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_dat…
37 static tLLCP_STATUS llcp_dlsm_connected (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_data);
38 static tLLCP_STATUS llcp_dlsm_w4_remote_dm (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_data…
54 tLLCP_STATUS llcp_dlsm_execute (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_data) in llcp_dlsm_execute() argument
60 p_dlcb->local_sap, in llcp_dlsm_execute()
61 llcp_dlsm_get_state_name (p_dlcb->state), in llcp_dlsm_execute()
64 … LLCP_TRACE_EVENT3 ("DLC (0x%02X) - state: %d, evt: %d", p_dlcb->local_sap, p_dlcb->state, event); in llcp_dlsm_execute()
67 switch (p_dlcb->state) in llcp_dlsm_execute()
[all …]
Dllcp_util.c344 tLLCP_DLCB *p_dlcb = NULL; in llcp_util_allocate_data_link() local
354 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_util_allocate_data_link()
356 memset (p_dlcb, 0, sizeof (tLLCP_DLCB)); in llcp_util_allocate_data_link()
361 if (!p_dlcb) in llcp_util_allocate_data_link()
367 p_dlcb->p_app_cb = llcp_util_get_app_cb (reg_sap); in llcp_util_allocate_data_link()
368 p_dlcb->local_sap = reg_sap; in llcp_util_allocate_data_link()
369 p_dlcb->remote_sap = remote_sap; in llcp_util_allocate_data_link()
370 p_dlcb->timer.param = (TIMER_PARAM_TYPE) p_dlcb; in llcp_util_allocate_data_link()
376p_dlcb->local_sap, p_dlcb->remote_sap, llcp_cb.num_data_link_connection); in llcp_util_allocate_data_link()
378 return p_dlcb; in llcp_util_allocate_data_link()
[all …]
Dllcp_api.c908 tLLCP_DLCB *p_dlcb; in LLCP_ConnectReq() local
963 p_dlcb = llcp_dlc_find_dlcb_by_sap (reg_sap, LLCP_INVALID_SAP); in LLCP_ConnectReq()
964 if (p_dlcb) in LLCP_ConnectReq()
974 p_dlcb = llcp_util_allocate_data_link (reg_sap, dsap); in LLCP_ConnectReq()
976 if (p_dlcb) in LLCP_ConnectReq()
978 status = llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_API_CONNECT_REQ, p_params); in LLCP_ConnectReq()
982 llcp_util_deallocate_data_link (p_dlcb); in LLCP_ConnectReq()
1010 tLLCP_DLCB *p_dlcb; in LLCP_ConnectCfm() local
1029 p_dlcb = llcp_dlc_find_dlcb_by_sap (local_sap, remote_sap); in LLCP_ConnectCfm()
1031 if (p_dlcb) in LLCP_ConnectCfm()
[all …]
Dllcp_link.c372 tLLCP_DLCB *p_dlcb; in llcp_link_deactivate() local
407 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_link_deactivate()
409 llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_LINK_ERROR, NULL); in llcp_link_deactivate()
989 tLLCP_DLCB *p_dlcb; in llcp_link_proc_ui_pdu() local
993 if ((p_dlcb = llcp_dlc_find_dlcb_by_sap (local_sap, remote_sap))) in llcp_link_proc_ui_pdu()
995 llcp_util_send_frmr (p_dlcb, LLCP_FRMR_W_ERROR_FLAG, LLCP_PDU_UI_TYPE, 0); in llcp_link_proc_ui_pdu()
996 llcp_dlsm_execute (p_dlcb, LLCP_DLC_EVENT_FRAME_ERROR, NULL); in llcp_link_proc_ui_pdu()
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h323 void llcp_util_deallocate_data_link (tLLCP_DLCB *p_dlcb);
324 tLLCP_STATUS llcp_util_send_connect (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
326 tLLCP_STATUS llcp_util_send_cc (tLLCP_DLCB *p_dlcb, tLLCP_CONNECTION_PARAMS *p_params);
329 void llcp_util_build_info_pdu (tLLCP_DLCB *p_dlcb, BT_HDR *p_msg);
330 tLLCP_STATUS llcp_util_send_frmr (tLLCP_DLCB *p_dlcb, UINT8 flags, UINT8 ptype, UINT8 sequence);
331 void llcp_util_send_rr_rnr (tLLCP_DLCB *p_dlcb);
336 tLLCP_STATUS llcp_dlsm_execute (tLLCP_DLCB *p_dlcb, tLLCP_DLC_EVENT event, void *p_data);
338 void llcp_dlc_flush_q (tLLCP_DLCB *p_dlcb);
342 BOOLEAN llcp_dlc_is_rw_open (tLLCP_DLCB *p_dlcb);
343 BT_HDR *llcp_dlc_get_next_pdu (tLLCP_DLCB *p_dlcb);
[all …]