linux/include/net/bluetooth
Luiz Augusto von Dentz 827af4787e Bluetooth: MGMT: Add initial implementation of MGMT_OP_HCI_CMD_SYNC
This adds the initial implementation of MGMT_OP_HCI_CMD_SYNC as
documented in mgmt-api (BlueZ tree):

Send HCI command and wait for event Command
===========================================

	Command Code:		0x005B
	Controller Index:	<controller id>
	Command Parameters:	Opcode (2 Octets)
				Event (1 Octet)
				Timeout (1 Octet)
				Parameter Length (2 Octets)
				Parameter (variable)
	Return Parameters:	Response (1-variable Octets)

	This command may be used to send a HCI command and wait for an
	(optional) event.

	The HCI command is specified by the Opcode, any arbitrary is supported
	including vendor commands, but contrary to the like of
	Raw/User channel it is run as an HCI command send by the kernel
	since it uses its command synchronization thus it is possible to wait
	for a specific event as a response.

	Setting event to 0x00 will cause the command to wait for either
	HCI Command Status or HCI Command Complete.

	Timeout is specified in seconds, setting it to 0 will cause the
	default timeout to be used.

	Possible errors:	Failed
				Invalid Parameters

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-11-14 15:41:31 -05:00
..
bluetooth.h Bluetooth: SCO: Fix UAF on sco_sock_timeout 2024-10-23 10:20:29 -04:00
coredump.h
hci_core.h Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave 2024-11-14 15:37:31 -05:00
hci_mon.h
hci_sock.h Bluetooth: hci_core: Prefer struct_size over open coded arithmetic 2024-07-14 21:33:29 -04:00
hci_sync.h Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once 2024-08-30 17:56:34 -04:00
hci.h Bluetooth: HCI: Add IPC(11) bus type 2024-11-14 15:38:38 -05:00
iso.h
l2cap.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mgmt.h Bluetooth: MGMT: Add initial implementation of MGMT_OP_HCI_CMD_SYNC 2024-11-14 15:41:31 -05:00
rfcomm.h tty: rfcomm: prefer struct_size over open coded arithmetic 2024-07-14 21:33:31 -04:00
sco.h