Home | History | Annotate | Download | only in hci

Lines Matching refs:gate

200 ** Description      This function will allocate the gate if any specified or an
201 ** available generic gate for the app to provide an entry point
203 ** communication with other host. When the gate is
205 ** with NFA_HCI_ALLOCATE_GATE_EVT with the gate id. The allocated
206 ** Gate information will be stored in non volatile memory.
209 ** NFA_STATUS_FAILED if no generic gate is available
212 tNFA_STATUS NFA_HciAllocGate (tNFA_HANDLE hci_handle, UINT8 gate)
222 if ( (gate)
223 &&((gate < NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE) || (gate > NFA_HCI_LAST_PROP_GATE) || (gate == NFA_HCI_CONNECTIVITY_GATE)) )
225 NFA_TRACE_API1 ("NFA_HciAllocGate (): Cannot allocate gate:0x%02x", gate);
229 NFA_TRACE_API2 ("NFA_HciAllocGate (): hci_handle:0x%04x, Gate:0x%02x", hci_handle, gate);
231 /* Request HCI to allocate gate to the application */
237 p_msg->gate = gate;
249 ** Description This function will release the specified gate that was
251 ** gate is released (or if an error occurs), the app will be
252 ** notified with NFA_HCI_DEALLOCATE_GATE_EVT with the gate id.
258 tNFA_STATUS NFA_HciDeallocGate (tNFA_HANDLE hci_handle, UINT8 gate)
268 if ((gate < NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE) || (gate > NFA_HCI_LAST_PROP_GATE) || (gate == NFA_HCI_CONNECTIVITY_GATE))
270 NFA_TRACE_API1 ("NFA_HciDeallocGate (): Cannot deallocate the gate:0x%02x", gate);
274 NFA_TRACE_API2 ("NFA_HciDeallocGate (): hci_handle:0x%04x, gate:0x%02X", hci_handle, gate);
276 /* Request HCI to deallocate the gate that was previously allocated to the application */
282 p_msg->gate = gate;
358 NFA_TRACE_API4 ("NFA_HciCreatePipe (): hci_handle:0x%04x, source gate:0x%02X, destination host:0x%02X , destination gate:0x%02X",
369 NFA_TRACE_API1 ("NFA_HciCreatePipe (): Invalid local Gate:0x%02x", source_gate_id);
376 NFA_TRACE_API1 ("NFA_HciCreatePipe (): Invalid Destination Gate:0x%02x", dest_gate);
399 p_msg->dest_gate = dest_gate; /* Gate id of the destination gate */
459 ** registry field value for the gate that the pipe is on.
509 ** registry field value for the gate that the pipe is on.
888 tNFA_STATUS NFA_HciAddStaticPipe (tNFA_HANDLE hci_handle, UINT8 host, UINT8 gate, UINT8 pipe)
909 if (gate <= NFA_HCI_LAST_HOST_SPECIFIC_GATE)
911 NFA_TRACE_API1 ("NFA_HciAddStaticPipe (): Invalid Gate:0x%02x", gate);
930 p_msg->gate = gate;
967 NFA_TRACE_API0 ("NFA_HciDebug Gate List:");
972 NFA_TRACE_API4 (" Gate Inx: %x ID: 0x%02x Owner: 0x%04x PipeInxMask: 0x%08x",
982 NFA_TRACE_API6 (" Pipe Inx: %x ID: 0x%02x State: %u LocalGate: 0x%02x Dest Gate: 0x%02x Host: 0x%02x",