diff mbox series

[BlueZ,2/4] monitor: Fix invalid Create BIG Test command

Message ID 20230721120320.147496-3-lukasz.rymanowski@codecoup.pl
State New
Headers show
Series Minor monitor changes around Broadcast | expand

Commit Message

Ɓukasz Rymanowski July 21, 2023, 12:03 p.m. UTC
From: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>

As per Bluetooth Core 5.4 Vol 4 Part E, 7.8.104,
max pdu is 2 octect long and there is no adv_handle before encyption
flag
---
 monitor/bt.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index 131024e46..ea24a076e 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2777,14 +2777,13 @@  struct bt_hci_bis_test {
 	uint16_t iso_interval;
 	uint8_t  nse;
 	uint16_t sdu;
-	uint8_t  pdu;
+	uint16_t  pdu;
 	uint8_t  phy;
 	uint8_t  packing;
 	uint8_t  framing;
 	uint8_t  bn;
 	uint8_t  irc;
 	uint8_t  pto;
-	uint8_t  adv_handle;
 	uint8_t  encryption;
 	uint8_t  bcode[16];
 } __attribute__ ((packed));