Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t1t.cc44 static tRW_EVENT rw_t1t_handle_rid_rsp(NFC_HDR* p_pkt);
68 NFC_HDR* p_pkt; in rw_t1t_data_cback() local
74 p_pkt = (NFC_HDR*)(p_data->data.p_data); in rw_t1t_data_cback()
75 if (p_pkt == nullptr) return; in rw_t1t_data_cback()
77 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in rw_t1t_data_cback()
94 (p_t1t->prev_cmd_rsp_info.rsp_len == p_pkt->len) && in rw_t1t_data_cback()
105 GKI_freebuf(p_pkt); in rw_t1t_data_cback()
108 evt_data.data.p_data = p_pkt; in rw_t1t_data_cback()
116 rw_main_update_rx_stats(p_pkt->len); in rw_t1t_data_cback()
119 if ((p_pkt->len != p_cmd_rsp_info->rsp_len) || in rw_t1t_data_cback()
[all …]
Drw_t2t.cc66 NFC_HDR* p_pkt = p_data->p_data; in rw_t2t_proc_data() local
78 << StringPrintf("RW T2T Raw Frame: Len [0x%X] Status [%s]", p_pkt->len, in rw_t2t_proc_data()
81 evt_data.p_data = p_pkt; in rw_t2t_proc_data()
89 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()
109 GKI_freebuf(p_pkt); in rw_t2t_proc_data()
115 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in rw_t2t_proc_data()
119 p_t2t->state, conn_id, p_pkt->len, *p); in rw_t2t_proc_data()
138 } else if ((p_pkt->len != p_cmd_rsp_info->rsp_len) || in rw_t2t_proc_data()
[all …]
Drw_t3t.cc1514 NFC_HDR* p_pkt = p_data->p_data; in rw_t3t_act_handle_raw_senddata_rsp() local
1517 << StringPrintf("RW T3T Raw Frame: Len [0x%X] Status [%s]", p_pkt->len, in rw_t3t_act_handle_raw_senddata_rsp()
1522 evt_data.p_data = p_pkt; in rw_t3t_act_handle_raw_senddata_rsp()
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc697 NFC_HDR* p_pkt = (NFC_HDR*)p_data->data.p_data; in nfa_hci_conn_cback() local
729 if ((event != NFC_DATA_CEVT) || (p_pkt == nullptr)) return; in nfa_hci_conn_cback()
741 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in nfa_hci_conn_cback()
742 pkt_len = p_pkt->len; in nfa_hci_conn_cback()
748 GKI_freebuf(p_pkt); in nfa_hci_conn_cback()
761 GKI_freebuf(p_pkt); in nfa_hci_conn_cback()
809 (uint8_t)chaining_bit, (uint8_t)nfa_hci_cb.assembling, p_pkt->len); in nfa_hci_conn_cback()
814 GKI_freebuf(p_pkt); in nfa_hci_conn_cback()
857 p_pkt->event = NFA_HCI_CHECK_QUEUE_EVT; in nfa_hci_conn_cback()
858 p_pkt->len = 0; in nfa_hci_conn_cback()
[all …]
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc1638 NFC_HDR* p_pkt; in nfa_ee_api_send_data() local
1645 p_pkt = (NFC_HDR*)GKI_getbuf(size); in nfa_ee_api_send_data()
1646 if (p_pkt) { in nfa_ee_api_send_data()
1647 p_pkt->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in nfa_ee_api_send_data()
1648 p_pkt->len = p_data->send_data.data_len; in nfa_ee_api_send_data()
1649 p = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in nfa_ee_api_send_data()
1650 memcpy(p, p_data->send_data.p_data, p_pkt->len); in nfa_ee_api_send_data()
1651 NFC_SendData(p_cb->conn_id, p_pkt); in nfa_ee_api_send_data()
2351 NFC_HDR* p_pkt = nullptr; in nfa_ee_nci_conn() local
2360 if (p_cbk->event == NFC_DATA_CEVT) p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h523 uint8_t* p_pkt);