1 #include "fuzz.h"
2
nfa_dm_p2p_prio_logic(unsigned char,unsigned char *,unsigned char)3 bool nfa_dm_p2p_prio_logic(unsigned char, unsigned char*, unsigned char) {
4 return true;
5 }
6
rw_init()7 void rw_init() {}
ce_init()8 void ce_init() {}
llcp_init()9 void llcp_init() {}
10
11 tNFA_PROPRIETARY_CFG nfa_proprietary_cfg = {
12 0x80, /* NCI_PROTOCOL_18092_ACTIVE */
13 0x81, /* NCI_PROTOCOL_B_PRIME */
14 0x82, /* NCI_PROTOCOL_DUAL */
15 0x83, /* NCI_PROTOCOL_15693 */
16 0x8A, /* NCI_PROTOCOL_KOVIO */
17 0xFF, /* NCI_PROTOCOL_MIFARE */
18 0x77, /* NCI_DISCOVERY_TYPE_POLL_KOVIO */
19 0x74, /* NCI_DISCOVERY_TYPE_POLL_B_PRIME */
20 0xF4, /* NCI_DISCOVERY_TYPE_LISTEN_B_PRIME */
21 };
22
23 tNFA_PROPRIETARY_CFG* p_nfa_proprietary_cfg =
24 (tNFA_PROPRIETARY_CFG*)&nfa_proprietary_cfg;
25
rw_t4t_handle_isodep_nak_rsp(uint8_t,bool)26 void rw_t4t_handle_isodep_nak_rsp(uint8_t, bool) {}
27
rw_t3t_handle_nci_poll_ntf(uint8_t nci_status,uint8_t num_responses,uint8_t sensf_res_buf_size,uint8_t * p_sensf_res_buf)28 void rw_t3t_handle_nci_poll_ntf(uint8_t nci_status, uint8_t num_responses,
29 uint8_t sensf_res_buf_size,
30 uint8_t* p_sensf_res_buf) {
31 FUZZLOG("nci_status=%02X, num_responses=%d, p_sensf_res_buf=%s", nci_status,
32 num_responses,
33 BytesToHex(p_sensf_res_buf, sensf_res_buf_size).c_str());
34 }
35
llcp_process_timeout(TIMER_LIST_ENT *)36 void llcp_process_timeout(TIMER_LIST_ENT*) { abort(); }
rw_t1t_process_timeout(TIMER_LIST_ENT *)37 void rw_t1t_process_timeout(TIMER_LIST_ENT*) { abort(); }
rw_t2t_process_timeout()38 void rw_t2t_process_timeout() { abort(); }
rw_t3t_process_timeout(TIMER_LIST_ENT *)39 void rw_t3t_process_timeout(TIMER_LIST_ENT*) { abort(); }
rw_t4t_process_timeout(TIMER_LIST_ENT *)40 void rw_t4t_process_timeout(TIMER_LIST_ENT*) { abort(); }
rw_i93_process_timeout(TIMER_LIST_ENT *)41 void rw_i93_process_timeout(TIMER_LIST_ENT*) { abort(); }
nfa_dm_p2p_timer_event()42 void nfa_dm_p2p_timer_event() { abort(); }
nfa_dm_p2p_prio_logic_cleanup()43 void nfa_dm_p2p_prio_logic_cleanup() { abort(); }
rw_mfc_process_timeout(TIMER_LIST_ENT *)44 void rw_mfc_process_timeout(TIMER_LIST_ENT*) { abort(); }
ce_t4t_process_timeout(TIMER_LIST_ENT *)45 void ce_t4t_process_timeout(TIMER_LIST_ENT*) { abort(); }
llcp_cleanup()46 void llcp_cleanup() {}
nfa_sys_event(NFC_HDR *)47 void nfa_sys_event(NFC_HDR*) { abort(); }
nfa_sys_timer_update()48 void nfa_sys_timer_update() { abort(); }
49