Commit Graph
4861 Commits
Author SHA1 Message Date
Cedric Roux a016cb7589 T: new logger ticked_ttilog
A new logger is there: the "ticked TTI logger".
Similar to TTI logger (used by the PUCCH1 energy plot)
but takes another input, the "tick" (think subframe)
and a default value for when no event is triggered between
two ticks.

This is used for the UL and DL MCS plots in enb.c (next commit).
2016-11-30 16:32:29 +01:00
Cedric Roux 7adc4703be T: update traces
- add mcs to ENB_PHY_DLSCH_UE_DCI
- add mcs, round, first_rb, nb_rb, TBS to ENB_PHY_ULSCH_UE_DCI
2016-11-30 16:29:14 +01:00
Florian Kaltenberger e1c4e78b69 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2016-11-29 17:21:18 +01:00
Florian Kaltenberger 31541601ce fixes for tdd (N_TA_offset was not initialized) + some other code cleanup
tested with both EXMIMO and USRP. performance better than in master branch.
2016-11-29 17:19:14 +01:00
Cedric Roux 860394244b T: bugfix: lock required
When the user clicks on "next UE" or "prev UE" we change the
filters of loggers.

At the same time, the main thread of enb.c processes events
received from the soft-modem and uses the filters, some of them
maybe in the process of being changed.

Changing the filters is not atomic and has to be protected.
2016-11-28 18:28:10 +01:00
Cedric Roux ee934102b6 T: switch UE in enb tracer
Just below the logo you see the current UE, eg. [UE 0],
and near that you have two "buttons" [prev UE] and [next UE].

You click with left button of mouse on those and the various
plots that depend on the UE are now done for the new UE (say UE 1
instead of UE 0 if you click on [next UE]).

The plots are not cleared when you switch.
Let's say it's a feature.
2016-11-25 17:19:33 +01:00
Cedric Roux 484cad2431 T: add function xy_plot_set_title 2016-11-25 17:17:39 +01:00
Cedric Roux 8eeebdaf98 T: add function label_set_text 2016-11-25 17:17:16 +01:00
Cedric Roux 0bb875d9c2 T: free previous filter in logger_set_filter 2016-11-25 17:15:25 +01:00
Cedric Roux 956135f9a3 T: add mechanisms to free filters 2016-11-25 17:14:40 +01:00
Florian Kaltenberger 426e6cd74b bugfix for TDD: special subframe was not transmitted. 2016-11-25 16:55:35 +01:00
Rohit Gupta c4405d6c41 Merge branch 'develop' of gitlab.eurecom.fr:oai/openairinterface5g into develop 2016-11-25 10:08:38 +01:00
Rohit Gupta 62ed687ef5 [Gitlab CI] minor fix to logging 2016-11-25 10:05:56 +01:00
Florian Kaltenberger c67536062b Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2016-11-24 17:16:47 +01:00
Florian Kaltenberger 933dc966c0 fix for EXMIMO 2016-11-24 17:14:50 +01:00
Florian Kaltenberger 3b7a9400f2 Merge branch 'master' into develop
Conflicts:
	targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band38.tm1.exmimo2.conf
2016-11-24 17:14:44 +01:00
Florian Kaltenberger f15426d75c fixing config file 2016-11-24 16:56:30 +01:00
Cedric Roux 03231dd163 hotfix: fix pucch_procedures
Something went wrong somewhere in the commit history, the function
was not correct.

The most obvious symptom was that way too much SR (scheduling requests)
were given to the UE whenever it had some PUCCH to send.

The case for TDD has not been tested.
2016-11-24 16:46:41 +01:00
Florian Kaltenberger af2ad0682f removing -L option from dlsim testcases 2016-11-24 15:00:40 +01:00
Rohit Gupta 9d64a0382b Merge branch 'develop' of gitlab.eurecom.fr:oai/openairinterface5g into develop 2016-11-24 14:59:07 +01:00
Rohit Gupta 0c52c76df6 add RRH test cases 2016-11-24 14:58:51 +01:00
Cedric Roux 2716aaa711 T: activate all info/warning/error legacy traces by default in enb.c 2016-11-23 15:00:36 +01:00
Florian Kaltenberger c3c3f27487 fixes for phy-test option at eNB 2016-11-22 18:15:57 +01:00
Cedric Roux 5a3b3ed0b5 minor: remove compilation warnings 2016-11-22 14:02:52 +01:00
Cedric Roux ce8c81af0a hotfix: cqi_crc_status was not properly set/reset 2016-11-22 14:01:41 +01:00
Cedric Roux b526ef7b47 T: update a trace
add ndi to trace ENB_MAC_UE_DL_SDU
2016-11-22 12:04:06 +01:00
Cedric Roux 3ae5f95653 T: fix small typo 2016-11-22 11:21:54 +01:00
Cedric Roux b55b63c5ab hotfix: hack to improve PHICH generation
The eNodeB may sometimes wrongly generate PHICH because somewhere
'phich_active' is not reset to 0, due to an unidentified reason. When
adding this hack the problem seems to disappear completely.

