From d5e69f90b24fc52424828f2fcef3b61a16e1d6b5 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Fri, 6 Dec 2024 17:15:38 +0800 Subject: [PATCH] =?utf8?q?=E6=94=B9=E5=96=844G=E9=80=9A=E8=AF=9D=E7=A0=B4?= =?utf8?q?=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../audio/vendor/aw88166/aw88166.c | 5 +- .../config/aw88166/mono/16bit/aw_params.h | 252 +++++++++++++++--- .../driver/audio/include/soc_uapi_sound.h | 1 + .../driver/audio/source/drv/aoe/drv_ao.c | 24 +- .../plugins/brandy/modem/modem_sub_port.c | 2 +- 5 files changed, 236 insertions(+), 48 deletions(-) diff --git a/code/sdk/application/audio/vendor/aw88166/aw88166.c b/code/sdk/application/audio/vendor/aw88166/aw88166.c index 8a01b7118..4051651e4 100755 --- a/code/sdk/application/audio/vendor/aw88166/aw88166.c +++ b/code/sdk/application/audio/vendor/aw88166/aw88166.c @@ -263,8 +263,9 @@ td_s32 audio_aw88166_set_aef_profile(uapi_snd_aef_profile aef_profile) /* awinic:set mode "Receiver"/"Music", "aw_params.h" contains id information */ if (aef_profile == UAPI_SND_AEF_PROFILE_VOIP) { /* awinic:set mode "Receiver" */ - // ret = aw883xx_set_profile_byname(AW_DEV_0, "Receiver"); - ret = aw883xx_set_profile_byname(AW_DEV_0, "Music"); //所有通路用同一套参数。解决打电话音量小的问题。 + ret = aw883xx_set_profile_byname(AW_DEV_0, "Receiver"); //所有通路用同一套参数。解决打电话音量小的问题。 + }else if (aef_profile == UAPI_SND_AEF_PROFILE_VOIP_CAT1) { + ret = aw883xx_set_profile_byname(AW_DEV_0, "ReceiverCat1"); //所有通路用同一套参数。解决打电话音量小的问题。 } else { /* awinic:set mode "Music" */ ret = aw883xx_set_profile_byname(AW_DEV_0, "Music"); diff --git a/code/sdk/application/audio/vendor/aw88166/config/aw88166/mono/16bit/aw_params.h b/code/sdk/application/audio/vendor/aw88166/config/aw88166/mono/16bit/aw_params.h index 0de0c14ac..19b7c7c4b 100755 --- a/code/sdk/application/audio/vendor/aw88166/config/aw88166/mono/16bit/aw_params.h +++ b/code/sdk/application/audio/vendor/aw88166/config/aw88166/mono/16bit/aw_params.h @@ -52,7 +52,7 @@ const unsigned char dev0_Music_dsp_cfg[] = { 0x00,0x96,0x00,0x64,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x00,0x00,0x08,0x00,0x14, 0x00,0x08,0x00,0x0f,0x03,0x33,0x00,0x7b,0x02,0x66,0x0a,0xab,0x30,0x00,0x00,0x00, 0x00,0x00,0xf2,0x61,0x0d,0x1b,0x00,0x00,0x0d,0x1b,0x00,0x00,0x01,0x5d,0x00,0x00, -0x00,0xaf,0x00,0x00,0xfb,0xff,0x5c,0x87,0x71,0x4b,0x00,0x00,0x8c,0xd2,0x01,0xe2, +0x00,0xaf,0x00,0x00,0xfb,0xff,0x5c,0x87,0x31,0x4b,0x00,0x00,0x8c,0xd2,0x01,0xe2, 0xe6,0x5b,0xfc,0x3a,0x8c,0xd2,0x01,0xe2,0x67,0xa3,0x03,0xc3,0x34,0x59,0xfe,0x39, 0x00,0x00,0x02,0x00,0x5d,0x0d,0xfc,0x55,0xc0,0x57,0x01,0xe3,0xa2,0xf3,0x03,0xaa, 0x3f,0xa9,0xfe,0x1c,0x00,0x00,0x02,0x00,0x0f,0x36,0xfd,0x35,0x99,0x93,0x01,0x0e, @@ -65,14 +65,14 @@ const unsigned char dev0_Music_dsp_cfg[] = { 0x00,0x00,0x02,0x00,0x86,0xdf,0x03,0xe2,0xe9,0x09,0xfe,0x1b,0x16,0xf7,0x01,0xe4, 0x79,0x21,0xfc,0x1d,0x00,0x00,0x02,0x00,0x86,0xdf,0x03,0xe2,0xe9,0x09,0xfe,0x1b, 0x0d,0x95,0x01,0xff,0xe4,0xd5,0xfc,0x01,0x0d,0x95,0x01,0xff,0x1a,0xb8,0x03,0xfe, -0xe4,0x62,0xfe,0x01,0x84,0x89,0x01,0xf6,0xf6,0xef,0xfc,0x12,0x84,0x89,0x01,0xf6, -0xdc,0xfa,0x03,0xec,0xca,0xd8,0xfe,0x12,0x5e,0x86,0x01,0xeb,0x42,0xf3,0xfc,0x29, -0x5e,0x86,0x01,0xeb,0xaf,0x6f,0x03,0xd5,0x35,0x55,0xfe,0x28,0xfb,0x1d,0x02,0x80, -0xb5,0xaf,0xfb,0x38,0xd5,0x1a,0x02,0x48,0x6f,0x3f,0x03,0xcb,0x0a,0xda,0xfe,0x32, -0xf4,0xd5,0x01,0xbc,0x60,0x5d,0xfe,0xed,0xab,0x6c,0x01,0x10,0x9f,0xa3,0x01,0x12, -0x5f,0xbe,0xff,0x32,0xb0,0x40,0x01,0x8a,0x38,0xaf,0xff,0xad,0x80,0xbb,0x00,0xef, -0xc7,0x51,0x00,0x52,0xcf,0x05,0xff,0x85,0x0c,0x6e,0x01,0xb3,0xb2,0x93,0x00,0x27, -0xeb,0x2a,0x00,0xab,0x4d,0x6d,0xff,0xd8,0x08,0x68,0xff,0xa1,0x00,0x00,0x00,0x00, +0xe4,0x62,0xfe,0x01,0xdf,0x12,0x01,0xf8,0x41,0xdb,0xfc,0x0e,0xdf,0x12,0x01,0xf8, +0xa5,0x3a,0x03,0xf1,0x28,0xf1,0xfe,0x0e,0x9b,0x5e,0x01,0xf5,0xc9,0x43,0xfc,0x14, +0x9b,0x5e,0x01,0xf5,0xf1,0xf7,0x03,0xea,0x84,0x7e,0xfe,0x14,0x4e,0x44,0x02,0x81, +0xc3,0x2c,0xfb,0x32,0x06,0xc9,0x02,0x4e,0x33,0xe7,0x03,0xd0,0xb3,0xe1,0xfe,0x2d, +0x10,0xfd,0x01,0xa5,0x0a,0xfc,0xff,0x2c,0x55,0x56,0x00,0xee,0xf5,0x04,0x00,0xd3, +0x99,0xad,0xff,0x6c,0xf5,0xe8,0x01,0x5a,0x67,0x65,0xff,0x96,0x4e,0xa8,0x00,0xc2, +0x98,0x9b,0x00,0x69,0xbb,0x6f,0xff,0xe2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, @@ -81,11 +81,11 @@ const unsigned char dev0_Music_dsp_cfg[] = { 0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb,0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46, 0x79,0x2d,0x01,0xf8,0x0d,0xa5,0xfc,0x0f,0x79,0x2d,0x01,0xf8,0xd6,0x07,0x03,0xf0, 0xf1,0x52,0xfe,0x0e,0x74,0x93,0x01,0xdb,0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb, -0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x53,0xd7,0x01,0xfd,0xa0,0xcb,0xfc,0x21, -0xce,0xfc,0x01,0xe1,0x36,0xdb,0x03,0xde,0xb4,0xd4,0xfe,0x20,0x00,0x00,0x02,0x00, -0xcb,0x72,0xfc,0x09,0x57,0x67,0x01,0xf9,0x34,0x8e,0x03,0xf6,0xa8,0x99,0xfe,0x06, -0x59,0xba,0x01,0xcf,0x32,0x7a,0xfd,0x5e,0xf7,0xea,0x01,0x09,0x67,0xfc,0x02,0xf7, -0x13,0xe5,0xfe,0xd1,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16,0x58,0xf5,0x01,0xea, +0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16, +0x58,0xf5,0x01,0xea,0x69,0x96,0x03,0xe9,0xa7,0x0b,0xfe,0x15,0x7f,0xfb,0x02,0xc6, +0x5a,0x4b,0xfa,0xf9,0x7f,0xae,0x02,0x46,0xf2,0xf5,0x03,0x8d,0xb3,0x17,0xfe,0x6b, +0x00,0x00,0x02,0x00,0x73,0x84,0xfd,0x17,0xe4,0xcf,0x01,0x25,0x8c,0x7c,0x02,0xe8, +0x1b,0x31,0xfe,0xda,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16,0x58,0xf5,0x01,0xea, 0x69,0x96,0x03,0xe9,0xa7,0x0b,0xfe,0x15,0xeb,0x59,0x01,0xff,0x07,0xea,0xfc,0x02, 0x3f,0x2e,0x01,0xfe,0xf8,0x16,0x03,0xfd,0xd5,0x79,0xfe,0x01,0xe6,0x83,0x01,0xff, 0x87,0xbb,0xfc,0x03,0x1d,0xb4,0x01,0xfd,0x78,0x45,0x03,0xfc,0xfb,0xc9,0xfe,0x02, @@ -145,8 +145,8 @@ const unsigned char dev0_Music_dsp_cfg[] = { 0x0d,0x0d,0x0d,0x0d,0x0c,0x0c,0x0b,0x0b,0x0a,0x0a,0x0a,0x0a,0xd5,0x00,0x03,0x00, 0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd5,0x00,0x00,0x00, 0x02,0x80,0x00,0x00,0x06,0xce,0x00,0x00,0x06,0xce,0x00,0x00,0xd5,0x00,0x03,0x00, -0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd8,0x00,0x0b,0x00, -0x06,0x00,0x00,0x4e,0x00,0xaf,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0x0c,0x00,0x00, +0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd8,0x00,0x0a,0x00, +0x06,0x00,0x00,0x47,0x00,0xaf,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0x0c,0x00,0x00, 0xfe,0xab,0x02,0x80,0xff,0xde,0xf5,0x00,0x00,0x3c,0x00,0x00,0x11,0x11,0x00,0x01, 0x00,0x1e,0x00,0x00,0xee,0xef,0xff,0xfe,0x00,0x2d,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xc9,0x02,0xb8,0x02,0xa7,0x02,0x96, @@ -156,15 +156,15 @@ const unsigned char dev0_Music_dsp_cfg[] = { 0x01,0x00,0xff,0x00,0xfd,0x00,0xfb,0x00,0x0b,0x0c,0x09,0x0a,0x07,0x08,0x07,0x07, 0x00,0x00,0xff,0xc0,0xff,0x80,0xff,0x40,0xff,0x00,0xfe,0xc0,0xfe,0x80,0xfe,0x40, 0xfe,0x00,0xfe,0x00,0xfe,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0xfe,0x80,0xfe,0x80, -0xfd,0x00,0xfd,0x00,0xfa,0x00,0xfa,0x00,0x14,0x00,0x08,0x00,0x01,0x9a,0x00,0x00, +0xfd,0x00,0xfd,0x00,0xfa,0x00,0xfa,0x00,0x00,0x00,0x10,0x00,0x01,0x9a,0x00,0x00, 0x16,0x0d,0x00,0x00,0x2c,0x19,0x00,0x00,0x16,0x0d,0x00,0x00,0x0b,0xba,0x03,0xed, 0x9c,0x13,0xfe,0x12,0xa2,0xcd,0x01,0xfd,0xba,0x66,0xfc,0x04,0xa2,0xcd,0x01,0xfd, 0x42,0xce,0x03,0xfb,0xb7,0x9b,0xfe,0x04,0x3b,0x53,0x00,0x00,0x76,0xa5,0x00,0x00, 0x3b,0x53,0x00,0x00,0xbb,0x3d,0x03,0xe0,0x57,0x78,0xfe,0x1e,0x58,0x36,0x01,0xfa, 0x4f,0x94,0xfc,0x0b,0x58,0x36,0x01,0xfa,0xa0,0x6e,0x03,0xf4,0x3f,0x96,0xfe,0x0b, 0x00,0x0a,0x00,0x1b,0x05,0xdc,0x00,0x00,0x00,0x0a,0x00,0x16,0x02,0xee,0x00,0x00, -0x00,0x0f,0x00,0xc9,0x06,0x24,0x00,0x01,0x0f,0xac,0x00,0x00,0xf5,0xd0,0x62,0xcc, -0x16,0xa8,0x7e,0x63, +0x00,0x0f,0x00,0xc9,0x06,0x24,0x00,0x01,0x0f,0xac,0x00,0x00,0xf5,0xd0,0xc1,0xe5, +0xd7,0x45,0x53,0x11, }; const unsigned char dev0_dsp_fw[] = { @@ -469,7 +469,7 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0x00,0x96,0x00,0x64,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x00,0x00,0x08,0x00,0x14, 0x00,0x08,0x00,0x0f,0x03,0x33,0x00,0x7b,0x02,0x66,0x0a,0xab,0x30,0x00,0x00,0x00, 0x00,0x00,0xf6,0xf2,0x0d,0x1b,0x00,0x00,0x0d,0x1b,0x00,0x00,0x01,0x5d,0x00,0x00, -0x00,0xaf,0x00,0x00,0xfb,0xff,0x5c,0x87,0x01,0x4b,0x00,0x00,0x8c,0xd2,0x01,0xe2, +0x00,0xaf,0x00,0x00,0xfb,0xff,0x5c,0x87,0x11,0x4b,0x00,0x00,0x8c,0xd2,0x01,0xe2, 0xe6,0x5b,0xfc,0x3a,0x8c,0xd2,0x01,0xe2,0x67,0xa3,0x03,0xc3,0x34,0x59,0xfe,0x39, 0x00,0x00,0x02,0x00,0x5d,0x0d,0xfc,0x55,0xc0,0x57,0x01,0xe3,0xa2,0xf3,0x03,0xaa, 0x3f,0xa9,0xfe,0x1c,0x00,0x00,0x02,0x00,0x0f,0x36,0xfd,0x35,0x99,0x93,0x01,0x0e, @@ -483,11 +483,11 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0x79,0x21,0xfc,0x1d,0x00,0x00,0x02,0x00,0x86,0xdf,0x03,0xe2,0xe9,0x09,0xfe,0x1b, 0x0d,0x95,0x01,0xff,0xe4,0xd5,0xfc,0x01,0x0d,0x95,0x01,0xff,0x1a,0xb8,0x03,0xfe, 0xe4,0x62,0xfe,0x01,0x84,0x89,0x01,0xf6,0xf6,0xef,0xfc,0x12,0x84,0x89,0x01,0xf6, -0xdc,0xfa,0x03,0xec,0xca,0xd8,0xfe,0x12,0xea,0x53,0x01,0xd8,0x2b,0x5b,0xfc,0x4e, -0xea,0x53,0x01,0xd8,0xe5,0xb4,0x03,0xae,0x3c,0x6a,0xfe,0x4b,0xf9,0xd3,0x00,0x4b, -0xf3,0xa5,0x00,0x97,0xf9,0xd3,0x00,0x4b,0x8a,0xac,0x01,0x4c,0x8e,0x09,0xff,0x83, -0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, -0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0xdc,0xfa,0x03,0xec,0xca,0xd8,0xfe,0x12,0x8a,0xc2,0x01,0xe9,0xea,0x7d,0xfc,0x2c, +0x8a,0xc2,0x01,0xe9,0x1d,0xf9,0x03,0xd2,0xf2,0xf2,0xfe,0x2b,0xd2,0x30,0x00,0x31, +0xa4,0x5f,0x00,0x63,0xd2,0x30,0x00,0x31,0x1d,0x51,0x01,0xe1,0x99,0xf1,0xff,0x57, +0x92,0x5a,0x01,0x7d,0x66,0x3d,0xfd,0xfb,0x43,0xc0,0x00,0xce,0x69,0x58,0x02,0xe8, +0x5a,0x51,0xfe,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, @@ -498,8 +498,8 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb,0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46, 0x79,0x2d,0x01,0xf8,0x0d,0xa5,0xfc,0x0f,0x79,0x2d,0x01,0xf8,0xd6,0x07,0x03,0xf0, 0xf1,0x52,0xfe,0x0e,0x74,0x93,0x01,0xdb,0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb, -0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x48,0x02,0x01,0xfb,0x9b,0x5f,0xfc,0x25, -0xdf,0x74,0x01,0xdf,0x18,0xd0,0x03,0xda,0x8c,0xb9,0xfe,0x24,0x00,0x00,0x02,0x00, +0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x00,0x00,0x02,0x00,0x6e,0x77,0xfc,0x1c, +0x56,0x2e,0x01,0xe4,0x91,0x89,0x03,0xe3,0xa9,0xd2,0xfe,0x1b,0x00,0x00,0x02,0x00, 0xcb,0x72,0xfc,0x09,0x57,0x67,0x01,0xf9,0x34,0x8e,0x03,0xf6,0xa8,0x99,0xfe,0x06, 0x00,0x00,0x02,0x00,0xcb,0x72,0xfc,0x09,0x57,0x67,0x01,0xf9,0x34,0x8e,0x03,0xf6, 0xa8,0x99,0xfe,0x06,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16,0x58,0xf5,0x01,0xea, @@ -516,7 +516,7 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0x06,0xce,0x00,0x00,0x08,0x7f,0x00,0x00,0x9c,0x8b,0x00,0x00,0x80,0xa4,0x00,0x00, 0xf4,0xbc,0x00,0x00,0x80,0xa4,0x00,0x00,0x00,0x06,0x00,0x00,0x02,0x80,0x03,0xcd, 0x06,0x66,0xf2,0x66,0xf2,0x66,0x00,0x00,0x04,0x8a,0x00,0x00,0x01,0x4d,0x00,0x00, -0x00,0x06,0x00,0x00,0x02,0x80,0x00,0xcd,0x06,0x66,0xc9,0x00,0xc9,0x00,0x00,0x00, +0x00,0x06,0x00,0x00,0x02,0x80,0x00,0xcd,0x06,0x66,0xba,0x00,0xba,0x00,0x00,0x00, 0x0d,0x90,0x00,0x00,0x7f,0xd3,0x00,0x00,0x00,0x1e,0x00,0x00,0x02,0x80,0x02,0xf3, 0x06,0x66,0xfa,0x00,0xfa,0x00,0x00,0x00,0x1c,0x0e,0x00,0x00,0x06,0xce,0x00,0x00, 0x00,0x1e,0x00,0x00,0x04,0x00,0x03,0x00,0x04,0x00,0xfa,0x00,0xfa,0x00,0x00,0x00, @@ -561,9 +561,9 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0xc8,0x2d,0xfc,0x12,0x9b,0xea,0x01,0xf6,0x0b,0xba,0x03,0xed,0x9c,0x13,0xfe,0x12, 0x0d,0x0d,0x0d,0x0d,0x0c,0x0c,0x0b,0x0b,0x0a,0x0a,0x0a,0x0a,0xd5,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd5,0x00,0x00,0x00, -0x02,0x80,0x00,0x00,0x06,0xce,0x00,0x00,0x06,0xce,0x00,0x00,0xd5,0x00,0x03,0x00, -0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd8,0x00,0x09,0x00, -0x06,0x00,0x00,0x40,0x00,0xaf,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0x0c,0x00,0x00, +0x02,0x80,0x00,0x00,0x06,0xce,0x00,0x00,0x06,0xce,0x00,0x00,0xd5,0x00,0x00,0x00, +0x03,0x00,0x00,0x00,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd8,0x00,0x03,0x00, +0x06,0x00,0x00,0x15,0x00,0xaf,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0x0c,0x00,0x00, 0xfe,0xab,0x02,0x80,0xff,0xde,0xf5,0x00,0x00,0x3c,0x00,0x00,0x11,0x11,0x00,0x01, 0x00,0x1e,0x00,0x00,0xee,0xef,0xff,0xfe,0x00,0x2d,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xc9,0x02,0xb8,0x02,0xa7,0x02,0x96, @@ -573,15 +573,178 @@ const unsigned char dev0_Receiver_dsp_cfg[] = { 0x01,0x00,0xff,0x00,0xfd,0x00,0xfb,0x00,0x0b,0x0c,0x09,0x0a,0x07,0x08,0x07,0x07, 0x00,0x00,0xff,0xc0,0xff,0x80,0xff,0x40,0xff,0x00,0xfe,0xc0,0xfe,0x80,0xfe,0x40, 0xfe,0x00,0xfe,0x00,0xfe,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0xfe,0x80,0xfe,0x80, -0xfd,0x00,0xfd,0x00,0xfa,0x00,0xfa,0x00,0x08,0x00,0x08,0x00,0x01,0x9a,0x00,0x00, -0xa1,0x9e,0x00,0x01,0x43,0x3d,0x00,0x03,0xa1,0x9e,0x00,0x01,0x0f,0x40,0x03,0xab, -0x6a,0x46,0xfe,0x4e,0x58,0xe2,0x01,0xf2,0x4e,0x3c,0xfc,0x1b,0x58,0xe2,0x01,0xf2, +0xfd,0x00,0xfd,0x00,0xfa,0x00,0xfa,0x00,0x00,0x00,0x08,0x00,0x01,0x9a,0x00,0x00, +0x01,0x4b,0x00,0x02,0x02,0x97,0x00,0x04,0x01,0x4b,0x00,0x02,0x74,0x63,0x03,0xa1, +0x86,0x6f,0xfe,0x56,0x58,0xe2,0x01,0xf2,0x4e,0x3c,0xfc,0x1b,0x58,0xe2,0x01,0xf2, 0x54,0x8d,0x03,0xe4,0xf1,0x05,0xfe,0x1a,0x5d,0xc9,0x00,0x01,0xbb,0x93,0x00,0x02, 0x5d,0xc9,0x00,0x01,0x81,0xc2,0x03,0xb2,0x07,0x18,0xfe,0x48,0xcf,0xf2,0x01,0xe6, 0x60,0x1b,0xfc,0x32,0xcf,0xf2,0x01,0xe6,0x62,0x7e,0x03,0xcc,0x22,0xb4,0xfe,0x31, 0x00,0x0a,0x00,0x1b,0x05,0xdc,0x00,0x00,0x00,0x0a,0x00,0x16,0x02,0xee,0x00,0x00, -0x00,0x0f,0x00,0xc9,0x06,0x24,0x00,0x01,0x0f,0xac,0x00,0x00,0xf5,0xd0,0xd6,0xab, -0x12,0xb2,0x07,0x7e, +0x00,0x0f,0x00,0xc9,0x06,0x24,0x00,0x01,0x0f,0xac,0x00,0x00,0xf5,0xd0,0xb1,0x44, +0xb3,0x80,0xc4,0x7c, +}; + +const unsigned char dev0_Cat1_Receiver_reg[] = { +0x03,0x00,0xff,0xff,0x04,0x00,0x40,0x56,0x05,0x00,0x00,0x80,0x06,0x00,0x08,0x0c, +0x07,0x00,0x10,0x00,0x08,0x00,0x08,0x2e,0x09,0x00,0x6a,0x5f,0x0a,0x00,0x30,0x00, +0x0b,0x00,0xe0,0x01,0x0c,0x00,0x64,0x1c,0x0d,0x00,0x1b,0x00,0x0e,0x00,0x05,0x2a, +0x0f,0x00,0x05,0x74,0x10,0x00,0x0b,0xca,0x11,0x00,0xaf,0xa1,0x12,0x00,0xf0,0x08, +0x13,0x00,0x10,0x16,0x14,0x00,0x00,0x37,0x15,0x00,0xba,0x86,0x16,0x00,0xba,0x86, +0x17,0x00,0x12,0x44,0x18,0x00,0x0f,0x90,0x38,0x00,0x00,0x04,0x43,0x00,0x00,0x00, +0x44,0x00,0x00,0x00,0x47,0x00,0xa0,0x00,0x4a,0x00,0x00,0x10,0x4b,0x00,0xac,0x08, +0x50,0x00,0xe8,0x00,0x51,0x00,0x08,0x3f,0x52,0x00,0x02,0x00,0x53,0x00,0x02,0x38, +0x54,0x00,0x81,0x94,0x55,0x00,0xa1,0x41,0x56,0x00,0x80,0x07,0x57,0x00,0x08,0x10, +0x58,0x00,0x30,0xab,0x59,0x00,0x12,0x80,0x5a,0x00,0x00,0x90,0x5b,0x00,0x00,0x20, +0x5c,0x00,0x00,0x22,0x5d,0x00,0x00,0x22,0x5e,0x00,0x00,0x22,0x5f,0x00,0x00,0x00, +0x60,0x00,0x1a,0x1c,0x61,0x00,0x79,0x5b,0x62,0x00,0x40,0x64,0x63,0x00,0x04,0xf0, +0x64,0x00,0x98,0x80,0x65,0x00,0x8f,0x6a,0x66,0x00,0x1d,0x6b,0x67,0x00,0x19,0x41, +0x68,0x00,0x41,0xd8,0x69,0x00,0xa6,0x6c,0x6a,0x00,0x65,0x1d,0x6b,0x00,0x5c,0xc2, +0x6c,0x00,0x41,0x78,0x6d,0x00,0x09,0x00, +}; + +const unsigned char dev0_Cat1_Receiver_dsp_cfg[] = { +0x00,0x3c,0x00,0x00,0x02,0x80,0x00,0x00,0x06,0x66,0x00,0x00,0xf8,0xf5,0x00,0x00, +0x35,0x7d,0x00,0x00,0x01,0xb5,0x00,0x00,0x00,0x3c,0x00,0x00,0x01,0x00,0x00,0x00, +0x10,0x00,0x00,0x00,0xfd,0x65,0x00,0x00,0x35,0x7d,0x00,0x00,0x01,0xb0,0x00,0x00, +0x56,0xbf,0x00,0x19,0xad,0x7f,0x00,0x32,0x56,0xbf,0x00,0x19,0x2b,0xfb,0x02,0x8f, +0x79,0x07,0xff,0x0b,0x56,0xbf,0x00,0x19,0xad,0x7f,0x00,0x32,0x56,0xbf,0x00,0x19, +0x2b,0xfb,0x02,0x8f,0x79,0x07,0xff,0x0b,0x00,0x00,0x00,0x00,0x8f,0x02,0x00,0x06, +0x98,0x7a,0xff,0xf4,0x19,0xe9,0x03,0xc1,0xdd,0xfa,0xfe,0x3e,0x4f,0xe2,0x11,0x5a, +0x00,0x00,0xe0,0x00,0xb6,0x22,0x0e,0xa6,0x8b,0xc0,0x02,0x18,0xa7,0x58,0xff,0x07, +0x8c,0xa6,0x00,0x46,0x37,0xa6,0xff,0x96,0x6b,0xd9,0x00,0x98,0x0a,0x5e,0x03,0x5c, +0x58,0xfe,0xfe,0x76,0x7a,0x20,0x87,0xa1,0xe5,0x74,0x00,0x01,0x00,0x00,0x00,0x00, +0x02,0xee,0x0b,0xb8,0x01,0xe5,0x00,0x00,0x00,0x02,0x05,0xdc,0x00,0x19,0x01,0xe0, +0x00,0x00,0x01,0x00,0x00,0x00,0x08,0x00,0x00,0x05,0x3c,0xcd,0xfb,0x11,0x00,0x0f, +0xc8,0xfb,0x00,0x00,0x00,0x07,0x00,0x1f,0x07,0x5f,0x02,0x49,0x7e,0x14,0x00,0x00, +0x00,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x12,0x62,0x08,0xa4,0x00,0x01,0x09,0x9a, +0x0f,0xae,0x20,0x00,0x00,0x29,0xef,0x9b,0x0b,0x13,0x10,0x73,0x00,0x3e,0x05,0x19, +0x10,0x00,0x00,0x00,0x00,0x00,0x17,0x70,0x00,0x3e,0x00,0x00,0x00,0x00,0x02,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x52,0x9a,0x00,0x04,0xa5,0x34,0x00,0x08,0x52,0x9a,0x00,0x04,0x92,0xca,0x03,0x72, +0x22,0xcf,0xfe,0x7c,0x52,0x9a,0x00,0x04,0xa5,0x34,0x00,0x08,0x52,0x9a,0x00,0x04, +0x92,0xca,0x03,0x72,0x22,0xcf,0xfe,0x7c,0x52,0x9a,0x00,0x04,0xa5,0x34,0x00,0x08, +0x52,0x9a,0x00,0x04,0x92,0xca,0x03,0x72,0x22,0xcf,0xfe,0x7c,0x52,0x9a,0x00,0x04, +0xa5,0x34,0x00,0x08,0x52,0x9a,0x00,0x04,0x92,0xca,0x03,0x72,0x22,0xcf,0xfe,0x7c, +0x52,0x9a,0x00,0x04,0xa5,0x34,0x00,0x08,0x52,0x9a,0x00,0x04,0x92,0xca,0x03,0x72, +0x22,0xcf,0xfe,0x7c,0x52,0x9a,0x00,0x04,0xa5,0x34,0x00,0x08,0x52,0x9a,0x00,0x04, +0x92,0xca,0x03,0x72,0x22,0xcf,0xfe,0x7c,0x00,0x06,0x00,0x00,0x01,0x00,0x04,0x00, +0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0xaf,0x00,0x00, +0x00,0x96,0x00,0x64,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x00,0x00,0x08,0x00,0x14, +0x00,0x08,0x00,0x0f,0x03,0x33,0x00,0x7b,0x02,0x66,0x0a,0xab,0x30,0x00,0x00,0x00, +0x00,0x00,0xf2,0x61,0x0d,0x1b,0x00,0x00,0x0d,0x1b,0x00,0x00,0x01,0x5d,0x00,0x00, +0x00,0xaf,0x00,0x00,0xfb,0xff,0x5c,0x87,0x01,0x4b,0x00,0x00,0x8c,0xd2,0x01,0xe2, +0xe6,0x5b,0xfc,0x3a,0x8c,0xd2,0x01,0xe2,0x67,0xa3,0x03,0xc3,0x34,0x59,0xfe,0x39, +0x00,0x00,0x02,0x00,0x5d,0x0d,0xfc,0x55,0xc0,0x57,0x01,0xe3,0xa2,0xf3,0x03,0xaa, +0x3f,0xa9,0xfe,0x1c,0x00,0x00,0x02,0x00,0x0f,0x36,0xfd,0x35,0x99,0x93,0x01,0x0e, +0xf0,0xca,0x02,0xca,0x66,0x6d,0xfe,0xf1,0x63,0x30,0x01,0xf5,0xd5,0xb6,0xfc,0x0a, +0x00,0x00,0x02,0x00,0x2a,0x4a,0x03,0xf5,0x9c,0xd0,0xfe,0x0a,0x63,0x30,0x01,0xf5, +0xd5,0xb6,0xfc,0x0a,0x00,0x00,0x02,0x00,0x2a,0x4a,0x03,0xf5,0x9c,0xd0,0xfe,0x0a, +0xed,0x10,0x01,0xea,0xf5,0x8f,0xfc,0x15,0x00,0x00,0x02,0x00,0x0a,0x71,0x03,0xea, +0x12,0xf0,0xfe,0x15,0xed,0x10,0x01,0xea,0xf5,0x8f,0xfc,0x15,0x00,0x00,0x02,0x00, +0x0a,0x71,0x03,0xea,0x12,0xf0,0xfe,0x15,0x16,0xf7,0x01,0xe4,0x79,0x21,0xfc,0x1d, +0x00,0x00,0x02,0x00,0x86,0xdf,0x03,0xe2,0xe9,0x09,0xfe,0x1b,0x16,0xf7,0x01,0xe4, +0x79,0x21,0xfc,0x1d,0x00,0x00,0x02,0x00,0x86,0xdf,0x03,0xe2,0xe9,0x09,0xfe,0x1b, +0x0d,0x95,0x01,0xff,0xe4,0xd5,0xfc,0x01,0x0d,0x95,0x01,0xff,0x1a,0xb8,0x03,0xfe, +0xe4,0x62,0xfe,0x01,0xdf,0x12,0x01,0xf8,0x41,0xdb,0xfc,0x0e,0xdf,0x12,0x01,0xf8, +0xa5,0x3a,0x03,0xf1,0x28,0xf1,0xfe,0x0e,0x7e,0x3e,0x01,0xf1,0x03,0x84,0xfc,0x1d, +0x7e,0x3e,0x01,0xf1,0x76,0xc7,0x03,0xe2,0x7d,0xce,0xfe,0x1c,0x29,0xa8,0x00,0x40, +0x53,0x50,0x00,0x80,0x29,0xa8,0x00,0x40,0x58,0x4f,0x01,0x8f,0x01,0x11,0xff,0x70, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x79,0x2d,0x01,0xf8,0x0d,0xa5,0xfc,0x0f, +0x79,0x2d,0x01,0xf8,0xd6,0x07,0x03,0xf0,0xf1,0x52,0xfe,0x0e,0x74,0x93,0x01,0xdb, +0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb,0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46, +0x79,0x2d,0x01,0xf8,0x0d,0xa5,0xfc,0x0f,0x79,0x2d,0x01,0xf8,0xd6,0x07,0x03,0xf0, +0xf1,0x52,0xfe,0x0e,0x74,0x93,0x01,0xdb,0x16,0xd9,0xfc,0x49,0x74,0x93,0x01,0xdb, +0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16, +0x58,0xf5,0x01,0xea,0x69,0x96,0x03,0xe9,0xa7,0x0b,0xfe,0x15,0x7f,0xfb,0x02,0xc6, +0x5a,0x4b,0xfa,0xf9,0x7f,0xae,0x02,0x46,0xf2,0xf5,0x03,0x8d,0xb3,0x17,0xfe,0x6b, +0x00,0x00,0x02,0x00,0x73,0x84,0xfd,0x17,0xe4,0xcf,0x01,0x25,0x8c,0x7c,0x02,0xe8, +0x1b,0x31,0xfe,0xda,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16,0x58,0xf5,0x01,0xea, +0x69,0x96,0x03,0xe9,0xa7,0x0b,0xfe,0x15,0xeb,0x59,0x01,0xff,0x07,0xea,0xfc,0x02, +0x3f,0x2e,0x01,0xfe,0xf8,0x16,0x03,0xfd,0xd5,0x79,0xfe,0x01,0xe6,0x83,0x01,0xff, +0x87,0xbb,0xfc,0x03,0x1d,0xb4,0x01,0xfd,0x78,0x45,0x03,0xfc,0xfb,0xc9,0xfe,0x02, +0x00,0x00,0x02,0x00,0x73,0x84,0xfd,0x17,0xe4,0xcf,0x01,0x25,0x8c,0x7c,0x02,0xe8, +0x1b,0x31,0xfe,0xda,0x00,0x00,0x02,0x00,0x96,0x6a,0xfc,0x16,0x58,0xf5,0x01,0xea, +0x69,0x96,0x03,0xe9,0xa7,0x0b,0xfe,0x15,0x00,0x0f,0x00,0x00,0x02,0x80,0x02,0x92, +0x06,0x66,0xe9,0x00,0xe9,0x00,0x00,0x00,0x06,0xce,0x00,0x00,0x08,0x7f,0x00,0x00, +0x00,0x0f,0x00,0x00,0x02,0x80,0x02,0x92,0x06,0x66,0xf6,0x00,0xf6,0x00,0x00,0x00, +0x06,0xce,0x00,0x00,0x08,0x7f,0x00,0x00,0xd3,0x00,0x06,0x00,0x02,0x80,0x00,0xf6, +0x06,0xce,0x00,0x00,0x08,0x7f,0x00,0x00,0xd8,0x00,0x06,0x00,0x02,0x80,0x00,0xf6, +0x06,0xce,0x00,0x00,0x08,0x7f,0x00,0x00,0x9c,0x8b,0x00,0x00,0x80,0xa4,0x00,0x00, +0xf4,0xbc,0x00,0x00,0x80,0xa4,0x00,0x00,0x00,0x06,0x00,0x00,0x02,0x80,0x03,0xcd, +0x06,0x66,0xf2,0x66,0xf2,0x66,0x00,0x00,0x04,0x8a,0x00,0x00,0x01,0x4d,0x00,0x00, +0x00,0x06,0x00,0x00,0x02,0x80,0x00,0xcd,0x06,0x66,0xc9,0x00,0xc9,0x00,0x00,0x00, +0x0d,0x90,0x00,0x00,0x7f,0xd3,0x00,0x00,0x00,0x1e,0x00,0x00,0x02,0x80,0x02,0xf3, +0x06,0x66,0xfa,0x00,0xfa,0x00,0x00,0x00,0x1c,0x0e,0x00,0x00,0x06,0xce,0x00,0x00, +0x00,0x1e,0x00,0x00,0x04,0x00,0x03,0x00,0x04,0x00,0xfa,0x00,0xfa,0x00,0x00,0x00, +0x1c,0x0e,0x00,0x00,0x06,0xce,0x00,0x00,0x00,0x1e,0x00,0x00,0x02,0x80,0x02,0xf3, +0x06,0x66,0xfd,0x00,0xfd,0x00,0x00,0x00,0x1a,0xf2,0x00,0x00,0x06,0xce,0x00,0x00, +0x00,0x1e,0x00,0x00,0x02,0x80,0x00,0xcd,0x06,0x66,0xb5,0x00,0xb5,0x00,0x00,0x00, +0x0d,0x90,0x00,0x00,0x7f,0xd3,0x00,0x00,0x00,0x1e,0x00,0x00,0x02,0x80,0x00,0xcd, +0x06,0x66,0xb5,0x00,0xb5,0x00,0x00,0x00,0x0d,0x90,0x00,0x00,0x7f,0xd3,0x00,0x00, +0x00,0x1e,0x00,0x00,0x02,0x80,0x00,0xcd,0x06,0x66,0xb5,0x00,0xb5,0x00,0x00,0x00, +0x0d,0x90,0x00,0x00,0x7f,0xd3,0x00,0x00,0xe0,0x90,0x00,0x04,0xc1,0x1f,0x00,0x09, +0xe0,0x90,0x00,0x04,0x3e,0x22,0x03,0x69,0x3f,0xa0,0xfe,0x83,0xe0,0x90,0x00,0x04, +0xc1,0x1f,0x00,0x09,0xe0,0x90,0x00,0x04,0x3e,0x22,0x03,0x69,0x3f,0xa0,0xfe,0x83, +0x7f,0xa0,0x01,0xb9,0x00,0xbf,0xfc,0x8d,0x7f,0xa0,0x01,0xb9,0x3e,0x22,0x03,0x69, +0x3f,0xa0,0xfe,0x83,0x7f,0xa0,0x01,0xb9,0x00,0xbf,0xfc,0x8d,0x7f,0xa0,0x01,0xb9, +0x3e,0x22,0x03,0x69,0x3f,0xa0,0xfe,0x83,0xbf,0x68,0x00,0x00,0x7e,0xd0,0x00,0x01, +0xbf,0x68,0x00,0x00,0x2f,0x58,0x03,0xc7,0xd3,0x08,0xfe,0x35,0xbf,0x68,0x00,0x00, +0x7e,0xd0,0x00,0x01,0xbf,0x68,0x00,0x00,0x2f,0x58,0x03,0xc7,0xd3,0x08,0xfe,0x35, +0x57,0x14,0x01,0xe4,0x51,0xd8,0xfc,0x37,0x57,0x14,0x01,0xe4,0x2f,0x58,0x03,0xc7, +0xd3,0x08,0xfe,0x35,0x57,0x14,0x01,0xe4,0x51,0xd8,0xfc,0x37,0x57,0x14,0x01,0xe4, +0x2f,0x58,0x03,0xc7,0xd3,0x08,0xfe,0x35,0x2c,0xf8,0x01,0xca,0xd0,0xa8,0xfc,0x38, +0x00,0x00,0x02,0x00,0x2f,0x58,0x03,0xc7,0xd3,0x08,0xfe,0x35,0x5f,0xa0,0x00,0x07, +0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07,0x17,0xae,0x03,0x44,0x69,0xd1,0xfe,0x9e, +0x5f,0xa0,0x00,0x07,0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07,0x17,0xae,0x03,0x44, +0x69,0xd1,0xfe,0x9e,0x5f,0xa0,0x00,0x07,0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07, +0x17,0xae,0x03,0x44,0x69,0xd1,0xfe,0x9e,0x5f,0xa0,0x00,0x07,0xbf,0x40,0x00,0x0e, +0x5f,0xa0,0x00,0x07,0x17,0xae,0x03,0x44,0x69,0xd1,0xfe,0x9e,0x5f,0xa0,0x00,0x07, +0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07,0x17,0xae,0x03,0x44,0x69,0xd1,0xfe,0x9e, +0x5f,0xa0,0x00,0x07,0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07,0x17,0xae,0x03,0x44, +0x69,0xd1,0xfe,0x9e,0x5f,0xa0,0x00,0x07,0xbf,0x40,0x00,0x0e,0x5f,0xa0,0x00,0x07, +0x17,0xae,0x03,0x44,0x69,0xd1,0xfe,0x9e,0x4e,0x4e,0x00,0x01,0x9c,0x9c,0x00,0x02, +0x4e,0x4e,0x00,0x01,0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x4e,0x4e,0x00,0x01, +0x9c,0x9c,0x00,0x02,0x4e,0x4e,0x00,0x01,0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46, +0x4e,0x4e,0x00,0x01,0x9c,0x9c,0x00,0x02,0x4e,0x4e,0x00,0x01,0x4c,0x8b,0x03,0xb4, +0x7a,0x3e,0xfe,0x46,0x4e,0x4e,0x00,0x01,0x9c,0x9c,0x00,0x02,0x4e,0x4e,0x00,0x01, +0x4c,0x8b,0x03,0xb4,0x7a,0x3e,0xfe,0x46,0x83,0x58,0x02,0x3b,0xa8,0xa4,0xfb,0xec, +0xd9,0x2b,0x01,0xdf,0x71,0x5a,0x03,0xa1,0x89,0x80,0xfe,0x56,0x00,0x00,0x02,0x00, +0x01,0xf0,0xfc,0x5f,0x02,0x39,0x01,0xa9,0xfe,0x10,0x03,0xa0,0xfd,0xc7,0xfe,0x56, +0x00,0x00,0x02,0x00,0x01,0xf0,0xfc,0x5f,0x02,0x39,0x01,0xa9,0xfe,0x10,0x03,0xa0, +0xfd,0xc7,0xfe,0x56,0x00,0x00,0x02,0x00,0x01,0xf0,0xfc,0x5f,0x02,0x39,0x01,0xa9, +0xfe,0x10,0x03,0xa0,0xfd,0xc7,0xfe,0x56,0x9b,0xea,0x01,0xf6,0xc8,0x2d,0xfc,0x12, +0x9b,0xea,0x01,0xf6,0x0b,0xba,0x03,0xed,0x9c,0x13,0xfe,0x12,0x9b,0xea,0x01,0xf6, +0xc8,0x2d,0xfc,0x12,0x9b,0xea,0x01,0xf6,0x0b,0xba,0x03,0xed,0x9c,0x13,0xfe,0x12, +0x0d,0x0d,0x0d,0x0d,0x0c,0x0c,0x0b,0x0b,0x0a,0x0a,0x0a,0x0a,0xd5,0x00,0x03,0x00, +0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd5,0x00,0x00,0x00, +0x02,0x80,0x00,0x00,0x06,0xce,0x00,0x00,0x06,0xce,0x00,0x00,0xd5,0x00,0x03,0x00, +0x03,0x00,0x00,0x55,0x06,0xce,0x00,0x00,0x04,0x8a,0x00,0x00,0xd8,0x00,0x07,0x00, +0x06,0x00,0x00,0x32,0x00,0xaf,0x00,0x00,0x01,0x5d,0x00,0x00,0x00,0x0c,0x00,0x00, +0xfe,0xab,0x02,0x80,0xff,0xde,0xf5,0x00,0x00,0x3c,0x00,0x00,0x11,0x11,0x00,0x01, +0x00,0x1e,0x00,0x00,0xee,0xef,0xff,0xfe,0x00,0x2d,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xc9,0x02,0xb8,0x02,0xa7,0x02,0x96, +0x02,0x85,0x02,0x74,0x02,0x63,0x02,0x52,0x02,0x41,0x02,0x30,0x02,0x2f,0x02,0x2e, +0x0c,0x00,0x07,0x00,0x02,0x19,0x02,0x00,0x01,0x05,0x03,0xe8,0x00,0xf0,0x02,0xa8, +0x00,0x13,0x00,0x11,0x00,0x05,0x00,0x28,0x09,0x00,0x07,0x00,0x05,0x00,0x03,0x00, +0x01,0x00,0xff,0x00,0xfd,0x00,0xfb,0x00,0x0b,0x0c,0x09,0x0a,0x07,0x08,0x07,0x07, +0x00,0x00,0xff,0xc0,0xff,0x80,0xff,0x40,0xff,0x00,0xfe,0xc0,0xfe,0x80,0xfe,0x40, +0xfe,0x00,0xfe,0x00,0xfe,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0xfe,0x80,0xfe,0x80, +0xfd,0x00,0xfd,0x00,0xfa,0x00,0xfa,0x00,0x00,0x00,0x10,0x00,0x01,0x9a,0x00,0x00, +0x16,0x0d,0x00,0x00,0x2c,0x19,0x00,0x00,0x16,0x0d,0x00,0x00,0x0b,0xba,0x03,0xed, +0x9c,0x13,0xfe,0x12,0xa2,0xcd,0x01,0xfd,0xba,0x66,0xfc,0x04,0xa2,0xcd,0x01,0xfd, +0x42,0xce,0x03,0xfb,0xb7,0x9b,0xfe,0x04,0x3b,0x53,0x00,0x00,0x76,0xa5,0x00,0x00, +0x3b,0x53,0x00,0x00,0xbb,0x3d,0x03,0xe0,0x57,0x78,0xfe,0x1e,0x58,0x36,0x01,0xfa, +0x4f,0x94,0xfc,0x0b,0x58,0x36,0x01,0xfa,0xa0,0x6e,0x03,0xf4,0x3f,0x96,0xfe,0x0b, +0x00,0x0a,0x00,0x1b,0x05,0xdc,0x00,0x00,0x00,0x0a,0x00,0x16,0x02,0xee,0x00,0x00, +0x00,0x0f,0x00,0xc9,0x06,0x24,0x00,0x01,0x0f,0xac,0x00,0x00,0xf5,0xd0,0x1b,0x24, +0x32,0x58,0x41,0x39, }; struct aw_prof_desc g_dev0_prof[] = { @@ -619,6 +782,23 @@ struct aw_prof_desc g_dev0_prof[] = { }, }, }, + { + .name = "ReceiverCat1", + { + { + .data = dev0_Cat1_Receiver_reg, + .len = sizeof(dev0_Cat1_Receiver_reg) / sizeof(char), + }, + { + .data = dev0_Cat1_Receiver_dsp_cfg, + .len = sizeof(dev0_Cat1_Receiver_dsp_cfg) / sizeof(char), + }, + { + .data = dev0_dsp_fw, + .len = sizeof(dev0_dsp_fw) / sizeof(char), + }, + }, + }, }; struct aw_prof_info g_dev0_prof_info[] = { diff --git a/code/sdk/drivers/drivers/driver/audio/include/soc_uapi_sound.h b/code/sdk/drivers/drivers/driver/audio/include/soc_uapi_sound.h index 343b1f924..bd99e8c4b 100755 --- a/code/sdk/drivers/drivers/driver/audio/include/soc_uapi_sound.h +++ b/code/sdk/drivers/drivers/driver/audio/include/soc_uapi_sound.h @@ -263,6 +263,7 @@ typedef enum { UAPI_SND_AEF_PROFILE_NONE = 0, UAPI_SND_AEF_PROFILE_MUSIC, UAPI_SND_AEF_PROFILE_VOIP, + UAPI_SND_AEF_PROFILE_VOIP_CAT1, UAPI_SND_AEF_PROFILE_RINGTONE, UAPI_SND_AEF_PROFILE_MAX, diff --git a/code/sdk/drivers/drivers/driver/audio/source/drv/aoe/drv_ao.c b/code/sdk/drivers/drivers/driver/audio/source/drv/aoe/drv_ao.c index af770bb66..d355e3525 100755 --- a/code/sdk/drivers/drivers/driver/audio/source/drv/aoe/drv_ao.c +++ b/code/sdk/drivers/drivers/driver/audio/source/drv/aoe/drv_ao.c @@ -206,15 +206,15 @@ td_s32 sap_ioctl_ao_open(td_u32 cmd, td_void *arg, td_void *file) ao_inst->ao_handle = ao_handle; param->h_mod = ao_handle; -#ifdef SAP_VENDOR_DRIVER_SUPPORT - for (td_u32 i = 0; i < attr->port_num; ++i) { - ret = drv_audio_vendor_init(attr->port_attr[i].out_port, attr->sample_rate, attr->bit_depth, attr->channels); - if (ret != AUDIO_SUCCESS) { - sap_err_log_h32(attr->port_attr[i].out_port); - sap_err_log_fun(drv_audio_vendor_init, ret); - } - } -#endif +// #ifdef SAP_VENDOR_DRIVER_SUPPORT +// for (td_u32 i = 0; i < attr->port_num; ++i) { +// ret = drv_audio_vendor_init(attr->port_attr[i].out_port, attr->sample_rate, attr->bit_depth, attr->channels); +// if (ret != AUDIO_SUCCESS) { +// sap_err_log_h32(attr->port_attr[i].out_port); +// sap_err_log_fun(drv_audio_vendor_init, ret); +// } +// } +// #endif audio_unused(cmd); audio_unused(file); @@ -700,6 +700,12 @@ td_s32 sap_ioctl_ao_set_aef_profile(td_u32 cmd, td_void *arg, td_void *file) sap_err_log_h32(attr.port_attr[i].out_port); sap_err_log_fun(drv_audio_vendor_set_aef_profile, ret); } + + ret = drv_audio_vendor_init(attr.port_attr[i].out_port, attr.sample_rate, attr.bit_depth, attr.channels); + if (ret != AUDIO_SUCCESS) { + sap_err_log_h32(attr.port_attr[i].out_port); + sap_err_log_fun(drv_audio_vendor_init, ret); + } } #endif diff --git a/code/sdk/middleware/services/media/hal/audio/plugins/brandy/modem/modem_sub_port.c b/code/sdk/middleware/services/media/hal/audio/plugins/brandy/modem/modem_sub_port.c index 35a14a663..35efe44d6 100755 --- a/code/sdk/middleware/services/media/hal/audio/plugins/brandy/modem/modem_sub_port.c +++ b/code/sdk/middleware/services/media/hal/audio/plugins/brandy/modem/modem_sub_port.c @@ -522,7 +522,7 @@ static int32_t AODevOpen(SubPortTrackContext *portTrackCtx) ret = uapi_snd_set_track_mode(portTrackCtx->downlinkSoundHandle, sndAttr.port_attr[0].out_port, SND_TRACK_MODE_BT_CAT1); } else { - profile = UAPI_SND_AEF_PROFILE_VOIP; + profile = UAPI_SND_AEF_PROFILE_VOIP_CAT1; MEDIA_HAL_DOFUNC_TIME(ret = uapi_snd_set_aef_profile(portTrackCtx->downlinkSoundHandle, profile)); ret = uapi_snd_set_track_mode(portTrackCtx->downlinkSoundHandle, sndAttr.port_attr[0].out_port, SND_TRACK_MODE_LOCAL_CAT1); -- 2.17.1