| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2005 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| /***************************************************************************** |
| * Filename: |
| * --------- |
| * l4c_med_msg.c |
| * |
| * Description: |
| * ------------ |
| * This file implements the req and cnf handlers interfacing Media task |
| * |
| * Author: |
| * ------- |
| * ------- |
| *****************************************************************************/ |
| |
| /******************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * |
| * This product has been developed using a protocol stack |
| * developed by Sasken Communication Technologies Limited. |
| * |
| ********************************************************************************/ |
| |
| #ifndef L4C_TST_H |
| #define L4C_TST_H |
| |
| |
| #include "dcl.h" |
| #include "kal_public_defs.h" //MSBB change #include "stack_config.h" |
| |
| #include "kal_general_types.h" |
| #include "kal_public_defs.h" |
| #include "l4c_common_enum.h" |
| |
| #ifdef __L4C_GPRS_UT__ |
| extern void l4c_ut_check_l4c_context_info(kal_uint8 src_id, kal_uint8 cid, l4c_action_enum action); |
| extern void l4c_ut_request_type_handover_to_initial_request(kal_uint8 index); |
| extern void l4c_ut_l4c_convert_data_speed_support_enum(); |
| extern void l4c_ut_config_cgdcontrdp_set_mode(); |
| extern void l4c_ut_config_cgdcont_read_mode(); |
| extern void l4c_ut_config_cgact_read_mode(); |
| extern void l4c_ut_config_pdp_addr_read_mode(); |
| extern void l4c_ut_config_psbearer_read_mode(); |
| extern void l4c_ut_config_eps_qos_read_mode(); |
| extern void l4c_ut_config_cgeqreq_read_mode(); |
| extern void l4c_ut_config_cgqreq_read_mode(); |
| extern void l4c_ut_config_msq_read_mode(); |
| extern void l4c_ut_config_cgprco_read_mode(); |
| extern void l4c_ut_check_ipv4v6_table_all_free(void); |
| extern void l4c_ut_rmmi_convert_l3_cause(); |
| #endif |
| |
| //extern kal_bool l4c_check_tst_inject_cmd_conflict(kal_char* cmd_string); |
| extern void tst_inject_string_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); |
| extern kal_bool l4c_attach_uart_port_req(kal_uint8 src_id, module_type module_id, UART_PORT port, kal_uint32 baud_rate); |
| extern kal_bool l4c_detach_uart_port_req(kal_uint8 src_id, module_type module_id, UART_PORT port); |
| extern void l4c_open_uart_port_cnf_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); |
| extern void l4c_close_uart_port_cnf_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); |
| extern kal_bool l4c_check_port_free(kal_uint8 port); |
| extern void l4c_send_open_port_req(kal_uint8 port, kal_uint8 module_id, kal_uint32 baud_rate); |
| extern void l4c_send_close_port_req(kal_uint8 port, kal_uint8 module_id); |
| extern kal_bool l4c_tst_change_log_port_req(l4c_source_id_enum src_id, |
| DCL_DEV l1_port, |
| DCL_DEV ps_port, |
| kal_uint8 log_mode); |
| extern void l4c_change_uart_port_cnf_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr); |
| |
| |
| |
| |
| extern void l4c_assert_bypass_trace_ind_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr); |
| |
| #ifndef __MTK_TARGET__ |
| extern void l4c_atci_ut_rmmi_input_string_hdlr(local_para_struct * local_para_ptr, peer_buff_struct * peer_buff_ptr); //RMMI_UT |
| extern void l4c_atci_ut_rmmi_expanded_at_command_input_string_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); //__L4C_GPRS_UT__ |
| extern void l4c_inject_sbp_change_ind_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); |
| extern void l4c_ut_set_rac_rat_mode_context_ind_hdlr(local_para_struct *local_para_ptr, peer_buff_struct *peer_buff_ptr); |
| #endif |
| |
| #endif /* L4C_TST_H */ |
| |