diff options
author | vincenttew <vincenttew@google.com> | 2022-02-15 13:48:46 +0800 |
---|---|---|
committer | vincenttew <vincenttew@google.com> | 2022-02-15 13:48:46 +0800 |
commit | 751036690ecd31bd8854638966b9d585ded74bbd (patch) | |
tree | 60371dcf2a827217d1dbfd98d76c87defe8363fb | |
parent | 3c3ee1e3ffe807ea6d02d81f4bc254decb42bde4 (diff) | |
download | aoc-751036690ecd31bd8854638966b9d585ded74bbd.tar.gz |
aoc: update aoc-interface.h to match the firmware 8184160
Bug: 199816070
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If951754fa869139b110f1424fdfd11578e26b502
-rw-r--r-- | aoc-interface.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/aoc-interface.h b/aoc-interface.h index 334a2ef..c529ef8 100644 --- a/aoc-interface.h +++ b/aoc-interface.h @@ -1,5 +1,5 @@ /** - * Copyright 2019-2021 Google LLC + * Copyright 2019-2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ * Autogenerated AoC interface matching AoC source code * associated with the following source code: * - * hash: 481c597935dd92cb71e1685c24b6e3f09d2edafc + * hash: 8459ca90f969a09c539f83b2365debff10f8537d * * DO NOT MODIFY THIS FILE * @@ -234,6 +234,7 @@ enum AOC_COMMAND { CMD_AUDIO_INPUT_HOTWORD_SET_NON_ERASER_GAIN_ID = 279, /* [0x0117] -> struct CMD_AUDIO_INPUT_HOTWORD_SET_NON_ERASER_GAIN */ CMD_AUDIO_OUTPUT_DEC_RESET_CURRENT_GAIN_ID = 279, /* [0x0117] -> struct CMD_HDR */ CMD_AUDIO_INPUT_SET_INCALL_MUSIC_ID = 280, /* [0x0118] -> struct CMD_AUDIO_INPUT_INCALL_MUSIC */ + CMD_USB_CONTROL_SET_OFFLOAD_STATE_ID = 280, /* [0x0118] -> struct CMD_USB_CONTROL_SET_OFFLOAD_STATE */ CMD_AUDIO_INPUT_GET_INCALL_MUSIC_ID = 281, /* [0x0119] -> struct CMD_AUDIO_INPUT_INCALL_MUSIC */ CMD_AUDIO_INPUT_GET_DSP_IDENTIFIER_ID = 282, /* [0x011a] -> struct CMD_AUDIO_INPUT_DSP_IDENTIFIER */ CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_START_ID = 283, /* [0x011b] -> struct CMD_HDR */ @@ -2220,6 +2221,16 @@ struct CMD_UDFPS_GET_CLOCK_FREQUENCY { uint8_t clock_source; /* For valid values, refer to "enum UDFPS_INPUT_SOURCE" */ } __attribute__((packed)); +/** + * Structure associated with the following commands: + * + * CMD_USB_CONTROL_SET_OFFLOAD_STATE_ID, UUID: 63c47fe2afd31670394f4c33e1de7ca5 + */ +struct CMD_USB_CONTROL_SET_OFFLOAD_STATE { + struct CMD_HDR parent; + uint8_t offloading; +} __attribute__((packed)); + struct NOTIF_HDR { struct CONTAINER_HDR parent; uint32_t id; @@ -2260,7 +2271,7 @@ static inline void AocCmdHdrSet(struct CMD_HDR * cmd, uint16_t id, uint16_t leng /** * Total number of UUID strings to check against the FW image. */ -#define AOC_UUID_ENTRIES (228) +#define AOC_UUID_ENTRIES (229) /** * UUID entry size. @@ -2365,6 +2376,7 @@ static inline int AocInterfaceCheck(const void * addr, int size) { { 0x61, 0x07, 0x6d, 0x19, 0x7a, 0xff, 0x27, 0x15, 0x50, 0x8b, 0x27, 0x6e, 0x92, 0xf0, 0x51, 0x8a}, { 0x61, 0x4e, 0x11, 0x43, 0x81, 0x77, 0x3f, 0xb2, 0xa2, 0x6e, 0x98, 0x28, 0x8f, 0x3e, 0xd7, 0xf1}, { 0x62, 0x6a, 0x82, 0x94, 0x47, 0xc5, 0x0a, 0x2a, 0x2d, 0x04, 0xc7, 0x2e, 0x50, 0x5c, 0x73, 0x32}, + { 0x63, 0xc4, 0x7f, 0xe2, 0xaf, 0xd3, 0x16, 0x70, 0x39, 0x4f, 0x4c, 0x33, 0xe1, 0xde, 0x7c, 0xa5}, { 0x63, 0xcb, 0x8f, 0x09, 0x24, 0x94, 0xb9, 0x57, 0xfc, 0xd9, 0x30, 0x39, 0xd9, 0x04, 0x61, 0x3f}, { 0x64, 0x0f, 0x83, 0x41, 0x12, 0x56, 0xc0, 0xf1, 0xf6, 0x9e, 0x9c, 0x6c, 0xbc, 0x2f, 0xa0, 0x7a}, { 0x64, 0x29, 0x89, 0x4e, 0x56, 0x11, 0x16, 0x11, 0xf0, 0x97, 0xf0, 0x00, 0xb6, 0x7b, 0x95, 0x5c}, |