Lines Matching refs:opcode

114     CHECK_EQUAL(expected_hci_command->opcode, actual_opcode);  in CHECK_HCI_COMMAND()
582 static void simulate_hci_command_complete(uint16_t opcode, uint8_t status, uint8_t variant) { in simulate_hci_command_complete() argument
587 little_endian_store_16(packet, 3, opcode); in simulate_hci_command_complete()
589 switch (opcode) { in simulate_hci_command_complete()
614 uint16_t opcode; in TEST() member
618 {.opcode = HCI_OPCODE_HCI_READ_LOCAL_NAME, .status = ERROR_CODE_SUCCESS}, in TEST()
619 {.opcode = HCI_OPCODE_HCI_READ_LOCAL_NAME, .status = ERROR_CODE_UNKNOWN_HCI_COMMAND }, in TEST()
620 {.opcode = HCI_OPCODE_HCI_READ_BUFFER_SIZE, .status = ERROR_CODE_SUCCESS}, in TEST()
621 {.opcode = HCI_OPCODE_HCI_READ_RSSI, .status = ERROR_CODE_SUCCESS}, in TEST()
622 {.opcode = HCI_OPCODE_HCI_READ_RSSI, .status = ERROR_CODE_UNKNOWN_HCI_COMMAND}, in TEST()
623 {.opcode = HCI_OPCODE_HCI_LE_READ_BUFFER_SIZE }, in TEST()
624 {.opcode = HCI_OPCODE_HCI_LE_READ_BUFFER_SIZE_V2 }, in TEST()
625 {.opcode = HCI_OPCODE_HCI_LE_READ_MAXIMUM_DATA_LENGTH }, in TEST()
626 {.opcode = HCI_OPCODE_HCI_READ_LOCAL_VERSION_INFORMATION, .variants = 3}, in TEST()
630 uint16_t opcode = variations[i].opcode; in TEST() local
633 switch (opcode) { in TEST()
638 simulate_hci_command_complete(opcode, status, j); in TEST()
640 switch (opcode) { in TEST()
647 static void simulate_hci_command_status(uint16_t opcode, uint8_t status, uint8_t variant) { in simulate_hci_command_status() argument
653 little_endian_store_16(packet, 4, opcode); in simulate_hci_command_status()
654 switch (opcode) { in simulate_hci_command_status()
663 uint16_t opcode; in TEST() member
667 …{.opcode = HCI_OPCODE_HCI_LE_CREATE_CONNECTION, .status = ERROR_CODE_COMMAND_DISALLOWED, .variants… in TEST()
675 uint16_t opcode = variations[i].opcode; in TEST() local
679 switch (opcode) { in TEST()
688 simulate_hci_command_status(opcode, status, j); in TEST()
689 switch (opcode) { in TEST()