Commit Graph
901 Commits
Author SHA1 Message Date
Xiwen JIANG 41582eb340 fix compliation problems for unitary tests 2016-12-05 17:56:58 +01:00
Florian Kaltenberger a4f8fff92b Merge remote-tracking branch 'origin/develop' into feature-21-TM7
Conflicts:
	targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
2016-11-28 12:56:13 +01:00
Florian Kaltenberger 426e6cd74b bugfix for TDD: special subframe was not transmitted. 2016-11-25 16:55:35 +01:00
Xiwen JIANG 8a08206670 Merge branch 'develop' into feature-21-TM7 2016-11-24 17:59:30 +01:00
Xiwen JIANG 41fd001b31 delete redundant code in beamforming.c 2016-11-24 17:57:52 +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
Florian Kaltenberger 7715900222 some more bugfixes (old and introcuded by merge) plus ability too use phy-test for tm7 2016-11-24 14:42:59 +01:00
Xiwen JIANG f216bacb11 fix the dlsim for TM7 2016-11-23 17:01:22 +01:00
Florian Kaltenberger abab672e49 Merge branch 'feature-21-TM7' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-21-TM7
Conflicts:
	openair1/PHY/INIT/lte_init.c
2016-11-23 15:26:02 +01:00
Florian Kaltenberger 7133633997 bugfixes in precoder 2016-11-23 15:17:01 +01:00
Xiwen JIANG b4a6e03053 error message disply fixed in dl bf ch est 2016-11-23 11:48:18 +01:00
Xiwen JIANG 263254408d use symbol based OFDM modulation in dlsim 2016-11-23 10:41:00 +01:00
Xiwen JIANG 7dbc59c830 adapt dlsim to TM7 2016-11-22 18:34:57 +01:00
Florian Kaltenberger f446a5ea17 Merge branch 'develop' into feature-21-TM7 2016-11-22 18:24:40 +01:00
Florian Kaltenberger c3c3f27487 fixes for phy-test option at eNB 2016-11-22 18:15:57 +01:00
Xiwen JIANG eab744f6f9 add in allocate_REs_in_RB the TM7 case 2016-11-22 14:57:11 +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
Xiwen JIANG 60a1f34a5a cosmetic changes 2016-11-22 12:29:18 +01:00
Xiwen JIANG 1a8069b924 bug fixed for DEBUG_PHY in lte_init.c 2016-11-22 11:19:23 +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
Florian Kaltenberger e450941f7a Merge branch 'develop' into feature-21-TM7 2016-11-21 12:08:30 +01:00
Raymond Knopp 85361335e5 frame_length check in compute_beta for LLR8 turbo-decoder 2016-11-18 13:33:13 -08:00
Florian Kaltenberger 12f1cb9c7c fixing original dlsim from develop 2016-11-18 16:23:01 +01:00
Florian Kaltenberger 8769024922 Merge remote-tracking branch 'origin/develop' into feature-21-TM7
Conflicts:
	cmake_targets/CMakeLists.txt
	openair1/PHY/INIT/lte_init.c
	openair1/PHY/INIT/lte_param_init.c
	openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
	openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
	openair1/PHY/LTE_REFSIG/lte_dl_uespec.c
	openair1/PHY/LTE_TRANSPORT/dci.c
	openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
	openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
	openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
	openair1/PHY/LTE_TRANSPORT/initial_sync.c
	openair1/PHY/LTE_TRANSPORT/pbch.c
	openair1/PHY/LTE_TRANSPORT/pilots.c
	openair1/PHY/LTE_TRANSPORT/pmch.c
	openair1/PHY/LTE_TRANSPORT/proto.h
	openair1/PHY/defs.h
	openair1/SCHED/phy_procedures_lte_eNb.c
	openair1/SCHED/phy_procedures_lte_ue.c
	openair1/SIMULATION/LTE_PHY/dlsim.c
	openair1/SIMULATION/LTE_PHY/mbmssim.c
	openair1/SIMULATION/LTE_PHY/pdcchsim.c
	openair1/SIMULATION/LTE_PHY/ulsim.c
	openair2/ENB_APP/enb_config.c
	openair2/RRC/LITE/rrc_eNB.c
	targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
	targets/RT/USER/lte-softmodem.c
	targets/RT/USER/lte-ue.c
	targets/RT/USER/sched_rx_pdsch.c
	targets/SIMU/USER/init_lte.c
	targets/SIMU/USER/oaisim_functions.c
2016-11-18 15:35:21 +01: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 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
fnabet 310a87ea90 [OAI-UE] issue#136 attach fixes:
- pusch/pucch power control
           - pucch encoding call
           - srb/drb add with default value
2016-10-07 18:30:55 +02:00
Rohit Gupta 73aa265793 Merge branch 'develop' into feature-131-new-license 2016-10-07 13:58:08 +02:00
Tien-Thinh Nguyen e395164a4c fix issues to work with multiple carriers (conga-ercom) 2016-10-04 17:02:50 +02:00
Rohit Gupta c1490bb88d Merge branch 'develop' into enhancement-10-harmony 2016-10-03 15:44:40 +02:00
Cedric Roux 68090c8b36 bugfix: get_tx_amp called with wrong parameter 2016-10-03 11:14:40 +02:00
Rohit Gupta 0263186860 compilation fixes for mbmssim 2016-10-01 22:31:40 +02:00