Commit Graph
832 Commits
Author SHA1 Message Date
Raymond Knopp 1d331c0bf8 Changes for 20 MHz RRU (dual-thread mode) 2017-01-03 07:46:36 +01:00
Raymond.Knopp 7e4e63ae64 Merge remote-tracking branch 'origin/develop' into enhancement-10-harmony
Conflicts:
	targets/RT/USER/lte-enb.c
	targets/RT/USER/lte-softmodem.c
2016-12-06 07:24:03 +01:00
Cedric Roux d7831c1f57 T: add TBS to ENB_PHY_DLSCH_UE_DCI 2016-12-05 14:52:12 +01:00
Raymond Knopp b0766d7074 added prach buffer for if4p5 processing in RRU. This fixed a critical bug which was seen for bandwidths greater than 5 MHz. RRU tested with 5/10 MHz on 1.5 GHz Atom. 2016-12-04 20:17:33 +01:00
Raymond.Knopp 0717c18ccb modifications for PRACH on IF4p5 2016-12-04 12:11:03 +01:00
Raymond.Knopp 1255cf856f Merge remote-tracking branch 'origin/develop' into enhancement-10-harmony
Conflicts:
	targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
	targets/RT/USER/lte-enb.c
	targets/RT/USER/lte-softmodem.c
2016-12-04 09:46:02 +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 426e6cd74b bugfix for TDD: special subframe was not transmitted. 2016-11-25 16:55:35 +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
S. Sandeep Kumar fe10da2642 fix conflicting prach size in if4p5 2016-11-24 19:14:50 +05:30
S. Sandeep Kumar f1bd8ba02a fix conflicting prach size in if4p5 2016-11-24 17:34:48 +05:30
Raymond Knopp 4b64879072 Merge branch 'enhancement-10-harmony' of https://gitlab.eurecom.fr/oai/openairinterface5g into enhancement-10-harmony 2016-11-24 15:57:34 +08:00
Raymond Knopp eb854b8e6a setting of frame_tx in lte-enb.c 2016-11-24 15:56:38 +08:00
Raymond Knopp 8bc94223b4 remove debugging traces from lte-enb.c and if4_tools.c. modulo 1024 bug on frame counter in lte-enb.c 2016-11-24 15:55:00 +08:00
Raymond Knopp 77486af848 Merge branch 'enhancement-10-harmony' of https://gitlab.eurecom.fr/oai/openairinterface5g into enhancement-10-harmony 2016-11-24 14:46:00 +08:00
Raymond Knopp 4429a6a601 Merge branch 'enhancement-10-harmony' of https://gitlab.eurecom.fr/oai/openairinterface5g into enhancement-10-harmony
Conflicts:
	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
2016-11-24 14:45:48 +08:00
Raymond Knopp 085718ae8b RRU synchronization debugging 2016-11-23 19:12:02 +08:00
Raymond Knopp 3e838ca675 temporary commit for testing 2 RRU case as TM2 (distributed antennas) 2016-11-23 13:46:47 +08:00
Raymond Knopp f02c1f20e4 frame synchronization mechanism and robustification of if4p5 packet handling for out-of-order asynchronous reception (PDLFFT) 2016-11-23 13:42:37 +08: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 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 20b0aae98b integration of over-the-air synchronization mechanism for distributed RRU 2016-11-21 18:00:36 +08: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
Raymond Knopp 90e3931e4e resynch for timestamp 2016-10-27 14:41:58 +02:00
Raymond Knopp e156079e33 timeout for UDP recvfrom 2016-10-27 12:36:38 +02:00
luhan wang 727cdb4a87 updates for udp IF4p5 2016-10-27 09:45:56 +02:00
luhan wang 5affbe3848 added resynchronization parameters to PHY_VARS_eNB 2016-10-20 17:32:56 +02:00
luhan wang 08499a69e2 modifications for IF4p5 UDP transport 2016-10-20 14:19:18 +02:00
luhan wang 9b9a7e50b4 Merge branch 'enhancement-10-harmony' of https://gitlab.eurecom.fr/oai/openairinterface5g into enhancement-10-harmony 2016-10-19 08:23:18 +02:00
Rohit Gupta 5725374ed4 Merge branch 'develop' into bugfix-137-uplink-fixes 2016-10-17 21:25:56 +02:00
Rohit Gupta e084e58388 merge from develop 2016-10-11 18:52:14 +02:00
Rohit Gupta b481bfd985 Merge branch 'develop' into feature-131-new-license 2016-10-10 19:25:02 +02:00
Cedric Roux 190fc96af4 issue 137 - fix RI bits decoding
RI bits are present only in some transmission modes.

For aperiodic reporting (the mode we do as of today),
36.213 7.2.1 (release 10) says:

    "RI is only reported for transmission modes 3 and 4,
    as well as transmission modes 8 and 9 with PMI/RI reporting"

This commit activates decoding of RI bits only for transmission
modes 3 and 4. 8 and 9 are not done today (as far as I know).
2016-10-10 16:36:52 +02:00
Cedric Roux b0887a1b85 issue 137 - correct computation of G
G was wrongly computed in some places, not taking into account
CQI and RI bits. This commit saves the correct value computed
in ulsch_decoding so we can reuse it in ulsch_decoding_data
(and the like).

Only the file openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c has
been checked. If the computation is done somewhere else the
problem might still exist.
2016-10-10 16:33:12 +02:00
Rohit Gupta c51edecdee Merge branch 'bugfix-136-OAI-UE-Attach-fixes' into 'develop'
[OAI-UE] issue#136 attach fixes:

- pusch/pucch power control
           - pucch encoding call
           - srb/drb add with default value

See merge request !44
2016-10-10 12:03:51 +02:00
Raymond Knopp a67f12e7cc correction of scrambling sequence initialization in phich.c (rx_phich) 2016-10-09 00:47:12 -07:00
Raymond Knopp b64f341962 correction of scrambling sequence initialization in phich.c (generate_phich) 2016-10-09 00:45:03 -07:00
Raymond Knopp 0dc55ec8c8 small bugfix for compute_beta8 in turbo-decoder. 2016-10-07 23:13:09 -07:00
Raymond Knopp 470000f0a2 Merge branch 'enhancement-10-harmony' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2016-10-07 10:59:29 -07:00
Raymond Knopp 26f454aa9a bugfix in slot_fep_mbsfn.c 2016-10-07 10:49:58 -07:00
Raymond Knopp e958d7be87 update for mbmssim for new data structures 2016-10-07 10:31:17 -07:00
Raymond Knopp 263ad2aff8 bugfix in dlsim/ulsim for channel model 2016-10-07 10:20:31 -07:00