[Feature][ZXW-241]merge P56U01 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I7985538dde6951dd824c36149bf9a1e3ca23c734
diff --git a/ap/lib/libvoice/include/voice_ipc.h b/ap/lib/libvoice/include/voice_ipc.h
index 3b58efb..0041d73 100755
--- a/ap/lib/libvoice/include/voice_ipc.h
+++ b/ap/lib/libvoice/include/voice_ipc.h
@@ -6,10 +6,12 @@
 #define VOICE_WAIT_MSG_FROM_CAP -2 //waitting msg from cap

 

 #define VOICE_IPC_CONTROL_CHANNEL "/dev/rpmsg6"

-#define VOICE_IPC_CONTROL_CHANNEL_SIZE 256

+//#define VOICE_IPC_CONTROL_CHANNEL_SIZE 256

+#define VOICE_IPC_CONTROL_CHANNEL_SIZE (8 * 1024 + 256) //À©´óÒԱ㴫Êävoice_nvrw.bin

 

 #define VOICE_HEAD_LEN (2 * sizeof(int))

 #define VOICE_CONTROL_MAX_LEN 32

+#define VOICE_NVRW_MAX_LEN (8 * 1024)

 

 enum  voice_ipc_func_type{

 	IPC_SET_VOICE_DEVICE_MODE = 0,

@@ -28,6 +30,7 @@
     IPC_AP_ALSA_VOICE_CLOSE = 13,

     IPC_CAP_ALSA_VOICE_OPEN = 14,

     IPC_CAP_ALSA_VOICE_CLOSE = 15,

+    IPC_UPDATE_VOICE_NVRW = 16,

 

     IPC_VOICE_FUNC_MAX

 };