Message ID | 20221007225527.1838767-1-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c2bf15137410c92f346ff8031bdfaa756fb8b16e |
Headers | show |
Series | [BlueZ] vhci: Add function to interact with force_static_address | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/checkpatch | success | Checkpatch PASS |
tedd_an/gitlint | success | Gitlint PASS |
tedd_an/setupell | success | Setup ELL PASS |
tedd_an/buildprep | success | Build Prep PASS |
tedd_an/build | success | Build Configuration PASS |
tedd_an/makecheck | success | Make Check PASS |
tedd_an/makecheckvalgrind | success | Make Check PASS |
tedd_an/makedistcheck | success | Make Distcheck PASS |
tedd_an/build_extell | success | Build External ELL PASS |
tedd_an/build_extell_make | success | Build Make with External ELL PASS |
tedd_an/scan_build | success | Pass |
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
Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Fri, 7 Oct 2022 15:55:27 -0700 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > 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!
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);
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> 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(+)