Home
last modified time | relevance | path

Searched full:hci (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd/share/man/man4/
H A Dng_btsocket.448 .Ss Dv SOCK_RAW HCI sockets
52 Raw HCI sockets allow sending of raw HCI command datagrams
56 Raw HCI datagrams (HCI commands, events and data) are generally received with
59 Raw HCI sockets can also be used to control HCI nodes.
61 The Bluetooth raw HCI socket address is defined as follows:
63 /* Bluetooth version of struct sockaddr for raw HCI sockets */
71 Raw HCI sockets support a number of
76 Returns current state for the HCI node.
80 bit for the HCI node.
82 Returns current debug level for the HCI node.
[all …]
H A Dng_hci.439 .Nm hci
41 Interface (HCI) layer as per chapter H1 of the Bluetooth Specification Book
111 .Sh HOST CONTROLLER INTERFACE (HCI)
112 The HCI provides a command interface to the baseband controller and link
117 The HCI layer on the Host exchanges data and commands with the HCI firmware
120 bus) driver provides both HCI layers with the ability to exchange information
123 The Host will receive asynchronous notifications of HCI events independent
130 The next sections specify the HCI packet formats.
131 .Ss HCI Command Packet
141 The HCI command packet is used to send commands to the Host Controller
[all …]
H A Dng_bluetooth.449 .It Va net.bluetooth.hci.command_timeout
51 (HCI) command timeout (in seconds), i.e., how long the HCI layer will wait
57 .It Va net.bluetooth.hci.connection_timeout
58 A read-write integer variable that controls the HCI connection timeout, i.e.\&
59 how long the HCI layer will wait for the
65 is required to ensure that no connection will stall in case when the HCI
69 .It Va net.bluetooth.hci.max_neighbor_age
71 entries in the HCI neighbor cache.
85 the HCI connection timeout.
H A Dng_ubt.447 Incoming bytes received on the device are re-assembled into HCI frames
49 Full HCI frames are sent out on the hook.
50 The node will add a HCI frame indicator if the device did not send it.
54 The node will drop the HCI frame indicator unless the device
82 single HCI frame contained in a single
/freebsd/sys/contrib/dev/rtw88/
H A Dhci.h37 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
42 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off()
47 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup()
52 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start()
57 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop()
62 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps()
67 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps()
72 rtwdev->hci.ops->interface_cfg(rtwdev); in rtw_hci_interface_cfg()
78 return rtwdev->hci.ops->write_data_rsvd_page(rtwdev, buf, size); in rtw_hci_write_data_rsvd_page()
84 return rtwdev->hci.ops->write_data_h2c(rtwdev, buf, size); in rtw_hci_write_data_h2c()
[all …]
H A Dsdio.h81 /* HCI Current Power Mode */
89 /* HCI Current Power Mode 1 */
91 /* HCI Current Power Mode 2 */
100 /* HCI Request Power Mode 1 */
102 /* HCI Request Power Mode 2 */
104 /* HCI Power Save Clock */
106 /* SDIO HCI Suspend Control */
/freebsd/libexec/rc/rc.d/
H A Dbluetooth98 # Setup HCI
99 ngctl mkpeer ${dev}: hci ${hook} drv \
102 ngctl name ${dev}:${hook} ${dev}hci \
105 ngctl msg ${dev}hci: set_debug ${bluetooth_device_hci_debug_level} \
109 ngctl mkpeer ${dev}hci: l2cap acl hci \
112 ngctl name ${dev}hci:acl ${dev}l2cap \
118 # Connect HCI node to the Bluetooth sockets layer
119 ngctl connect ${dev}hci: btsock_hci_raw: raw ${dev}raw \
129 # Initilalize HCI node
130 ${hccontrol} -n ${dev}hci reset \
[all …]
/freebsd/usr.sbin/bhyve/
H A Dhda_codec.c198 struct hda_codec_inst *hci; member
205 static int hda_codec_init(struct hda_codec_inst *hci, const char *play,
207 static int hda_codec_reset(struct hda_codec_inst *hci);
208 static int hda_codec_command(struct hda_codec_inst *hci, uint32_t cmd_data);
209 static int hda_codec_notify(struct hda_codec_inst *hci, uint8_t run,
391 hda_codec_init(struct hda_codec_inst *hci, const char *play, in hda_codec_init() argument
457 sc->hci = hci; in hda_codec_init()
458 hci->priv = sc; in hda_codec_init()
464 hda_codec_reset(struct hda_codec_inst *hci) in hda_codec_reset() argument
471 assert(hci); in hda_codec_reset()
[all …]
H A Dpci_hda.c196 static int hda_signal_state_change(struct hda_codec_inst *hci);
197 static int hda_response(struct hda_codec_inst *hci, uint32_t response,
199 static int hda_transfer(struct hda_codec_inst *hci, uint8_t stream,
429 struct hda_codec_inst *hci = NULL; in hda_codec_constructor() local
434 hci = calloc(1, sizeof(struct hda_codec_inst)); in hda_codec_constructor()
435 if (!hci) in hda_codec_constructor()
438 hci->hda = sc; in hda_codec_constructor()
439 hci->hops = &hops; in hda_codec_constructor()
440 hci->cad = sc->codecs_no; in hda_codec_constructor()
441 hci->codec = codec; in hda_codec_constructor()
[all …]
H A Dpci_hda.h74 int (*init)(struct hda_codec_inst *hci, const char *play,
76 int (*reset)(struct hda_codec_inst *hci);
77 int (*command)(struct hda_codec_inst *hci, uint32_t cmd_data);
78 int (*notify)(struct hda_codec_inst *hci, uint8_t run, uint8_t stream,
83 int (*signal)(struct hda_codec_inst *hci);
84 int (*response)(struct hda_codec_inst *hci, uint32_t response,
86 int (*transfer)(struct hda_codec_inst *hci, uint8_t stream,
H A Dusb_emul.h55 void *(*ue_init)(struct usb_hci *hci, nvlist_t *nvl);
69 * USB device events to notify HCI when state changes
80 int (*hci_intr)(struct usb_hci *hci, int epctx);
81 int (*hci_event)(struct usb_hci *hci, enum hci_usbev evid,
83 void *hci_sc; /* private softc for hci */
91 * Each xfer block is mapped to the hci transfer block.
101 void *hci_data; /* HCI private reference */
/freebsd/lib/libbluetooth/
H A Dbluetooth.3346 .Dv HCI
367 .Dv HCI
374 .Dv HCI
383 .Dv HCI
401 .Dv HCI
410 .Dv HCI
428 .Dv HCI
437 .Dv HCI
474 .Dv HCI
477 .Dv HCI
[all …]
/freebsd/sys/contrib/device-tree/Bindings/i3c/
H A Dmipi-i3c-hci.yaml4 $id: http://devicetree.org/schemas/i3c/mipi-i3c-hci.yaml#
7 title: MIPI I3C HCI
18 The MIPI I3C HCI (Host Controller Interface) specification defines
27 https://www.mipi.org/specifications/i3c-hci
31 const: mipi-i3c-hci
47 compatible = "mipi-i3c-hci";
/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dnode.c489 "Get the HCI node state",
494 "Initialize the HCI node",
499 "Read the HCI node debug level",
504 "Write the HCI node debug level",
509 "Read the HCI node buffer information. This will return current state of the\n"\
510 "HCI buffer for the HCI node",
515 "Read the HCI node BD_ADDR. Returns device BD_ADDR as cached by the HCI node",
520 "Read the HCI nod
[all...]
H A Dhccontrol.832 .Nd Bluetooth HCI configuration utility
43 .Dv HCI
45 command to the HCI Netgraph node or to the associated Bluetooth device.
61 Connect to the specified HCI Netgraph node.
79 The currently supported HCI commands in
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c47 #include <netgraph/bluetooth/hci/ng_hci_var.h>
48 #include <netgraph/bluetooth/hci/ng_hci_prse.h>
49 #include <netgraph/bluetooth/hci/ng_hci_cmds.h>
50 #include <netgraph/bluetooth/hci/ng_hci_evnt.h>
51 #include <netgraph/bluetooth/hci/ng_hci_ulpi.h>
52 #include <netgraph/bluetooth/hci/ng_hci_misc.h>
56 ** This node implements Bluetooth Host Controller Interface (HCI)
62 MALLOC_DEFINE(M_NETGRAPH_HCI, "netgraph_hci", "Netgraph Bluetooth HCI node");
93 NETGRAPH_INIT(hci, &typestruct);
120 * Create new instance of HCI node (new unit)
[all …]
H A DTODO5 This is a list of open issues for HCI node
13 2) HCI QoS handling
19 3) Add proper handling for some HCI commands
21 HCI testing commands is one example. Also might implement Host to
H A Dng_hci_cmds.c46 #include <netgraph/bluetooth/hci/ng_hci_var.h>
47 #include <netgraph/bluetooth/hci/ng_hci_cmds.h>
48 #include <netgraph/bluetooth/hci/ng_hci_evnt.h>
49 #include <netgraph/bluetooth/hci/ng_hci_ulpi.h>
50 #include <netgraph/bluetooth/hci/ng_hci_misc.h>
54 ** HCI commands processing module
86 * Send HCI command to the driver.
134 "%s: %s - could not send HCI command, error=%d\n", in ng_hci_send_command()
157 * Process HCI Command_Compete event. Complete HCI command, and do post
248 "%s: %s - HCI command failed, OGF=%#x, OCF=%#x, status=%#x\n", in ng_hci_process_command_complete()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dbtsnoop9 >12 belong 1001 Unencapsulated HCI
10 >12 belong 1002 HCI UART (H4)
11 >12 belong 1003 HCI BCSP
12 >12 belong 1004 HCI Serial (H5)
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_hci.h37 * Host Controller Interface (HCI). All information was obtained from
58 #define NG_HCI_NODE_TYPE "hci"
62 #define NG_HCI_HOOK_DRV "drv" /* Driver <-> HCI */
63 #define NG_HCI_HOOK_ACL "acl" /* HCI <-> Upper */
64 #define NG_HCI_HOOK_SCO "sco" /* HCI <-> Upper */
65 #define NG_HCI_HOOK_RAW "raw" /* HCI <-> Upper */
69 ** Common defines and types (HCI)
85 /* HCI specification */
406 /* HCI command packet header */
433 /* HCI event packet header */
[all …]
H A Dng_btsocket.h42 #define BLUETOOTH_PROTO_HCI 134 /* HCI protocol number */
48 * Bluetooth version of struct sockaddr for raw HCI sockets
57 /* Raw HCI socket options */
65 * Raw HCI socket filter.
67 * For packet mask use (1 << (HCI packet indicator - 1))
77 * Raw HCI sockets ioctl's
194 /* Get list of HCI node names */
218 #define SO_SCO_CONNINFO 2 /* get HCI connection handle */
/freebsd/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_var.h76 /* USB control request (HCI command) structure */
85 /* USB interrupt transfer HCI event header structure */
90 /* USB interrupt transfer (generic HCI event) structure */
95 /* USB interrupt transfer (HCI command completion event) structure */
131 /* HCI commands */
132 struct ng_bt_mbufq sc_cmdq; /* HCI command queue */
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c56 ** Lower Layer Protocol (HCI) Interface module
88 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_con_req()
118 NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->hci, 0); in ng_l2cap_lp_con_req()
239 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_con_ind()
269 NG_SEND_MSG_HOOK(error, l2cap->node, rsp, l2cap->hci, 0); in ng_l2cap_lp_con_ind()
381 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_qos_req()
404 NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->hci, 0); in ng_l2cap_lp_qos_req()
539 * segment it according to HCI MTU.
572 * Segment single L2CAP packet according to the HCI layer MTU. Convert in ng_l2cap_lp_send()
580 /* Check length of the packet against HCI MTU */ in ng_l2cap_lp_send()
[all …]
/freebsd/sys/netgraph/bluetooth/common/
H A Dng_bluetooth.c65 * HCI
68 SYSCTL_NODE(_net_bluetooth, OID_AUTO, hci, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
69 "Bluetooth HCI family");
93 "I", "HCI command timeout (sec)");
117 "I", "HCI connect timeout (sec)");
121 "Maximal HCI neighbor cache entry age (sec)");
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_hw.h33 /* USB control request (HCI command) structure */
43 /* USB interrupt transfer HCI event header structure */
49 /* USB interrupt transfer (generic HCI event) structure */
55 /* USB interrupt transfer (HCI command completion event) structure */

123456