2023-02-15 00:56:34

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: [PATCH BlueZ] monitor/att: Fix ASE frequency values

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

This fixes the printed hex value of some of the frequencies.
---
monitor/att.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/monitor/att.c b/monitor/att.c
index 05784e9f46c4..f9643b333b32 100644
--- a/monitor/att.c
+++ b/monitor/att.c
@@ -890,31 +890,31 @@ static void ase_decode_freq(const uint8_t *data, uint8_t len)
print_field(" Sampling Frequency: 22.05 Khz (0x04)");
break;
case 0x05:
- print_field(" Sampling Frequency: 24 Khz (0x04)");
+ print_field(" Sampling Frequency: 24 Khz (0x05)");
break;
case 0x06:
- print_field(" Sampling Frequency: 32 Khz (0x04)");
+ print_field(" Sampling Frequency: 32 Khz (0x06)");
break;
case 0x07:
- print_field(" Sampling Frequency: 44.1 Khz (0x04)");
+ print_field(" Sampling Frequency: 44.1 Khz (0x07)");
break;
case 0x08:
- print_field(" Sampling Frequency: 48 Khz (0x04)");
+ print_field(" Sampling Frequency: 48 Khz (0x08)");
break;
case 0x09:
- print_field(" Sampling Frequency: 88.2 Khz (0x04)");
+ print_field(" Sampling Frequency: 88.2 Khz (0x09)");
break;
case 0x0a:
- print_field(" Sampling Frequency: 96 Khz (0x04)");
+ print_field(" Sampling Frequency: 96 Khz (0x0a)");
break;
case 0x0b:
- print_field(" Sampling Frequency: 176.4 Khz (0x04)");
+ print_field(" Sampling Frequency: 176.4 Khz (0x0b)");
break;
case 0x0c:
- print_field(" Sampling Frequency: 192 Khz (0x04)");
+ print_field(" Sampling Frequency: 192 Khz (0x0c)");
break;
case 0x0d:
- print_field(" Sampling Frequency: 384 Khz (0x04)");
+ print_field(" Sampling Frequency: 384 Khz (0x0d)");
break;
default:
print_field(" Sampling Frequency: RFU (0x%2.2x)", value);
--
2.37.3



2023-02-15 02:31:11

by bluez.test.bot

[permalink] [raw]
Subject: RE: [BlueZ] monitor/att: Fix ASE frequency values

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

---Test result---

Test Summary:
CheckPatch PASS 0.36 seconds
GitLint PASS 0.24 seconds
BuildEll PASS 34.10 seconds
BluezMake PASS 1196.15 seconds
MakeCheck PASS 12.62 seconds
MakeDistcheck PASS 197.54 seconds
CheckValgrind PASS 322.15 seconds
CheckSmatch WARNING 437.05 seconds
bluezmakeextell PASS 130.74 seconds
IncrementalBuild PASS 996.10 seconds
ScanBuild PASS 1420.39 seconds

Details
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:
monitor/att.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.


---
Regards,
Linux Bluetooth

2023-02-15 23:50:22

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH BlueZ] monitor/att: Fix ASE frequency values

Hello:

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

On Tue, 14 Feb 2023 16:56:29 -0800 you wrote:
> From: Luiz Augusto von Dentz <[email protected]>
>
> This fixes the printed hex value of some of the frequencies.
> ---
> monitor/att.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)

Here is the summary with links:
- [BlueZ] monitor/att: Fix ASE frequency values
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=aa50506c9f40

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