Searched refs:nfa_p2p_cb (Results 1 – 5 of 5) sorted by relevance
/external/libnfc-nci/src/nfa/p2p/ |
D | nfa_p2p_main.c | 41 tNFA_P2P_CB nfa_p2p_cb; variable 119 nfa_p2p_cb.llcp_state = NFA_P2P_LLCP_STATE_LISTENING; in nfa_p2p_discovery_cback() 120 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_DISCOVERY; in nfa_p2p_discovery_cback() 126 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_LISTEN_ACTIVE; in nfa_p2p_discovery_cback() 140 nfa_sys_stop_timer (&nfa_p2p_cb.active_listen_restore_timer); in nfa_p2p_discovery_cback() 146 if ( (nfa_p2p_cb.rf_disc_state != NFA_DM_RFST_LISTEN_ACTIVE) in nfa_p2p_discovery_cback() 147 &&(nfa_p2p_cb.rf_disc_state != NFA_DM_RFST_LISTEN_SLEEP) ) in nfa_p2p_discovery_cback() 159 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_LISTEN_SLEEP; in nfa_p2p_discovery_cback() 164 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_DISCOVERY; in nfa_p2p_discovery_cback() 209 nfa_p2p_cb.listen_tech_mask_to_restore); in nfa_p2p_update_active_listen() [all …]
|
D | nfa_p2p_act.c | 64 if (nfa_p2p_cb.conn_cb[xx].flags == 0) in nfa_p2p_allocate_conn_cb() 66 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb() 67 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb() 92 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb() 116 if ( (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) in nfa_p2p_find_conn_cb() 117 &&(nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) in nfa_p2p_find_conn_cb() 118 &&(nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap) ) in nfa_p2p_find_conn_cb() 198 if ( (nfa_p2p_cb.sdp_cb[xx].local_sap != LLCP_INVALID_SAP) in nfa_p2p_sdp_cback() 199 &&(nfa_p2p_cb.sdp_cb[xx].tid == tid) ) in nfa_p2p_sdp_cback() 201 local_sap = nfa_p2p_cb.sdp_cb[xx].local_sap; in nfa_p2p_sdp_cback() [all …]
|
D | nfa_p2p_api.c | 173 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pDeregister() 228 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pAcceptConn() 234 if ((miu < LLCP_DEFAULT_MIU) || (nfa_p2p_cb.local_link_miu < miu)) in NFA_P2pAcceptConn() 237 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pAcceptConn() 288 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pRejectConn() 338 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pDisconnect() 393 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pConnectByName() 400 ||(nfa_p2p_cb.llcp_state != NFA_P2P_LLCP_STATE_ACTIVATED) in NFA_P2pConnectByName() 401 ||(nfa_p2p_cb.local_link_miu < miu) ) in NFA_P2pConnectByName() 404 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pConnectByName() [all …]
|
/external/libnfc-nci/src/nfa/int/ |
D | nfa_p2p_int.h | 279 extern tNFA_P2P_CB nfa_p2p_cb; 282 #define nfa_p2p_cb (*nfa_p2p_cb_ptr) macro
|
/external/libnfc-nci/src/include/ |
D | bt_trace.h | 1586 #define P2P_TRACE_ERROR0(m) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1587 #define P2P_TRACE_ERROR1(m,p1) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1588 #define P2P_TRACE_ERROR2(m,p1,p2) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1589 #define P2P_TRACE_ERROR3(m,p1,p2,p3) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1590 #define P2P_TRACE_ERROR4(m,p1,p2,p3,p4) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1591 #define P2P_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1592 #define P2P_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_ERROR… 1594 #define P2P_TRACE_WARNING0(m) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_WARNI… 1595 #define P2P_TRACE_WARNING1(m,p1) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_WARNI… 1596 #define P2P_TRACE_WARNING2(m,p1,p2) {if (nfa_p2p_cb.trace_level >= BT_TRACE_LEVEL_WARNI… [all …]
|