[srslte-users] what unit will "get_required_prb_dl" return PRB or RBG
Kewin Rausch
krausch at fbk.eu
Tue Apr 24 07:06:07 UTC 2018
Hey
> what will "sched_ue::get_required_prb_dl" return, the number of physical
> RB(PRB) or the number of RB group(RBG).
>
From what I see in the code, the PRBs, and not the groups.
If it is PRB, there is no conversion between PRB and RBG in the
> dl_metric_rr::get_required_rbg, and it looks like a bug.
Yes, It seems like that. Even worse, such value (range 0 - 100) is used in
new_allocation(pending_rb, &newtx_mask) to allocate a mask of PRG.
Now, inside this procedure a loop iterate on an array of maximum MAX_RBG
(25) elements. Luckyly enough the loop has 2 checks, and the i < total_rb
saves the day and avoid to have stack corruption, but still the returned
mask is inappropriate, probably.
In the normal RR scheduler of that metric interface probably the problem
does not arise since the whole subrame is given to a single UE.
Cheers,
Kewin R.
On Sat, Apr 21, 2018 at 7:09 AM, Zhouyou Gu <guzhouyou at gmail.com> wrote:
> Hello all
>
> what will "sched_ue::get_required_prb_dl" return, the number of physical
> RB(PRB) or the number of RB group(RBG).
>
> If it is PRB, there is no conversion between PRB and RBG in the
> dl_metric_rr::get_required_rbg, and it looks like a bug.
>
> If it is RBG, please give some hit on where the PRB to RBG
> conversion happens in "sched_ue::get_required_prb_dl".
>
> Thanks a lot
>
> Yours
> Charles
>
>
>
>
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
>
--
--
Le informazioni contenute nella presente comunicazione sono di natura
privata e come tali sono da considerarsi riservate ed indirizzate
esclusivamente ai destinatari indicati e per le finalità strettamente
legate al relativo contenuto. Se avete ricevuto questo messaggio per
errore, vi preghiamo di eliminarlo e di inviare una comunicazione
all’indirizzo e-mail del mittente.
--
The information transmitted is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you received this in
error, please contact the sender and delete the material.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20180424/0fa7aaac/attachment.htm>
More information about the srsran-users
mailing list