[PATCH bluez RFC 2/3] doc: hci-protocol: Add sock option BT_RCV_VENDOR_PKT for HCI_CHANNEL_USER
From: Zijun Hu
Date: Mon Jul 20 2026 - 01:45:09 EST
BT_RCV_VENDOR_PKT was introduced to support vendor HCI frame.
---
doc/hci-protocol.rst | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/doc/hci-protocol.rst b/doc/hci-protocol.rst
index db10b35df736..91cbc5b65a78 100644
--- a/doc/hci-protocol.rst
+++ b/doc/hci-protocol.rst
@@ -136,6 +136,24 @@ Example:
len = sizeof(mtu);
err = getsockopt(sock, SOL_BLUETOOTH, BT_RCVMTU, &mtu, &len);
+BT_RCV_VENDOR_PKT (since Linux 7.3)
+-----------------------------------
+
+Enable receiving vendor HCI frames, requires hci_channel to be set to
+HCI_CHANNEL_USER.
+
+Default is disabled.
+
+Example:
+
+.. code-block::
+
+ int enable = 1;
+ int err;
+
+ err = setsockopt(fd, SOL_BLUETOOTH, BT_RCV_VENDOR_PKT, &enable,
+ sizeof(enable));
+
RESOURCES
=========
--
2.34.1