* [PATCH BlueZ 0/1] btmon/TDS: decode org 0x02 as Wi-Fi Alliance @ 2026-05-09 0:22 Preston Hunt 2026-05-09 0:22 ` [PATCH BlueZ 1/1] btmon: decode " Preston Hunt 2026-05-09 9:08 ` [PATCH BlueZ 0/1] " Paul Menzel 0 siblings, 2 replies; 4+ messages in thread From: Preston Hunt @ 2026-05-09 0:22 UTC (permalink / raw) To: linux-bluetooth; +Cc: Preston Hunt Adding support to show Wi-Fi Alliance when decoding TDS frames in btmon. AFAIK, this code has been assigned to WFA. Preston Hunt (1): btmon: decode 0x02 as Wi-Fi Alliance monitor/packet.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) -- 2.51.2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH BlueZ 1/1] btmon: decode 0x02 as Wi-Fi Alliance 2026-05-09 0:22 [PATCH BlueZ 0/1] btmon/TDS: decode org 0x02 as Wi-Fi Alliance Preston Hunt @ 2026-05-09 0:22 ` Preston Hunt 2026-05-09 2:14 ` btmon/TDS: decode org " bluez.test.bot 2026-05-09 9:08 ` [PATCH BlueZ 0/1] " Paul Menzel 1 sibling, 1 reply; 4+ messages in thread From: Preston Hunt @ 2026-05-09 0:22 UTC (permalink / raw) To: linux-bluetooth; +Cc: Preston Hunt --- monitor/packet.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/monitor/packet.c b/monitor/packet.c index a0bf7a709..9439a74c5 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -4009,6 +4009,18 @@ static void print_mesh_data(const uint8_t *data, uint8_t len) packet_hexdump(data + 1, len - 1); } +static char *get_org_label(uint8_t org) +{ + switch (org) { + case 0x01: + return "Bluetooth SIG"; + case 0x02: + return "Wi-Fi Alliance"; + default: + return "RFU"; + } +} + static void print_transport_data(const uint8_t *data, uint8_t len) { print_field("Transport Discovery Data"); @@ -4016,8 +4028,8 @@ static void print_transport_data(const uint8_t *data, uint8_t len) if (len < 3) return; - print_field(" Organization: %s (0x%02x)", - data[0] == 0x01 ? "Bluetooth SIG" : "RFU", data[0]); + print_field(" Organization: %s (0x%02x)", get_org_label(data[0]), + data[0]); print_field(" Flags: 0x%2.2x", data[1]); print_field(" Role: 0x%2.2x", data[1] & 0x03); -- 2.51.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: btmon/TDS: decode org 0x02 as Wi-Fi Alliance 2026-05-09 0:22 ` [PATCH BlueZ 1/1] btmon: decode " Preston Hunt @ 2026-05-09 2:14 ` bluez.test.bot 0 siblings, 0 replies; 4+ messages in thread From: bluez.test.bot @ 2026-05-09 2:14 UTC (permalink / raw) To: linux-bluetooth, me [-- Attachment #1: Type: text/plain, Size: 1323 bytes --] This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1091848 ---Test result--- Test Summary: CheckPatch PASS 0.34 seconds GitLint PASS 0.26 seconds BuildEll PASS 20.23 seconds BluezMake PASS 643.92 seconds MakeCheck PASS 0.89 seconds MakeDistcheck PASS 246.11 seconds CheckValgrind PASS 218.86 seconds CheckSmatch WARNING 346.88 seconds bluezmakeextell PASS 181.91 seconds IncrementalBuild PASS 639.76 seconds ScanBuild PASS 1013.45 seconds Details ############################## Test: CheckSmatch - WARNING Desc: Run smatch tool with source Output: monitor/packet.c:2000:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3909:52: warning: array of flexible structuresmonitor/bt.h:3897:40: warning: array of flexible structures https://github.com/bluez/bluez/pull/2113 --- Regards, Linux Bluetooth ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH BlueZ 0/1] btmon/TDS: decode org 0x02 as Wi-Fi Alliance 2026-05-09 0:22 [PATCH BlueZ 0/1] btmon/TDS: decode org 0x02 as Wi-Fi Alliance Preston Hunt 2026-05-09 0:22 ` [PATCH BlueZ 1/1] btmon: decode " Preston Hunt @ 2026-05-09 9:08 ` Paul Menzel 1 sibling, 0 replies; 4+ messages in thread From: Paul Menzel @ 2026-05-09 9:08 UTC (permalink / raw) To: Preston Hunt; +Cc: linux-bluetooth Dear Preston, Thank you for the patch. Am 09.05.26 um 02:22 schrieb Preston Hunt: > Adding support to show Wi-Fi Alliance when decoding TDS frames in btmon. > AFAIK, this code has been assigned to WFA. I’d add this to the commit message, and maybe even document the test setup. Kind regards, Paul ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-09 9:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-09 0:22 [PATCH BlueZ 0/1] btmon/TDS: decode org 0x02 as Wi-Fi Alliance Preston Hunt 2026-05-09 0:22 ` [PATCH BlueZ 1/1] btmon: decode " Preston Hunt 2026-05-09 2:14 ` btmon/TDS: decode org " bluez.test.bot 2026-05-09 9:08 ` [PATCH BlueZ 0/1] " Paul Menzel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox