shared/hfp: Add function to get multiparty call status
PATCH 1/2 shared/hfp: Add function to get multiparty call status
--- src/shared/hfp.c | 20 ++++++++++++++++++++ src/shared/hfp.h | 1 + 2 files changed, 21 insertions(+)
src/shared/hfp.c +20 -0
@@ -2874,6 +2874,26 @@ const char *hfp_hf_call_get_number(struct hfp_hf *hfp, uint id)return call->line_id; } +bool hfp_hf_call_get_multiparty (struct hfp_hf *hfp,uint id,bool *mpty) +{ +struct hf_call *call; + +if (!hfp) +return false; + +DBG (hfp,"" ); + + call =queue_find (hfp->calls, call_id_match,UINT_TO_PTR (id)); +if (!call) { +DBG (hfp,"hf: no call with id: %u" , id); +return false; + } + + *mpty = call->mpty; + +return true; +} +bool hfp_hf_dial (struct hfp_hf *hfp,const char *number,hfp_response_func_t resp_cb,void *user_data)
src/shared/hfp.h +1 -0
@@ -247,6 +247,7 @@ bool hfp_hf_session_register(struct hfp_hf *hfp,bool hfp_hf_session (struct hfp_hf *hfp);const char *hfp_hf_call_get_number (struct hfp_hf *hfp,uint id); +bool hfp_hf_call_get_multiparty (struct hfp_hf *hfp,uint id,bool *mpty); bool hfp_hf_dial(struct hfp_hf *hfp, const char *number, hfp_response_func_t resp_cb,
Signature · 1 line
2.43.0
PATCH 2/2 audio/hfp-hf: Update multiparty status on call creation
--- profiles/audio/hfp-hf.c | 3 +++ 1 file changed, 3 insertions(+)
profiles/audio/hfp-hf.c +3 -0
@@ -158,12 +158,15 @@ static void hfp_hf_call_added(uint id, enum hfp_call_status status,struct hfp_device *dev = user_data;struct call *call;const char *number; +bool mpty; call =telephony_new_call (dev->telephony, id,hfp_call_status_to_call_state (status),NULL );if ((number =hfp_hf_call_get_number (dev->hf, id)) !=NULL ) call->line_id =g_strdup (number); +if (hfp_hf_call_get_multiparty (dev->hf, id, &mpty)) + call->multiparty = mpty;if (telephony_call_register_interface (call)) {telephony_free_call (call);return ;
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/project/bluetooth/list/?series=1036434
---Test result---
Test Summary:
CheckPatch PENDING 0.29 seconds GitLint PENDING 0.44 seconds BuildEll PASS 20.70 seconds BluezMake PASS 661.62 seconds MakeCheck PASS 22.17 seconds MakeDistcheck PASS 246.01 seconds CheckValgrind PASS 301.10 seconds CheckSmatch PASS 354.87 seconds bluezmakeextell PASS 186.35 seconds IncrementalBuild PENDING 0.32 seconds ScanBuild PASS 1077.16 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
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 4 lines · On Wed, 24 Dec 2025 15:45:44 +0100 you wrote:
--- src/shared/hfp.c | 20 ++++++++++++++++++++ src/shared/hfp.h | 1 + 2 files changed, 21 insertions(+)
Here is the summary with links:
- [BlueZ,1/2] shared/hfp: Add function to get multiparty call status
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=22eca40e5ceb - [BlueZ,2/2] audio/hfp-hf: Update multiparty status on call creation https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5e50b9353ff7
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html