Commit Graph
11309 Commits
Author SHA1 Message Date
Florian Kaltenberger 6d69a1069f adding PHY side of FAPI UL handling 2019-09-06 18:12:13 +02:00
Florian Kaltenberger 2f402b1055 reducing number of UEs to save memory 2019-09-06 18:11:54 +02:00
Florian Kaltenberger e96dfd4b52 adding PHY side of FAPI UL handling 2019-09-06 16:25:41 +02:00
Florian Kaltenberger 7fb14ab321 adding MAC part of 5G FAPI interface for PUSCH. Since the previous version was incomplete anyway I merged in the new SCF specs and used those (only for PUSCH). Todo: implement PHY part. 2019-09-05 16:40:31 +02:00
Florian Kaltenberger fa040160d0 Merge remote-tracking branch 'origin/5g_fapi_scf' into 442-integrate-pusch-into-nr-ue-softmodem 2019-09-05 06:42:30 +02:00
Ahmed Hussein e27a88f6a6 Adding new command line parameters 2019-08-23 16:08:57 +02:00
Ahmed Hussein 45c764a3ae Adding TA estimation at gNB PHY for TA updates 2019-08-23 16:08:57 +02:00
Ahmed Hussein 5ba4de4d1d Reordering frame and SNR loops 2019-08-23 16:08:57 +02:00
Ahmed Hussein 768d214122 Providing time domain channel estimates 2019-08-23 16:08:57 +02:00
Ahmed Hussein 53e6a5223c Minor Fixes in ulsim 2019-08-23 16:08:57 +02:00
Ahmed Hussein f398e4999b Set start_rb to 0
- start_rb was set to 30, and nb_rb was set to 50 with NB_RB_DL = 106.
- When the DC subcarrier is included in the RB allocation,
  this causes errors in FFT/IFFT operations arounf the DC subcarrier
- This leads to errors in unscrambling and decoding
2019-08-23 16:08:57 +02:00
Ahmed Hussein 2660f4ea4f Added frame loop to ulsim 2019-08-23 16:08:57 +02:00
Ahmed Hussein 0e78faa744 TBS fix at UE side + minor restructuring in "phy_procedures_nrUE_TX"
- TBS calculation was performed 2 times. Once in "phy_procedures_nrUE_TX" and
  another in "nr_ue_ulsch_procedures". The TBS calculation was wrong in "phy_procedures_nrUE_TX"
  and correct in "nr_ue_ulsch_procedures".

- The data generation was performed in "phy_procedures_nrUE_TX" with a wrongly
  calculated TBS because "ulsch_ue->nb_re_dmrs" wasn't set to a value, so the calculated
  TBS would be more than it should be. This doesn't create a problem in the test because
  the comparison between the TX and RX data is made using the correctly calculated TBS
  which is smaller.

- Solution was to perform data generation in "nr_ue_ulsch_procedures", and remove TBS calculation
  in "phy_procedures_nrUE_TX"
2019-08-23 16:08:57 +02:00
Ahmed Hussein 294e425645 Minor fixes and edits in ulsch_decoding 2019-08-23 16:08:57 +02:00
Khalid Ahmed 1d35890259 Add macro to print CRC OK at gNB PUSCH 2019-08-23 16:08:57 +02:00
Khalid Ahmed c4ae0b0691 Fixing TDD mode using USRP x300 2019-08-23 16:08:57 +02:00
Khalid Ahmed bb2efbe42c optimizing nr_ue_ulsch_procedures 2019-08-23 16:08:57 +02:00
Ahmed Hussein 779e8996e3 Minor fixes
- removing "Nsymb_pusch" and "Nsc_pusch" from "NR_UE_ULSCH_t"
- using "number_of_symbols" from "NR_UL_UE_HARQ_t" instead
- removing "generate_ue_ulsch_params"
2019-08-23 16:08:57 +02:00
Khalid Ahmed fc2bbeef69 Adding VCD liberaries to nr-softmodem/nr-uesoftmodem 2019-08-23 16:08:56 +02:00
Khalid Ahmed 69abec3df1 Fix ulsim and PUSCH in rf-simulator
- initialize PUSCH parameters properly
2019-08-23 16:08:56 +02:00
Thomas Schlichter 34899cd404 fix compilation of phy simulators introduced from the usage of get_band() 2019-08-23 16:08:56 +02:00
Khalid Ahmed 9148716641 TDD fixes in real-time environment 2019-08-23 16:08:56 +02:00
Khalid Ahmed d12a824433 TDD in rfsimulator 2019-08-23 16:08:56 +02:00
Khalid Ahmed 2b94608329 handle tx_offset with negative value 2019-08-23 16:08:56 +02:00
Khalid Ahmed 35b85d456c fixing a memory leak in nr_ue_ulsch_procedures 2019-08-23 16:08:56 +02:00
Khalid Ahmed f9b583e06e PUSCH running with rfsimulator 2019-08-23 16:08:56 +02:00
Thomas Schlichter 4541922258 fix crashes in nr_ulsch_decoding
- initialize p_decParams->Z from harq_process not only in round 0
- do not set opp_enabled=1, this crashes in LDPC encoder
2019-08-23 16:08:56 +02:00
Thomas Schlichter f51796180d fix gNB linker error and various warnings 2019-08-23 16:08:56 +02:00
Ahmed Hussein abfd072376 channel estimation, compensation, etc ..
Added the following folder:
- ../openair1/PHY/NR_ESTIMATION/

