studies:re56:re56_scheduler_max_cqi
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
studies:re56:re56_scheduler_max_cqi [2013/05/07 15:08] – créée Guillaume Mazoyer | studies:re56:re56_scheduler_max_cqi [2021/01/04 20:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | user = [ CQI ] | + | user = { CQI, RBG } |
+ | data = { UE_ID } | ||
+ | rbg = { RB[] } | ||
data[] buffer | data[] buffer | ||
- | rbg[] blocks | + | data[] ue_data |
+ | rbg [] blocks | ||
user[] users | user[] users | ||
user get_ue_max_cqi () | user get_ue_max_cqi () | ||
ue = users[0] | ue = users[0] | ||
+ | |||
for i in users do | for i in users do | ||
if ue.CQI < i.CQI then | if ue.CQI < i.CQI then | ||
Line 16: | Line 20: | ||
done | done | ||
end | end | ||
- | + | ||
- | for i in users do | + | while is_there_free_ressources_block_group |
ue = get_ue_max_cqi () | ue = get_ue_max_cqi () | ||
if buffer.has_data_for ( ue ) not null | if buffer.has_data_for ( ue ) not null | ||
- | | + | |
+ | ue.RBG.add ( rbg ) | ||
fi | fi | ||
- | | + | done |
+ | |||
+ | for ue in users do | ||
+ | for b in nb_bits_per_sequence do | ||
+ | ue_data[b] = buffer.get_bit(ue) | ||
+ | done | ||
+ | |||
+ | ue.datas_to_transmit = ue_data | ||
+ | done | ||
</ | </ |
studies/re56/re56_scheduler_max_cqi.1367939320.txt.gz · Last modified: 2021/01/04 20:41 (external edit)