2022-10-07 23:11:34

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: [PATCH BlueZ] vhci: Add function to interact with force_static_address

From: Luiz Augusto von Dentz <[email protected]>

This adds functions that can be used to set debugfs
force_static_address.
---
emulator/vhci.c | 10 ++++++++++
emulator/vhci.h | 1 +
2 files changed, 11 insertions(+)

diff --git a/emulator/vhci.c b/emulator/vhci.c
index 4295e30ef980..a12b11e0f305 100644
--- a/emulator/vhci.c
+++ b/emulator/vhci.c
@@ -257,3 +257,13 @@ int vhci_set_emu_opcode(struct vhci *vhci, uint16_t opcode)
{
return btdev_set_emu_opcode(vhci->btdev, opcode);
}
+
+int vhci_set_force_static_address(struct vhci *vhci, bool enable)
+{
+ char val;
+
+ val = (enable) ? 'Y' : 'N';
+
+ return vhci_debugfs_write(vhci, "force_static_address", &val,
+ sizeof(val));
+}
diff --git a/emulator/vhci.h b/emulator/vhci.h
index c42e8bde1cd5..6da56cb589fe 100644
--- a/emulator/vhci.h
+++ b/emulator/vhci.h
@@ -28,3 +28,4 @@ int vhci_set_force_wakeup(struct vhci *vhci, bool enable);
int vhci_set_msft_opcode(struct vhci *vhci, uint16_t opcode);
int vhci_set_aosp_capable(struct vhci *vhci, bool enable);
int vhci_set_emu_opcode(struct vhci *vhci, uint16_t opcode);
+int vhci_set_force_static_address(struct vhci *vhci, bool enable);
--
2.37.3


2022-10-08 00:17:01

by bluez.test.bot

[permalink] [raw]
Subject: RE: [BlueZ] vhci: Add function to interact with force_static_address

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

---Test result---

Test Summary:
CheckPatch PASS 1.09 seconds
GitLint PASS 0.76 seconds
Prep - Setup ELL PASS 26.35 seconds
Build - Prep PASS 0.71 seconds
Build - Configure PASS 8.27 seconds
Build - Make PASS 743.03 seconds
Make Check PASS 11.88 seconds
Make Check w/Valgrind PASS 288.41 seconds
Make Distcheck PASS 235.27 seconds
Build w/ext ELL - Configure PASS 8.28 seconds
Build w/ext ELL - Make PASS 85.03 seconds
Incremental Build w/ patches PASS 0.00 seconds
Scan Build PASS 494.72 seconds



---
Regards,
Linux Bluetooth

2022-10-10 21:02:24

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH BlueZ] vhci: Add function to interact with force_static_address

Hello:

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

On Fri, 7 Oct 2022 15:55:27 -0700 you wrote:
> From: Luiz Augusto von Dentz <[email protected]>
>
> This adds functions that can be used to set debugfs
> force_static_address.
> ---
> emulator/vhci.c | 10 ++++++++++
> emulator/vhci.h | 1 +
> 2 files changed, 11 insertions(+)

Here is the summary with links:
- [BlueZ] vhci: Add function to interact with force_static_address
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=c2bf15137410

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html