[srslte-users] Spectral efficiency

Fateme Rezaee fateme.rezaee1368 at gmail.com
Tue Nov 6 07:24:07 UTC 2018


Dear all,
I want to compute the predicted spectral efficiency of the active users at
the current TTI, and sort them based on this parameter.
 As I understood, the following functions from  the scheduler_ue.cc are
related to calculation of the spectral efficiency. If so, would you plz
give me more information about the functionality of these functions?
int sched_ue::alloc_tbs(uint32_t nof_prb,
                        uint32_t nof_re,
                        uint32_t req_bytes,
                        bool is_ul,
                        int *mcs){
...
cqi_to_tbs(cqi, nof_prb, nof_re, max_mcs, max_Qm, &sel_mcs)/8;
...
}

uint32_t sched_ue::get_pending_dl_new_data_total(uint32_t tti)
{
  pthread_mutex_lock(&mutex);
  uint32_t req_bytes = get_pending_dl_new_data_unlocked(tti);
  if(req_bytes>0) {
    req_bytes += (req_bytes < 128) ? 2 : 3; // consider the header
    if(is_first_dl_tx()) {
      req_bytes += 6; // count for RAR
    }
  }
  pthread_mutex_unlock(&mutex);
  return req_bytes;
}





-- 
*******************************************************************************


Best regards,

Fatemeh.Rezaei

Ph.D. Student in Communication Systems Engineering

Department of Electrical and Computer Engineering, Yazd University

Yazd, Iran

*******************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20181106/e27faf0a/attachment.htm>


More information about the srsran-users mailing list