* [PATCH BlueZ] monitor/att: Fix ASE frequency values
@ 2023-02-24 1:51 Luiz Augusto von Dentz
2023-02-24 2:36 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-02-24 1:51 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH BlueZ] monitor/att: Fix ASE frequency values
@ 2023-02-15 0:56 Luiz Augusto von Dentz
2023-02-15 2:31 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-02-15 0:56 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* RE: [BlueZ] monitor/att: Fix ASE frequency values
2023-02-15 0:56 [PATCH BlueZ] " Luiz Augusto von Dentz
@ 2023-02-15 2:31 ` bluez.test.bot
0 siblings, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-02-15 2:31 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 1160 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=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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-24 2:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 1:51 [PATCH BlueZ] monitor/att: Fix ASE frequency values Luiz Augusto von Dentz
2023-02-24 2:36 ` [BlueZ] " bluez.test.bot
-- strict thread matches above, loose matches on Subject: below --
2023-02-15 0:56 [PATCH BlueZ] " Luiz Augusto von Dentz
2023-02-15 2:31 ` [BlueZ] " bluez.test.bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.