Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 10 of 10) sorted by relevance

/hardware/samsung/nfc/halimpl/src/
Dhal_nci.cc28 int hal_nci_send(tNFC_NCI_PKT* pkt) { in hal_nci_send() argument
29 size_t len = (size_t)(pkt->len + NCI_HDR_SIZE); in hal_nci_send()
32 ret = __send_to_device((uint8_t*)pkt, len); in hal_nci_send()
39 util_nci_analyzer(pkt); in hal_nci_send()
128 tNFC_NCI_PKT* pkt = &msg->nci_packet; in nci_read_payload() local
131 ret = device_read(NCI_PAYLOAD(pkt), NCI_LEN(pkt)); in nci_read_payload()
132 if (ret != (int)NCI_LEN(pkt)) { in nci_read_payload()
150 bool nfc_hal_prehandler(tNFC_NCI_PKT* pkt) { in nfc_hal_prehandler() argument
151 if (NCI_MT(pkt) == NCI_MT_NTF) { in nfc_hal_prehandler()
152 if (NCI_GID(pkt) == NCI_GID_PROP) { in nfc_hal_prehandler()
[all …]
Dhal_task.cc81 tNFC_NCI_PKT* pkt = &msg->nci_packet; in nfc_hal_open_sm() local
90 util_nci_analyzer(pkt); in nfc_hal_open_sm()
91 if (NCI_MT(pkt) != NCI_MT_RSP || NCI_GID(pkt) != NCI_GID_PROP || in nfc_hal_open_sm()
92 NCI_OID(pkt) != NCI_PROP_FW_CFG) { in nfc_hal_open_sm()
95 if (NCI_STATUS(pkt) != NCI_STATUS_OK && in nfc_hal_open_sm()
96 NCI_STATUS(pkt) != NCI_STATUS_E_SYNTAX && in nfc_hal_open_sm()
97 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_SYNTAX_ERROR && in nfc_hal_open_sm()
98 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_MISMATCHED && in nfc_hal_open_sm()
99 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_FULL) { in nfc_hal_open_sm()
100 OSI_loge("Failed to config FW, status: %d", NCI_STATUS(pkt)); in nfc_hal_open_sm()
[all …]
Dhal.cc47 bool nfc_data_callback(tNFC_NCI_PKT* pkt) { in nfc_data_callback() argument
48 uint8_t* data = (uint8_t*)pkt; in nfc_data_callback()
49 size_t len = NCI_LEN(pkt) + NCI_HDR_SIZE; in nfc_data_callback()
/hardware/samsung/nfc/halimpl/include/
Dhal.h101 typedef uint8_t(tNFC_HAL_GRANT_CALLBACK)(tNFC_NCI_PKT* pkt);
174 bool nfc_data_callback(tNFC_NCI_PKT* pkt);
202 int hal_nci_send(tNFC_NCI_PKT* pkt);
207 bool nfc_hal_prehandler(tNFC_NCI_PKT* pkt);
211 void sec_nci_analyzer(tNFC_NCI_PKT* pkt);
/hardware/google/apf/
Dapf_run_test.sh15 pkt=$(cat testdata/$testcase.packet)
18 args="--trace --program $prog --packet $pkt"
Dapf_run.c97 const char* pkt, uint32_t filter_age) { in packet_handler() argument
99 uint32_t packet_len = parse_hex(pkt, &packet); in packet_handler()
/hardware/interfaces/wifi/supplicant/1.3/
DISupplicantStaIface.hal116 * @param pkt The contents of the HLP packet starting from ethertype
124 filsHlpAddRequest(MacAddress dst_mac, vec<uint8_t> pkt) generates (SupplicantStatus status);
/hardware/interfaces/wifi/1.3/
DIWifiChip.hal83 * This API help to collect firmware/driver/pkt logs.
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1122 pktsetprio(void *pkt, bool update_vtag) in pktsetprio() argument
1130 pktdata = (uint8 *)PKTDATA(NULL, pkt); in pktsetprio()
1179 PKTSETPRIO(pkt, priority); in pktsetprio()
/hardware/interfaces/wifi/1.0/
Dtypes.hal411 * Number of transmitted unicast data pkt losses (no ACK).