Home
last modified time | relevance | path

Searched refs:p_pkt (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
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() local
71 p_pkt = (BT_HDR *) (p_data->data.p_data); in rw_t1t_data_cback()
72 if (p_pkt == NULL) in rw_t1t_data_cback()
75 p = (UINT8 *) (p_pkt + 1) + p_pkt->offset; in rw_t1t_data_cback()
93 &&(p_t1t->prev_cmd_rsp_info.rsp_len == p_pkt->len) in rw_t1t_data_cback()
99 GKI_freebuf (p_pkt); in rw_t1t_data_cback()
104 evt_data.data.p_data = p_pkt; in rw_t1t_data_cback()
112 rw_main_update_rx_stats (p_pkt->len); in rw_t1t_data_cback()
116 if ( (p_pkt->len != p_cmd_rsp_info->rsp_len) in rw_t1t_data_cback()
[all …]
Drw_t2t.c64 BT_HDR *p_pkt = p_data->p_data; in rw_t2t_proc_data() local
80 …RW_TRACE_DEBUG2 ("RW T2T Raw Frame: Len [0x%X] Status [%s]", p_pkt->len, NFC_GetStatusName (p_data… in rw_t2t_proc_data()
82 RW_TRACE_DEBUG2 ("RW T2T Raw Frame: Len [0x%X] Status [0x%X]", p_pkt->len, p_data->status); in rw_t2t_proc_data()
85 evt_data.p_data = p_pkt; in rw_t2t_proc_data()
91 rw_main_update_rx_stats (p_pkt->len); in rw_t2t_proc_data()
98 if ( ( (p_pkt->len != p_cmd_rsp_info->rsp_len) in rw_t2t_proc_data()
99 &&(p_pkt->len != p_cmd_rsp_info->nack_rsp_len) in rw_t2t_proc_data()
114 GKI_freebuf (p_pkt); in rw_t2t_proc_data()
120 p = (UINT8 *) (p_pkt + 1) + p_pkt->offset; in rw_t2t_proc_data()
124 p_t2t->state, conn_id, p_pkt->len, *p); in rw_t2t_proc_data()
[all …]
Drw_t3t.c1468 BT_HDR *p_pkt = p_data->p_data; in rw_t3t_act_handle_raw_senddata_rsp() local
1471 …RW_TRACE_DEBUG2 ("RW T3T Raw Frame: Len [0x%X] Status [%s]", p_pkt->len, NFC_GetStatusName (p_data… in rw_t3t_act_handle_raw_senddata_rsp()
1473 RW_TRACE_DEBUG2 ("RW T3T Raw Frame: Len [0x%X] Status [0x%X]", p_pkt->len, p_data->status); in rw_t3t_act_handle_raw_senddata_rsp()
1478 evt_data.p_data = p_pkt; in rw_t3t_act_handle_raw_senddata_rsp()
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_main.c662 BT_HDR *p_pkt = (BT_HDR *) p_data->data.p_data; in nfa_hci_conn_cback() local
700 if ((event != NFC_DATA_CEVT) || (p_pkt == NULL)) in nfa_hci_conn_cback()
712 p = (UINT8 *) (p_pkt + 1) + p_pkt->offset; in nfa_hci_conn_cback()
713 pkt_len = p_pkt->len; in nfa_hci_conn_cback()
775 (UINT8)chaining_bit, (UINT8)nfa_hci_cb.assembling, p_pkt->len); in nfa_hci_conn_cback()
778 … pipe, nfa_hci_cb.type, nfa_hci_cb.inst, chaining_bit, nfa_hci_cb.assembling, p_pkt->len); in nfa_hci_conn_cback()
786 GKI_freebuf (p_pkt); in nfa_hci_conn_cback()
835 p_pkt->event = NFA_HCI_CHECK_QUEUE_EVT; in nfa_hci_conn_cback()
836 p_pkt->len = 0; in nfa_hci_conn_cback()
837 nfa_sys_sendmsg (p_pkt); in nfa_hci_conn_cback()
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_act.c897 BT_HDR *p_pkt; in nfa_ee_api_send_data() local
904 p_pkt = (BT_HDR *)GKI_getbuf(size); in nfa_ee_api_send_data()
905 if (p_pkt) in nfa_ee_api_send_data()
907 p_pkt->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in nfa_ee_api_send_data()
908 p_pkt->len = p_data->send_data.data_len; in nfa_ee_api_send_data()
909 p = (UINT8 *)(p_pkt+1) + p_pkt->offset; in nfa_ee_api_send_data()
910 memcpy(p, p_data->send_data.p_data, p_pkt->len); in nfa_ee_api_send_data()
911 NFC_SendData (p_cb->conn_id, p_pkt); in nfa_ee_api_send_data()
1587 BT_HDR *p_pkt = NULL; in nfa_ee_nci_conn() local
1600 p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h502 …TUS nfa_hciu_send_msg (UINT8 pipe_id, UINT8 type, UINT8 instruction, UINT16 pkt_len, UINT8 *p_pkt);
/external/libnfc-nci/src/include/
Dbt_target.h395 BT_API extern void bte_ncisu_send (BT_HDR *p_pkt, UINT16 event);