monitor: Fix invalid Create BIG Test command
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>
Fri, 21 Jul 2023 12:03:18 +0000 (14:03 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
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

index fc45f9a..343d878 100755 (executable)
@@ -2776,14 +2776,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));