本文整理汇总了C++中PS_MEM_FREE函数的典型用法代码示例。如果您正苦于以下问题:C++ PS_MEM_FREE函数的具体用法?C++ PS_MEM_FREE怎么用?C++ PS_MEM_FREE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PS_MEM_FREE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GUNAS_SMS_ATCmdFilter
VOS_UINT32 GUNAS_SMS_ATCmdFilter(
VOS_UINT8 *pucATData,
VOS_UINT16 usLen
)
{
VOS_UINT32 i;
VOS_UINT8 *pucTempData = VOS_NULL_PTR;
pucTempData = (VOS_UINT8 *)PS_MEM_ALLOC(WUEPS_PID_AT, usLen);
if (VOS_NULL_PTR == pucTempData)
{
return VOS_FALSE;
}
(VOS_VOID)PS_MEM_CPY(pucTempData, pucATData, usLen);
(VOS_VOID)At_UpString(pucTempData, usLen);
for (i = 0; i < (sizeof(g_apcATFileterTable)/sizeof(g_apcATFileterTable[0])); i++)
{
if (VOS_OK == PS_MEM_CMP((VOS_UINT8 *)g_apcATFileterTable[i], pucTempData, VOS_StrLen(g_apcATFileterTable[i])))
{
PS_MEM_FREE(WUEPS_PID_AT, pucTempData);
return VOS_TRUE;
}
}
PS_MEM_FREE(WUEPS_PID_AT, pucTempData);
return VOS_FALSE;
}
示例2: NAS_CC_LogBufferQueueMsg
VOS_VOID NAS_CC_LogBufferQueueMsg(
VOS_UINT32 ulFullFlg
)
{
NAS_CC_LOG_BUFFER_MSG_INFO_STRU *pstBufferMsg = VOS_NULL_PTR;
NAS_CC_MSG_QUEUE_STRU *pstMsgQueue = VOS_NULL_PTR;
pstBufferMsg = (NAS_CC_LOG_BUFFER_MSG_INFO_STRU*)PS_MEM_ALLOC(WUEPS_PID_CC,
sizeof(NAS_CC_LOG_BUFFER_MSG_INFO_STRU));
if ( VOS_NULL_PTR == pstBufferMsg )
{
NAS_CC_ERR_LOG("NAS_cc_LogBufferQueueMsg:ERROR:Alloc Mem Fail.");
return;
}
pstMsgQueue = NAS_CC_GetCachMsgBufferAddr();
pstBufferMsg->stMsgHeader.ulReceiverCpuId = VOS_LOCAL_CPUID;
pstBufferMsg->stMsgHeader.ulSenderPid = WUEPS_PID_CC;
pstBufferMsg->stMsgHeader.ulReceiverPid = WUEPS_PID_CC;
pstBufferMsg->stMsgHeader.ulLength = sizeof(NAS_CC_LOG_BUFFER_MSG_INFO_STRU) - VOS_MSG_HEAD_LENGTH;
pstBufferMsg->stMsgHeader.ulMsgName = CCOM_LOG_BUFFER_MSG_INFO_IND;
pstBufferMsg->ulFullFlg = ulFullFlg;
PS_MEM_CPY(&(pstBufferMsg->stMsgQueue), pstMsgQueue, sizeof(pstBufferMsg->stMsgQueue));
OM_TraceMsgHook(pstBufferMsg);
PS_MEM_FREE(WUEPS_PID_CC, pstBufferMsg);
return;
}
示例3: SSA_ReportUssdDataSndEvent
VOS_VOID SSA_ReportUssdDataSndEvent(VOS_UINT8 ucTi)
{
TAF_SS_CALL_INDEPENDENT_EVENT_STRU *pstSsEvent;
pstSsEvent = (TAF_SS_CALL_INDEPENDENT_EVENT_STRU *)PS_MEM_ALLOC(WUEPS_PID_SS,
sizeof(TAF_SS_CALL_INDEPENDENT_EVENT_STRU));
if (VOS_NULL_PTR == pstSsEvent)
{
SSA_LOG(ERROR_PRINT, "SSA_ReportUssdDataSndEvent:ERROR: Alloc Mem Fail");
SSA_TiFree(ucTi);
return;
}
/*对事件上报的内容赋初值*/
PS_MEM_SET(pstSsEvent, 0 , 4);
pstSsEvent->SsEvent = TAF_SS_EVT_USSD_DATA_SND;
pstSsEvent->OpId = gastSsaStatetable[ucTi].OpId;
pstSsEvent->ClientId = gastSsaStatetable[ucTi].ClientId;
MN_SendClientEvent(pstSsEvent->ClientId,
MN_CALLBACK_SS,
pstSsEvent->SsEvent,
pstSsEvent);
PS_MEM_FREE(WUEPS_PID_SS, pstSsEvent);
return;
}
示例4: SSA_TiFree
VOS_VOID SSA_TiFree(VOS_UINT8 ucTi)
{
if ((ucTi > TAF_MAX_SSA_TI) || (ucTi == TAF_MIDDLE_SSA_TI))
{
SSA_LOG1(WARNING_PRINT, "SSA_TiFree:WARNING: Ti Value is Wrong, ucTi:", ucTi);
return;
}
if (VOS_NULL_PTR != gastSsaStatetable[ucTi].pstUssdBuf)
{
PS_MEM_FREE(WUEPS_PID_SS, gastSsaStatetable[ucTi].pstUssdBuf);
gastSsaStatetable[ucTi].pstUssdBuf = VOS_NULL_PTR;
}
PS_MEM_SET(&gastSsaStatetable[ucTi], 0, sizeof(SSA_STATE_TABLE_STRU));
/* 当前Ti释放完了之后,判断一下是否所有的TI都释放了,
如果所有的TI都释放了,置一下CS域的SS业务不存在的标志 */
if (SSA_IDLE == SSA_TiIdle())
{
TAF_SDC_SetCsSsSrvExistFlg(VOS_FALSE);
#if (FEATURE_MULTI_MODEM == FEATURE_ON)
/* 给MTC模块上报当前CS域业务状态 */
TAF_SendMtcCsSrvInfoInd();
#endif
}
return ;
}
示例5: TAF_XPDS_MNTN_TraceAlmInfoCtxIndMsg
VOS_VOID TAF_XPDS_MNTN_TraceAlmInfoCtxIndMsg(VOS_VOID)
{
TAF_XPDS_MNTN_ALM_INFO_CTX_IND_STRU *pstMsg = VOS_NULL_PTR;
TAF_XPDS_FWDLINK_RSP_GPS_ALM_STRU *pstProvAlm = VOS_NULL_PTR;
pstProvAlm = &(TAF_XPDS_GetPdePublicData()->stProvGpsAlm);
pstMsg = (TAF_XPDS_MNTN_ALM_INFO_CTX_IND_STRU *)PS_MEM_ALLOC(UEPS_PID_XPDS, sizeof(TAF_XPDS_MNTN_ALM_INFO_CTX_IND_STRU));
if (VOS_NULL_PTR == pstMsg)
{
XPDS_ERROR_LOG("TAF_XPDS_MNTN_TraceEphInfoCtxIndMsg:ERROR:Alloc Mem Fail!");
return;
}
PS_MEM_SET( ((VOS_UINT8*)pstMsg + VOS_MSG_HEAD_LENGTH), 0,
sizeof(TAF_XPDS_MNTN_ALM_INFO_CTX_IND_STRU) - VOS_MSG_HEAD_LENGTH);
pstMsg->ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->ulReceiverPid = UEPS_PID_XPDS;
pstMsg->ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->ulSenderPid = UEPS_PID_XPDS;
pstMsg->ulLength = sizeof(TAF_XPDS_MNTN_ALM_INFO_CTX_IND_STRU) - VOS_MSG_HEAD_LENGTH;
pstMsg->enMsgId = ID_TAF_XPDS_MNTN_ALM_INFO_CTX_IND;
PS_MEM_CPY(&(pstMsg->stProvAlm), pstProvAlm, sizeof(TAF_XPDS_FWDLINK_RSP_GPS_ALM_STRU));
/* 消息勾包 */
DIAG_TraceReport(pstMsg);
PS_MEM_FREE(UEPS_PID_XPDS, pstMsg);
return;
}
示例6: TAF_XPDS_MNTN_TracePseuRangeInfoCtxIndMsg
VOS_VOID TAF_XPDS_MNTN_TracePseuRangeInfoCtxIndMsg(VOS_VOID)
{
TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND_STRU *pstMsg = VOS_NULL_PTR;
TAF_XPDS_REVLINK_RSP_PSEU_RANGE_MEAS_STRU *pstRspPrmInfo = VOS_NULL_PTR;
pstRspPrmInfo = &(TAF_XPDS_GetPdePublicData()->stRspPrmInfo);
pstMsg = (TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND_STRU *)PS_MEM_ALLOC(UEPS_PID_XPDS, sizeof(TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND_STRU));
if (VOS_NULL_PTR == pstMsg)
{
XPDS_ERROR_LOG("TAF_XPDS_MNTN_TracePseuRangeInfoCtxIndMsg:ERROR:Alloc Mem Fail!");
return;
}
PS_MEM_SET( ((VOS_UINT8*)pstMsg + VOS_MSG_HEAD_LENGTH), 0,
sizeof(TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND_STRU) - VOS_MSG_HEAD_LENGTH);
pstMsg->ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->ulReceiverPid = UEPS_PID_XPDS;
pstMsg->ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->ulSenderPid = UEPS_PID_XPDS;
pstMsg->ulLength = sizeof(TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND_STRU) - VOS_MSG_HEAD_LENGTH;
pstMsg->enMsgId = ID_TAF_XPDS_MNTN_PSEU_RANGE_INFO_CTX_IND;
PS_MEM_CPY(&pstMsg->stRspPrmInfo, pstRspPrmInfo, sizeof(TAF_XPDS_REVLINK_RSP_PSEU_RANGE_MEAS_STRU));
/* 消息勾包 */
DIAG_TraceReport(pstMsg);
PS_MEM_FREE(UEPS_PID_XPDS, pstMsg);
return;
}
示例7: TAF_XPDS_MNTN_LogFsmInfo
VOS_VOID TAF_XPDS_MNTN_LogFsmInfo(
VOS_UINT32 ulPid,
VOS_UINT32 ulFsmId,
VOS_UINT32 ulFsmState
)
{
TAF_XPDS_MNTN_LOG_FSM_INFO_STRU *pstMsg = VOS_NULL_PTR;
pstMsg = (TAF_XPDS_MNTN_LOG_FSM_INFO_STRU*)PS_MEM_ALLOC(ulPid,
sizeof(TAF_XPDS_MNTN_LOG_FSM_INFO_STRU));
if (VOS_NULL_PTR == pstMsg)
{
return;
}
pstMsg->ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->ulReceiverPid = ulPid;
pstMsg->ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->ulSenderPid = ulPid;
pstMsg->ulLength = sizeof(TAF_XPDS_MNTN_LOG_FSM_INFO_STRU) - VOS_MSG_HEAD_LENGTH;
pstMsg->enMsgId = ID_TAF_XPDS_MNTN_LOG_FSM_INFO_IND;
pstMsg->ulModuleId = ulPid;
pstMsg->ulCurFsmId = ulFsmId;
pstMsg->ulCurFsmState = ulFsmState;
DIAG_TraceReport(pstMsg);
PS_MEM_FREE(ulPid, pstMsg);
return;
}
示例8: NAS_CC_InitErrLogInfo
VOS_VOID NAS_CC_InitErrLogInfo(VOS_VOID)
{
VOS_CHAR *pbuffer;
OM_RING_ID pRingbuffer;
/* en_NV_Item_ErrLogCtrlInfo */
NAS_CC_ReadErrlogCtrlInfoNvim();
/* 申请cache的动态内存 , 长度加1是因为读和写指针之间在写满时会相差一个字节 */
pbuffer = (char *)PS_MEM_ALLOC(WUEPS_PID_CC, NAS_CC_RING_BUFFER_SIZE + 1);
if (VOS_NULL_PTR == pbuffer)
{
NAS_CC_SetErrLogRingBufAddr(VOS_NULL_PTR);
return;
}
/* 调用OM的接口,将申请的动态内存创建为RING BUFFER */
pRingbuffer = OM_RingBufferCreateEx(pbuffer, NAS_CC_RING_BUFFER_SIZE + 1);
if (VOS_NULL_PTR == pRingbuffer)
{
PS_MEM_FREE(WUEPS_PID_CC, pbuffer);
}
/* 保存ringbuffer指针 */
NAS_CC_SetErrLogRingBufAddr(pRingbuffer);
NAS_CC_SetErrlogOverflowCnt(0);
return;
}
示例9: TAF_MTA_DelItemInCmdBufferQueue
VOS_VOID TAF_MTA_DelItemInCmdBufferQueue(
TAF_MTA_TIMER_ID_ENUM_UINT32 enTimerId
)
{
VOS_UINT32 i;
TAF_MTA_CMD_BUFFER_STRU *pstCmdBufferQueue;
pstCmdBufferQueue = TAF_MTA_GetCmdBufferQueueAddr();
for ( i = 0; i < TAF_MTA_MAX_CMD_BUFFER_QUEUE_SIZE; i++ )
{
if (enTimerId == pstCmdBufferQueue[i].enTimerId)
{
/* 如果有缓存的消息,释放消息内存 */
if (VOS_NULL_PTR != pstCmdBufferQueue[i].pucMsgInfo)
{
PS_MEM_FREE(UEPS_PID_MTA, pstCmdBufferQueue[i].pucMsgInfo);
}
/* 初始化 */
pstCmdBufferQueue[i].pucMsgInfo = VOS_NULL_PTR;
pstCmdBufferQueue[i].enTimerId = TI_TAF_MTA_TIMER_BUTT;
pstCmdBufferQueue[i].ulMsgInfoLen = 0;
break;
}
}
return;
}
示例10: TAF_SPM_SendEconfNotifyInd
VOS_VOID TAF_SPM_SendEconfNotifyInd(
MN_OPERATION_ID_T ucOpId,
VOS_UINT8 ucNumOfCalls,
TAF_CALL_ECONF_INFO_PARAM_STRU *pstCallInfo
)
{
TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU *pstEconfNotify = VOS_NULL_PTR;
/* 由于sizeof(TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU)太大,采用动态内存 */
pstEconfNotify = (TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU *)PS_MEM_ALLOC(WUEPS_PID_TAF, sizeof(TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU));
if (VOS_NULL_PTR == pstEconfNotify)
{
return;
}
PS_MEM_SET(pstEconfNotify, 0, sizeof(TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU));
pstEconfNotify->enEvent = TAF_CALL_EVT_ECONF_NOTIFY_IND;
pstEconfNotify->usClientId = MN_GetRealClientId(MN_CLIENT_ID_BROADCAST, WUEPS_PID_TAF);;
pstEconfNotify->ucOpId = ucOpId;
pstEconfNotify->ucNumOfCalls = ucNumOfCalls;
PS_MEM_CPY(pstEconfNotify->astCallInfo, pstCallInfo, sizeof(TAF_CALL_ECONF_INFO_PARAM_STRU) * ucNumOfCalls);
MN_SendReportMsg(MN_CALLBACK_CS_CALL, (VOS_UINT8 *)pstEconfNotify, sizeof(TAF_CALL_EVT_ECONF_NOTIFY_IND_STRU));
PS_MEM_FREE(WUEPS_PID_TAF, pstEconfNotify);
return;
}
示例11: TAF_XPDS_MNTN_TraceForwardPdeHeaderInfo
VOS_VOID TAF_XPDS_MNTN_TraceForwardPdeHeaderInfo(VOS_VOID)
{
TAF_XPDS_MNTN_FORWARD_PDE_MSG_HEADER_IND_STRU_STRU *pstMsg = VOS_NULL_PTR;
TAF_XPDS_PD_MSG_HEADER_STRU *pstPdMsgHeader = VOS_NULL_PTR;
pstPdMsgHeader = &(TAF_XPDS_GetPdePublicData()->stFwdPdMsgHeader);
pstMsg = (TAF_XPDS_MNTN_FORWARD_PDE_MSG_HEADER_IND_STRU_STRU *)PS_MEM_ALLOC(UEPS_PID_XPDS,
sizeof(TAF_XPDS_MNTN_FORWARD_PDE_MSG_HEADER_IND_STRU_STRU));
if (VOS_NULL_PTR == pstMsg)
{
XPDS_ERROR_LOG("TAF_XPDS_MNTN_TraceForwardPdeHeaderInfo:ERROR:Alloc Mem Fail!");
return;
}
PS_MEM_SET( ((VOS_UINT8*)pstMsg + VOS_MSG_HEAD_LENGTH), 0,
sizeof(TAF_XPDS_MNTN_FORWARD_PDE_MSG_HEADER_IND_STRU_STRU) - VOS_MSG_HEAD_LENGTH);
pstMsg->ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->ulReceiverPid = UEPS_PID_XPDS;
pstMsg->ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->ulSenderPid = UEPS_PID_XPDS;
pstMsg->ulLength = sizeof(TAF_XPDS_MNTN_FORWARD_PDE_MSG_HEADER_IND_STRU_STRU) - VOS_MSG_HEAD_LENGTH;
pstMsg->enMsgId = ID_TAF_XPDS_MNTN_FORWARD_PDE_HEADER_IND;
PS_MEM_CPY(&(pstMsg->stPdMsgHeader), pstPdMsgHeader, sizeof(TAF_XPDS_PD_MSG_HEADER_STRU));
/* 消息勾包 */
DIAG_TraceReport(pstMsg);
PS_MEM_FREE(UEPS_PID_XPDS, pstMsg);
return;
}
示例12: TAF_XPDS_MNTN_TraceIntMsg
VOS_VOID TAF_XPDS_MNTN_TraceIntMsg(
VOS_UINT32 ulModuleId,
VOS_UINT32 ulLength,
VOS_VOID *pstMsg
)
{
VOS_UINT8 *pucData = VOS_NULL_PTR;
pucData = (VOS_UINT8 *)PS_MEM_ALLOC(ulModuleId, ulLength);
if (VOS_NULL_PTR == pucData)
{
XPDS_ERROR_LOG("CNAS_CDMA_TraceIntMsg:ERROR:Alloc Mem Fail!");
return;
}
/* 勾包消息赋值 */
PS_MEM_CPY(pucData, pstMsg, ulLength);
/* 消息勾包 */
DIAG_TraceReport(pucData);
PS_MEM_FREE(ulModuleId, pucData);
return;
}
示例13: ADS_UL_RcvTiRptStatsInfoExpired
VOS_VOID ADS_UL_RcvTiRptStatsInfoExpired(
VOS_UINT32 ulTimerName,
VOS_UINT32 ulParam
)
{
ADS_LOG_RPT_STATS_INFO_STRU *pstMsg = VOS_NULL_PTR;
/* 将记录的统计信息通过SDT消息勾出来 */
pstMsg = (ADS_LOG_RPT_STATS_INFO_STRU*)PS_MEM_ALLOC(ACPU_PID_ADS_UL, sizeof(ADS_LOG_RPT_STATS_INFO_STRU));
if (VOS_NULL_PTR == pstMsg)
{
ADS_ERROR_LOG(ACPU_PID_ADS_UL, "ADS_UL_RcvTiRptStatsInfoExpired: ERROR:Alloc Mem Fail");
return;
}
PS_MEM_SET(pstMsg, 0, sizeof(ADS_LOG_RPT_STATS_INFO_STRU));
pstMsg->stLogHeader.ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->stLogHeader.ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->stLogHeader.ulSenderPid = ACPU_PID_ADS_UL;
pstMsg->stLogHeader.ulReceiverPid = ACPU_PID_ADS_UL;
pstMsg->stLogHeader.ulLength = sizeof(ADS_LOG_RPT_STATS_INFO_STRU) - VOS_MSG_HEAD_LENGTH;;
pstMsg->stLogHeader.enMsgId = ID_ADS_LOG_RPT_STATS_INFO;
PS_MEM_CPY(&pstMsg->stAdsStats, &g_stAdsStats, sizeof(g_stAdsStats));
OM_AcpuTraceMsgHook(pstMsg);
PS_MEM_FREE(ACPU_PID_ADS_UL, pstMsg);
/* 重新启动上报统计信息定时器 */
ADS_StartTimer(ACPU_PID_ADS_UL, ulTimerName, TI_ADS_RPT_STATS_LEN);
return ;
}
开发者ID:fly2436732935,项目名称:android_kernel_honor7_PLK-AL10_PLK-TL01H_PLK-UL00_PLK-CL00_PLK-TL00,代码行数:35,代码来源:AdsUpLink.c
示例14: TAF_XPDS_MNTN_TraceReverseStartDeliverData
VOS_VOID TAF_XPDS_MNTN_TraceReverseStartDeliverData(
TAF_XPDS_START_DELV_DATA_STRU *pstStartDelvData
)
{
TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND_STRU_STRU *pstMsg = VOS_NULL_PTR;
pstMsg = (TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND_STRU_STRU *)PS_MEM_ALLOC(UEPS_PID_XPDS,
sizeof(TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND_STRU_STRU));
if (VOS_NULL_PTR == pstMsg)
{
XPDS_ERROR_LOG("TAF_XPDS_MNTN_TraceReverseStartDeliverData:ERROR:Alloc Mem Fail!");
return;
}
PS_MEM_SET( ((VOS_UINT8*)pstMsg + VOS_MSG_HEAD_LENGTH), 0,
sizeof(TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND_STRU_STRU) - VOS_MSG_HEAD_LENGTH);
pstMsg->ulReceiverCpuId = VOS_LOCAL_CPUID;
pstMsg->ulReceiverPid = UEPS_PID_XPDS;
pstMsg->ulSenderCpuId = VOS_LOCAL_CPUID;
pstMsg->ulSenderPid = UEPS_PID_XPDS;
pstMsg->ulLength = sizeof(TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND_STRU_STRU) - VOS_MSG_HEAD_LENGTH;
pstMsg->enMsgId = ID_TAF_XPDS_MNTN_REVERSE_START_DELIVER_DATA_IND;
PS_MEM_CPY(&(pstMsg->stStartDelvData), pstStartDelvData, sizeof(TAF_XPDS_START_DELV_DATA_STRU));
/* 消息勾包 */
DIAG_TraceReport(pstMsg);
PS_MEM_FREE(UEPS_PID_XPDS, pstMsg);
return;
}
示例15: SSA_ReportErrorEvent
VOS_VOID SSA_ReportErrorEvent(
VOS_UINT16 ClientId,
VOS_UINT8 OpId,
TAF_SS_ERROR ErrorCode
)
{
TAF_SS_CALL_INDEPENDENT_EVENT_STRU *pstSsEvent = VOS_NULL_PTR;
pstSsEvent = (TAF_SS_CALL_INDEPENDENT_EVENT_STRU *)PS_MEM_ALLOC(WUEPS_PID_SS,
sizeof(TAF_SS_CALL_INDEPENDENT_EVENT_STRU));
if (VOS_NULL_PTR == pstSsEvent)
{
SSA_LOG( ERROR_PRINT, "TAF_SSA_ReportEvtError: Alloc Mem Fail");
return;
}
/* 出错事件的OP项初始化 */
PS_MEM_SET(pstSsEvent, 0, sizeof(VOS_UINT32));
pstSsEvent->OP_Error = VOS_TRUE;
pstSsEvent->SsEvent = TAF_SS_EVT_ERROR;
pstSsEvent->ClientId = ClientId;
pstSsEvent->OpId = OpId;
pstSsEvent->ErrorCode = ErrorCode;
TAF_SsEventReport(pstSsEvent);
PS_MEM_FREE(WUEPS_PID_SS, pstSsEvent);
return;
}