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
Francisco Paisana
b37d9b9930
fixed msg4 setting in sched tester
5 years ago
Francisco Paisana
ad9e126299
test for different enb_cc_idxs as pcell. Bug fixes
5 years ago
Francisco Paisana
0f3ef11f8b
now the scheduler only activates a scell after receiving a valid CQI for the SCell
5 years ago
Francisco Paisana
f571b7c16b
cleaned up some of the log error messages in the sched tester
5 years ago
Francisco Paisana
c595696ec2
no need for a separate class for the CA tester
5 years ago
Francisco Paisana
b44754f0ae
the CA and random sched testers now use same structs and common interface.
5 years ago
Francisco Paisana
385fa226e0
started to use a type-safe tti counter for comparisons. Uniformized the common_sched_tester api. Next, need to use the same struct to register events.
5 years ago
Francisco Paisana
518f813f13
now the CA testing generation and simulation happen simultaneously. This way we can do more tti/event specific checks
5 years ago
Francisco Paisana
b319f8dfcd
created first version of CA test. Now we need to create actual asserts
5 years ago
Francisco Paisana
507bc2d2a2
created a test for CA. Currently is quite empty
5 years ago
Francisco Paisana
e859d622c7
added logref class to forbid logmap pointer invalidation. Created a test for the logref, and introduced it in the scheduler, rrc and nas
5 years ago
Francisco Paisana
87038375d5
fixed the building of MAC SDUs in the scheduler. Now, we ensure there is always space for the MAC subheader and RLC header. The MAC subheader is correctly discounted from the remaining bytes in a TB.
5 years ago
Francisco Paisana
c8fc0d91b3
changed the supported cc list to a vector of structs
5 years ago
Francisco Paisana
42b15c7bed
use common ue_cfg interface to set the ue antenna info
5 years ago
Francisco Paisana
5f557700f2
changed the sched::ue_cfg(...) function to allow diff configurations. The RRC now activates all carriers after rrc reconf complete
5 years ago
Francisco Paisana
88a22e7dbf
support cc cfg from rrc
5 years ago
Francisco Paisana
e86862611c
update the scheduler interfaces to accommodate the configuration of multiple carriers
5 years ago
Francisco Paisana
73c528793f
add interface changes to dummy classes and scheduler test
5 years ago
Francisco Paisana
2dc31ea440
added interface to configure multiple cells from the RRC
5 years ago
Francisco Paisana
c8cd12ac53
updated the test logging utils
5 years ago
Francisco Paisana
daf471be1f
moved test of pdsch collisions for separate test file
5 years ago
Francisco Paisana
c537d38650
separated sched tests based on output into a separate file. Added scheduler random tester to unit tests
5 years ago
Francisco Paisana
af0b80b0a7
fix test for prb==6 and accidental adaptive retx in UL
5 years ago
Francisco Paisana
a74dcd947f
changed rar/msg3 scheduling to accommodate multiple rars per TTI
5 years ago
Francisco Paisana
dc782e514b
change the naming from tti --> sf for scheduling operations specific to a subframe
5 years ago
Andre Puschmann
476f970ee1
replace FIXME with TODO
5 years ago
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Francisco Paisana
ab3d7dd413
updated sched interface for multiple carriers
5 years ago
Francisco Paisana
eeb47f8fa4
fixed issue regarding repetition of ConRes tx
5 years ago
Francisco Paisana
3159a5b84a
added cc_idx to dl_rach_info
5 years ago
Francisco Paisana
cab9327b1a
updated scheduler interfaces to accommodate multiple carriers
5 years ago
Francisco Paisana
6d4f746a61
moved tti_sched_result out of carrier_sched. Removed interdependencies between the two classes. Simplified ra_sched and bc_sched initialization
5 years ago
Francisco Paisana
0b962f19f4
fix compilation issue
5 years ago
Francisco Paisana
67ccaf1029
created a file with common test utils, including assertions, a logger specialized for tests that counts the number of errors and warnings during the test run and can print diagnostics on exit
5 years ago
Francisco Paisana
011b2168a6
grouped different sched params/args/derived params into a single struct to simplify the ctor api of different sched sub components
5 years ago
Andre Puschmann
6a9c4d94b0
fix printf in scheduler test
5 years ago
Francisco Paisana
b88b8fde7b
moved the carrier scheduler and tti_result_t classes out of the main sched class. Now it is possible to instantiate more than one carrier_sched per sched
5 years ago
Francisco Paisana
2019fec37a
moved dl/ul scheduling to the a separate class carrier_sched
5 years ago
Francisco Paisana
00d24872d9
clang-format on all the scheduler files
5 years ago
Francisco Paisana
c19e0d9423
moved the RAR/Msg3 scheduling to a separate class
5 years ago
Francisco Paisana
d79e49ed4c
moved the BC scheduling to a separate class/file
5 years ago
Francisco Paisana
837c16557f
started to implement separate SIB scheduler, and its tests. This is particualrly important for CA
5 years ago
Francisco Paisana
84ac16826f
modernized the scheduler code, and removed some clang-tidy warnings
5 years ago
Francisco Paisana
ad0b3ce6e2
modernize the random sched test
5 years ago
Ismael Gomez
3828e03f33
Refactor in eNodeB, add channel emulator and fixes in OFDM
...
* Added channel emulator to srsENB. Added support for fixed delay
* Bug in OFDM when using nonguru mode
* A few changes and refactor in eNodeB
5 years ago
Guillem Foreman
db4127ca64
Fixes 256QAM, added pdsch table 2, fixed warnings
5 years ago
Francisco Paisana
415d3418b6
reorganized enb to mirror ue director/class structure with a stack class
5 years ago
Francisco Paisana
7be183c223
rework scheduler
6 years ago
Andre Puschmann
4b01a2e4a0
update copyright notice
6 years ago
Andre Puschmann
205db6f229
add missing license headers
6 years ago
Ismael Gomez
7780b1aba5
add tdd/ca support
6 years ago
Francisco Paisana
0204db2e12
new asn1 rrc library
6 years ago
David Rupprecht
06d4559294
Change include path absolut to project dir
7 years ago
Andre Puschmann
1daf7b04bc
add copyright header
7 years ago
Ismael Gomez
6037a2f2bd
changed logger classes
7 years ago
Ismael Gomez
e5ae82aef1
added srsENB code
8 years ago