* [PATCH BlueZ 1/2] monitor: Fix decoding of HCI CIS Established Event
@ 2023-06-20 22:43 Luiz Augusto von Dentz
2023-06-20 22:43 ` [PATCH BlueZ 2/2] btdev: Fix CIS Establish ISO Interval Luiz Augusto von Dentz
2023-06-21 0:21 ` [BlueZ,1/2] monitor: Fix decoding of HCI CIS Established Event bluez.test.bot
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-06-20 22:43 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
The ISO Interval is actually using set using 1.25ms slots:
BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 4, Part E
page 2304:
Time = N * 1.25 ms
---
monitor/packet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/monitor/packet.c b/monitor/packet.c
index 4473fda29a46..cd567231449e 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -11557,7 +11557,7 @@ static void le_cis_established_evt(struct timeval *tv, uint16_t index,
print_field("Peripheral to Central Flush Timeout: %u", evt->p_ft);
print_field("Central to Peripheral MTU: %u", le16_to_cpu(evt->c_mtu));
print_field("Peripheral to Central MTU: %u", le16_to_cpu(evt->p_mtu));
- print_field("ISO Interval: %u", le16_to_cpu(evt->interval));
+ print_slot_125("ISO Interval", evt->interval);
}
static void le_req_cis_evt(struct timeval *tv, uint16_t index,
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH BlueZ 2/2] btdev: Fix CIS Establish ISO Interval
2023-06-20 22:43 [PATCH BlueZ 1/2] monitor: Fix decoding of HCI CIS Established Event Luiz Augusto von Dentz
@ 2023-06-20 22:43 ` Luiz Augusto von Dentz
2023-06-21 0:21 ` [BlueZ,1/2] monitor: Fix decoding of HCI CIS Established Event bluez.test.bot
1 sibling, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-06-20 22:43 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
ISO Interval is actually using 1.25 ms slots so it needs to be properly
converted.
---
emulator/btdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 462f352ea252..ad637ecb8afd 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -5977,7 +5977,7 @@ static void le_cis_estabilished(struct btdev *dev, struct btdev_conn *conn,
evt.p_ft = 0x01;
evt.c_mtu = le_cig->cis[cis_idx].c_sdu;
evt.p_mtu = le_cig->cis[cis_idx].p_sdu;
- evt.interval = le_cig->params.c_latency;
+ evt.interval = le_cig->params.c_latency / 1.25;
}
le_meta_event(dev, BT_HCI_EVT_LE_CIS_ESTABLISHED, &evt, sizeof(evt));
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ,1/2] monitor: Fix decoding of HCI CIS Established Event
2023-06-20 22:43 [PATCH BlueZ 1/2] monitor: Fix decoding of HCI CIS Established Event Luiz Augusto von Dentz
2023-06-20 22:43 ` [PATCH BlueZ 2/2] btdev: Fix CIS Establish ISO Interval Luiz Augusto von Dentz
@ 2023-06-21 0:21 ` bluez.test.bot
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-06-21 0:21 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 1451 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=758879
---Test result---
Test Summary:
CheckPatch PASS 0.73 seconds
GitLint PASS 0.52 seconds
BuildEll PASS 26.96 seconds
BluezMake PASS 786.35 seconds
MakeCheck PASS 11.94 seconds
MakeDistcheck PASS 156.16 seconds
CheckValgrind PASS 249.75 seconds
CheckSmatch WARNING 337.65 seconds
bluezmakeextell PASS 102.01 seconds
IncrementalBuild PASS 1316.00 seconds
ScanBuild PASS 1018.60 seconds
Details
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:
monitor/packet.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.monitor/packet.c:1832:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3552:52: warning: array of flexible structuresmonitor/bt.h:3540:40: warning: array of flexible structuresemulator/btdev.c:417:29: warning: Variable length array is used.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-21 0:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20 22:43 [PATCH BlueZ 1/2] monitor: Fix decoding of HCI CIS Established Event Luiz Augusto von Dentz
2023-06-20 22:43 ` [PATCH BlueZ 2/2] btdev: Fix CIS Establish ISO Interval Luiz Augusto von Dentz
2023-06-21 0:21 ` [BlueZ,1/2] monitor: Fix decoding of HCI CIS Established Event 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.