Skip to contentSkip to conversation

tools/btpclient: Fix name advertising

PATCH Applied Frédéric Danis 3 participants 3 messages Jan 15 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/btpclient: Fix name advertising

This allows to pass GAP/BROB/BCST/BV-03-C and GAP/BROB/OBSV/BV-06-C tests with auto-pts.

Those tests request privacy to be on to share IRK.

---
 tools/btpclient.c | 2 ++
 1 file changed, 2 insertions(+)
tools/btpclient.c +2 -0
index e722b2242..5c01e345d 100644
@@ -33,6 +33,7 @@
 #define AD_TYPE_FLAGS				0x01
 #define AD_TYPE_INCOMPLETE_UUID16_SERVICE_LIST	0x02
 #define AD_TYPE_SHORT_NAME			0x08
+#define AD_TYPE_COMPLETE_NAME			0x09
 #define AD_TYPE_TX_POWER			0x0a
 #define AD_TYPE_SOLICIT_UUID16_SERVICE_LIST	0x14
 #define AD_TYPE_SERVICE_DATA_UUID16		0x16
@@ -1066,6 +1067,7 @@ static void create_advertising_data(uint8_t adv_data_len, const uint8_t *data)
 			break;
 		}
 		case AD_TYPE_SHORT_NAME:
+		case AD_TYPE_COMPLETE_NAME:
 			ad.local_name = malloc(ad_len + 1);
 			memcpy(ad.local_name, ad_data, ad_len);
 			ad.local_name[ad_len] = '\0';
Signature · 1 line
2.43.0
#1 lore raw

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=1042858

---Test result---

Test Summary:

CheckPatch                    PENDING   0.27 seconds
GitLint                       PENDING   0.35 seconds
BuildEll                      PASS      19.86 seconds
BluezMake                     PASS      644.82 seconds
MakeCheck                     PASS      18.14 seconds
MakeDistcheck                 PASS      240.59 seconds
CheckValgrind                 PASS      292.04 seconds
CheckSmatch                   PASS      346.93 seconds
bluezmakeextell               PASS      181.95 seconds
IncrementalBuild              PENDING   0.43 seconds
ScanBuild                     PASS      1012.70 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Frédéric Danis
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 7 lines · On Thu, 15 Jan 2026 15:40:58 +0100 you wrote:

This allows to pass GAP/BROB/BCST/BV-03-C and GAP/BROB/OBSV/BV-06-C tests with auto-pts.

Those tests request privacy to be on to share IRK.

---
 tools/btpclient.c | 2 ++
 1 file changed, 2 insertions(+)

Here is the summary with links:
- [BlueZ] tools/btpclient: Fix name advertising

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fe7094da8081

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html