lte: Fix some logs

This commit is contained in:
Manuel Requena
2019-03-19 12:55:10 +01:00
parent 3381968389
commit 5c0b2af65d
3 changed files with 6 additions and 5 deletions

View File

@@ -391,7 +391,7 @@ EpcPgwApplication::DoRecvDeleteBearerCommand (Ptr<Packet> packet)
std::list<uint8_t> epsBearerIds;
for (auto &bearerContext : msg.GetBearerContexts ())
{
NS_LOG_DEBUG ("ebid " << bearerContext.m_epsBearerId);
NS_LOG_DEBUG ("ebid " << (uint16_t) bearerContext.m_epsBearerId);
epsBearerIds.push_back (bearerContext.m_epsBearerId);
}

View File

@@ -355,7 +355,7 @@ EpcSgwApplication::DoRecvDeleteBearerCommand (Ptr<Packet> packet)
std::list<GtpcDeleteBearerCommandMessage::BearerContext> bearerContextsOut;
for (auto &bearerContext : msg.GetBearerContexts ())
{
NS_LOG_DEBUG ("ebid " << bearerContext.m_epsBearerId);
NS_LOG_DEBUG ("ebid " << (uint16_t) bearerContext.m_epsBearerId);
GtpcDeleteBearerCommandMessage::BearerContext bearerContextOut;
bearerContextOut.m_epsBearerId = bearerContext.m_epsBearerId;
bearerContextsOut.push_back (bearerContextOut);

View File

@@ -1451,8 +1451,9 @@ LteUeRrc::ApplyRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedic
for (itLcOnCcMapping = lcOnCcMapping.begin (); itLcOnCcMapping != lcOnCcMapping.end (); ++itLcOnCcMapping)
{
NS_LOG_DEBUG ("RNTI " << m_rnti <<" LCG id " << (uint16_t) itLcOnCcMapping->lcConfig.logicalChannelGroup
<<" ComponentCarrierId " << itLcOnCcMapping->componentCarrierId);
NS_LOG_DEBUG ("RNTI " << m_rnti
<< " LCG id " << (uint16_t) itLcOnCcMapping->lcConfig.logicalChannelGroup
<< " ComponentCarrierId " << (uint16_t) itLcOnCcMapping->componentCarrierId);
uint8_t index = itLcOnCcMapping->componentCarrierId;
LteUeCmacSapProvider::LogicalChannelConfig lcConfigFromCcm = itLcOnCcMapping->lcConfig;
LteMacSapUser *msu = itLcOnCcMapping->msu;
@@ -1475,7 +1476,7 @@ LteUeRrc::ApplyRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedic
++dtdmIt)
{
uint8_t drbid = *dtdmIt;
NS_LOG_INFO (this << " IMSI " << m_imsi << " releasing DRB " << (uint32_t) drbid << drbid);
NS_LOG_INFO (this << " IMSI " << m_imsi << " releasing DRB " << (uint32_t) drbid);
std::map<uint8_t, Ptr<LteDataRadioBearerInfo> >::iterator it = m_drbMap.find (drbid);
NS_ASSERT_MSG (it != m_drbMap.end (), "could not find bearer with given lcid");
m_drbMap.erase (it);