Francisco Paisana
3892194d98
sched refactor, use enb_cc_idx rather than ue_cc_idx primarily to avoid uneeded conversions
4 years ago
Francisco
7f6f3f7912
fix sched test check for ConRes DCI format.
4 years ago
Francisco Paisana
d0a17b0a40
created sched_ue_cell class that is indexed based on enb_cc_idx
4 years ago
Francisco Paisana
2abe486e18
separate control loops for PUCCH and PUSCH TPC
4 years ago
Francisco Paisana
099dad8cb1
disable PHR handling in the UL sched by default
4 years ago
Francisco
783131a4e1
sched rand test refactor: removal of redundant tests
4 years ago
Francisco
cba0cc457f
sched rand test refactor: creation of abstract sched simulator class for testing
4 years ago
Francisco
aed36eb273
sched rand tester refactor: elimination of ue_ctxt_test obsolete class
4 years ago
Francisco
a068ae11b0
sched rand tester ue_sim class now handles cqi
4 years ago
Francisco
8f05982bef
simplification of scheduling of UL acks in sched random tester
4 years ago
Francisco
86eb315102
simplification of scheduling of DL acks in sched tester
4 years ago
Francisco
b4861bc59a
move sched params and sched helper methods to sched_helpers.h/cc files. Removed place in the scheduler where the mcs is increased forcefully to avoid segmentation
4 years ago
Francisco
9eddfdb4a3
fix sched rand tester coderate check. tbs needs to be converted from bytes to bits
4 years ago
Francisco
0ae304a6ed
update sched rand tester to detect when tbs coderate exceeds 0.93
4 years ago
Francisco
99f94d9a1a
Bug fixes of srseNB scheduler TPC
...
- fix encoding of TPC command
- use of exponential average with irregular sampling for the ULSNR average estimate.
Turns out using a time-windowed average for the SNR was a bad idea.
If the UL grants are very sporadic, the SNR time window will never have samples
when a TPC is encoded
- update of TPC sched test
- other fixes in accumulators lib
4 years ago
Francisco
2598989f7d
replace msg3grant type from C-array to bounded vector
4 years ago
Francisco
69748e9313
fix compilation issue regarding definition of size_t in header and declaration of static member null_value in sliding average class
4 years ago
Francisco
d42dc50c44
Write TPC sched unit test and fix sched logical channel test
4 years ago
Francisco
479602ed1d
add option to specify target ul sinr for UL power control to the enb rr.conf parser
4 years ago
Francisco
5865df39d1
created class that implements the scheduler transmit power control and PHR handling
4 years ago
Francisco
d98d14efcc
remove tti_params struct from sched testers, and use tti_point instead
4 years ago
Francisco
86ab1864f7
The struct tti_point is now used ubiquitously in the scheduler
4 years ago
Francisco
8fb3ea6922
Added the ability to choose scheduling policy from enb.conf
...
- The two options provided at the moment are time-domain RR and PF
4 years ago
Francisco
64ee0ac2ef
New statistics were added in the random sched tester
...
- new stats allow to analyze the average bitrates of each user
- there is a new stat that computes the total of RBs allocated and total bitrate achieved by the scheduler
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Francisco
8d181ef41c
Optimization of cc_sched_ue::cqi_to_tbs(...) method via the use of root-finding algorithm
4 years ago
Francisco
3d80ff4831
fix activation of PDCCH for adaptive retxs.
4 years ago
Francisco
fc81a5c6ba
harq ack state can now only be NACK or ACK. The ul_harq pending phich flag is now reset after phich scheduling. Thus, the existence of a crc_info(...) signal from the PHY is not required.
4 years ago
Francisco
bb96625129
renaming lch_manager -> lch_ue_manager
4 years ago
Francisco
a348508072
simplified sched_ue pending DL bytes calculation API
4 years ago
Francisco
eae0dc93ad
rename scheduler files. scheduler -> sched
4 years ago
Francisco Paisana
9ff0a9b254
fix random array index picker
4 years ago
Francisco Paisana
49a48c0130
add measgap awareness to scheduler metric and sf_sched. Add measGap test to random sched test suite.
4 years ago
Francisco Paisana
ff7811c822
remove unused member variable from sched tester
4 years ago
Francisco Paisana
3407ac6741
fix ca sched test
4 years ago
Francisco Paisana
e8ac98d06f
added extra tbs and dci aggregation level checks to sched test suite
4 years ago
Francisco Paisana
5467ee9f83
moved more tests to ue-dedicated test suite
4 years ago
Francisco Paisana
992ea7fd29
moved UE-dedicated RA sched test to separate test suite file.
4 years ago
Francisco Paisana
d5f6ccc0c4
integrated UL UE-dedicated sched tests in random test
4 years ago
Francisco Paisana
eb327183d3
moved harq tests from scheduler_test_common.cc to separate test suite file. Created a class ue_sim, whose role is to emulate a UE behavior
4 years ago
Francisco Paisana
64fca23eb3
extended dci content checks of DL and UL grants in the scheduler random tester.
4 years ago
Francisco Paisana
88105c1577
change the namespace of tti point helper functions for the eNB
4 years ago
Francisco Paisana
114932b4c6
extended common sched test suite api to multi carrier
4 years ago
Francisco Paisana
f24e5aadaf
clean common sched output tests
4 years ago
Francisco Paisana
d8203acd56
implement harq resuming functionality
4 years ago
Francisco Paisana
42cdc5e340
Allocate all the leftover bytes of the TBS to last allocated MAC SDU.
...
Fix the way the RLC header is accounted for depending on the bearer id.
For instance, the SRB0 does not require any RLC header.
4 years ago
Francisco Paisana
c5c7700cb7
implemented DL logical channel prioritization test for finite PBRs
4 years ago
Francisco Paisana
2d3681699a
added test for DL sched logical channel prioritization. At the moment only PBR=infinity is tested
4 years ago
Francisco Paisana
688dda30a4
favour carriers with best channel conditions for UL grants due to SRs
4 years ago
Francisco Paisana
cbac98c89e
fix ack delay checks in scheduler tests
4 years ago
Ismael Gomez
a4835dd2c8
More accurate MCS reduction when PUSCH carries UCI ( #1630 )
4 years ago
Francisco Paisana
8b174ce2f4
changed interval interface to disallow interval::stop < interval::start via an assertion
4 years ago
Francisco Paisana
c1755727d7
changed interval method names, and added comments and assertions
4 years ago
Francisco Paisana
20b69fb22e
substitution of ul_alloc_t for prb_interval
4 years ago
Francisco Paisana
fe8f8be62d
apply separate cqi configurations to scells
4 years ago
Francisco Paisana
504e3a1b7a
fix max retx configuration in scheduler and updated tester to catch the error
4 years ago
Francisco Paisana
cb7f620254
created separate class to manage bearers buffers/status reports in the scheduler
4 years ago
Francisco Paisana
2f421d3e30
added cqi configuration in ca testing
4 years ago
Francisco Paisana
53b85691b5
moved sf result to sched class. This way each carrier has a view to the results of the remaining carriers in the same subframe
4 years ago
Francisco Paisana
5d33acdb53
changed name of sched_ue_carrier class
4 years ago
Francisco Paisana
7713df2cf9
fix fixed mcs issue
5 years ago
Francisco Paisana
94b8dd39a9
cleanup of sched testing cfg generation
5 years ago
Francisco Paisana
d5f1581759
remove old tti counter class
5 years ago
Francisco Paisana
3c29bce014
apply segmentation break check to newtxs only. Allow configurable cqi
5 years ago
Francisco Paisana
c75e31db03
added random cqi to sched tester
5 years ago
Francisco Paisana
d40b4040b0
scell activation as part of the single ue tester
5 years ago
Francisco Paisana
0db2bd1cb5
moved test_ra to ue test class
5 years ago
Francisco Paisana
5d41fd0aec
renamed ue test structs
5 years ago
Francisco Paisana
1e56082214
use ul/dl harq info storing at the ue side to evalue info stored in the dl/ul sched result dcis
5 years ago
Francisco Paisana
500a7f6357
created new separate ue class in sched tester to handle acks and harq tests
5 years ago
Francisco Paisana
b506e29b72
removed common ce_typeenum
5 years ago
Francisco Paisana
372126deac
created ul-sch and mch lcid types
5 years ago
Francisco Paisana
367a190829
created dl-sch lcid type
5 years ago
Francisco Paisana
64557740fc
use mac_buffer_state interface to schedule CEs in scheduler
5 years ago
Francisco Paisana
ec94819f08
changed mechanism for conres ce scheduling to be controlled by rrc
5 years ago
Francisco Paisana
66a38f53f5
fix req_bytes methods to account for new method to calculate conres scheduling.
5 years ago
Francisco Paisana
d716d8bf7e
use mini state machine for ConRes CE scheduling instead of relying that there is data in the DL buffer
5 years ago
Francisco Paisana
6ddedd5972
moved pdu to common mac folder
5 years ago
Francisco Paisana
179e959d05
fix msg3 retx issue. Now nof_prb for pucch above 1 are forbidden for prb==6
5 years ago
Francisco Paisana
34bc48d31a
fix cfi to cc assignment
5 years ago
Francisco Paisana
ede09cb9b2
added dynamic CFI capability to the eNB scheduler
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Francisco Paisana
afd7ea9e83
Fixed the check for msg3 delay to account for retxs
5 years ago
Francisco Paisana
5330249625
created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure
5 years ago
Francisco Paisana
4217dba7e0
fix msg3 delayed allocation and update test
5 years ago
Francisco Paisana
7548402632
change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers
5 years ago
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
5 years ago
Francisco Paisana
9ad80ee29f
added initial_dl_cqi to the enb rr.cfg parser
5 years ago
Francisco Paisana
bcbb08ebae
use initial_dl_cqi for first DL tx.
5 years ago
Francisco Paisana
ab69c6fe43
account for delays in RAR tx in scheduler CA tester
5 years ago
Francisco Paisana
f3c3c52fcd
added ue_cc_idx to dci allocation
5 years ago
Francisco Paisana
e62972d38e
fix fdd delays in scheduler
5 years ago
Francisco Paisana
ec1f1cc677
remove const_casts from scheduler. Fix ODR issue
5 years ago
Francisco Paisana
e9a599857a
created a header for all common structs and helper functions
5 years ago
Francisco Paisana
02ccb8b32b
fix wrong calculation of sched tx and rx delays
5 years ago
Francisco Paisana
43e67b8536
created a harq entity that handles all harq procs. This entity accepts as arg the number of harq procs.
5 years ago
Francisco Paisana
d1356568e0
separated sf sched result from sf_sched class. The interface became way simpler. No need for finish_tti() method, sf_sched::new_tti() is called automatically when we access the sf_sched.
5 years ago
Francisco Paisana
bb38fa7119
fixed tti resetting after tti end
5 years ago
Francisco Paisana
47b05118ad
simplified msg3 allocation. Now we can allocate resources ahead of time (e.g. msg3 is 2 ttis ahead) using the sf_sched interface. It's guaranteed that the given allocations wont be erased when the respective tti starts
5 years ago
Francisco Paisana
8f7890c60a
store mask results in separate variables for testing, and reset sf_sched state at the end of the tti
5 years ago