This is not the end of the story. The real underlying problem has to be
understood and fixed correctly.
2016-11-22 10:46:04 +01:00
Cedric Roux 6bb69e1964 hotfix: correct Msg3 ressource blocks reservation
The Msg3 ressource blocks used by random access procedure
were not correctly handled. The MAC scheduler could wrongly
allocate a ressource block for both random access Msg3 and
a regular UE.

This hotfix hopefully fixes the problem.

A new function "set_msg3_subframe" has been added in the
interface between PHY and MAC.
2016-11-22 10:38:18 +01:00
Cedric Roux 43df291374 T: add some traces
- Msg3 allocation
- initiation of Random Access procedure
2016-11-22 10:17:22 +01:00
Raymond Knopp 85361335e5 frame_length check in compute_beta for LLR8 turbo-decoder 2016-11-18 13:33:13 -08:00
Cedric Roux c03f13c07b T: add a trace for PHICH 2016-11-18 10:29:48 +01:00
Cedric Roux 64615dcc8e hotfix: correct PHICH generation
The PHICH generation is wrong.
HARQ process X is uplink scheduled at TTI n.
At TTI n+4 the eNB receives the data.
At TTI n+8 the eNB sends ACK/NACK on the PHICH.

The problem is that PHICH generation is done after scheduling.
And PHICH generation uses "first_rb" and "n_DMRS" to compute
"ngroup_PHICH" and "nseq_PHICH".

So at TTI n+8 if the eNB has reused the HARQ process X for
a new uplink scheduling the values "first_rb" and "n_DMRS"
may have changed.

We need to use the previous values.

One solution would have been to do PHICH generation before
scheduling. The problem is that "generate_phich_top" does more
than PHICH generation. It has to setup parameters to sort of
"emulate" a DCI0 in case of retransmission scheduled without
DCI0. So part of it has to be done after scheduling. We would
have to split the function.

The simple adopted fix is to store old values of "first_rb"
and "n_DMRS" and use those values in "generate_phich_top".

This fix has only been tested with FDD. TDD may miserably fail.
2016-11-18 09:40:14 +01:00
Cedric Roux f116a10de3 hotfix: turbo decoder should not fail if CRC is 0
The case of a CRC == 0 is legal.

After discussion with Raymond, it is also possible to have all
bits at 0 (and so a CRC==0) if there is no transmission and thus
not much energy.

So this hotfix may introduce new problems (false decoding).

A future work is to handle this case properly by not calling the
turbo decoder if there is not enough energy received.

The problem might manifest itself more in the UE part, especially
when it tries to decode MIB and/or SIB (if I understood correctly).
2016-11-16 15:20:18 +01:00
Rohit Gupta be0b164a52 minor type updates to E-UTRAN User Guide 2016-11-14 18:49:07 +01:00
Rohit Gupta 54d8b116f9 updates to E-UTRAN User Guide 2016-11-14 18:40:03 +01:00
Rohit Gupta ad8b86d93a Update rcc.band7.tm1.if5.usrpb210.conf 2016-11-10 18:11:19 +01:00
Rohit Gupta 58284f60e7 Update rru.band7.tm1.if5.usrpb210.conf 2016-11-10 18:10:21 +01:00
Rohit Gupta 0362cb8644 Update rru.band7.tm1.if5.usrpb210.conf 2016-11-10 18:09:09 +01:00
Rohit Gupta 1a99e785a0 remove warnings 2016-11-08 03:14:01 +01:00
Rohit Gupta 8031eaa05c [Gitlab-CI]: Merge from Enhancement-142-OAI_UE_autotest_framework 2016-11-04 01:24:29 +01:00
Rohit Gupta 057de07192 Merge bugfix-137-uplink-fixes and update README 2016-11-03 21:20:29 +01:00
Rohit Gupta 030bcd52d2 Merge branch 'bugfix-137-uplink-fixes' into develop 2016-11-03 21:19:16 +01:00
Florian Kaltenberger 0554132dcf Merge branch 'enhancement-64-phy_test' into 'develop'
Enhancement 64 phy test



See merge request !46
2016-11-03 17:03:44 +01:00
Florian Kaltenberger 535755a528 resetting two files to their state in develop 2016-11-03 17:02:06 +01:00
Florian Kaltenberger c61d74cd49 Merge remote-tracking branch 'origin/develop' into enhancement-64-phy_test 2016-11-03 16:45:17 +01:00
Rohit Gupta 9927838e8c Update README.txt with License information 2016-10-25 22:44:45 +02:00
Rohit Gupta b7a467839d Update NOTICE.txt for License information 2016-10-25 22:42:33 +02:00
Rohit Gupta 1fa2f76e61 minor fix for config file for new changes to RRH/TM1 2016-10-21 23:25:53 +02:00
Florian Kaltenberger b502b5060e Merge remote-tracking branch 'origin/develop' into enhancement-64-phy_test
Conflicts:
	targets/ARCH/EXMIMO/USERSPACE/OCTAVE/txsig.m
	targets/RT/USER/lte-ue.c
2016-10-19 21:04:00 +02:00