* [PATCH BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set
@ 2022-10-06 22:53 Brian Gix
2022-10-07 0:22 ` [BlueZ] " bluez.test.bot
2022-10-07 15:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Brian Gix @ 2022-10-06 22:53 UTC (permalink / raw)
To: linux-bluetooth; +Cc: luiz.dentz, brian.gix, tedd.an
This change checks for the expected HCI command after Static Address
change requested.
---
tools/mgmt-tester.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 5747ab84b..7bb219953 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -4065,6 +4065,9 @@ static const struct generic_data set_static_addr_success_test = {
.expect_param = set_static_addr_settings,
.expect_len = sizeof(set_static_addr_settings),
.expect_settings_set = MGMT_SETTING_STATIC_ADDRESS,
+ .expect_hci_command = BT_HCI_CMD_LE_SET_RANDOM_ADDRESS,
+ .expect_hci_param = set_static_addr_valid_param,
+ .expect_hci_len = sizeof(set_static_addr_valid_param),
};
static const char set_static_addr_settings_dual[] = { 0x80, 0x00, 0x00, 0x00 };
@@ -4076,6 +4079,9 @@ static const struct generic_data set_static_addr_success_test_2 = {
.expect_status = MGMT_STATUS_SUCCESS,
.expect_param = set_static_addr_settings_dual,
.expect_len = sizeof(set_static_addr_settings_dual),
+ .expect_hci_command = BT_HCI_CMD_LE_SET_RANDOM_ADDRESS,
+ .expect_hci_param = set_static_addr_valid_param,
+ .expect_hci_len = sizeof(set_static_addr_valid_param),
};
static const struct generic_data set_static_addr_failure_test = {
--
2.37.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set
2022-10-06 22:53 [PATCH BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set Brian Gix
@ 2022-10-07 0:22 ` bluez.test.bot
2022-10-07 15:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2022-10-07 0:22 UTC (permalink / raw)
To: linux-bluetooth, brian.gix
[-- Attachment #1: Type: text/plain, Size: 1051 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/project/bluetooth/list/?series=683610
---Test result---
Test Summary:
CheckPatch PASS 1.44 seconds
GitLint PASS 1.03 seconds
Prep - Setup ELL PASS 31.87 seconds
Build - Prep PASS 1.06 seconds
Build - Configure PASS 10.08 seconds
Build - Make PASS 1052.67 seconds
Make Check PASS 12.72 seconds
Make Check w/Valgrind PASS 348.11 seconds
Make Distcheck PASS 286.74 seconds
Build w/ext ELL - Configure PASS 10.59 seconds
Build w/ext ELL - Make PASS 104.76 seconds
Incremental Build w/ patches PASS 0.00 seconds
Scan Build PASS 655.40 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set
2022-10-06 22:53 [PATCH BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set Brian Gix
2022-10-07 0:22 ` [BlueZ] " bluez.test.bot
@ 2022-10-07 15:10 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2022-10-07 15:10 UTC (permalink / raw)
To: Gix, Brian; +Cc: linux-bluetooth, luiz.dentz, tedd.an
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Brian Gix <brian.gix@intel.com>:
On Thu, 6 Oct 2022 15:53:26 -0700 you wrote:
> This change checks for the expected HCI command after Static Address
> change requested.
> ---
> tools/mgmt-tester.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Here is the summary with links:
- [BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fc598fa12c08
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-07 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06 22:53 [PATCH BlueZ] tools: mgmt-tester - Test for HCI cmd after static addr set Brian Gix
2022-10-07 0:22 ` [BlueZ] " bluez.test.bot
2022-10-07 15:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox