summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryixuanjiang <yixuanjiang@google.com>2022-01-26 18:08:17 +0800
committeryixuanjiang <yixuanjiang@google.com>2022-02-10 10:20:53 +0800
commit0344df5d9441d03d958649b7bf5ec72110e06ff7 (patch)
tree78089e8b22d0dbd1c728cec989141325145e2bd6
parente2dcfdd9891a3256a0a564a46833d78eca1c61d0 (diff)
downloadaoc-android-gs-raviole-5.10-t-preview-2.tar.gz
aoc: update the aoc-interface.h to firmware 8162920android-t-preview-2_r0.4android-gs-raviole-5.10-t-preview-2
Bug: 200886885 Signed-off-by: yixuanjiang <yixuanjiang@google.com> Change-Id: I1b0e41008f5ccabe30310048fb0fee10bcfd40ea
-rw-r--r--aoc-interface.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/aoc-interface.h b/aoc-interface.h
index 4464e7d..32d5981 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: 66d40dbea0ed70924d487616e4531305b67cdd8e
+ * hash: 3a3975e33c355dd75dd82d5dfd332c57f0fcab14
*
* 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 */
@@ -2253,6 +2254,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;
@@ -2293,7 +2304,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 (231)
+#define AOC_UUID_ENTRIES (232)
/**
* UUID entry size.
@@ -2399,6 +2410,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},