src/lte/model/fdmt-ff-mac-scheduler.cc
changeset 9808 b8ae2a7f3b0e
parent 9807 1a263c1b16c7
child 9809 290a3bb2f7c9
equal deleted inserted replaced
9807:1a263c1b16c7 9808:b8ae2a7f3b0e
  1075       uint16_t lcActives = LcActivePerFlow ((*itMap).first);
  1075       uint16_t lcActives = LcActivePerFlow ((*itMap).first);
  1076       NS_LOG_INFO (this << "Allocate user " << newEl.m_rnti << " rbg " << lcActives);
  1076       NS_LOG_INFO (this << "Allocate user " << newEl.m_rnti << " rbg " << lcActives);
  1077       if (lcActives == 0)
  1077       if (lcActives == 0)
  1078         {
  1078         {
  1079           // Set to max value, to avoid divide by 0 below
  1079           // Set to max value, to avoid divide by 0 below
  1080           lcActives = 65536; // UINT16_MAX;
  1080           lcActives = 65535; // UINT16_MAX;
  1081         }
  1081         }
  1082       uint16_t RgbPerRnti = (*itMap).second.size ();
  1082       uint16_t RgbPerRnti = (*itMap).second.size ();
  1083       std::map <uint16_t,SbMeasResult_s>::iterator itCqi;
  1083       std::map <uint16_t,SbMeasResult_s>::iterator itCqi;
  1084       itCqi = m_a30CqiRxed.find ((*itMap).first);
  1084       itCqi = m_a30CqiRxed.find ((*itMap).first);
  1085       std::map <uint16_t,uint8_t>::iterator itTxMode;
  1085       std::map <uint16_t,uint8_t>::iterator itTxMode;