Lines Matching refs:opcode
82 static void send_command_complete(uint16_t opcode, uint8_t status, const uint8_t * result, uint16_t… in send_command_complete() argument
84 &hci_event_command_complete, /* num commands */ 1, opcode, status, len, result); in send_command_complete()
89 static void fake_command_complete(uint16_t opcode){ in fake_command_complete() argument
91 &hci_event_command_complete, /* num commands */ 1, opcode, ERROR_CODE_SUCCESS, 0, NULL); in fake_command_complete()
104 uint16_t opcode = little_endian_read_16(packet, 0); in controller_handle_hci_command() local
105 switch (opcode){ in controller_handle_hci_command()
107 fake_command_complete(opcode); in controller_handle_hci_command()
111 send_command_complete(opcode, 0, local_supported_features, 8); in controller_handle_hci_command()
114 send_command_complete(opcode, 0, read_buffer_size_result, 8); in controller_handle_hci_command()
126 send_command_complete(opcode, status, NULL, 0); in controller_handle_hci_command()
130 send_command_complete(opcode, status, NULL, 0); in controller_handle_hci_command()
134 send_command_complete(opcode, status, NULL, 0); in controller_handle_hci_command()
138 fake_command_complete(opcode); in controller_handle_hci_command()
142 fake_command_complete(opcode); in controller_handle_hci_command()
145 log_debug("CMD opcode %02x not handled yet", opcode); in controller_handle_hci_command()
147 fake_command_complete(opcode); in controller_handle_hci_command()