audio/media: Add hfp-hf supported feature flag
PATCH 1/1 audio/media: Add hfp-hf supported feature flag
From: Frédéric Danis <[email protected]>
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(+)
profiles/audio/media.c +12 -0
@@ -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,
Signature · 1 line
2.43.0
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
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 8 lines · On Sun, 15 Nov 2026 11:19:46 +0100 you wrote:
From: Frédéric Danis <[email protected]>
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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html