All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ RESEND] monitor: Fix legacy SCAN_RSP PDU type names
@ 2026-10-19  4:10 Kevin Dewald
  2026-10-19  7:51 ` [BlueZ,RESEND] " bluez.test.bot
  2026-10-19 15:10 ` [PATCH BlueZ RESEND] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin Dewald @ 2026-10-19  4:10 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Luiz Augusto von Dentz, Kevin Dewald

The names of the two legacy scan response event types are swapped. A
scan response keeps the properties of the advertisement it answers, so
0x1b, which has the connectable bit set, is the response to ADV_IND and
0x1a is the response to ADV_SCAN_IND, as listed in Core Specification
Vol 4, Part E, 7.7.65.13, Table 7.1.

Fixes: e29ef3b85116 ("monitor: Add LE Extended Scan commands decoding")
Assisted-by: Claude:claude-opus-5.5
---
 monitor/packet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/monitor/packet.c b/monitor/packet.c
index fe7b054dd..a301e1ae7 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -13076,10 +13076,10 @@ static void print_legacy_adv_report_pdu(uint16_t flags)
 		str = "ADV_DIRECT_IND";
 		break;
 	case 0x1a:
-		str = "SCAN_RSP to an ADV_IND";
+		str = "SCAN_RSP to an ADV_SCAN_IND";
 		break;
 	case 0x1b:
-		str = "SCAN_RSP to an ADV_SCAN_IND";
+		str = "SCAN_RSP to an ADV_IND";
 		break;
 	default:
 		str = "Reserved";

base-commit: fa6ba55020dee3c3183041c854c347b4582448be
-- 
2.54.0 (Apple Git-157)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [BlueZ,RESEND] monitor: Fix legacy SCAN_RSP PDU type names
  2026-10-19  4:10 [PATCH BlueZ RESEND] monitor: Fix legacy SCAN_RSP PDU type names Kevin Dewald
@ 2026-10-19  7:51 ` bluez.test.bot
  2026-10-19 15:10 ` [PATCH BlueZ RESEND] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-10-19  7:51 UTC (permalink / raw)
  To: linux-bluetooth, kevin

[-- Attachment #1: Type: text/plain, Size: 1353 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/series/1188585/

---Test result---

Test Summary:
CheckPatch                    PASS      0.38 seconds
GitLint                       PASS      0.27 seconds
BuildEll                      PASS      14.72 seconds
BluezMake                     PASS      215.23 seconds
MakeCheck                     PASS      0.68 seconds
MakeDistcheck                 PASS      109.94 seconds
CheckValgrind                 PASS      111.54 seconds
CheckSmatch                   WARNING   190.23 seconds
bluezmakeextell               PASS      70.84 seconds
TestFunctional                PASS      904.89 seconds
IncrementalBuild              PASS      215.94 seconds
ScanBuild                     PASS      747.23 seconds

Details
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:
monitor/packet.c:2289:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3925:52: warning: array of flexible structuresmonitor/bt.h:3913:40: warning: array of flexible structures


https://github.com/bluez/bluez/pull/2692

---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH BlueZ RESEND] monitor: Fix legacy SCAN_RSP PDU type names
  2026-10-19  4:10 [PATCH BlueZ RESEND] monitor: Fix legacy SCAN_RSP PDU type names Kevin Dewald
  2026-10-19  7:51 ` [BlueZ,RESEND] " bluez.test.bot
@ 2026-10-19 15:10 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-10-19 15:10 UTC (permalink / raw)
  To: Kevin Dewald; +Cc: linux-bluetooth, luiz.dentz

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Sun, 18 Oct 2026 21:10:09 -0700 you wrote:
> The names of the two legacy scan response event types are swapped. A
> scan response keeps the properties of the advertisement it answers, so
> 0x1b, which has the connectable bit set, is the response to ADV_IND and
> 0x1a is the response to ADV_SCAN_IND, as listed in Core Specification
> Vol 4, Part E, 7.7.65.13, Table 7.1.
> 
> Fixes: e29ef3b85116 ("monitor: Add LE Extended Scan commands decoding")
> Assisted-by: Claude:claude-opus-5.5
> 
> [...]

Here is the summary with links:
  - [BlueZ,RESEND] monitor: Fix legacy SCAN_RSP PDU type names
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5e348529cf4d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-19 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19  4:10 [PATCH BlueZ RESEND] monitor: Fix legacy SCAN_RSP PDU type names Kevin Dewald
2026-10-19  7:51 ` [BlueZ,RESEND] " bluez.test.bot
2026-10-19 15:10 ` [PATCH BlueZ RESEND] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.