[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/amt/modem/src/amt_baseband.c b/cp/ps/amt/modem/src/amt_baseband.c
new file mode 100644
index 0000000..101c54e
--- /dev/null
+++ b/cp/ps/amt/modem/src/amt_baseband.c
@@ -0,0 +1,82 @@
+/**
+ *
+ * @file amt_baseband.c
+ * @brief
+ * This file is part of FTM.
+ * AMT¹¤¾ßUE²à´úÀíÄ£¿é
+ *
+ * @details
+ * @author Tools Team.
+ * @email
+ * @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.
+ * @warning
+ * @date 2019/02/02
+ * @version 1.1
+ * @pre
+ * @post
+ *
+ * @par
+ * Change History :
+ * ---------------------------------------------------------------------------
+ * date version author description
+ * ---------------------------------------------------------------------------
+ * 2016/12/12 1.0 lu.xieji Create file
+ * 2019/02/02 1.1 jiang.fenglin ÐÞ¸Ä×¢ÊÍ·½Ê½Îªdoxygen
+ * ---------------------------------------------------------------------------
+ *
+ *
+ */
+
+#include "oss_api.h"
+#include "amt.h"
+#include "amt_baseband.h"
+
+/**
+ * Íⲿº¯ÊýÒýÓÃ
+ */
+extern void RegBaseBandProcessPFunction(pfBaseBand pf);
+extern UINT32 AmtAgent_Sim_ProcessMsg(UINT32 msg_id, UINT8* msg_buf, UINT32 msg_len);
+
+
+
+/**
+ * º¯ÊýʵÏÖ
+ */
+
+/**
+ * @brief »ù´øÄ£¿éÏûÏ¢´¦Àíº¯Êý
+ * @param[in] msg_id FID
+ * @param[in] msg_buf »º´æÖ¸Õë
+ * @param[in] msg_len »º´æ³¤¶È
+ * @return ³É¹¦·µ»ØZOSS_SUCCESS, ʧ°Ü·µ»ØZOSS_ERROR
+ * @note
+ * @see
+ */
+UINT32 AmtAgent_Baseband_ProcessMsg(UINT16 msg_id, UINT8* msg_buf, UINT32 msg_len)
+{
+ if (msg_id == MSG_TEST_SIM)
+ {
+ AmtAgent_Sim_ProcessMsg(msg_id, msg_buf, msg_len);
+ }
+ else
+ {
+ return ZOSS_ERROR;
+ }
+
+ return ZOSS_SUCCESS;
+}
+
+/**
+ * @brief »ù´øÄ£¿é³õʼ»¯
+ * @return ³É¹¦·µ»ØZOSS_SUCCESS, ʧ°Ü·µ»ØZOSS_ERROR
+ * @note
+ * @see
+ */
+SINT32 zAmt_Init(VOID)
+{
+ // ×¢²á»Øµ÷º¯Êý¹©´úÀíÖÐÐĽ«»ù´øµÄÏûϢת·¢µ½ÕâÀï
+ RegBaseBandProcessPFunction(AmtAgent_Baseband_ProcessMsg);
+
+ return ZOSS_SUCCESS;
+}
+