Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfb6bd70 authored by Myles Watson's avatar Myles Watson
Browse files

HCI: Connect without valid clock offsets

Bug: 148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I3036f63704028f1deab038bebdfacb84dc5be6d9
parent f63ca749
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -500,8 +500,11 @@ class DirectHciTest(GdFacadeOnlyBaseTestClass):
            # DUT Connects
            self.enqueue_hci_command(
                hci_packets.CreateConnectionBuilder(
                    address, 0x11, hci_packets.PageScanRepetitionMode.R0, 0x22,
                    hci_packets.ClockOffsetValid.VALID,
                    address,
                    0xcc18,  # Packet Type
                    hci_packets.PageScanRepetitionMode.R0,
                    0,
                    hci_packets.ClockOffsetValid.INVALID,
                    hci_packets.CreateConnectionRoleSwitch.ALLOW_ROLE_SWITCH),
                False)

@@ -617,8 +620,11 @@ class DirectHciTest(GdFacadeOnlyBaseTestClass):
            # Cert Connects
            self.send_hal_hci_command(
                hci_packets.CreateConnectionBuilder(
                    address, 0x11, hci_packets.PageScanRepetitionMode.R0, 0x22,
                    hci_packets.ClockOffsetValid.VALID,
                    address,
                    0xcc18,  # Packet Type
                    hci_packets.PageScanRepetitionMode.R0,
                    0,
                    hci_packets.ClockOffsetValid.INVALID,
                    hci_packets.CreateConnectionRoleSwitch.ALLOW_ROLE_SWITCH))

            # DUT Accepts