summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryixuanjiang <yixuanjiang@google.com>2022-08-16 18:17:19 +0800
committeryixuanjiang <yixuanjiang@google.com>2022-08-16 18:45:04 +0800
commitdd2984066b2e633dbd828652faf4954e4968c5ca (patch)
tree94b93ee5d9896550c45412e7196aae29e10e285f
parentfcd8a7a7a9f582d81fe227c81f72968524aef9ce (diff)
downloadaoc-dd2984066b2e633dbd828652faf4954e4968c5ca.tar.gz
aoc: update interface to 8936392
Bug: 241281803 Signed-off-by: yixuanjiang <yixuanjiang@google.com> Change-Id: I3857aeccef96ea6fc77020ebd25e1d68ef1b221c
-rw-r--r--aoc-interface-gs101.h39
-rw-r--r--aoc-interface-gs201.h39
2 files changed, 72 insertions, 6 deletions
diff --git a/aoc-interface-gs101.h b/aoc-interface-gs101.h
index 39caea0..9f6aca9 100644
--- a/aoc-interface-gs101.h
+++ b/aoc-interface-gs101.h
@@ -18,7 +18,7 @@
* Autogenerated AoC interface matching AoC source code
* associated with the following source code:
*
- * hash: 698aaad3abc598971fbc0a9ec967a6afe1c0e91d
+ * hash: f762c741dd41b865490c274a835a38b244568aca
*
* DO NOT MODIFY THIS FILE
*
@@ -248,6 +248,7 @@ enum AOC_COMMAND {
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_DETECTED_ID = 286, /* [0x011e] -> struct CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_DETECTED */
CMD_AUDIO_OUTPUT_DECODER_GAPLESS_DEINIT_ID = 286, /* [0x011e] -> struct CMD_HDR */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_WRITE_MODEL_ID = 287, /* [0x011f] -> struct CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_WRITE_MODEL */
+ CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO_ID = 287, /* [0x011f] -> struct CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_LOAD_MODEL_ID = 288, /* [0x0120] -> struct CMD_HDR */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_UNLOAD_MODEL_ID = 289, /* [0x0121] -> struct CMD_HDR */
CMD_AUDIO_INPUT_MIC_RECORD_AP_START_PREPARE_ID = 292, /* [0x0124] -> struct CMD_HDR */
@@ -288,6 +289,7 @@ enum AOC_COMMAND {
CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL_ID = 334, /* [0x014e] -> struct CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL */
CMD_AUDIO_INPUT_MEDIA_COMMANDS_LOAD_MODEL_ID = 335, /* [0x014f] -> struct CMD_HDR */
CMD_AUDIO_INPUT_MEDIA_COMMANDS_UNLOAD_MODEL_ID = 336, /* [0x0150] -> struct CMD_HDR */
+ CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD_ID = 339, /* [0x0153] -> struct CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD */
CMD_AUDIO_INPUT_CAPTURE_INJECTION_START_ID = 340, /* [0x0154] -> struct CMD_HDR */
CMD_AUDIO_INPUT_CAPTURE_INJECTION_STOP_ID = 341, /* [0x0155] -> struct CMD_HDR */
};
@@ -1543,7 +1545,8 @@ enum AUDIO_OUTPUT_BT_A2DP_ENC_CODEC {
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_APTX,
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_APTXHD,
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_LDAC,
- AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_LC3,
+ AUDIO_OUTPUT_BT_BLE_ENC_CODEC_LC3,
+ AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_OPUS,
};
struct AUDIO_OUTPUT_BT_A2DP_ENC_CFG {
@@ -2290,6 +2293,23 @@ struct CMD_USB_CONTROL_SET_OFFLOAD_STATE {
/**
* Structure associated with the following commands:
*
+ * CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO_ID, UUID: 6390b37494f57a62cfb6e83542f5dfcf
+ */
+struct CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO {
+ struct CMD_HDR parent;
+ uint8_t enabled;
+ uint16_t bus_id;
+ uint16_t dev_num;
+ uint16_t slot_id;
+ uint16_t ep_num;
+ uint32_t max_packet;
+ uint16_t binterval;
+ uint16_t brefresh;
+} __attribute__((packed));
+
+/**
+ * Structure associated with the following commands:
+ *
* CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL_ID, UUID: a402ecdc068712ca8f84bf63c1492810
*/
struct CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL {
@@ -2321,6 +2341,17 @@ struct CMD_AUDIO_OUTPUT_DECODER_GAPLESS_METADATA {
uint32_t curr_track_padding_frames;
} __attribute__((packed));
+/**
+ * Structure associated with the following commands:
+ *
+ * CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD_ID, UUID: 7e296e0f91f03461903795096def9c26
+ */
+struct CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD {
+ struct CMD_HDR parent;
+ uint8_t enable_offload;
+ uint8_t num_mics;
+} __attribute__((packed));
+
struct NOTIF_HDR {
struct CONTAINER_HDR parent;
uint32_t id;
@@ -2361,7 +2392,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 (251)
+#define AOC_UUID_ENTRIES (253)
/**
* UUID entry size.
@@ -2476,6 +2507,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, 0x90, 0xb3, 0x74, 0x94, 0xf5, 0x7a, 0x62, 0xcf, 0xb6, 0xe8, 0x35, 0x42, 0xf5, 0xdf, 0xcf},
{ 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},
@@ -2507,6 +2539,7 @@ static inline int AocInterfaceCheck(const void * addr, int size) {
{ 0x78, 0x6a, 0xf5, 0x0b, 0x0d, 0x48, 0x61, 0x5e, 0xeb, 0x0c, 0x03, 0x7a, 0x05, 0x46, 0x2a, 0xc1},
{ 0x7b, 0x53, 0xfd, 0x0d, 0x3f, 0xf2, 0xe0, 0x5c, 0x1d, 0xc5, 0x32, 0xbd, 0xea, 0xda, 0x36, 0x62},
{ 0x7b, 0x90, 0x75, 0xe0, 0x31, 0x8e, 0xba, 0x31, 0x4f, 0x60, 0xf6, 0x2f, 0xe5, 0x3c, 0xda, 0x03},
+ { 0x7e, 0x29, 0x6e, 0x0f, 0x91, 0xf0, 0x34, 0x61, 0x90, 0x37, 0x95, 0x09, 0x6d, 0xef, 0x9c, 0x26},
{ 0x7f, 0x37, 0x83, 0xae, 0xdb, 0xae, 0x03, 0x85, 0x4d, 0x3c, 0xb2, 0x85, 0x1a, 0xa0, 0x7b, 0x40},
{ 0x7f, 0x57, 0xd7, 0xe1, 0x21, 0xe0, 0xa7, 0x2e, 0xf2, 0x3d, 0x8b, 0x87, 0x90, 0xb9, 0x01, 0x94},
{ 0x7f, 0x65, 0xb2, 0x21, 0x15, 0xbe, 0x36, 0x03, 0x89, 0xad, 0x1b, 0x84, 0xca, 0xbb, 0x6a, 0xb2},
diff --git a/aoc-interface-gs201.h b/aoc-interface-gs201.h
index e167893..c9ecb0a 100644
--- a/aoc-interface-gs201.h
+++ b/aoc-interface-gs201.h
@@ -18,7 +18,7 @@
* Autogenerated AoC interface matching AoC source code
* associated with the following source code:
*
- * hash: 698aaad3abc598971fbc0a9ec967a6afe1c0e91d
+ * hash: f762c741dd41b865490c274a835a38b244568aca
*
* DO NOT MODIFY THIS FILE
*
@@ -248,6 +248,7 @@ enum AOC_COMMAND {
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_DETECTED_ID = 286, /* [0x011e] -> struct CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_DETECTED */
CMD_AUDIO_OUTPUT_DECODER_GAPLESS_DEINIT_ID = 286, /* [0x011e] -> struct CMD_HDR */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_WRITE_MODEL_ID = 287, /* [0x011f] -> struct CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_WRITE_MODEL */
+ CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO_ID = 287, /* [0x011f] -> struct CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_LOAD_MODEL_ID = 288, /* [0x0120] -> struct CMD_HDR */
CMD_AUDIO_INPUT_AMBIENT_MUSIC_BREAK_UNLOAD_MODEL_ID = 289, /* [0x0121] -> struct CMD_HDR */
CMD_AUDIO_INPUT_MIC_RECORD_AP_START_PREPARE_ID = 292, /* [0x0124] -> struct CMD_HDR */
@@ -288,6 +289,7 @@ enum AOC_COMMAND {
CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL_ID = 334, /* [0x014e] -> struct CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL */
CMD_AUDIO_INPUT_MEDIA_COMMANDS_LOAD_MODEL_ID = 335, /* [0x014f] -> struct CMD_HDR */
CMD_AUDIO_INPUT_MEDIA_COMMANDS_UNLOAD_MODEL_ID = 336, /* [0x0150] -> struct CMD_HDR */
+ CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD_ID = 339, /* [0x0153] -> struct CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD */
CMD_AUDIO_INPUT_CAPTURE_INJECTION_START_ID = 340, /* [0x0154] -> struct CMD_HDR */
CMD_AUDIO_INPUT_CAPTURE_INJECTION_STOP_ID = 341, /* [0x0155] -> struct CMD_HDR */
};
@@ -1543,7 +1545,8 @@ enum AUDIO_OUTPUT_BT_A2DP_ENC_CODEC {
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_APTX,
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_APTXHD,
AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_LDAC,
- AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_LC3,
+ AUDIO_OUTPUT_BT_BLE_ENC_CODEC_LC3,
+ AUDIO_OUTPUT_BT_A2DP_ENC_CODEC_OPUS,
};
struct AUDIO_OUTPUT_BT_A2DP_ENC_CFG {
@@ -2290,6 +2293,23 @@ struct CMD_USB_CONTROL_SET_OFFLOAD_STATE {
/**
* Structure associated with the following commands:
*
+ * CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO_ID, UUID: 6390b37494f57a62cfb6e83542f5dfcf
+ */
+struct CMD_USB_CONTROL_SEND_FEEDBACK_EP_INFO {
+ struct CMD_HDR parent;
+ uint8_t enabled;
+ uint16_t bus_id;
+ uint16_t dev_num;
+ uint16_t slot_id;
+ uint16_t ep_num;
+ uint32_t max_packet;
+ uint16_t binterval;
+ uint16_t brefresh;
+} __attribute__((packed));
+
+/**
+ * Structure associated with the following commands:
+ *
* CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL_ID, UUID: a402ecdc068712ca8f84bf63c1492810
*/
struct CMD_AUDIO_INPUT_MEDIA_COMMANDS_WRITE_MODEL {
@@ -2321,6 +2341,17 @@ struct CMD_AUDIO_OUTPUT_DECODER_GAPLESS_METADATA {
uint32_t curr_track_padding_frames;
} __attribute__((packed));
+/**
+ * Structure associated with the following commands:
+ *
+ * CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD_ID, UUID: 7e296e0f91f03461903795096def9c26
+ */
+struct CMD_AUDIO_INPUT_HOTWORD_SET_AP_OFFLOAD {
+ struct CMD_HDR parent;
+ uint8_t enable_offload;
+ uint8_t num_mics;
+} __attribute__((packed));
+
struct NOTIF_HDR {
struct CONTAINER_HDR parent;
uint32_t id;
@@ -2361,7 +2392,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 (251)
+#define AOC_UUID_ENTRIES (253)
/**
* UUID entry size.
@@ -2476,6 +2507,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, 0x90, 0xb3, 0x74, 0x94, 0xf5, 0x7a, 0x62, 0xcf, 0xb6, 0xe8, 0x35, 0x42, 0xf5, 0xdf, 0xcf},
{ 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},
@@ -2508,6 +2540,7 @@ static inline int AocInterfaceCheck(const void * addr, int size) {
{ 0x78, 0x6a, 0xf5, 0x0b, 0x0d, 0x48, 0x61, 0x5e, 0xeb, 0x0c, 0x03, 0x7a, 0x05, 0x46, 0x2a, 0xc1},
{ 0x7b, 0x53, 0xfd, 0x0d, 0x3f, 0xf2, 0xe0, 0x5c, 0x1d, 0xc5, 0x32, 0xbd, 0xea, 0xda, 0x36, 0x62},
{ 0x7b, 0x90, 0x75, 0xe0, 0x31, 0x8e, 0xba, 0x31, 0x4f, 0x60, 0xf6, 0x2f, 0xe5, 0x3c, 0xda, 0x03},
+ { 0x7e, 0x29, 0x6e, 0x0f, 0x91, 0xf0, 0x34, 0x61, 0x90, 0x37, 0x95, 0x09, 0x6d, 0xef, 0x9c, 0x26},
{ 0x7f, 0x37, 0x83, 0xae, 0xdb, 0xae, 0x03, 0x85, 0x4d, 0x3c, 0xb2, 0x85, 0x1a, 0xa0, 0x7b, 0x40},
{ 0x7f, 0x57, 0xd7, 0xe1, 0x21, 0xe0, 0xa7, 0x2e, 0xf2, 0x3d, 0x8b, 0x87, 0x90, 0xb9, 0x01, 0x94},
{ 0x7f, 0x65, 0xb2, 0x21, 0x15, 0xbe, 0x36, 0x03, 0x89, 0xad, 0x1b, 0x84, 0xca, 0xbb, 0x6a, 0xb2},