Commit Graph
44 Commits
Author SHA1 Message Date
tct-labo4 4c2c1a3631 fix dlsim 2017-07-31 16:18:57 +02:00
Cedric Roux 8d5901c815 bugfix: fix bug "Unknown UE_id for rnti"
This bug happens when we detect uplink failure for one UE.
In this case, a DCI format 1A is sent to the UE to ask it
to do random acces.

The way this DCI is generated was not compatible with how
the software is organized. It was expected that the DCI are
added (with add_ue_spec_dci and add_common_dci) in a very
specific order: first all DCIs in common space are added
(with add_common_dci) then all DCIs in UE specific space
are added (with add_ue_spec_dci).

The problem was that the DCI format 1A DCI sent to the UE
for it to do random access is added (with add_ue_spec_dci)
before the DCIs in common space.

That totally messed up the logic in add_common_dci and
add_ue_spec_dci.

The solution is to get rid of Num_common_dci and Num_ue_spec_dci,
replace those two counters by only one (Num_dci) and add
"search_space" in the dci_alloc structure to be used later by
the function "allocate_CCEs" when calling "get_nCCE_offset".

The software had to be adapted to the new variables, everywhere.

I am not sure that the simulators work. It seems that some
of them didn't use Num_common_dci and Num_ue_spec_dci to
decide on what space (common or UE specific) to put the DCI,
but relied on the rnti (comparing with SI_RNTI). To be tested
properly.

The modified simulators are:
  - openair1/SIMULATION/LTE_PHY/dlsim.c
  - openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
  - openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
  - openair1/SIMULATION/LTE_PHY/framegen.c
  - openair1/SIMULATION/LTE_PHY/pdcchsim.c
  - openair1/SIMULATION/LTE_PHY/syncsim.c
