VOS_VOID MN_MSG_PrintTimerInfo(VOS_VOID) { VOS_UINT32 ulLoop; for (ulLoop = 0; ulLoop < (MN_MSG_TID_MAX - MN_TIMER_CLASS_MSG); ulLoop++) { MN_INFO_LOG1("MN_MSG_PrintTimerInfo:Timer No ", (VOS_INT32)ulLoop); MN_INFO_LOG1("MN_MSG_PrintTimerInfo:Timer handle id ", (VOS_INT32)f_astMsgTimerHandle[ulLoop].enTimerId); MN_INFO_LOG1("MN_MSG_PrintTimerInfo:Timer handle hTimer", (VOS_INT32)f_astMsgTimerHandle[ulLoop].hTimer); MN_INFO_LOG1("MN_MSG_PrintTimerInfo:Timer Table Length ", (VOS_INT32)f_astMsgTimerInfoTbl[ulLoop].ulTimeout); MN_INFO_LOG1("MN_MSG_PrintTimerInfo:Timer Table handle ", (VOS_INT32)f_astMsgTimerInfoTbl[ulLoop].pfnTimeoutProc); } }
VOS_VOID MN_MSG_PrintBcdAddrStru( MN_MSG_BCD_ADDR_STRU *pstAddr ) { VOS_UINT32 ulLoop; MN_INFO_LOG1("MN_MSG_PrintBcdAddrStru: addr len is ", pstAddr->ucBcdLen); MN_INFO_LOG1("MN_MSG_PrintBcdAddrStru: addr type is ", pstAddr->addrType); for (ulLoop = 0; ulLoop < MN_MSG_MAX_BCD_NUM_LEN; ulLoop++) { MN_INFO_LOG1("MN_MSG_PrintBcdAddrStru: ", pstAddr->aucBcdNum[ulLoop]); } return; }
VOS_VOID MN_CALL_ProcCstCallPrimitive( const VOS_VOID *pMsg ) { VOS_UINT16 usMsgType; usMsgType = *((VOS_UINT16*)((VOS_UINT8*)pMsg + VOS_MSG_HEAD_LENGTH)); MN_INFO_LOG1("MN_CALL_ProcCstCcPrimitive: primitive:", (VOS_INT32)(usMsgType)); switch ( usMsgType ) { case ID_CST_CALL_ERROR_IND : MN_CALL_ProcCstErrorInd(pMsg); break; case ID_CST_CALL_SETUP_CNF : MN_CALL_ProcCstSetupCnf(pMsg); break; default: MN_WARN_LOG1("MN_CALL_ProcCstCcPrimitive: wrong enMsgID:", (VOS_INT32)(usMsgType)); break; } }
VOS_VOID MN_MSG_PrintSrvParamStru( MN_MSG_SRV_PARAM_STRU *pstSrvParam ) { MN_INFO_LOG("MN_MSG_PrintSrvParamStru: SMS SERVICE PARAM INFO "); MN_INFO_LOG1("MN_MSG_PrintSrvParamStru: Parameter indicate ", pstSrvParam->ucParmInd); MN_INFO_LOG("MN_MSG_PrintSrvParamStru: SMS DEST ADDRESS"); MN_MSG_PrintBcdAddrStru(&pstSrvParam->stDestAddr); MN_INFO_LOG("MN_MSG_PrintSrvParamStru: SMS SCA ADDRESS"); MN_MSG_PrintBcdAddrStru(&pstSrvParam->stScAddr); MN_INFO_LOG1("MN_MSG_PrintSrvParamStru: ucPid ", pstSrvParam->ucPid); MN_INFO_LOG1("MN_MSG_PrintSrvParamStru: ucDcs ", pstSrvParam->ucDcs); MN_INFO_LOG1("MN_MSG_PrintSrvParamStru: ucValidPeriod ", pstSrvParam->ucValidPeriod); return; }
VOS_VOID TAF_MMA_ReadUserSettedBandNvim(VOS_VOID) { MN_MMA_SYSCFG_USER_SET_BAND_STRU *pstUserSetBand = VOS_NULL_PTR; pstUserSetBand = MN_MMA_GetSyscfgUserSetBandAddr(); /* 获取用户设置的GU频段 */ if (NV_OK != NV_Read(en_NV_Item_User_Set_Freqbands, &(pstUserSetBand->stOrigUserSetGuBand), sizeof(TAF_USER_SET_PREF_BAND64))) { /*打印未成功初始化值,原值保留*/ pstUserSetBand->uUserSetGuBand.ulPrefBand = TAF_PH_BAND_ANY; pstUserSetBand->stOrigUserSetGuBand.ulBandHigh = 0; pstUserSetBand->stOrigUserSetGuBand.ulBandLow = TAF_PH_BAND_ANY; MMA_WARNINGLOG("TAF_MMA_ReadUserSettedBandNvim():Read UserSet_Freqbands Failed!"); } else { if ( (0 != pstUserSetBand->stOrigUserSetGuBand.ulBandHigh ) || ( TAF_PH_BAND_ANY != pstUserSetBand->stOrigUserSetGuBand.ulBandLow) ) { pstUserSetBand->uUserSetGuBand.ulPrefBand = pstUserSetBand->stOrigUserSetGuBand.ulBandHigh | (pstUserSetBand->stOrigUserSetGuBand.ulBandLow & ~TAF_PH_BAND_NEED_CHANGE_TO_64BIT); /* 过滤无效频段 */ pstUserSetBand->uUserSetGuBand.ulPrefBand &= (gstMmaBandCapa.ulAllUeBand); } else { /* 当前频段为TAF_PH_BAND_ANY时,赋值为单板支持的所有频段 */ pstUserSetBand->uUserSetGuBand.ulPrefBand = gstMmaBandCapa.ulAllUeBand; } } MN_INFO_LOG1("TAF_MMA_ReadUserSettedBandNvim():Support_Freqbands:",(VOS_INT32)pstUserSetBand->uUserSetGuBand.ulPrefBand); return; }