[PATCH BlueZ v3 0/4] BlueZ: Support vendor packets

From: Zijun Hu

Date: Thu Sep 03 2026 - 12:49:21 EST


This series adds userspace support for vendor packets, which use
0xff as their packet type, complementing the kernel change here:

https://lore.kernel.org/all/20260830-btusb_qcc2072-v2-2-5c0e0c9dd98b@xxxxxxxxxxxxxxxx

All commits are straightforward.

---
Changes in v3:
- New patch: s/vendor_(evt|event)/\1_vendor/ for monitor
- Improve naming for consistency (no functional change)
- Improve the commit title and message
- Link to v2: https://patch.msgid.link/20260830-vendor_hci-v2-0-9903760957ab@xxxxxxxxxxxxxxxx

Changes in v2:
- Rename BT_RCV_VENDOR_PKT to BT_RECV_VENDOR_PKT
- Improve the commit title and message
- Link to v1: https://patch.msgid.link/20260719-vendor_hci-v1-0-df2ac5a50117@xxxxxxxxxxxxxxxx

---
Zijun Hu (4):
doc/hci-protocol: Fix missing & on mtu argument in BT_RCVMTU example
monitor: s/vendor_(evt|event)/\1_vendor/
doc/hci-protocol: Add BT_RECV_VENDOR_PKT socket option for HCI_CHANNEL_USER
monitor: Support vendor packets

doc/btsnoop-protocol.rst | 8 ++++++++
doc/hci-protocol.rst | 20 +++++++++++++++++++-
monitor/analyze.c | 23 +++++++++++++++++++++++
monitor/broadcom.c | 10 +++++-----
monitor/broadcom.h | 4 ++--
monitor/intel.c | 16 ++++++++--------
monitor/intel.h | 4 ++--
monitor/msft.c | 6 +++---
monitor/msft.h | 4 ++--
monitor/packet.c | 46 ++++++++++++++++++++++++++++++++++++----------
monitor/packet.h | 2 ++
monitor/vendor.c | 2 +-
monitor/vendor.h | 4 ++--
src/shared/btsnoop.h | 2 ++
14 files changed, 115 insertions(+), 36 deletions(-)
---
base-commit: e8141342284be2a52e16565b96b513ebe1297d84
change-id: 20260719-vendor_hci-188fc539d7a8

Best regards,
--
Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>