Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] audio/media: Add hfp-hf supported feature flag
@ 2026-11-15 10:19 Frédéric Danis
  2026-11-15 20:34 ` [BlueZ] " bluez.test.bot
  2026-11-16 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Frédéric Danis @ 2026-11-15 10:19 UTC (permalink / raw)
  To: linux-bluetooth

From: Frédéric Danis <frederic.danis.oss@gmail.com>

This flag is set when HFP HF internal plugin is started.
It allows external applications like PipeWire to know that HFP HF can
be managed by BlueZ and they have to register endpoints for the
supported codecs.
---
 profiles/audio/media.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 34ff251c7..3433a7b6e 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -3765,11 +3765,23 @@ error:
 	return false;
 }
 
+static bool probe_hfp_hf(struct media_adapter *adapter)
+{
+	struct btd_profile *profile;
+
+	profile = btd_profile_find_remote_uuid(HFP_AG_UUID);
+	if (!profile || profile->external)
+		return false;
+
+	return true;
+}
+
 static const struct {
 	const char *name;
 	bool (*probe)(struct media_adapter *adapter);
 } features[] = {
 	{ "tx-timestamping", probe_tx_timestamping },
+	{ "hfp-hf", probe_hfp_hf },
 };
 
 static gboolean supported_features(const GDBusPropertyTable *property,
-- 
2.43.0


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

* RE: [BlueZ] audio/media: Add hfp-hf supported feature flag
  2026-11-15 10:19 [PATCH BlueZ] audio/media: Add hfp-hf supported feature flag Frédéric Danis
@ 2026-11-15 20:34 ` bluez.test.bot
  2026-11-16 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-11-15 20:34 UTC (permalink / raw)
  To: linux-bluetooth, frederic.danis

[-- Attachment #1: Type: text/plain, Size: 1019 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/1211775/

---Test result---

Test Summary:
CheckPatch                    PASS      0.45 seconds
GitLint                       PASS      0.33 seconds
BuildEll                      PASS      14.67 seconds
BluezMake                     PASS      197.21 seconds
MakeCheck                     PASS      2.57 seconds
MakeDistcheck                 PASS      106.04 seconds
CheckValgrind                 PASS      105.95 seconds
CheckSmatch                   PASS      184.30 seconds
bluezmakeextell               PASS      65.14 seconds
TestFunctional                PASS      901.54 seconds
IncrementalBuild              PASS      181.39 seconds
ScanBuild                     PASS      654.91 seconds



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

---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ] audio/media: Add hfp-hf supported feature flag
  2026-11-15 10:19 [PATCH BlueZ] audio/media: Add hfp-hf supported feature flag Frédéric Danis
  2026-11-15 20:34 ` [BlueZ] " bluez.test.bot
@ 2026-11-16 20:00 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-11-16 20:00 UTC (permalink / raw)
  To: =?utf-8?b?RnLDqWTDqXJpYyBEYW5pcyA8ZnJlZGVyaWMuZGFuaXNAY29sbGFib3JhLmNvbT4=?=
  Cc: linux-bluetooth

Hello:

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

On Sun, 15 Nov 2026 11:19:46 +0100 you wrote:
> From: Frédéric Danis <frederic.danis.oss@gmail.com>
> 
> This flag is set when HFP HF internal plugin is started.
> It allows external applications like PipeWire to know that HFP HF can
> be managed by BlueZ and they have to register endpoints for the
> supported codecs.
> 
> [...]

Here is the summary with links:
  - [BlueZ] audio/media: Add hfp-hf supported feature flag
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=8df2ed315f20

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-11-16 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 10:19 [PATCH BlueZ] audio/media: Add hfp-hf supported feature flag Frédéric Danis
2026-11-15 20:34 ` [BlueZ] " bluez.test.bot
2026-11-16 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox