| /***************************************************************************** |
| * 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_ps_cmd.h |
| * |
| * Project: |
| * -------- |
| * UMOLY |
| * |
| * Description: |
| * ------------ |
| * This file is intends for K. |
| * |
| * Author: |
| * ------- |
| * ------- |
| * |
| *============================================================================== |
| *******************************************************************************/ |
| |
| #ifndef _L4C_PS_CMD_H |
| #define _L4C_PS_CMD_H |
| |
| #ifdef __MOD_TCM__ |
| #include "l4c_common_enum.h" |
| #include "l4c2tcm_func.h" |
| #include "l4c2tcm_struct.h" |
| #include "kal_general_types.h" |
| #include "ps_public_struct.h" |
| #include "pam2tcm_struct.h" |
| #include "l3_inc_enums.h" |
| #include "ddm_common_struct.h" |
| |
| #ifdef __MOBILE_BROADBAND_PROVISION_CONTEXT__ |
| extern kal_bool l4c_ps_get_provision_context_req(kal_uint8 src_id, kal_bool get_all); |
| extern kal_bool l4c_ps_set_provision_context_req(kal_uint8 src_id, kal_uint8 entry_id, kal_uint32 pcid, kal_uint8 pctype, kal_uint8 * apn, kal_uint8 * username, kal_uint8 * passwd, kal_uint8 comp, kal_uint8 auth_type, kal_uint8 * plmn_in_digit, kal_uint16 status); |
| #endif /* __MOBILE_BROADBAND_PROVISION_CONTEXT__ */ |
| |
| |
| extern kal_bool l4c_ps_set_vzw_apn_table_req( |
| kal_uint8 src_id, |
| vzw_apn_table_struct *apn_table); |
| extern kal_bool l4c_ps_set_clear_vzw_apn_table(kal_uint8 src_id); |
| |
| extern kal_bool l4c_ps_get_vzw_apn_table_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_ps_set_vzw_apn_params_req( |
| kal_uint8 src_id, |
| kal_uint8 wapn, |
| kal_uint32 max_conn_t, |
| kal_uint32 max_conn_t_value_in_sec, |
| kal_uint32 wait_time_value_in_sec, |
| kal_uint32 throttle_time_value_in_sec); |
| |
| extern kal_bool l4c_ps_get_vzw_apn_params_req(kal_uint8 src_id); |
| |
| extern void l4c_ps_send_at_cmd_cnf(kal_uint32 src_id, kal_bool is_success, kal_uint16 err_cause); |
| |
| extern void l4c_ps_send_egpco_ind_without_content(kal_uint8 cid, kal_uint32 ieid); |
| extern void l4c_ps_send_egpco_ind_with_content(kal_uint8 cid, kal_uint32 ieid, kal_uint8 content_len, kal_uint8 *content_ptr); |
| |
| extern kal_bool l4c_ps_set_cgauth_req(kal_uint8 src_id, l4ctcm_set_cgauth_info_req_struct *cgauth_req); |
| extern kal_bool l4c_ps_set_undefine_req(kal_uint8 src_id, kal_uint8 cid, kal_uint16 undef_action); |
| |
| extern kal_bool l4c_ps_set_eqos_req(kal_uint8 src_id, kal_uint8 qos_type, l4c_eqos_struct *min); |
| |
| extern kal_bool l4c_ps_get_eqos_req(kal_uint8 src_id, kal_uint8 qos_type, l4c_eqos_list_struct *info); |
| extern kal_bool l4c_ps_get_eps_qos_info_req(kal_uint8 src_id, l4c_eps_qos_list_struct *info); |
| extern kal_bool l4c_ps_get_vgqos_info_req(kal_uint8 src_id, l4c_vgqos_list_struct *info); |
| |
| extern kal_bool l4c_ps_get_config_option_info(kal_uint8 src_id, l4c_config_option_list_struct *info); |
| extern kal_bool l4c_ps_get_cgauth_info(kal_uint8 src_id, l4c_cgauth_info_list_struct *info); |
| |
| extern kal_bool l4c_ps_exe_send_data_req(kal_uint8 src_id, kal_uint8 cid, kal_uint32 size); |
| |
| extern kal_uint32 l4c_ps_get_enter_data_network_interface(kal_uint8 l2p, kal_uint32 chid); |
| |
| extern kal_bool l4c_ps_exe_enter_data_state_req(kal_uint8 src_id, kal_uint8 l2p, kal_uint8 cid, kal_uint32 chid); |
| |
| extern kal_bool l4c_ps_exe_leave_data_state_req(kal_uint8 src_id, kal_uint8 cid); |
| |
| extern kal_bool l4c_ps_set_tft_req(kal_uint8 src_id, tft_info_struct *tft); |
| extern kal_bool l4c_ps_get_tft_req(kal_uint8 src_id, tft_info_list_struct *tft_info_list); |
| |
| extern kal_bool l4c_ps_get_qos_req(kal_uint8 src_id, kal_uint8 qos_type, l4c_qos_list_struct *info); |
| extern kal_bool l4c_eps_set_qos_req(kal_uint8 src_id, l4c_eps_qos_struct *qos); |
| extern kal_bool l4c_ps_set_vqqos_req(kal_uint8 src_id, l4c_vgqos_struct *qos_info); |
| |
| extern kal_bool l4c_ps_set_qos_req(kal_uint8 src_id, kal_uint8 qos_type, l4c_qos_struct *min); |
| |
| extern kal_bool l4c_ps_set_sec_definition_req(kal_uint8 src_id, l4c_sec_pdp_info_struct *pdp); |
| |
| extern kal_bool l4c_ps_get_sec_definition_list_req(kal_uint8 src_id, l4c_sec_pdp_info_list_struct *info); |
| |
| extern kal_bool l4c_ps_set_definition_req(kal_uint8 src_id, l4c_prim_pdp_info_struct *pdp, l4c_cmd_conflict_check_option_enum check_option); |
| |
| extern void l4c_ps_event_notify_request(pam_event_notify_enum notify_event); |
| |
| extern kal_bool l4c_ps_set_extended_definition_req(kal_uint8 src_id, l4c_extended_pdp_info_struct *extended_pdp, l4c_cmd_conflict_check_option_enum check_option); |
| |
| extern kal_bool l4c_ps_sync_apn_info_to_tcm(kal_uint8 src_id, l4c_apn_info_struct *sync_req); |
| |
| extern kal_bool l4c_ps_send_cellular_network_cfg_to_tcm(l4c_cellular_network_config *config); |
| |
| extern void l4c_ps_send_data_service_status_update_to_rac(kal_bool is_data_service_present, kal_bool is_data_service_on, kal_bool is_data_roaming_service_present, kal_bool is_data_roaming_service_on); |
| |
| extern void l4c_ps_send_pdn_revive_cnf_to_l4bpdn(kal_uint8 cid, kal_bool is_success, ps_cause_enum err_cause); |
| |
| extern void l4c_ps_send_lte_attach_pdn_activate_success_ind_to_l4bpdn(kal_uint8 lte_attach_cid, |
| kal_bool cause2_present, |
| ps_cause_enum cause2, |
| pdp_addr_type_enum nw_applied_pdp_type); |
| |
| extern void l4c_ps_send_lte_attach_pdn_activate_failure_ind_to_l4bpdn(kal_uint8 lte_attach_cid, |
| ps_cause_enum err_cause, |
| kal_bool is_change_to_apn_class_present, |
| kal_uint8 change_to_apn_class); |
| |
| extern kal_bool l4c_ps_clear_sync_apn_info_to_tcm(kal_uint8 src_id); |
| |
| extern kal_bool l4c_ps_get_definition_list_req(kal_uint8 src_id, l4c_prim_pdp_info_list_struct *info); |
| |
| extern kal_uint8 l4c_ps_get_data_bearer_capability(void); //review_h2 |
| |
| extern kal_uint16 l4c_ps_exe_act_req(kal_uint8 src_id, kal_uint8 opcode, kal_uint8 cid, l4ctcm_act_reason act_reason, kal_uint8 rat, kal_uint8 cause, ddm_apn_type_enum apn_type); |
| |
| extern kal_uint16 l4c_ps_exe_attach_req(kal_uint8 src_id, kal_uint8 cid); |
| |
| extern kal_bool l4c_ps_exe_act_test_req(kal_uint8 src_id, kal_uint8 opcode, kal_uint8 cid); |
| |
| extern kal_bool l4c_ps_get_context_state_req(kal_uint8 src_id, kal_uint8 *num, kal_uint8 *state_list); |
| |
| extern kal_bool l4c_ps_exe_answer_req(kal_uint8 src_id, kal_uint8 ans, kal_uint8 l2p, kal_uint8 cid); |
| |
| extern kal_bool l4c_ps_exe_modify_req(kal_uint8 src_id, kal_uint8 cid, kal_uint8 qfi); |
| |
| extern void l4c_l4bpdn_msg_hdlr(ilm_struct *ilm_ptr); |
| |
| extern void l4c_ps_send_cellular_network_cfg_to_rac(l4c_cellular_network_config *config); |
| #ifdef __TC10__ |
| extern kal_bool l4c_ps_set_escontind_req(kal_uint32 src_id, kal_uint8 secondary_cid); |
| #endif /*__TC10__*/ |
| |
| extern void l4c_ps_send_sat_evdl_data_connect_ind(sat_data_connection_status_enum data_connection_status, |
| rat_enum rat, |
| ps_cause_enum cause, |
| kal_uint8 cid); |
| #endif /* __MOD_TCM__ */ |
| #endif /* _L4C_GPRS_CMD_H */ |
| |