Home
last modified time | relevance | path

Searched refs:BT_HDR (Results 1 – 25 of 73) sorted by relevance

123

/external/libnfc-nci/src/include/
Dtrace_api.h36 BT_API extern void DispAMPFrame (BT_HDR *p_buf, BOOLEAN is_recv, BD_ADDR bd_addr);
37 BT_API extern void DispRFCOMMFrame (BT_HDR *p_buf, BOOLEAN is_recv);
38 BT_API extern void DispL2CCmd(BT_HDR *p_buf, BOOLEAN is_recv);
39 BT_API extern void DispSdp (BT_HDR *p_msg, BOOLEAN is_rcv, BOOLEAN is_segment);
41 BT_API extern void DispTcsMsg (BT_HDR *p_buf, BOOLEAN is_recv);
42 BT_API extern void DispHciEvt (BT_HDR *p_buf);
43 BT_API extern void DispHciAclData (BT_HDR *p_buf, BOOLEAN is_rcvd);
44 BT_API extern void DispHciScoData (BT_HDR *p_buf, BOOLEAN is_rcvd);
45 BT_API extern void DispHciCmd (BT_HDR *p_buf);
46 BT_API extern void DispBnep (BT_HDR *p_buf, BOOLEAN is_recv);
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_ee_int.h170 BT_HDR hdr;
177 BT_HDR hdr;
184 BT_HDR hdr;
191 BT_HDR hdr;
200 BT_HDR hdr;
211 BT_HDR hdr;
222 BT_HDR hdr;
233 BT_HDR hdr;
239 typedef BT_HDR tNFA_EE_API_LMRT_SIZE;
244 BT_HDR hdr;
[all …]
Dnfa_p2p_int.h73 BT_HDR hdr;
83 BT_HDR hdr;
91 BT_HDR hdr;
98 BT_HDR hdr;
107 BT_HDR hdr;
114 BT_HDR hdr;
122 BT_HDR hdr;
133 BT_HDR hdr;
136 BT_HDR *p_msg;
142 BT_HDR hdr;
[all …]
Dnfa_snep_int.h61 BT_HDR hdr;
68 BT_HDR hdr;
75 BT_HDR hdr;
84 BT_HDR hdr;
91 BT_HDR hdr;
98 BT_HDR hdr;
106 BT_HDR hdr;
116 BT_HDR hdr;
125 BT_HDR hdr;
135 BT_HDR hdr;
[all …]
Dnfa_hci_int.h112 BT_HDR hdr;
122 BT_HDR hdr;
130 BT_HDR hdr;
137 BT_HDR hdr;
145 BT_HDR hdr;
153 BT_HDR hdr;
161 BT_HDR hdr;
170 BT_HDR hdr;
181 BT_HDR hdr;
192 BT_HDR hdr;
[all …]
Dnfa_cho_int.h119 BT_HDR hdr;
125 typedef BT_HDR tNFA_CHO_API_DEREG;
128 typedef BT_HDR tNFA_CHO_API_CONNECT;
131 typedef BT_HDR tNFA_CHO_API_DISCONNECT;
136 BT_HDR hdr;
147 BT_HDR hdr;
156 typedef BT_HDR tNFA_CHO_API_STOP;
161 BT_HDR hdr;
169 BT_HDR hdr;
177 BT_HDR hdr; /* NFA_CHO_TIMEOUT_EVT */
Dnfa_dm_int.h73 BT_HDR hdr;
81 BT_HDR hdr;
88 BT_HDR hdr;
97 BT_HDR hdr;
105 BT_HDR hdr;
115 BT_HDR hdr;
122 BT_HDR hdr;
129 BT_HDR hdr;
138 BT_HDR hdr;
145 BT_HDR hdr;
[all …]
Dnfa_ce_int.h68 BT_HDR hdr;
81 BT_HDR hdr;
88 BT_HDR hdr;
109 BT_HDR hdr;
118 BT_HDR hdr;
208 BOOLEAN nfa_ce_hdl_event (BT_HDR *p_msg);
Dnfa_rw_int.h132 BT_HDR *p_data;
242 BT_HDR hdr;
250 BT_HDR hdr;
259 BT_HDR hdr;
348 extern BOOLEAN nfa_rw_handle_event (BT_HDR *p_msg);
Dnfa_dta_int.h101 BT_HDR hdr;
109 BT_HDR hdr;
118 BT_HDR hdr;
162 BT_HDR hdr;
176 BT_HDR hdr;
352 BOOLEAN nfa_dta_evt_hdlr (BT_HDR *p_msg);
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_api.c328 BT_HDR *p_msg; in NFA_ReleaseExclusiveRfControl()
338 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_ReleaseExclusiveRfControl()
414 BT_HDR *p_msg; in NFA_DisablePolling()
418 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_DisablePolling()
453 BT_HDR *p_msg; in NFA_EnableListening()
457 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_EnableListening()
486 BT_HDR *p_msg; in NFA_DisableListening()
490 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_DisableListening()
523 BT_HDR *p_msg; in NFA_PauseP2p()
527 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_PauseP2p()
[all …]
/external/libnfc-nci/src/nfc/include/
Dnci_hmsgs.h35 BOOLEAN nci_proc_core_rsp (BT_HDR *p_msg);
36 void nci_proc_rf_management_rsp (BT_HDR *p_msg);
37 void nci_proc_ee_management_rsp (BT_HDR *p_msg);
38 void nci_proc_core_ntf (BT_HDR *p_msg);
39 void nci_proc_rf_management_ntf (BT_HDR *p_msg);
40 void nci_proc_ee_management_ntf (BT_HDR *p_msg);
41 void nci_proc_prop_rsp (BT_HDR *p_msg);
42 void nci_proc_prop_ntf (BT_HDR *p_msg);
/external/libnfc-nci/halimpl/bcm2079x/include/
Dandroid_logmsg.h49 void DispHciCmd (BT_HDR* p_buf);
50 void DispHciEvt (BT_HDR* p_buf);
51 void DispLLCP (BT_HDR *p_buf, BOOLEAN is_recv);
53 void DispSNEP (UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf, BOOLEAN is_first, BOOLEAN is_rx);
55 void DispT3TagMessage(BT_HDR *p_msg, BOOLEAN is_rx);
56 void DispRWT4Tags (BT_HDR *p_buf, BOOLEAN is_rx);
57 void DispCET4Tags (BT_HDR *p_buf, BOOLEAN is_rx);
58 void DispRWI93Tag (BT_HDR *p_buf, BOOLEAN is_rx, UINT8 command_to_respond);
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h132 BT_HDR bt_hdr; /* the NCI command */
139 BT_HDR hdr;
200BT_HDR *p_nci_init_rsp; /* holding INIT_RSP until receiving HAL_NFC_POST_INIT_CPLT…
233 void nfc_ncif_send (BT_HDR *p_buf, BOOLEAN is_cmd);
234 extern UINT8 nfc_ncif_send_data (tNFC_CONN_CB *p_cb, BT_HDR *p_data);
238 NFC_API extern BOOLEAN nfc_ncif_process_event (BT_HDR *p_msg);
239 NFC_API extern void nfc_ncif_check_cmd_queue (BT_HDR *p_buf);
240 NFC_API extern void nfc_ncif_send_cmd (BT_HDR *p_buf);
258 NFC_API extern void nfc_ncif_proc_init_rsp (BT_HDR *p_msg);
259 NFC_API extern void nfc_ncif_proc_get_config_rsp (BT_HDR *p_msg);
[all …]
/external/libnfc-nci/src/nfc/tags/
Drw_t4t.c76 static BOOLEAN rw_t4t_send_to_lower (BT_HDR *p_c_apdu);
94 static void rw_t4t_sm_detect_ndef (BT_HDR *p_r_apdu);
95 static void rw_t4t_sm_read_ndef (BT_HDR *p_r_apdu);
96 static void rw_t4t_sm_update_ndef (BT_HDR *p_r_apdu);
97 static void rw_t4t_sm_set_readonly (BT_HDR *p_r_apdu);
99 static void rw_t4t_sm_ndef_format (BT_HDR *p_r_apdu);
110 static BOOLEAN rw_t4t_send_to_lower (BT_HDR *p_c_apdu) in rw_t4t_send_to_lower()
139 BT_HDR *p_c_apdu; in rw_t4t_get_hw_version()
142 p_c_apdu = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_t4t_get_hw_version()
179 BT_HDR *p_c_apdu; in rw_t4t_get_sw_version()
[all …]
Drw_t2t.c64 BT_HDR *p_pkt = p_data->p_data; in rw_t2t_proc_data()
311 GKI_freebuf ((BT_HDR *) (p_data->data.p_data)); in rw_t2t_conn_cback()
381 BT_HDR *p_data; in rw_t2t_send_cmd()
387 p_data = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_t2t_send_cmd()
405 memcpy (p_t2t->p_cur_cmd_buf, p_data, sizeof (BT_HDR) + p_data->offset + p_data->len); in rw_t2t_send_cmd()
528 BT_HDR *p_cmd_buf; in rw_t2t_process_error()
545 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_process_error()
547 …memcpy (p_cmd_buf, p_t2t->p_cur_cmd_buf, sizeof (BT_HDR) + p_t2t->p_cur_cmd_buf->offset + p_t2t->p… in rw_t2t_process_error()
648 BT_HDR *p_cmd_buf; in rw_t2t_resume_op()
661 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_resume_op()
[all …]
Drw_i93.c346 void rw_i93_send_to_upper (BT_HDR *p_resp) in rw_i93_send_to_upper()
354 BT_HDR *p_buff; in rw_i93_send_to_upper()
405 p_buff = (BT_HDR*) GKI_getbuf ((UINT16) (length + BT_HDR_SIZE)); in rw_i93_send_to_upper()
496 BOOLEAN rw_i93_send_to_lower (BT_HDR *p_msg) in rw_i93_send_to_lower()
509 rw_cb.tcb.i93.p_retry_cmd = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_i93_send_to_lower()
513 memcpy (rw_cb.tcb.i93.p_retry_cmd, p_msg, sizeof (BT_HDR) + p_msg->offset + p_msg->len); in rw_i93_send_to_lower()
539 BT_HDR *p_cmd; in rw_i93_send_cmd_inventory()
544 p_cmd = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_i93_send_cmd_inventory()
608 BT_HDR *p_cmd; in rw_i93_send_cmd_stay_quiet()
613 p_cmd = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_i93_send_cmd_stay_quiet()
[all …]
Drw_t1t.c38 static tRW_EVENT rw_t1t_handle_rid_rsp (BT_HDR *p_pkt);
64 BT_HDR *p_pkt; in rw_t1t_data_cback()
71 p_pkt = (BT_HDR *) (p_data->data.p_data); in rw_t1t_data_cback()
267 GKI_freebuf ((BT_HDR *) (p_data->data.p_data)); in rw_t1t_conn_cback()
330 BT_HDR *p_data; in rw_t1t_send_static_cmd()
336 p_data = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_t1t_send_static_cmd()
352 memcpy (p_t1t->p_cur_cmd_buf, p_data, sizeof (BT_HDR) + p_data->offset + p_data->len); in rw_t1t_send_static_cmd()
390 BT_HDR *p_data; in rw_t1t_send_dyn_cmd()
396 p_data = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_t1t_send_dyn_cmd()
420 memcpy (p_t1t->p_cur_cmd_buf, p_data, sizeof (BT_HDR) + p_data->offset + p_data->len); in rw_t1t_send_dyn_cmd()
[all …]
/external/libnfc-nci/src/nfc/llcp/
Dllcp_link.c61 …c_ui_pdu (UINT8 local_sap, UINT8 remote_sap, UINT16 ui_pdu_length, UINT8 *p_ui_pdu, BT_HDR *p_msg);
62 static void llcp_link_proc_agf_pdu (BT_HDR *p_msg);
63 static void llcp_link_proc_rx_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, BT_HDR *p_msg);
64 static void llcp_link_proc_rx_data (BT_HDR *p_msg);
66 static BT_HDR *llcp_link_get_next_pdu (BOOLEAN length_only, UINT16 *p_next_pdu_length);
67 static BT_HDR *llcp_link_build_next_pdu (BT_HDR *p_agf);
68 static void llcp_link_send_to_lower (BT_HDR *p_msg);
821 BT_HDR *p_msg; in llcp_link_send_SYMM()
824 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_link_send_SYMM()
849 BT_HDR *p_msg; in llcp_link_send_invalid_pdu()
[all …]
Dllcp_util.c270 tLLCP_STATUS llcp_util_send_ui (UINT8 ssap, UINT8 dsap, tLLCP_APP_CB *p_app_cb, BT_HDR *p_msg) in llcp_util_send_ui()
315 BT_HDR *p_msg; in llcp_util_send_disc()
318 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_util_send_disc()
424 BT_HDR *p_msg; in llcp_util_send_connect()
442 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_util_send_connect()
580 BT_HDR *p_msg; in llcp_util_send_cc()
594 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_util_send_cc()
697 BT_HDR *p_msg; in llcp_util_send_dm()
700 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_util_send_dm()
726 void llcp_util_build_info_pdu (tLLCP_DLCB *p_dlcb, BT_HDR *p_msg) in llcp_util_build_info_pdu()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_task.c61 BT_HDR *p_msg; in nfc_start_timer()
70 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) in nfc_start_timer()
183 BT_HDR *p_msg; in nfc_start_quick_timer()
192 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) in nfc_start_quick_timer()
316 BT_HDR *p_msg; in nfc_task_shutdown_nfcc()
319 while ((p_msg = (BT_HDR *) GKI_read_mbox (NFC_MBOX_ID)) != NULL) in nfc_task_shutdown_nfcc()
365 BT_HDR *p_msg; in nfc_task()
392 while ((p_msg = (BT_HDR *) GKI_read_mbox (NFC_MBOX_ID)) != NULL) in nfc_task()
444 while ((p_msg = (BT_HDR *) GKI_read_mbox (NFA_MBOX_ID)) != NULL) in nfc_task()
/external/libnfc-nci/src/nfc/nci/
Dnci_hmsgs.c46 BT_HDR *p; in nci_snd_core_reset()
78 BT_HDR *p; in nci_snd_core_init()
109 BT_HDR *p; in nci_snd_core_get_config()
142 BT_HDR *p; in nci_snd_core_set_config()
195 BT_HDR *p; in nci_snd_core_conn_create()
234 BT_HDR *p; in nci_snd_core_conn_close()
270 BT_HDR *p; in nci_snd_nfcee_discover()
303 BT_HDR *p; in nci_snd_nfcee_mode_set()
338 BT_HDR *p; in nci_snd_discover_cmd()
382 BT_HDR *p; in nci_snd_discover_select_cmd()
[all …]
Dnci_hrcv.c46 BOOLEAN nci_proc_core_rsp (BT_HDR *p_msg) in nci_proc_core_rsp()
105 void nci_proc_core_ntf (BT_HDR *p_msg) in nci_proc_core_ntf()
157 void nci_proc_rf_management_rsp (BT_HDR *p_msg) in nci_proc_rf_management_rsp()
228 void nci_proc_rf_management_ntf (BT_HDR *p_msg) in nci_proc_rf_management_ntf()
304 void nci_proc_ee_management_rsp (BT_HDR *p_msg) in nci_proc_ee_management_rsp()
364 void nci_proc_ee_management_ntf (BT_HDR *p_msg) in nci_proc_ee_management_ntf()
446 void nci_proc_prop_rsp (BT_HDR *p_msg) in nci_proc_prop_rsp()
473 void nci_proc_prop_ntf (BT_HDR *p_msg) in nci_proc_prop_ntf()
/external/libnfc-nci/src/nfa/rw/
Dnfa_rw_main.c135 nfa_rw_handle_event ((BT_HDR *) &msg); in nfa_rw_proc_disc_evt()
141 nfa_rw_handle_event ((BT_HDR *) &msg); in nfa_rw_proc_disc_evt()
158 tNFA_STATUS nfa_rw_send_raw_frame (BT_HDR *p_data) in nfa_rw_send_raw_frame()
169 if (nfa_rw_handle_event ((BT_HDR *) p_msg)) in nfa_rw_send_raw_frame()
186 BOOLEAN nfa_rw_handle_event(BT_HDR *p_msg) in nfa_rw_handle_event()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dandroid_logmsg.cpp199 void DispHciCmd (BT_HDR *p_buf) in DispHciCmd()
217 void DispHciEvt (BT_HDR *p_buf) in DispHciEvt()
243 void DispLLCP (BT_HDR *p_buf, BOOLEAN is_recv) in DispLLCP()
288 …void DispSNEP (UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf, BOOLEAN is_first, BOOLEAN is_rx) … in DispSNEP()
290 void DispT3TagMessage(BT_HDR *p_msg, BOOLEAN is_rx) {} in DispT3TagMessage()
291 void DispRWT4Tags (BT_HDR *p_buf, BOOLEAN is_rx) {} in DispRWT4Tags()
292 void DispCET4Tags (BT_HDR *p_buf, BOOLEAN is_rx) {} in DispCET4Tags()
293 void DispRWI93Tag (BT_HDR *p_buf, BOOLEAN is_rx, UINT8 command_to_respond) {} in DispRWI93Tag()

123