Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/p2p/
Dnfa_p2p_act.c63 if (nfa_p2p_cb.conn_cb[xx].flags == 0) in nfa_p2p_allocate_conn_cb()
65 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb()
66 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb()
91 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb()
115 if ( (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) in nfa_p2p_find_conn_cb()
116 &&(nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) in nfa_p2p_find_conn_cb()
117 &&(nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap) ) in nfa_p2p_find_conn_cb()
197 if ( (nfa_p2p_cb.sdp_cb[xx].local_sap != LLCP_INVALID_SAP) in nfa_p2p_sdp_cback()
198 &&(nfa_p2p_cb.sdp_cb[xx].tid == tid) ) in nfa_p2p_sdp_cback()
200 local_sap = nfa_p2p_cb.sdp_cb[xx].local_sap; in nfa_p2p_sdp_cback()
[all …]
Dnfa_p2p_main.c40 tNFA_P2P_CB nfa_p2p_cb; variable
113 nfa_p2p_cb.llcp_state = NFA_P2P_LLCP_STATE_LISTENING; in nfa_p2p_discovery_cback()
178 LLCP_GetLinkMIU (&nfa_p2p_cb.local_link_miu, &nfa_p2p_cb.remote_link_miu); in nfa_p2p_llcp_link_cback()
179 nfa_p2p_cb.llcp_state = NFA_P2P_LLCP_STATE_ACTIVATED; in nfa_p2p_llcp_link_cback()
181 if (nfa_p2p_cb.is_initiator) in nfa_p2p_llcp_link_cback()
187 llcp_activated.is_initiator = nfa_p2p_cb.is_initiator; in nfa_p2p_llcp_link_cback()
188 llcp_activated.local_link_miu = nfa_p2p_cb.local_link_miu; in nfa_p2p_llcp_link_cback()
189 llcp_activated.remote_link_miu = nfa_p2p_cb.remote_link_miu; in nfa_p2p_llcp_link_cback()
198 nfa_p2p_cb.llcp_state = NFA_P2P_LLCP_STATE_IDLE; in nfa_p2p_llcp_link_cback()
200 if (nfa_p2p_cb.is_initiator) in nfa_p2p_llcp_link_cback()
[all …]
Dnfa_p2p_api.c172 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pDeregister()
227 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pAcceptConn()
233 if ((miu < LLCP_DEFAULT_MIU) || (nfa_p2p_cb.local_link_miu < miu)) in NFA_P2pAcceptConn()
236 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pAcceptConn()
287 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pRejectConn()
337 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pDisconnect()
392 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pConnectByName()
399 ||(nfa_p2p_cb.llcp_state != NFA_P2P_LLCP_STATE_ACTIVATED) in NFA_P2pConnectByName()
400 ||(nfa_p2p_cb.local_link_miu < miu) ) in NFA_P2pConnectByName()
403 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pConnectByName()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_p2p_int.h273 extern tNFA_P2P_CB nfa_p2p_cb;
276 #define nfa_p2p_cb (*nfa_p2p_cb_ptr) macro
/external/libnfc-nci/halimpl/bcm2079x/include/
Dbt_trace.h1586 #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 …]
/external/libnfc-nci/src/include/
Dbt_trace.h1586 #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 …]