Added the following file to CMakelists.txt:
- ../openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c

Added the following functions:
- nr_pusch_dmrs_rx
- nr_gold_pusch
- nr_ulsch_channel_level
- nr_ulsch_channel_compensation
- nr_ulsch_scale_channel is commented out (I think only used for downlink)

Changes from Khalid Ahmed Mahmoud Mohamed:
- nr_pusch_channel_estimation is used
- nr_ulsch_scale_channel is used
- nr_ulsch_channel_level is used
- nr_ulsch_channel_compensation is used
- multiple logging options for channel and signal magnitude
2019-08-23 16:08:56 +02:00
Ahmed Hussein 9d27079f05 adding PUSCH procedures to gNB side in RT with some logs
- removed gNB RT from "ru_procedures.c" to "nr_ru_procedures"
- added a new thread "nr_feprx_thread"
- added some functionalities for fep for rx in "nr_ru_procedures.c"
2019-08-23 16:08:56 +02:00
Khalid Ahmed 978f683eca using LOG_I instead of LOG_D in RT PUSCH UE side 2019-08-23 16:08:56 +02:00
Khalid Ahmed 9d4f5b4de7 Adding Frame tx to LOG_D for debugging 2019-08-23 16:08:56 +02:00
Khalid Ahmed 8effb52c84 Restrict UL transmission to NR_UPLINK_SLOT 2019-08-23 16:08:56 +02:00
Thomas Schlichter ece26036e6 Consolidate header files for nr_phy_scope 2019-08-23 16:08:56 +02:00
Khalid Ahmed 705f2c1e42 enabling PUSCH UE side in RT 2019-08-23 16:08:56 +02:00
Florian Kaltenberger 26f1e090c5 fixing a bug in the allocation of the UE HARQ structures that was causing a segfault. Fixing some compiler warnings 2019-08-23 14:06:46 +02:00
Florian Kaltenberger ca1759b9e3 Merge branch '441-problems-transmitting-data-via-nr-pdsch' into 'develop-nr'
Resolve "Problems transmitting data via NR-PDSCH"

See merge request oai/openairinterface5g!658
2019-08-23 14:02:52 +02:00
Florian Kaltenberger f2f8d47384 hotfix: replacing msg with printf in unitary simulators (msg(...) was replaced with LOG_D(PHY,...) but it was used before log was initialized) 2019-08-20 09:13:02 +02:00
Raphael Defosseux 2ec61ea77e CI: fixing CI test flexran ctrl + basic simulator
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-08-20 16:43:23 +02:00
Kujou 20d41208c8 to test S3.4 2019-08-16 15:25:51 +08:00
Kujou bea98773b0 Sec 3.4 2019-08-16 15:16:55 +08:00
Kujou c8471c1e54 finish section 3.3 and 3.4 2019-08-16 05:24:04 +08:00
Kujou fb4165d62b S3.3 compile OK 2019-08-14 22:55:53 +08:00
Kujou e901aa79ab fix .h 2019-08-14 22:24:48 +08:00
Kujou 224b781848 to test 2019-08-14 21:45:12 +08:00
Kujou 4d84f5cd87 to test 2019-08-14 21:39:43 +08:00
Kujou 75305c383b adding initial version of fapi_nr_interface_scf.h 2019-08-12 20:13:00 +08:00
Florian Kaltenberger afc5020cca Merge branch 'integration_develop-nr_2019w32' into 'develop-nr'
Integration develop nr 2019w32

See merge request oai/openairinterface5g!656
2019-08-07 21:41:54 +02:00
Florian Kaltenberger 0080f007c3 Merge remote-tracking branch 'origin/update-to-2019-march-june-release' into integration_develop-nr_2019w32 2019-08-07 15:20:59 +02:00
Florian Kaltenberger 03ca7391d3 Merge remote-tracking branch 'origin/ue_adjust_gain' into integration_develop-nr_2019w32 2019-08-07 15:20:39 +02:00