2017-07-27 17:12:19 +02:00
Cedric Roux 3f1e218a01 pre-integration cleanup 2017-06-16 11:51:10 +02:00
Elena_Lukashova 727782a04a Setting default use_sic_receiver, otherwise it was working properly
only with XFORMS enabled.
2017-06-15 12:05:32 +02:00
Elena_Lukashova adbb533de6 Setting a defaul state of the SIC button. 2017-06-13 16:31:16 +02:00
Elena_Lukashova 9be3a02fb9 Adding a button to XFORMS to switch dinamically between SIC and PIA. 2017-06-13 12:07:19 +02:00
Elena_Lukashova fadb9b8378 Add debugging level to dlsim_tm4. 2017-06-12 23:12:22 +02:00
Elena_Lukashova b7b13de36a Making sure llr is indexed per TB, and not per CW. 2017-06-12 23:10:45 +02:00
Elena_Lukashova ce29fca6b6 Enabling new code for dci format 2 and incrementing round in UE->dlsch[subframe&0x1][0][1]. 2017-06-12 23:08:00 +02:00
Elena_Lukashova 10ad08db41 Changes in files outputs. 2017-05-24 10:45:41 +02:00
Elena_Lukashova 800f66b3d4 Fixing a bug in HARQ for SIC.
Now the llrs after SIC procedure are updated.
In dlsim_tm in case of TB0_active==-1,
the llr were taken from the wrong buffer, and in dlsch_demodulation
the SIC llrs were written into the wrong buffer in the same case.
2017-03-27 11:50:58 +02:00
Elena_Lukashova e05a417cd2 Fixing previous commit 2017-03-26 20:17:47 +02:00
Elena_Lukashova 78bf45f3f3 Removing unnecessary arguments in SIC llr functions. 2017-03-25 18:18:42 +01:00
Elena_Lukashova b88fec2304 Some more printouts for rank adaptation. 2017-03-21 23:15:24 +01:00
Elena_Lukashova 23109e1a82 Optimizing bler files for rank adaptation. 2017-03-21 21:06:25 +01:00
Elena_Lukashova 9d2a4717d0 Changing the bler computation and printouts for the rank adaptation in tm4.
Now it counts how many times the TBs were set to active.
2017-03-21 18:52:41 +01:00
Elena_Lukashova 6219ddc581 Rank adaptation is now an argument of the command line. 2017-03-21 15:17:42 +01:00
Elena_Lukashova 79c304a24a Passing Conditional Number threshold as a command line argument. -V($) 2017-03-21 12:13:17 +01:00
Elena_Lukashova ca0d8a445e Fixing dlsch_demod_shift. 2017-03-21 12:03:23 +01:00
Elena_Lukashova 93c1315bbd Adequate throughput computation for rank adaptation. 2017-03-21 02:13:08 +01:00
Elena_Lukashova b596ede727 Merge remote-tracking branch 'origin/develop' into feature-59-tm4 2017-03-20 14:33:03 +01:00
Cedric Roux 5014b84c30 integration fix: let ulsim compile again + minor modification in dlsim_tm4 2017-03-20 10:43:50 +01:00
Cedric Roux 41dda3d3de integration fix: let dlsim_tm4 compile again
The variables that were duplicated per processing thread
were adapted. 'cpuf' was defined and initialized.
2017-03-20 10:38:25 +01:00
Elena_Lukashova b835f63956 1. There is probably a bug in generate_ue_dlsch_from_dci
for DCI format 2. Temporaryly going back to the previous
version of code.
2. Enabling rate adaptation with multiple HARQ rounds.
(no change inside the rounds).
2017-03-20 01:06:12 +01:00
Elena_Lukashova a92ed31914 Merge branch 'develop' into feature-59-tm4 2017-03-19 15:52:45 +01:00
hbilel cec9cb7662 fix compilation error for dlsim 2017-03-13 12:05:47 +01:00
Elena_Lukashova e704a3155c Enabling noise in the whole subframe and computing N0_total. 2017-03-10 16:16:54 +01:00
Elena_Lukashova b2c57f42fc Fixing bug in modulation for TM4 64QAM. 2017-03-02 22:40:54 +01:00
Elena_Lukashova 74e2cf77fa Fixing throughput computations for multiple rounds in TM4. 2017-03-01 16:43:30 +01:00
Elena_Lukashova 7d649f432b Fixing bler limits for different receivers. 2017-03-01 16:00:56 +01:00
Elena_Lukashova 2e9dfe0fbb Changing names for bler and abstraction output files
in dlsim_tm4 to distinguish from the old runs.
2017-03-01 15:33:55 +01:00
Elena_Lukashova b1bf9db8fa Merge branch 'develop' into feature-59-tm4 2017-02-25 01:39:17 +01:00
Elena_Lukashova bf6a3b522d Removing dlsch1 from arguments of dlsch_modulation_SIC 2017-02-24 23:30:35 +01:00
Elena_Lukashova 3a7fd01f22 Fixing dump_dlsch2 2017-02-24 23:28:35 +01:00
Cedric Roux ba6d140445 integration fix: put correct licensing information 2017-02-16 14:16:29 +01:00
Elena_Lukashova b31282ae30 Merge branch 'develop' into feature-59-tm4 2017-02-09 18:03:16 +01:00
Florian Kaltenberger ce465e503a applying last dlsim fix to dlsim_tm4 2017-02-08 12:03:41 +01:00
Elena_Lukashova 0cd250bc50 1. Fixing remaining bugs form merge. Both simulators pass all the test.
2. Adding dlsch_encoding_SIC, where the fisrt argument is UE structure.
3. Adding general test cases for dlsim_tm4 simulator. 015110.
2017-02-06 14:55:21 +01:00
Elena_Lukashova a51c30f459 Merge branch 'develop' into feature-59-tm4
dlsim_tm4 works fine.
dlsim has a bug in llr processing after llr computations (see XFORMS).
2017-01-30 13:37:24 +01:00
Elena_Lukashova b98bb25fba Merge branch 'feature-60-tm4-fork' into feature-59-tm4
1. TM4 works on dlsim_tm4.c with full HARQ support for both PIA and SIC.
2017-01-27 10:36:10 +01:00
Elena_Lukashova e88561e90d copying dlsim.c to dlsim_tm4.c 2017-01-26 10:51:29 +01:00
Elena_Lukashova 60eddd2c8f Fixing write_output arguments in dlsim_tm4.c 2017-01-25 17:42:04 +01:00
Elena_Lukashova a33a3ead22 1.Fixing the bug in lte_ue_measuments.c for rank indicator.
2. Fixing the arguments in the dump_dlsch2.
2017-01-25 17:21:56 +01:00
Florian Kaltenberger 3e81e8c86b Merge remote-tracking branch 'origin/develop' into feature-59-tm4
Conflicts:
	openair1/PHY/INIT/lte_init.c
	openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
	openair1/PHY/LTE_TRANSPORT/dci_tools.c
	openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
	openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
	openair1/PHY/LTE_TRANSPORT/proto.h
	openair1/PHY/MODULATION/slot_fep.c
	openair1/PHY/TOOLS/lte_phy_scope.c
	openair1/SCHED/phy_procedures_lte_eNb.c
	openair1/SIMULATION/LTE_PHY/dlsim.c
2016-10-06 21:56:06 +02:00