| /***************************************************************************** |
| * 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) 2016 |
| * |
| * 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). |
| * |
| *****************************************************************************/ |
| /************************************************************* |
| * |
| * This Software is the property of VIA Telecom, Inc. and may only be used pursuant to a license from VIA Telecom, Inc. |
| * |
| * Any unauthorized use inconsistent with the terms of such license is strictly prohibited. |
| * |
| * Copyright (c) 1999-2010 VIA Telecom, Inc. All rights reserved. |
| * |
| *************************************************************/ |
| #ifndef _PSWDEF_H_ |
| #define _PSWDEF_H_ |
| /***************************************************************************** |
| * |
| * FILE NAME : |
| * |
| * DESCRIPTION : |
| * |
| * HISTORY : |
| * See Log at end of file |
| * |
| *****************************************************************************/ |
| |
| /*---------------------------------------------------------------------------- |
| Include Files |
| ----------------------------------------------------------------------------*/ |
| |
| #include "pswapi.h" |
| #include "pswpe.h" |
| #include "lmdapi.h" |
| #include "l1dapi.h" |
| #include "valapi.h" |
| #include "Ms_Cap_Db.h" |
| #include "sms_data.h" |
| #include "ota_data.h" |
| #include "valdbmapi.h" |
| |
| #include "uimapi.h" |
| #include "nvram_struct.h" |
| |
| #ifdef MTK_CBP_SYNC_OPTIMIZE |
| #include "hscapi.h" |
| #endif /* MTK_CBP_SYNC_OPTIMIZE */ |
| |
| /*---------------------------------------------------------------------------- |
| Global Defines and Macros |
| ----------------------------------------------------------------------------*/ |
| #define PSW_SET_ACTION_TIME(a) ((a) ? *(a) : SysTimeGet() + 4) |
| |
| /* Control debugging information flow */ |
| #define PSW_DBG(x) do {} while (0) |
| |
| #define MON_TRACE MonTrace |
| |
| typedef enum |
| { |
| /* Driver API */ |
| WBIOS_DISTANCE_BASED_REG =0x00, |
| WBIOS_SLOTTED_MODE_ENABLE =0x01, |
| WBIOS_SLOTTED_MODE_DISABLE =0x02, |
| WBIOS_SLEEP =0x03, |
| WBIOS_WAKEUP =0x04, |
| WBIOS_SET_TIMER =0x05, |
| WBIOS_KILL_TIMER =0x06, |
| WBIOS_PILOT_ACQUIRE_ABORT =0x07, |
| WBIOS_PILOT_ACQUIRE_START =0x08, |
| WBIOS_SYNC_TO_SYSTEM_TIME =0x09, |
| WBIOS_SYNC_ACQUIRE_START =0x0A, |
| WBIOS_SYNC_ACQUIRE_ABORT =0x0B, |
| WBIOS_CDMA_CAND_FREQ_SEARCH_ABORT_VISIT =0x0C, |
| WBIOS_CDMA_CAND_FREQ_SEARCH_PARM =0x0D, |
| WBIOS_CDMA_CAND_FREQ_SEARCH_START =0x0E, |
| WBIOS_IDLE_PILOT_SET =0x0F, |
| WBIOS_IDLE_CHANGE_PILOT_SET =0x10, |
| WBIOS_PILOT_SEARCH_WINDOW =0x11, |
| WBIOS_PILOT_SET =0x12, |
| WBIOS_PAGE_MONITOR_START =0x13, |
| WBIOS_PAGE_MONITOR_STOP =0x14, |
| WBIOS_ACCESS_MESSAGE_SEND =0x15, |
| WBIOS_ACCESS_MESSAGE_ABORT =0x16, |
| WBIOS_LONG_CODE_CHANGE =0x17, |
| WBIOS_PUF_PROBE_ABORT =0x18, |
| WBIOS_PUF_PROBE_SEND =0x19, |
| WBIOS_SERVICE_CONFIGURATION =0x1A, |
| WBIOS_SERVICE_OPTION_CONTROL_MESSAGE =0x1B, |
| WBIOS_SERVICE_OPTION_CONTROL_ORDER =0x1C, |
| WBIOS_SERVICE_CONFIGURATION_VALIDATION =0x1D, |
| WBIOS_SERVICE_OPTION_VALIDATION =0x1E, |
| WBIOS_TRAFFIC_CHANNEL_START =0x1F, |
| WBIOS_TRAFFIC_CHANNEL_SOFT_HANDOFF =0x20, |
| WBIOS_TRAFFIC_CHANNEL_STOP =0x21, |
| WBIOS_TRAFFIC_CHANNEL_SEND_MESSAGE =0x22, |
| WBIOS_TRAFFIC_CHANNEL_POWER_STEP =0x23, |
| WBIOS_TRANSMITTER_CONTROL =0x24, |
| WBIOS_DISABLE =0x25, |
| ENG_RELAY_CDMA_CAND_FREQ_SEARCH_REPORT =0x26, |
| ENG_CAND_FREQ_TIMES_MSG =0x27, |
| ENG_CMD_STATUS_MSG =0x28, |
| ENG_RELAY_PAGE_FRAME_INDICATION =0x29, |
| ENG_RELAY_SYNC_FRAME_INDICATION =0x2A, |
| ENG_RELAY_TC_FRAME_INDICATION =0x2B, |
| ENG_RELAY_PILOT_MEASURE_REPORT =0x2C, |
| ENG_RELAY_IDLE_HANDOFF =0x2D, |
| |
| /* User Interface (VAL) API */ |
| WBIOS_RETRIEVE_CHANNEL =0x2E, |
| WBIOS_SAVE_CHANNEL =0x2F, |
| WBIOS_SET_SSDA =0x30, |
| WBIOS_SET_SSDB =0x31, |
| WBIOS_INITIALIZE_AKEY =0x32, |
| WBIOS_SET_CALL_HIST_PARAMETER =0x33, |
| WBIOS_SET_SID_NID_LIST =0x34, |
| WBIOS_SET_TMSI_ASSIGNMENT =0x35, |
| WBIOS_SET_ZONE_LIST =0x36, |
| WBIOS_DELETE_ZONE_LIST =0x37, |
| WBIOS_DELETE_SID_NID_LIST =0x38, |
| WBIOS_SET_BASE_DISTANCE_REG_INFO =0x39, |
| WBIOS_REPORT_ALERT =0x3A, |
| WBIOS_REPORT_BURST_DTMF =0x3B, |
| WBIOS_REPORT_CP_EVENT =0x3C, |
| WBIOS_REPORT_CP_STATUS =0x3D, |
| WBIOS_REPORT_FEATURE_NOTIFICATION =0x3E, |
| WBIOS_REPORT_FLASH =0x3F, |
| WBIOS_REPORT_LOCK =0x40, |
| WBIOS_REPORT_MAINTENANCE_REQUIRED =0x41, |
| WBIOS_REPORT_REGISTRATION_REJECT =0x42, |
| WBIOS_REPORT_SERVICE_NEGOTIATION_MODE =0x43, |
| WBIOS_REPORT_START_CONTINUOUS_DTMF =0x44, |
| WBIOS_REPORT_STOP_CONTINUOUS_DTMF =0x45, |
| WBIOS_REPORT_SYSTEM_TIME =0x47, |
| WBIOS_REPORT_UNLOCK =0x48, |
| WBIOS_SYSTEM_ERROR =0x49, |
| |
| /* New Funcs */ |
| /* Note: these must be in sync with ETS so for now not put in */ |
| /* sorted catagory above */ |
| ENG_RELAY_CP_REQUEST =0x4A, |
| WBIOS_SERVICE_CONFIGURATION_INITIATION =0x4B, |
| WBIOS_ACCEPT_LONG_CODE_CHANGE_REQ =0x4D, |
| WBIOS_TRAFFIC_CHANNEL_HARD_HANDOFF =0x4E, |
| WBIOS_REPORT_DATA_BURST =0x4F, |
| ENG_RELAY_CDMA_CAND_FREQ_SEARCH_TIMES =0x50, |
| ENG_RELAY_REPORT_STATUS =0x51, |
| WBIOS_MULTIPLEX_OPTION_INFORMATION =0x52, |
| WBIOS_SERVICE_OPTION_INFORMATION =0x53, |
| WBIOS_REVERSE_MULTIPLEX_PARAMETERS_GET =0x54, |
| WBIOS_REVERSE_MULTIPLEX_PARAMETERS_SET =0x55, |
| WBIOS_REPORT_REGISTRATION_ACCEPT =0x56, |
| WBIOS_SET_RAND =0x57, |
| WBIOS_SYSTEM_SELECTION =0x58, |
| WBIOS_SC_SERVICE_CONFIGURATION_RESPONSE =0x59, |
| WBIOS_REPORT_CP_RESPONSE =0x5A, |
| WBIOS_ACCEPT_VOICE_PRIVACY_CHANGE =0x5B, |
| WBIOS_REPORT_HANDOFF =0x5C, |
| WBIOS_REPORT_ACCESS_MAX_CAPSULE_SIZE =0x5D, |
| WBIOS_SC_GET_SERV_CFG_NO_CONNECTIONS =0x5E, |
| WBIOS_SC_GET_SERVICE_OPTION_INFO =0x5F, |
| WBIOS_PREAMBLE_OFF =0x60, |
| ENG_RELAY_CAND_FREQ_STOP =0x61, |
| ENG_RELAY_CAND_FREQ_START =0x62, |
| WBIOS_OUT_OF_SERVICE_AREA_SLEEP =0x63, |
| ENG_RELAY_OUT_OF_SERVICE_AREA_PARAMETERS =0x64, |
| WBIOS_REPORT_PWR_REP_FRAMES =0x65, |
| ENG_RELAY_SET_IHO_THRESHOLDS =0x66, |
| ENG_RELAY_SET_IHO_TIMER =0x67, |
| WBIOS_REPORT_CQA =0x68, |
| ENG_RELAY_REVERSE_MULTIPLEX_PARAMTERS =0x69, |
| |
| WBIOS_OOSA_WAKEUP =0x6A, |
| WBIOS_REPORT_NETWORK_P_REV =0x6B, |
| WBIOS_REPORT_PACKET_ZONE_ID =0x6C, |
| WBIOS_REQUEST_VOICE_PRIVACY_INDICATION =0x6D, |
| ENG_RELAY_SET_NEW_IHO_PARAMETERS =0x6E, |
| |
| WBIOS_REPORT_ROAM_IND =0x6F, |
| WBIOS_SCC_BCAST_CNFG =0x70, |
| WBIOS_REPORT_BCAST_DATA_BURST =0x71, |
| WBIOS_SCC_BCAST_EXPTED =0x72, |
| WBIOS_SCC_CHECK_SO_IS_HSPD =0x73, |
| |
| ENG_RELAY_E911_MODE_ENABLE =0x74, |
| ENG_RELAY_E911_MODE_DISABLE =0x75, |
| /*AKK 03-22-00 Added search request/control message parameter */ |
| ENG_RELAY_CDMA_CAND_FREQ_SEARCH_RQ_CONTROL_DATA = 0x76, |
| /*AKK 05-15-00 Added TC frame power message parameter */ |
| ENG_RELAY_CDMA_CAND_FREQ_TC_FRAME_POWER_DATA = 0x77, |
| |
| /*SNR BS COORD 2/1/01 */ |
| WBIOS_REPORT_BS_CO_ORD = 0x78, |
| WBIOS_SR_REORIG_CALL = 0X79, |
| WBIOS_SR_FINISHED = 0X7A, |
| |
| WBIOS_FOR_SCH = 0x7B, |
| WBIOS_RSR_ALLOC = 0x7C, |
| WBIOS_RSR_DEALLOC = 0x7D, |
| WBIOS_REV_SCH = 0x7E, |
| WBIOS_SCC_IS_SERV_OPTION_ATTRIBUTE_AVAILABLE = 0x7F, |
| WBIOS_SCC_GET_DEFAULT_SERVICE_CONFIGURATION = 0x80, |
| WBIOS_RESOURCE_UPDATE = 0x81, |
| ENG_RELAY_SET_ACCESS_HO_PARAMETERS = 0x82, |
| WBIOS_FOR_SCH_CONFIG_UPDATE = 0x83, |
| WBIOS_REV_SCH_CONFIG_UPDATE = 0x84, |
| WBIOS_SRCH_RESULTS_COMPLETE = 0x85, |
| WBIOS_ENHANCED_ACCESS_MESSAGE_SEND = 0x86, |
| WBIOS_SYNC_MSG_RECVD = 0x87, |
| WBIOS_CSS_VALIDATE_SYNC_MSG = 0x88, |
| WBIOS_AFLT_PILOT_SET = 0x89, |
| WBIOS_AFLT_ABORT_PILOT_SET = 0x8A, |
| WBIOS_FCSCH_MONITOR_STOP = 0x8B, |
| WBIOS_REVERSE_POWER_SET = 0x8C, |
| WBIOS_PREAMBLE_ON = 0x8D, |
| WBIOS_RESOURCE_REQ = 0x8E, |
| WBIOS_PWR_CTL_PARMS = 0x8F, |
| WBIOS_FDSCH_ACQ_IND = 0x90, |
| WBIOS_MULTI_PARM_GET = 0x91, |
| WBIOS_MULTI_PARM_SET = 0x92, |
| WBIOS_TC_TO_AVC_HO = 0x93, |
| WBIOS_PS_INFO_RSP = 0x94, |
| WBIOS_ACCESS_IN_PROGRESS = 0x95, |
| WBIOS_QPCH_CCI_DECODE = 0x96, |
| WBIOS_RSCH_POWER_SET = 0x97, |
| WBIOS_RESET_LMD_MUX_STAT_COUNTS = 0x98, |
| WBIOS_L1D_ALT_PILOT = 0X99, |
| WBIOS_L1D_BAND_SUPPORTED_QUERY = 0x9A, |
| WBIOS_CSS_INDICATE_IN_SERVICE = 0x9B, |
| WBIOS_L1D_DEACTIVE_REQ = 0X9C, |
| WBIOS_L1D_RADIO_CONFIG_PARAMS = 0x9D, |
| WBIOS_HSC_SIB8_TIMING_SYNC_REQ = 0x9E, |
| #ifdef MTK_CBP_REL_OPTIMIZE |
| WBIOS_VS_CNTD = 0xA0, |
| WBIOS_VS_REL = 0xA1, |
| #endif |
| NUM_PSW_API_ENTRIES |
| } PswApiT; |
| typedef enum |
| { |
| POWERDOWN, |
| MSID, |
| AUTH, /* Include both Akey and SSD */ |
| SPC, |
| SIP, |
| MIP, |
| INIT |
| } SecureDataType; |
| |
| typedef enum |
| { |
| NAM_DATA_ACK, |
| DATA_ACK, |
| FLUSH_ACK |
| } PswDbmAckT; |
| |
| /* Current status */ |
| typedef struct |
| { |
| kal_uint8 State; /* Protocol stack state */ |
| kal_uint16 Channel; /* Frequency channel */ |
| kal_uint32 Esn; /* ESN */ |
| kal_uint16 PilotPn; /* Pilot PN */ |
| } PswTstStatusT; |
| |
| #ifdef SYS_OPTION_HL |
| typedef enum |
| { |
| NON_DATA_SERVICE, |
| DATA_SERVICE |
| } PswDataServiceT; |
| #endif |
| |
| typedef enum |
| { |
| DBM_DATA_NOT_INITIALIZED = 0, |
| DBM_DATA_INITIALIZED |
| } DbmReadStatusType; |
| |
| typedef enum |
| { |
| PEND_REG_NONE, |
| PEND_REG_PARM_CHANGE, |
| PEND_REG_POWERUP |
| } PswPendRegType; |
| |
| #ifdef MTK_DEV_C2K_IRAT |
| typedef enum |
| { |
| IRAT_MCC_REQ_INIT = 0,/* when power up,set flag to init */ |
| IRAT_HAVE_MCC_REQ = 1,/* when receive PSW_IRAT_MCC_REQ,set flag to IRAT_HAVE_MCC_REQ */ |
| IRAT_NO_MCC_REQ = 2, /* when firstly receive ESPM, set flag to IRAT_NO_MCC_REQ */ |
| } Irat_mcc_req_enum; |
| #endif /* MTK_DEV_C2K_IRAT */ |
| |
| typedef enum |
| { |
| AIRMSG_1X_PCH, |
| AIRMSG_1X_PCH_MATCHED, |
| AIRMSG_1X_PCH_MATCHED_PAGE, |
| AIRMSG_1X_FFCH, |
| AIRMSG_1X_LOC_IS801, |
| AIRMSG_1X_ACH, |
| AIRMSG_1X_RFCH, |
| AIRMSG_1X_SYNC |
| } AirMsgTraceId; |
| |
| typedef enum |
| { |
| NOT_EXISTENCE, /* there is not limited service, and reported no existence to VAL */ |
| SYSTEM_LOST_EXISTENCE, /* system lost, but does not report no existence to VAL */ |
| EXISTENCE /* there is limited service, and reported existence to VAL */ |
| }LmtServiceEnum; |
| /*---------------------------------------------------------------------------- |
| Global Data |
| ----------------------------------------------------------------------------*/ |
| #define PSW_MAX_NUMBER_OF_TIMERS 100 |
| |
| extern kal_bool PswTestModeTimersUsed; |
| extern kal_bool PswDisplayPeriodicTraces; |
| extern PswTstStatusT PswTstStatus; /* Current status */ |
| |
| /*---------------------------------------------------------------------------- |
| Global Function Prototypes |
| ----------------------------------------------------------------------------*/ |
| #ifdef MTK_CBP_SYNC_OPTIMIZE |
| void PswSIB8TimingSyncCnf(HscSib8TimingSyncCnfMsgT *MsgP); |
| #endif /* MTK_CBP_SYNC_OPTIMIZE */ |
| void PswInitialAcqReportMsg(PswInitialAcqReportMsgT *MsgP); |
| void PswL1dAlternatePilotsMsg(PswL1dAlternatePilotsMsgT *MsgP); |
| void PswL1dAccessPreambleCompleteMsg (PswL1dAccessPreambleCompleteMsgT* MsgP); |
| void PswL1dAccessProbeCompleteMsg (PswL1dAccessProbeCompleteMsgT* MsgP); |
| void PswCmdStatusMsg (PswCmdStatusMsgT *MsgP); |
| void PswCandFreqMeasurementsMsg (PswCandFreqMeasurementsMsgT *MsgP); |
| void PswPMReportMsg (PswPmrMsgT *MsgP); |
| void PswOuterLoopReportReqMsg (PswOuterLoopReportReqMsgT *MsgP); |
| void PswCandFreqTimesMsg (PswCandFreqTimesMsgT *MsgP); |
| void PswForwardPageChanFrameMsg (PswForwardPageChanFrameMsgT *MsgP); |
| void PswForwardSyncChanFrameMsg (PswForwardSyncChanFrameMsgT *MsgP); |
| void PswGetPSInfoMsg(void); |
| void PswDSCHFrameMsg (PswDschFrameMsgT *MsgP); |
| void PswPowerMsg (PswPowerMsgT *MsgP); |
| void PswE911ModeMsg(PswE911ModeMsgT* MsgP); |
| void PswCallInitiateMsg (PswCallInitiateMsgT *MsgP, kal_uint32 MsgId, kal_bool reOrig); |
| #ifdef MTK_CBP |
| void PswHlpDmntCnfMsg(void); |
| #endif |
| void PswHlpDrsUpdateIndMsg (kal_bool drs, kal_bool reconn_drs0); |
| void PswReoriginateCall(void); |
| void PswReoriginatePktCall(void); |
| void PswSetSilentRetryMsg(PswSetSilentRetryMsgT *MsgP); |
| void PswGetSilentRetryStatusMsg(PswGetSilentRetryStatusMsgT *MsgP); |
| void PswGetPrlInfoMsg(PswGetPrlMsgT *MsgP); |
| void PswCallAnswerMsg (void); |
| void PswCallHangupMsg (void); |
| void PswScanMeasurementsMsg (PswScanMeasurementsMsgT *MsgP); |
| void PswPilotPwrAck (void); |
| kal_bool PswGetLastDFSSearch(void); |
| void PswTask(kal_uint32 argc, void *argv); |
| void PswTestModeTimersUsedMsg (PswTestModeTimersUsedMsgT *MsgP); |
| void PswTimerInit (void); |
| void PswUimTimerCallBack(kal_uint32 DontCare); |
| void PswTstAccessSigMsg(PswAccessSigMsgT *MsgDataPtr); |
| void PswIdleHandoffMsg (PswIdleHandoffMsgT *MsgP); |
| void PswTimerExpired( kal_uint32 TimerId ); |
| void PswSmsCbsInfoCfgMsg(PswSmsCbsInfoT *MsgP); |
| void PswTATimerExpired( void ); |
| void PswKillAllTimers( void ); |
| void PswNamDataRead ( PswIs95NamT *DataP ); |
| void PswDataRead ( PswDbmDataT *DataP ); |
| void PswNamDataWrite(kal_bool NvmWriteThru); |
| void PswValMdnUpdated(IS683DigitParms *digitParms); |
| |
| kal_uint32 PswGetSPC(void); |
| kal_uint8 PswGetSpcRetryCount(); |
| void PswMsCapDbDataWrite( const MsCapDb* ); |
| void DbmDataMsCapDbRequest( void ); |
| void PswGetMsCapDb( void ); |
| void PswClearMRUMsg(void); |
| void PswNamDataWriteAck(kal_uint8 result); |
| void PswNvramWriteCnf(nvram_write_cnf_struct *msgP); |
| void PswUpdateNamPreference(void); |
| void PswMiscWriteAck(kal_uint8 result); |
| void PswSecureDataWriteAck(kal_uint8 result); |
| void PswMobileIdWriteAck(kal_uint8 result); |
| void PswStaticsParms( PswStatCntMsgT *MsgP ); |
| void PswTstInitDbmNam( DataInitMode mode ); |
| void PswMsCapDbDataMsg( MsCapDb * pMsCapDb ); |
| void PswInitMiscDBToDefault(void); |
| void PswTstHspdActiveControlHoldMsg(PswHspdActiveControlHoldMsgT* RxMsgP); |
| void PswTstRevSchRequestMsg(PswRevSchRequestMsgT* RxMsgP); |
| void PswRschRelInd( PswRschRelIndMsgT *MsgP ); |
| void PswDataBufferStatusMsg( PswDataBufferStatusMsgT *MsgDataPtr); |
| void PswMsCapDataWriteAck(kal_uint8 result); |
| void PswInjectHandoff( PswInjectHandoffMsgT *MsgP ); |
| void PswHookFlashMsg( PswHookflashMsgT* MsgP ); |
| void PswSendContDTMFOnMsg( PswSendContDTMFMsgT* MsgP ); |
| void PswSendContDTMFOffMsg( void ); |
| void PswSendBurstDTMFMsg( PswSendBurstDTMFMsgT* MsgP); |
| void PswSetPrivacyModeMsg( PswSetPrivacyModeMsgT* MsgP ); |
| void PswGetPrivacyModeMsg(void); |
| void PswGetFullSysTimeMsg( PswGetFullSysTimeMsgT* RxMsgP ); |
| |
| #ifdef MTK_CBP_ENCRYPT_VOICE |
| void PswDbmCryptDataRead(void); |
| void PswDbmCryptDataWrite(void); |
| void PswDbmCryptDataReadAck(PswDbmCryptDataT* MsgP); |
| void PswDbmCryptDataWriteAck(kal_uint8 result); |
| #endif |
| |
| void PswSetIdleHoParameters( PswSetIdleHOParmsMsgT *MsgP ); |
| void PswSetAccessHoParams ( PswSetAccessHOParmsMsgT *MsgP ); |
| void PswCssValRspMsg(PswCssValSyncRspMsgT* MsgDataPtr); |
| |
| kal_bool PswSetServiceOptionSupported(kal_uint16 so, kal_bool setting); |
| void PswQpchPiStatusMsg(PswQpchPiStatusMsgT *MsgP); |
| void PswGetNamMsg(PswGetNamMsgT *MsgP); |
| void PswNamChangedMsg(PswNamChangedMsgT *MsgP); |
| |
| void PswGetParmMsg(ValGenericGetParmMsgT* MsgP); |
| void PswSetParmMsg(ValGenericSetParmMsgT* MsgP); |
| void PswUpdateNam(NamNumber namNumber); |
| kal_bool PswUpdateUimNam(void); |
| #if 0 |
| /* under construction !*/ |
| #endif |
| kal_uint32 PswSaveChangedNamParms(PswNamChangedMsgT *MsgP); |
| void PswServiceOptionControlResp (PswServiceOptionControlRespMsgT *MsgP); |
| void PswDbmMiscDataRequest(void); |
| |
| void PswMiscDataRead(PswMiscT *DataP); |
| kal_uint8 PswGetActiveNam(void); |
| void PswReportActiveNam(void); |
| void PswSelectActiveNam(PswSelectActiveNamMsgT* MsgP); |
| void PswGetTransmitInfoMsg(void); |
| void PswSetTransmitInfoMsg(PswSetTransmitInfoMsgT* msgDataPtr); |
| void PswL1dAlternatePilotsMsg( PswL1dAlternatePilotsMsgT* MsgP); |
| void PswRlpCloseReq( void ); |
| void PswInitSecureDbMsg( void ); |
| void PswEnablePrlMsg( PswEnablePrlMsgT *MsgP); |
| |
| #ifdef SYS_OPTION_SMS_ENGINE |
| void PswSmsInit( void ); |
| void PswSmsPrefSrvOptMsg( PswSmsPrefSrvOptMsgT *MsgP ); |
| void PswSmsConnectMsg( PswSmsConnectMsgT *MsgP ); |
| void PswSmsDisconnectMsg( PswSmsDisconnectMsgT *MsgP ); |
| void PswSmsSubmitParmsMsg( PswSmsSubmitParmsMsgT *MsgP ); |
| void PswSmsSubmitDataMsg( PswSmsUserDataMsgT *MsgP ); |
| void PswSmsCancelMsg( PswSmsCancelMsgT *MsgP ); |
| void PswSmsAckParmsMsg( PswSmsAckMsgT *MsgP ); |
| void PswSmsAckDataMsg( PswSmsUserDataMsgT *MsgP ); |
| void PswSmsTimerExpired( kal_uint32 TimerId ); |
| void PswSmsPeriodTimerExpired( kal_uint32 TimerId ); |
| void PswSmsWaitL3AckTimerExpired( kal_uint32 TimerId ); |
| void PswSmsWaitRspTimerExpired( kal_uint32 TimerId ); |
| void PswSmsBCastConnectMsg ( PswSmsBCastParmsMsgT * MsgP ); |
| void PswSmsBCastDisconnectMsg( void ); |
| void PswSmsBCastParmsMsg( PswSmsBCastParmsMsgT *MsgP ); |
| #if defined(LGT_EXTENSIONS) |
| void PswSmsUnknownConnectMsg ( PswSmsUnknownParmsMsgT * MsgP ); |
| void PswSmsUnknownDisconnectMsg( void ); |
| void PswSmsUnknownParmsMsg( PswSmsUnknownParmsMsgT *MsgP ); |
| #endif |
| void PswSmsTerminalStatusMsg( PswSmsTerminalStatusMsgT *MsgP ); |
| void PswSmsRetxAmountMsg( PswSmsRetxAmountMsgT *MsgP); |
| void PswSmsCauseCodeMsg( PswSmsCauseCodeMsgT *MsgP ); |
| void PswSmsGetDialInfo(SMS_ADDR *smsInfo); |
| void PswSmsReplyTlAckMsg(PswSmsReplyTlAckMsgT *MsgP); |
| kal_bool PswSmsIsTeleServiceConnected(kal_uint16 TeleServ); |
| void PswSmsResendTimerExpired( kal_uint32 TimerId ); |
| void PswSmsMoRelTimerExpired( kal_uint32 TimerId ); |
| void PswSmsMmsTimerExpired( kal_uint32 TimerId ); |
| void PswSmsCap(UimGetSmsCapRspMsgT *MsgP); |
| #ifdef MTK_PLT_ON_PC_UT |
| void PswSendSmsConfirm(PswSendSmsConfirmMsgT *MsgP); |
| #endif |
| void PswSmsMutliModeMsg(PswSMSModeMsgT * MsgP); |
| |
| void PswSmsTlAckReqMsg(PswSMSTlackReqMsgT *MsgP); |
| #endif |
| |
| void PswDsEnableMsg(PswDsEnableMsgT *MsgDataPtr); |
| void PswDataPrefReqMsg(PswDataPrefReqMsgT *MsgDataPtr); |
| void PswVsDsPreArangMsg(PswVsDsPreArangMsgT *MsgDataPtr); |
| void PswVsPrefReqMsg(PswVsPrefReqMsgT *MsgDataPtr); |
| void PswLsPrefReqMsg(PswLsPrefReqMsgT *MsgDataPtr); |
| void PswSmsPrefReqMsg(PswSmsPrefReqMsgT *MsgDataPtr); |
| void PswSmsRelReqMsg(void); |
| void PswSmsTxReqMsg(PswSmsTxReqMsgT *MsgDataPtr); |
| |
| void PswOtaspRcvdMsg(PswOtaspRcvdMsgT *MsgDataPtr); |
| void PswOtaspReleaseMsg(void); |
| void PswOtaspTxReqMsg(PswOtaspTxReqMsgT *MsgDataPtr); |
| void PswOtaspSoPrefMsg(PswOtaspSoPrefMsgT *MsgDataPtr); |
| void PswOtaSetPowerUpModeMsg(PswOtaSetPowerUpModeMsgT *MsgDataPtr); |
| void PswOtaSPLUnlockFailMsg(void); |
| void PswVsSwitchSoMsg(PswVsSwitchSoMsgT *MsgDataPtr); |
| void PswModExpMSResMsg(PswModExpMSResultMsgT *MsgDataPtr); |
| void PswModExpBSResMsg(PswModExpBSResultMsgT *MsgDataPtr); |
| void PswIOTAIS683Msg(PswIOTAIS683MsgT *MsgDataPtr); |
| void PswIOTAPRLMsg(PswIOTAPRLMsgT *MsgDataPtr); |
| void PswLocPrefReqMsg(PswLocPrefReqMsgT *MsgP); |
| void PswSetServiceConfigMsg(PswSetServiceConfigMsgT *MsgDataPtr); |
| #if defined (__TC10__) && defined (__TC10_IPC_CDMA_SUPPORT__) |
| void PswSetServiceConfigReqMsg(PswSetServiceConfigReqMsgT *MsgP); |
| #endif |
| void PswSetPkzidHysterTmrMsg(PswSetPkzidHysterTmrMsgT *MsgDataPtr); |
| void psSccUpdateSO (kal_uint16); |
| void psSccSetPktCallInitMsgSaved(OrigParms *origP); |
| /* service configuration */ |
| kal_uint8* PswSupportedMuxOptGet( void ); |
| void PswServNegotationSrvConfigSet( kal_uint16 SrvOpt ); |
| |
| /* conversion routines */ |
| SysActionTimeT ActTime_ConvPEToSys (WbiosSystime *PeTime); |
| |
| L1dNghbrSearchModeT CandFreqNghbrSearchMode_ConvPEToL1d (kal_uint8 Mode); |
| LmdMsgPriorityT MsgPriority_ConvPEToLmd (Priority Priority); |
| SysMultiplexOptionT MultiplexOption_ConvPEToLmd (MultiplexOption MuxOpt); |
| MultiplexOption MultiplexOption_ConvLmdToPE ( SysMultiplexOptionT MuxOpt ); |
| L1dPagingDataRateT PagingDataRate_ConvPEToL1d (PageChRate Rate); |
| LmdRatesT Rates_ConvPEToLmd( kal_uint8 Rates ); |
| LmdRTCTrafficT RTCTrafficType_ConvPEToLmd( RTCTraffic rtcTraffic1 ); |
| LmdServiceOptionT ServiceOption_ConvPEToLmd (kal_uint16 ServOpt); |
| PswEngineTestModeMsgT TestMode_ConvEtsToPE( PswTestModeT Mode ); |
| LmdTrafficTypeT TrafficType_ConvPEToLmd (TrafficType TrafficType); |
| L1dTxControlT TxControl_ConvPEToL1d( TXControl txControl ); |
| ValNumberTypeT NumberType_ConvPEToVal( NumberType NumType ); |
| ValNumberPlanT NumberPlan_ConvPEToVal( NumberPlan NumPlan ); |
| ValPresentationIndicatorT PresInd_ConvPEToVal( PresentationIndicator Pi ); |
| ValScreeningIndicatorT ScreenInd_ConvPEToVal( ScreeningIndicator Si ); |
| ValSignalTypeT SignalType_ConvPEToVal( SignalType SignalType ); |
| ValAlertPitchT AltertPitch_ConvPEToVal( AlertPitch AlertPitch ); |
| ValRptCpEventT Event_ConvPEToVal( kal_uint8 Event ); |
| Css1xRptCpEventT Event_ConvPEToCss( kal_uint8 Event ); |
| ValCPStateT ReportStatusState_ConvPEToVal( CPState State ); |
| kal_uint8 RequestMode_ConvPswToPE( PswRequestModeT Mode ); |
| kal_uint16 ServiceOption_ConvPswToPE (kal_uint16 ServOpt); |
| NumberType NumberType_ConvPswToPE( PswNumberTypeT NumType ); |
| NumberPlan NumberPlan_ConvPswToPE( PswNumberPlanT NumPlan ); |
| |
| /* Location Services */ |
| void PswLocSlottedVeto(kal_bool veto); |
| void PswLocAfltRsltInd(void); |
| void PswIS801SessionStartMsg(PswIs801SessionStartMsgT *MsgDataPtr); |
| void PswIS801TCPBRevDataRespInfoMsg(PswIs801TcpBRevDataRespMsgT *MsgDataPtr); |
| void PswIS801EphAlmSysTimeMsg(PswIs801EphAlmSystimeMsgT* MsgDataPtr); |
| void PswIS801TCPBFwdDataRespInfoMsg(PswIs801TcpbFwdDataRespInfoMsgT* MsgPtr); |
| void PswPosRejectMsg(PswPosRejectMsgT* MsgPtr); |
| void PswAfltMeasurementsMsg (PswPosAfltMeasurementMsgT *MsgP); |
| void PswAfltPpmReqMsg(VAL_LCS_PPM_REQ_T *req); |
| void PswAfltAckAbortMsg (PswPosAfltAckAbortMsgT *MsgP); |
| void PswAfltAbortReqMsg (PswPosAfltAbortReqMsgT *MsgDataPtr); |
| void PswIS801CancelReqMsg(PswIs801SessCancelReqMsgT *MsgDataPtr); |
| void PswPdeSessionAbortReqMsg(void); |
| void PswPdePseudorangeMsmtRspMsg(PswPseudorangeMsmtRspMsgT *MsgP); |
| void PswPdeSessionEndRspMsg(void); |
| void PswPdeGPSInopMsg(void); |
| void PswGPSEnableReportsMsg(PswGPSEnableReportsMsgT *MsgP); |
| kal_bool PswLocGoodN1MsgSENT(void); |
| kal_bool PswLocCDMAKeepAlive(void); |
| kal_uint8 PswLocN1GoodFrames(void); |
| void PswLocSendN1GoodMsg(void); |
| void PswLocSendPSMMIndication(void); |
| void PswLocHOCompleteInd(void); |
| void PswGpsDebugInfoMsg(PswGpsDebugInfoCmdMsgT* MsgDataPtr); |
| void PswIs801GetSectorInfoMsg(void); |
| void PswIS801TcpConnStatusMsg(PswIs801TcpConnStatusMsgT* MsgP); |
| void PswLocStateChangeTestCmd(PswLocStateChangedMsgT* MsgP); |
| void PswIs801SessTimerExpMsg(void* MsgDataPtr); |
| void PswIs801PpmTimerExpMsg(void* MsgDataPtr); |
| void PswIs801PrmTimerExpMsg(void* MsgDataPtr); |
| void PswIs801PrefRespQualTimerExpMsg(void* MsgDataPtr); |
| void PswIs801OutReqTimerExpMsg(void* MsgDataPtr); |
| void PswLecLocRspMsg(PswLocRspDataT * MsgDataPtr); |
| void PswLecGpsReadyMsg(void); |
| void PswIs801ResetAssisMsg(PswGpsResetAssistMsgT* MsgDataPtr); |
| void PswLecNmeaStreamMsg(PswGpsNmeaStreamMsgT* MsgDataPtr); |
| void PswIS801MssDoneMsg(PswIs801MssDoneMsgT* MsgDataPtr); |
| void PswIs801RestartMsg(PswValRestartMsgT* MsgDataPtr); |
| void PswLocStartModeSetMsg(PswLocStartModeSetMsgT* MsgDataPtr); |
| void PswLocFixModeGetMsg(PswValLocFixModeGetMsgT * MsgDataPtr); |
| void PswIs801NmeaOutputSettingMsg(PswIs801NmeaOutputSettingMsgT* MsgDataPtr); |
| void PswIs8011xNeworkAvail(void); |
| void PswIs801SendUpdatedAfltPilotSet(kal_uint32 Sess_Id); |
| void PswLecFrameSyncDoneMsg(void); |
| void PswLecCdmaSystemReqMsg(void); |
| void PswUserModeMsg(void); |
| void PswTestModeMsg(void); |
| void PswLtsModeMsg(void); |
| void PswIs801AssistReqMsg(PswAssistReqT* MsgDataPtr); |
| void PswIs801MpcConnStatusMsg(PswIs801MpcConnStatusMsgT* MsgDataPtr); |
| void PswIs80160SecTimerMsg(void); |
| void PswLecCdmaSystemReadyReqMsg(void); |
| void PswIs801CustomerSettingMsg(PswIs801CustomerSettingMsgT* MsgDataPtr); |
| void PswLecSessionEndRspMsg(PswLecSessionEndRspMsgT* MsgDataPtr); |
| void LocRcvMsgInd(kal_uint8 *data, kal_uint16 length); |
| void LocSetPrivacyMode(kal_bool mode); |
| |
| /* Test routines */ |
| void PswTstStatusRequest(void); |
| void PswGetDebugScreenInfo(PswDebugScrnRequestMsgT* RxMsgP); |
| void PswDebugScreenInfoResponse(kal_uint32 MsgId, void *MsgDataPtr); |
| void PswPilotStrengthDebugInfo(PswDebugPilotStrengthMsgT *RxMsgP); |
| void PswSendPilotStrengthDebugInfo(void); |
| void PswNotifySrvStatusToUpperLayer(void); |
| void PswEndE911CallReq(void); |
| |
| #ifdef MTK_CBP_ENCRYPT_VOICE |
| void PswEncryptVoiceReqMsg(void); |
| #endif |
| |
| void PswEngineTestModeMsg (PswEngineTestModeMsgT *MsgP); |
| void PswStatusResponse(kal_uint32 MsgId, void *MsgDataPtr); |
| kal_bool PswGetETSStatusTrigger(void); |
| void PswSetPowerLevelIndex(kal_uint8 PLevelIndex); |
| void PswPhoneStateRequest(PswPhoneStateRequestMsgT* RxMsgP); |
| void PswGetPRevInUseMsg(void); |
| /* */ |
| void PswEnterAKeyMsg (PswEnterAKeyMsgT *MsgP); |
| void PswForceAnalogModeMsg(void); |
| void PswGetRetrievableStatistics(PswGetRetrievableParameterMsgT *msgDataPtr); |
| void PswSetRetrievableStatistics(PswSetRetrievableParameterMsgT * MsgDataPtr); |
| void PswTstPowerControlMsg(PswTestPowerControlMsgT* MsgP); |
| void PswWriteMDNMsg ( PswWriteRawMDNMsg* ); |
| void PswSetLostScanPingFrequencyMsg(PswSetLostScanPingFrequencyMsgT *MsgP); |
| |
| #define PswTstStatusStateSet(a) PswTstStatus.State = (a) |
| #define PswTstStatusChannelSet(a) PswTstStatus.Channel = (a) |
| #define PswTstStatusEsnSet(a) PswTstStatus.Esn = (a) |
| #define PswTstStatusPilotPn(a) PswTstStatus.PilotPn = (a) |
| |
| #define PSW_MAX_SPY_LEN 64 |
| |
| extern UiccCardStatusType PswUimGetUimCardStatus(void); |
| void PswUimAuthResultMsg( UimRspToPsMsgT* msgDataPtr); |
| void PswUimBSChallengeMsg( UimRspToPsMsgT* msgDataPtr); |
| void PswUimConfirmSSDMsg( UimRspToPsMsgT* msgDataPtr); |
| void PswUimStatusNotifyMsg(UimNotifyMsgT* MsgP); |
| UimNamT* GetUimNam(void); |
| void PswUiccFactoryModeMsg(PswUiccFactoryModeMsgT* MsgP); |
| kal_bool PswUiccGetFactoryMode(void); |
| |
| #ifdef MTK_PLT_ON_PC_UT |
| void PswForwardPageChanMsg (FcschMessage *MsgP); |
| void PswForwardSyncChanMsg (SyncChannelMessage *MsgP); |
| void PswForwardTrafficChanMsg (FTCMessage *MsgP); |
| #ifdef MTK_DEV_C2K_IRAT |
| void PswSetIratParam(PswSetIratParamMsgT *MsgP); |
| #endif |
| #endif |
| CPState rxPCNM (FTCMessage* msg, CPState currentState); |
| void PswWriteRawIMSIMsg(PswWriteRawIMSIMsgT* MsgP); |
| void PswReadRawIMSIMsg(void); |
| void PswSlottedVetoMsg( PswSlottedVetoMsgT *MsgP ); |
| void PswOosaWakeupIndMsg(PswOosaWakupIndMsgT* MsgP); |
| /*CSS message handle*/ |
| void PswCssSelectRspMsg(PswCssSelectRspMsgT* MsgP); |
| void PswCssValdateRspMsg(PswCssValidateRspMsgT* MsgP); |
| void PswCssOosaContSleepReqMsg(PswCssOosaSleepReqMsgT* MsgP); |
| void PswCssSysAcqReqMsg(PswCssSysAcqReqMsgT* MsgP); |
| void PswCssAcqAbortReqMsg(void); |
| void PswCssOosaSleepReqMsg(PswCssOosaSleepReqMsgT* MsgP); |
| void PswCssOosaWakeupReqMsg(void); |
| void PswCssOtaspScanFinishedMsg(void); |
| |
| kal_bool PswIsMobileIDSetInDBM( void ); |
| void PswGetMobileID(PswGetMobileIDMsgT* MsgP); |
| void PswCl1tstGetMobileID(void); |
| void PswVerifySPC(PswVerifySPCMsgT* MsgP); |
| void PswSetMobileID(PswSetMobileIDMsgT* MsgP, PswSetMobileIdType SetType); |
| MobileIDType PswGetMobileIDType( void ); |
| kal_uint8* PswGetMeidInUsePtr(void); |
| kal_uint8* PswGetMeidInDbPtr(void); |
| kal_uint32 PswGetEsnInUse( void ); |
| void PswSetSIPpassword(PswSetSIPpasswordMsgT* MsgP); |
| void PswGetSIPpassword(PswGetSIPpasswordMsgT* MsgP); |
| void PswGetMIPkeys(PswGetMIPkeysMsgT* MsgP); |
| void PswSetSecureData(SecureDataType Type, kal_bool RspNeeded); |
| void PswWriteMobileId(void); |
| void PswReadMobileId(void); |
| void PswSetSpc(PswSetSPCMsgT* MsgP); |
| void PswGetSPCMsg(void); |
| void PswDumpSecureData(void); |
| void PswInitSecureDb(void); |
| void PswSetPrlEnableMsg( PswEnablePrlMsgT *PswPrlMsg); |
| void PswCpBCToCdmaBC(void); |
| void PswCpBCToCdmaBCMsg(void); |
| kal_uint8 PswGetNamBCIndex(SysCdmaBandT band); |
| #if 0 |
| /* under construction !*/ |
| #endif |
| void PswDbmSetBandInfo(void); |
| void PswSetA21MobileSubInfo(void); |
| kal_uint32 PswDbmGetSubClassMask(SysCdmaBandT band); |
| void PswHlwMipKeysUpdateMsg(void); |
| void PswSetSIPpasswordMsg( PswSetSIPpasswordMsgT *MsgP ); |
| void PswGetSIPpasswordMsg( PswGetSIPpasswordMsgT *MsgP ); |
| void PswGetMIPkeysMsg( PswGetMIPkeysMsgT *MsgP ); |
| void PswSetSpcMsg( PswSetSPCMsgT *MsgP ); |
| void SetNamPrlEnable(kal_bool PrlEnable); |
| PswPendRegType PswGetPendingReg(void); |
| #if defined (__TC10__) && defined (__TC10_IPC_CDMA_SUPPORT__) |
| void PswGetServiceConfigMsg(void); |
| void PswUpdateDefineRcForAllService(kal_bool defineRcForAllSo, kal_uint8 forRc, kal_uint8 revRc); |
| void PswSetDefineRc(kal_bool defineRcForAllSo, kal_uint8 forRc, kal_uint8 revRc); |
| #endif |
| void PswSaveMiscDB(void); |
| void PswSetPendingReg(PswPendRegType type); |
| DbmReadStatusType PswDbmGetDbmDataReadStatus(void); |
| void PswDbmSecureDataRequest(void); |
| void PswSetFlyMode(PswFlyModeMsgT *PswFlyModeMsg); |
| void PswManualAvoidMsg(void); |
| #ifdef MTK_DEV_C2K_IRAT |
| void PswIratMccReqMsg( void ); |
| void PswIratCurSysMeasReqMsg( void ); |
| void PswIratSignalMonitorReqMsg(PswIratRATSigMonReqT* MsgP); |
| void PswCssForcePowerDownMsg( void ); |
| void PswCssDeacInd( void ); |
| #endif /* MTK_DEV_C2K_IRAT */ |
| #ifdef FIELD_TEST_DATA |
| void PswResetFTDPara(void); |
| #endif |
| kal_bool IsPswSOEnabled(kal_uint16 so); |
| void PswNstPowerupMsg( PswNstPowerupMsgT *MsgP ); |
| void PswNstTransmitTchMsg( PswNstTransmitTchMsgT *MsgP ); |
| void PswNstExitTestModeMsg( PswNstExitMsgT *MsgP ); |
| void PswNstListSetMsg( PswNstListSetMsgT *MsgP ); |
| void PswNstTchFerCfgMsg( PswNstTchFerCfgMsgT *MsgP ); |
| void PswNstRxPwrReqMsg( PswNstRxPwrReqMsgT *MsgP ); |
| void PswNstRxPwrCnfMsg( L1dNstRxPwrCnfMsgT *MsgP ); |
| void PswNstRxPwrReqNackMsg( void); |
| void PswNstTxPwrLevelSetMsg( PswNstTxPwrLevelSetMsgT *MsgP ); |
| void PswNstPowerupAckMsg( kal_uint8 result ); |
| void PswNstTransmitTchAckMsg( kal_uint8 result ); |
| void PswNstTchFerCfgCnfMsg( kal_uint32 badF, kal_uint32 totalF); |
| kal_uint16 PswGetPrefHomeMOServiceOption(void); |
| kal_uint16 PswGetPrefHomeMTServiceOption(void); |
| kal_uint16 PswGetPrefRoamMOServiceOption(void); |
| kal_bool PswGetCurrentVoiceService(void); |
| void PswSetEmergenceCardInit(kal_uint8* MsgP); |
| kal_bool PswGetCurrentDdtmMode(void); |
| void PswValSetDdtmMsg(PswValSetDDTMMsgT *MsgP); |
| PswPhyICModeT PswDbmGetICMode(void); |
| void PswRegResumeMsg(void); |
| |
| #ifdef MTK_DEV_C2K_IRAT |
| void PswRsvasVirtualSuspendReqMsg(void); |
| void PswRsvasResumeReqMsg(void); |
| void PswRsvasOccupyIndMsg(void); |
| void PswLocalReleaseMsg(void); |
| void PswL1dRakeDdlCnfMsg(void); |
| void PswC2KLteCSFBCnfMsg(void); |
| #endif |
| |
| void PswL1dDeactiveCnfMsg(void); |
| void PswGetSSDCmdMsg(void); |
| void PswSetPrefTestSO(PswSetServiceConfigMsgT *MsgDataPtr); |
| void PswSetSoSupportMsg(PswSetSoSupportMsgT *MsgP); |
| void PswL1dOosaCnfMsg(void); |
| void PswL1dInitCnfMsg(void); |
| |
| #if defined(MTK_DEV_SLT) |
| void SltInitVerifyResult (void); |
| void Psw1xSltVerifyResultIndMsg(SltVerifyResultMsgT *MsgP); |
| void PswDoSltVerifyResultIndMsg(SltVerifyResultMsgT *MsgP); |
| #if defined(MTK_DEV_SLT_ON_RF_GENERATOR) |
| void PswL1dSltTxVerifyIndMsg(PswL1dSltTxVerifyIndMsgT* MsgP); |
| #endif |
| |
| #ifdef MTK_CBP_ENCRYPT_VOICE |
| void PswSetKskeyReqMsg(PswKeyReqMsgT* KeyReqMsg); |
| void PswClearTempKeyReqMsg(void); |
| void PswCancelCipherSmsSendReqMsg(PswCancelCipherSmsSendReqT* CipherSmsReqMsg); |
| #endif |
| |
| #endif |
| void PswValFlightModeMsg(void); |
| void PswTstInjectStringMsg(PswTstInjectEnum tstInject); |
| |
| #if defined (__TC10__) && defined (__TC10_IPC_CDMA_SUPPORT__) |
| void PswEngineTestModeGetReqMsg (PswEngineTestModeGetReqMsgT *MsgP); |
| #endif |
| |
| |
| /***************************************************************************** |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| *****************************************************************************/ |
| |
| /***************************************************************************** |
| * End of File |
| *****************************************************************************/ |
| #endif |
| /**Log information: \main\CBP80\cbp80_gdeng_scbp10325\1 2012-09-14 09:34:48 GMT gdeng |
| ** HREF#10325**/ |
| |