* [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
0 siblings, 1 reply; 2+ 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] 2+ 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
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2026-11-15 20:34 UTC | newest]
Thread overview: 2+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox