|
Lines 225-231
UplinkSchedulerMBQoS::Schedule (void)
|
Link Here
|
|---|
|
| 225 |
uint32_t symbolsToAllocation = 0; |
225 |
uint32_t symbolsToAllocation = 0; |
| 226 |
uint32_t allocationSize = 0; // size in symbols |
226 |
uint32_t allocationSize = 0; // size in symbols |
| 227 |
uint32_t availableSymbols = GetBs ()->GetNrUlSymbols (); |
227 |
uint32_t availableSymbols = GetBs ()->GetNrUlSymbols (); |
| 228 |
uint32_t availableSymbolsAux = GetBs ()->GetNrUlSymbols (); |
|
|
| 229 |
|
228 |
|
| 230 |
AllocateInitialRangingInterval (symbolsToAllocation, availableSymbols); |
229 |
AllocateInitialRangingInterval (symbolsToAllocation, availableSymbols); |
| 231 |
|
230 |
|
|
Lines 357-363
UplinkSchedulerMBQoS::Schedule (void)
|
Link Here
|
|---|
|
| 357 |
} |
356 |
} |
| 358 |
NS_LOG_DEBUG ("At " << Simulator::Now ().GetSeconds ()<< " high queue has " << m_uplinkJobs_high.size ()<< " jobs - after sched"); |
357 |
NS_LOG_DEBUG ("At " << Simulator::Now ().GetSeconds ()<< " high queue has " << m_uplinkJobs_high.size ()<< " jobs - after sched"); |
| 359 |
|
358 |
|
| 360 |
availableSymbolsAux = availableSymbols; |
359 |
uint32_t availableSymbolsAux = availableSymbols; |
| 361 |
uint32_t symbolsUsed = 0; |
360 |
uint32_t symbolsUsed = 0; |
| 362 |
|
361 |
|
| 363 |
symbolsUsed += CountSymbolsQueue (m_uplinkJobs_high); |
362 |
symbolsUsed += CountSymbolsQueue (m_uplinkJobs_high); |
|
Lines 482-488
UplinkSchedulerMBQoS::Schedule (void)
|
Link Here
|
|---|
|
| 482 |
} |
481 |
} |
| 483 |
|
482 |
|
| 484 |
OfdmUlMapIe ulMapIeEnd; |
483 |
OfdmUlMapIe ulMapIeEnd; |
| 485 |
ulMapIeEnd.SetCid (*(new Cid (0))); |
484 |
ulMapIeEnd.SetCid (Cid (0)); |
| 486 |
ulMapIeEnd.SetStartTime (symbolsToAllocation); |
485 |
ulMapIeEnd.SetStartTime (symbolsToAllocation); |
| 487 |
ulMapIeEnd.SetUiuc (OfdmUlBurstProfile::UIUC_END_OF_MAP); |
486 |
ulMapIeEnd.SetUiuc (OfdmUlBurstProfile::UIUC_END_OF_MAP); |
| 488 |
ulMapIeEnd.SetDuration (0); |
487 |
ulMapIeEnd.SetDuration (0); |