Lines Matching refs:server_sap
309 UINT8 server_sap, local_sap;
313 P2P_TRACE_DEBUG1 ("nfa_p2p_proc_llcp_connect_ind () server_sap:0x%x",
314 p_data->connect_ind.server_sap);
316 server_sap = p_data->connect_ind.server_sap;
319 if (nfa_p2p_cb.sap_cb[server_sap].p_cback)
321 xx = nfa_p2p_allocate_conn_cb (server_sap);
332 evt_data.conn_req.server_handle = (NFA_HANDLE_GROUP_P2P | server_sap);
338 nfa_p2p_cb.sap_cb[server_sap].p_cback (NFA_P2P_CONN_REQ_EVT, &evt_data);
677 UINT8 server_sap;
681 server_sap = LLCP_RegisterServer (p_msg->api_reg_server.server_sap,
686 if (server_sap == LLCP_INVALID_SAP)
689 evt_data.reg_server.server_sap = NFA_P2P_INVALID_SAP;
700 if (server_sap <= LLCP_UPPER_BOUND_WK_SAP)
709 nfa_p2p_cb.sap_cb[server_sap].p_cback = p_msg->api_reg_server.p_cback;
710 nfa_p2p_cb.sap_cb[server_sap].flags = NFA_P2P_SAP_FLAG_SERVER;
712 evt_data.reg_server.server_handle = (NFA_HANDLE_GROUP_P2P | server_sap);
713 evt_data.reg_server.server_sap = server_sap;
719 nfa_p2p_cb.sap_cb[server_sap].p_cback (NFA_P2P_REG_SERVER_EVT, &evt_data);
724 evt_data.activated.handle = (NFA_HANDLE_GROUP_P2P | server_sap);
729 nfa_p2p_cb.sap_cb[server_sap].p_cback (NFA_P2P_ACTIVATED_EVT, &evt_data);