Commit Graph
847 Commits
Author SHA1 Message Date
hbilel 17aefade3f remove temporary harq process for ue (ul) 2016-12-12 12:48:48 +01:00
hbilel e0bf855fbf initialize max retans tx Mlimit 2016-12-12 12:12:27 +01:00
hbilel e04e8a62cc remove mac-struct usage from phy 2016-12-12 11:45:22 +01:00
Cedric Roux a574c3d31b integration fix: wrong license 2016-12-12 09:22:01 +01:00
Cedric Roux 752ceb1922 integration fix: remove compilation warnings 2016-12-08 17:49:56 +01:00
Cedric Roux 497e89d97e integration fix: bugfix: wrong enum used 2016-12-08 17:48:56 +01:00
gabrielC bd30471076 [OAI-UE] merge com4Innov branch to integration branch 2016-12-08 11:07:38 +01:00
gabrielC 0fb34b2e28 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop1B 2016-12-06 12:05:25 +01:00
Xenofon Foukas a2acf0a98f Merge remote-tracking branch 'origin/develop' into feature-68-enb-agent 2016-12-05 21:40:10 +02:00
Cedric Roux d7831c1f57 T: add TBS to ENB_PHY_DLSCH_UE_DCI 2016-12-05 14:52:12 +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
GabrirelCouturier 6e21152fac [OAI-UE] fixes for issue#35 issue#36 issue#37
1-issue#35: miss dci detection
           2-issue#36: ack/nack on pusch are badly encoded
           3-issue#37: ack/nack are sent on pucch instead of pusch
2016-11-28 10:21:01 +01:00
Florian Kaltenberger 426e6cd74b bugfix for TDD: special subframe was not transmitted. 2016-11-25 16:55:35 +01:00
Rohit Gupta 045c947015 Merge branch 'develop' into feature-68-enb-agent 2016-11-25 10:08:53 +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
GabrirelCouturier 33e89e3e9f [OAI-UE] fix for issue#32
1- timing Advance fix
           2- harq UL fix
2016-11-24 10:54:37 +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 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
GabrirelCouturier 9c4cee34f0 [OAI-UE] several fixes in OAI-UE
1- implement max harq retrans
           2- bug in harqId > 1 for dci format 1A
           3- wrong G computation
           4- bug in harq UL for scheduling flag
           5- initial sync, limit freq offset to 150Hz
2016-11-21 11:30:24 +01:00
GabrirelCouturier 34b75f393d Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into bugfix-26 2016-11-21 11:19:30 +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
Fabrice Nabet 94a1510d2b Merge branch 'bugfix-13-turbo_decoder_sse_8bit-frame-length-error' into 'develop1B'
Update 3gpplte_turbo_decoder_sse_8bit.c

maximum frame length is 6144

See merge request !9
2016-11-16 18:56:19 +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
Xenofon Foukas 1c86e23edf Merge remote-tracking branch 'origin/develop' into feature-68-enb-agent 2016-11-11 08:54:56 +02:00
GabrirelCouturier ea4f2948fd [OAI-UE] fix for issue#19: DCI0 detction with wrong RIV 2016-11-09 16:58:11 +01:00
Xenofon Foukas 2078a9e57c Added macros for enabling FlexRAN agent operation 2016-11-09 12:09:02 +02:00
GabrirelCouturier 5e94d108a1 [OAI-UE] fix for issue#18: Cell sync issue 2016-11-07 11:01:25 +01:00
GabrirelCouturier 8750acebbc [OAI-UE] fix for issue#14: segmentation fault in turbo decoder 2016-11-07 10:50:05 +01:00
Xenofon Foukas 92ef1739b1 Restructured FlexRAN agent file hierarchy 2016-11-04 17:36:45 +02:00
Xenofon Foukas 8baf3e7e57 Changed naming convention for flexran related calls 2016-11-04 17:28:04 +02:00
hbilel 10ab1c3e8b [OAI-UE] - PUCCH Format2 Periodic CQI/RI reporting
Handle SRS TX in case of CQI / SR / AN simultaneous transmission
2016-10-27 14:30:30 +02:00
ROBERT Benoit 2ace4029f3 Update 3gpplte_turbo_decoder_sse_8bit.c
maximum frame length is 6144
2016-10-25 18:09:59 +02:00
hbilel 31fbc80520 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop1B
parent a6742020 - Commit 1fa2f76e61

Conflicts:
	targets/RT/USER/lte-softmodem.c
2016-10-24 16:21:05 +02:00
Raymond Knopp d8defff0fa periodic cqi procedures 2016-10-20 06:32:33 -07:00
fnabet 9938bd5d05 [OAI-UE] SRS feature
1- Implement SRS procedures
                   2- Implement SRS procedures part2
                   3- Implement SRS: SRS valid on CMW
2016-10-18 16:15:49 +02:00
Xenofon Foukas 93b9b73582 Merge remote-tracking branch 'oai/develop' into oai-integration
Conflicts:
	cmake_targets/tools/build_helper
	openair1/SCHED/phy_procedures_lte_eNb.c
	openair2/LAYER2/MAC/eNB_scheduler.c
2016-10-18 16:27:56 +03:00
Rohit Gupta 5725374ed4 Merge branch 'develop' into bugfix-137-uplink-fixes 2016-10-17 21:25:56 +02:00
fnabet 9d5621e65c [OAI-UE] SRS feature
1- Implement SRS procedures
               2- Implement SRS procedures part2
2016-10-12 17:47:31 +02:00
hbilel 0705e71ffc [OAI-UE] SRS feature
1- Implement SRS procedures
2016-10-12 14:29:48 +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