Michael Cook
f489a751b9
Fix memcpy with overlapping memory
...
Found by valgrind.
2020-10-10 10:40:26 -04:00
Andrew Burger
ce2cbb9017
Episys/andrew/msg4 reception failure
2020-10-02 15:19:11 -07:00
Andrew Burger
fe6d713988
Cleaning up merge request
2020-09-18 16:58:16 -07:00
Andrew Burger
9bb8390578
Merge branch 'episys/master' into episys/andrew/debugging_rach+fixing_rx_unpack
2020-09-18 14:34:54 -07:00
Andrew Burger
96b5525d88
removal of LOG_A messages
2020-09-08 10:50:46 -07:00
Andrew Burger
465f1a77e0
New prach procedures
2020-09-08 10:31:36 -07:00
Michael Cook
1f771f74a2
Change some printf statements to LOG_I
...
The printfs were mangling the log.
2020-09-06 10:45:03 -07:00
Michael Cook
3a2e4a3189
Use LOG_A for log messages intended for analysis
...
This change allows us to disable the LOG_I messages to reduce
overhead.
Removed LOG_VAR macro because it was used in only one place, and
a better solution is to simply use `__attribute__((unused))`.
2020-09-06 07:54:56 -07:00
Andrew Burger
506000cdc9
Saving work
2020-09-05 10:30:32 -07:00
Andrew Burger
79df38d515
Episys/fixing cqi problem
2020-09-02 12:27:09 -07:00
Michael Cook
5714440427
Cleanup
...
Revert unnecessary changes relative to origin/develop
Reviewed with Andrew
2020-07-19 13:42:35 -04:00
Andrew Burger
864e594e14
Removed logging to speed up system
2020-07-11 10:20:14 -07:00
Michael Cook
b5708a3a80
Checkpoint.
2020-06-13 10:53:01 -04:00
Andrew Burger
4d98e76d0c
Rach being generated I think
2020-06-11 15:50:02 -07:00
Andrew Burger
de33309935
New changes to get rach working.. Still not working
2020-06-08 10:41:34 -07:00
Andrew Burger
af92c512cf
Major queue changes note all the log supressions
2020-06-04 15:54:38 -07:00
Raphael Defosseux
768b4e0f24
Merge remote-tracking branch 'origin/cleanup-may-2020' into develop_integration_2020_w22
2020-05-28 12:58:42 +02:00
laurent
bdee45878a
cleanup branch
2020-05-20 15:44:20 +02:00
Raphael Defosseux
11783e755a
Fixing errored/missing circular dependency protection
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-05-15 15:39:11 +02:00
Raphael Defosseux
f6383343fc
Merge remote-tracking branch 'origin/new_rlc_2020' into develop_integration_2020_w17
2020-04-23 18:19:00 +02:00
Cedric Roux
456e90e25d
rlc v2: bugfixes for mbms
2020-04-20 16:28:20 +02:00
Cedric Roux
123745118c
rlc v2: hotfix: remove some AssertFatal
...
Not sure if the problem is in the MAC layer or in the RLC v2 layer.
Maybe the buffer status reporting in RLC v2 is not good. Let's remove
two AssertFatal in the MAC for the time being.
2020-04-17 10:40:05 +02:00
Cedric Roux
8ca42918d6
hotfix: remove an AssertFatal
...
The UE code to compute BSR is too complex, has to be reworked/simplified.
This commit just removes the assert, does not solve anything.
2020-04-17 10:40:05 +02:00
laurent
8a58359a1b
rereremerge
2020-04-14 19:51:00 +02:00
Raphael Defosseux
1bf529be68
Merge remote-tracking branch 'origin/develop' into split73
2020-04-13 22:14:44 +02:00
laurent
861caa735d
merge develop
2020-04-13 18:04:18 +02:00
Robert Schmidt
8f450f0e51
DL PP: consider the last RBG might be smaller
2020-04-10 00:09:36 +02:00
Robert Schmidt
1372e02206
Check for CCE allocation in UL PP
2020-04-06 13:56:59 +02:00
Robert Schmidt
36ebfe04f6
Use CCE_try_allocate_ulsch() in ULSCH
2020-04-06 13:56:59 +02:00
Robert Schmidt
c76af0a142
Check for CCE allocation in DL PP
2020-04-06 13:56:56 +02:00
Robert Schmidt
ed6e5ce832
Use CCE_try_allocate_dlsch()
2020-04-06 13:56:31 +02:00
Robert Schmidt
6b3b0b0b8b
Final CCE allocation check: print message on fail
2020-04-06 13:56:31 +02:00
Robert Schmidt
88d156478f
CCE_allocation_infeasible(): log only debug
2020-04-06 13:56:31 +02:00
Robert Schmidt
5443c7a792
fill_nfapi_dlsch_config() takes index for filling
2020-04-06 13:56:31 +02:00
Robert Schmidt
0f46f17c1c
UL PP can change retx freq allocation
2020-04-06 13:56:31 +02:00
Robert Schmidt
24fb5e9c80
add adaptive HARQ UL
2020-04-06 13:56:31 +02:00
Robert Schmidt
9256a9e813
Clean up schedule_ulsch_rnti()
2020-04-06 13:56:31 +02:00
Robert Schmidt
c9a921504c
TEST: TPC + TA cleaned up in DLSCH
2020-04-06 13:56:31 +02:00
Robert Schmidt
fd2e5fee96
Clean up schedule_dlsch()
2020-04-06 13:56:31 +02:00
Robert Schmidt
2f32448707
Correctly handle 2ms Sched. Reqs
2020-04-06 13:56:31 +02:00
Robert Schmidt
a3bbbd0630
Lock PRACH region through vrb_map_UL
2020-04-06 13:56:31 +02:00
Robert Schmidt
abc65b1d86
Reimplement UL PP
2020-04-06 13:56:31 +02:00
Robert Schmidt
8bf7a13ffa
Remove first_rb from ULSCH scheduler
2020-04-06 13:56:31 +02:00
Robert Schmidt
8a84e2d92e
Rewrite assign_max_mcs_min_rb() more concisely
2020-04-06 13:56:31 +02:00
Robert Schmidt
10bd164ad4
UL PP: Remove UE sorting and slicing
2020-04-06 13:56:31 +02:00
Robert Schmidt
9b4725ad0b
Shortened UL-PP, remove CC and slicing
2020-04-06 13:56:31 +02:00
Robert Schmidt
4250f8eaec
ULSCH: remove CC loop, remove variables or limit scope
2020-04-06 13:56:31 +02:00
Robert Schmidt
1670b4521e
Reimplement the DLSCH preprocessor
...
This refactors the preprocessor. The new preprocessor implements the
same scheduling strategy (Modified Round-Robin: give resources according
to round-robin, then group) but should be fairer by changing every time
the RR start UE (i.e., 1st TTI UE 0 starts, 2nd TTI UE 1, etc) when the
UE number is not a divisor/multiple of the RBG size (and the last RBG is
often smaller). This also removes all unneeded code of the preprocessor
such as allocate(), positioning(), etc.
2020-04-06 13:56:27 +02:00
Robert Schmidt
eb0af3a5e0
Simplify DLSCH code
...
* do not check rlc_ind()
* Simplify retransmission part and remove nb_rb_available var
* Simplify new transmission code
* Simplify fill_DLSCH_dci(), avoid unnecessary copies
* fix: first check No. RBs, then check CCE alloc
2020-04-06 13:43:52 +02:00
Robert Schmidt
eeaa5a99d0
RLC: _req() accepts max TB size, _ind() not
...
Previously, the various rlc_*_ind() functions had a parameter to enable
the MAC to specify the max TB size that a subsequent call to the
corresponding rlc_*_req() (!) function would return. This patch removes
this parameter from the rlc_*_ind() functions and makes the parameter
working that is already in the rlc_*_req() functions.
2020-04-06 13:43:52 +02:00