src/lte/model/tdtbfq-ff-mac-scheduler.cc
changeset 9808 b8ae2a7f3b0e
parent 9807 1a263c1b16c7
child 9809 290a3bb2f7c9
equal deleted inserted replaced
9807:1a263c1b16c7 9808:b8ae2a7f3b0e
  1100       uint16_t lcActives = LcActivePerFlow ((*itMap).first);
  1100       uint16_t lcActives = LcActivePerFlow ((*itMap).first);
  1101       NS_LOG_INFO (this << "Allocate user " << newEl.m_rnti << " rbg " << lcActives);
  1101       NS_LOG_INFO (this << "Allocate user " << newEl.m_rnti << " rbg " << lcActives);
  1102       if (lcActives == 0)
  1102       if (lcActives == 0)
  1103         {
  1103         {
  1104           // Set to max value, to avoid divide by 0 below
  1104           // Set to max value, to avoid divide by 0 below
  1105           lcActives = 65536; // UINT16_MAX;
  1105           lcActives = 65535; // UINT16_MAX;
  1106         }
  1106         }
  1107       uint16_t RgbPerRnti = (*itMap).second.size ();
  1107       uint16_t RgbPerRnti = (*itMap).second.size ();
  1108       std::map <uint16_t,SbMeasResult_s>::iterator itCqi;
  1108       std::map <uint16_t,SbMeasResult_s>::iterator itCqi;
  1109       itCqi = m_a30CqiRxed.find ((*itMap).first);
  1109       itCqi = m_a30CqiRxed.find ((*itMap).first);
  1110       std::map <uint16_t,uint8_t>::iterator itTxMode;
  1110       std::map <uint16_t,uint8_t>::iterator itTxMode;