Commit Graph
3414 Commits
Author SHA1 Message Date
Ahmed Hussein 61a1b1c5a8 Adding new command line parameters 2019-10-08 09:30:15 +02:00
Ahmed Hussein b0f5f5f864 Adding TA estimation at gNB PHY for TA updates 2019-10-08 09:30:15 +02:00
Ahmed Hussein 17e4f0f12d Reordering frame and SNR loops 2019-10-08 09:30:15 +02:00
Ahmed Hussein 675c0dff2d Providing time domain channel estimates 2019-10-08 09:30:15 +02:00
Ahmed Hussein b28d006860 Minor Fixes in ulsim 2019-10-08 09:30:15 +02:00
Ahmed Hussein 3be72df335 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-10-08 09:30:15 +02:00
Ahmed Hussein 7c7a1e8262 Added frame loop to ulsim 2019-10-08 09:30:15 +02:00
Ahmed Hussein 03ac9b03c8 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-10-08 09:30:15 +02:00
Ahmed Hussein 3d86e29508 Minor fixes and edits in ulsch_decoding 2019-10-08 09:30:15 +02:00
Khalid Ahmed f6470ccc95 Add macro to print CRC OK at gNB PUSCH 2019-10-08 09:30:15 +02:00
Khalid Ahmed ef41f62f9f optimizing nr_ue_ulsch_procedures 2019-10-08 09:30:14 +02:00
Ahmed Hussein b7733bae40 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-10-08 09:30:14 +02:00
Khalid Ahmed b10cc48351 Fix ulsim and PUSCH in rf-simulator
- initialize PUSCH parameters properly
2019-10-08 09:30:14 +02:00
Thomas Schlichter 8df7d62e52 fix compilation of phy simulators introduced from the usage of get_band() 2019-10-08 09:30:14 +02:00
Khalid Ahmed dd0927dd55 TDD fixes in real-time environment 2019-10-08 09:30:14 +02:00
Khalid Ahmed dd26598ab2 handle tx_offset with negative value 2019-10-08 09:30:14 +02:00
Khalid Ahmed bd39261980 fixing a memory leak in nr_ue_ulsch_procedures 2019-10-08 09:30:14 +02:00
Khalid Ahmed 274c60f87c PUSCH running with rfsimulator 2019-10-08 09:30:14 +02:00
Thomas Schlichter b4c0acad9c 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-10-08 09:30:14 +02:00
Thomas Schlichter ffbe17f3d7 fix gNB linker error and various warnings 2019-10-08 09:30:14 +02:00
Ahmed Hussein 3a8bf560da 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-10-08 09:30:14 +02:00
Ahmed Hussein ad37254217 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-10-08 09:30:14 +02:00
Khalid Ahmed 2b81a1bf48 using LOG_I instead of LOG_D in RT PUSCH UE side 2019-10-08 09:30:14 +02:00
Thomas Schlichter 376fc1eca3 Consolidate header files for nr_phy_scope 2019-10-08 09:30:14 +02:00
Khalid Ahmed 2960d27a47 enabling PUSCH UE side in RT 2019-10-08 09:30:14 +02:00
Florian Kaltenberger 6548ae15d2 Merge branch 'nr-fo-fix' into 'develop-nr'
fix on dot_product64

See merge request oai/openairinterface5g!684
2019-10-07 14:13:03 +02:00
Sebastian Wagner 03da0a5ed8 CI: fixing compilation warning in phy simulators
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-10-05 11:24:03 +02:00
Francesco Mani 987026bb86 fix on dot_product64 2019-10-04 16:38:24 +02:00
frtabu b9b4d05e41 remove RRC_VERSION macros, simplify build-oai and CMakefile.txt accordingly, get rid of remaining compilation warnings (opt module improperly merged and patch asn1c files with tests against max 64 bits integer value) 2019-09-23 19:46:44 +02:00
Florian Kaltenberger be442d7993 Merge remote-tracking branch 'origin/interoperability-test' into integration_develop-nr_w37 2019-09-09 10:50:13 +02:00
Florian Kaltenberger a1472f677b Merge remote-tracking branch 'origin/nr-timing-measurement' into integration_develop-nr_w37
Conflicts:
	executables/nr-ru.c
	nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h
2019-09-09 10:49:56 +02:00
Sakthivel Velumani 21d24c6aea Had set UE's PDSCH start_symbol to match with gNB's. 2019-09-05 14:44:01 +02:00
Khalid Ahmed 9078c5dcb2 Adding VCD functions to NR dlschsim 2019-08-29 09:10:32 +02:00
Khalid Ahmed aec5ebcfff Adding VCD liberaries to dlschsim 2019-08-28 10:53:40 +02:00
Khalid Ahmed c984c71f52 Adding VCD liberaries to nr-softmodem/nr-uesoftmodem 2019-08-28 10:52:29 +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 e4632f204b CI: dummy commit to re-run CI job
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-07-26 15:37:55 +02:00
Ahmed Hussein e12c1ccc70 Adding PDCCH OK 2019-08-13 17:40:59 +02:00
Ahmed Hussein aca390e63f Fixed repeating CRC NOK for 7 times, as well as CRC NOK occuring a lot more than CRC OK
- changed Mdlharq to Mlimit when comparing with the round number
- Not incrementing the HARQ round in case of err_flag = 1, until HARQ is implemented
- Changed MAX_LDPC_ITERATIONS to 5 from 4 (provided better performance)
2019-08-13 17:40:59 +02:00
Ahmed Hussein 37015999e5 DL bug fixes
- Setting the payload to random data instead of all zeros at the Tx side

- Handling "nb_symb_sch" equal to 0 in "phy_procedures_nrUE_RX" which prevents
  entering "nr_ue_pdsch_procedures"

- Handling symbol loop problem in "nr_ue_pdsch_procedures"

- Handling resource block loop problem in "nr_rx_pdsch"
2019-08-13 17:37:42 +02:00
Florian Kaltenberger 1927e34312 Merge remote-tracking branch 'origin/develop-nr' into develop-nr-merge 2019-08-11 18:03:31 +02:00
yilmazt 7bb5320716 develop-nr up-to-date as of 8.8.19 2019-08-08 17:44:19 +02:00
Florian Kaltenberger a54cdfa3fb UE phy scope now displays all OFDM symbols of PDSCH 2019-08-08 16:48:45 +02:00
Florian Kaltenberger 51aa523c50 bugfix from Fraunhofer 2019-08-08 16:48:22 +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
Florian Kaltenberger 28cf0350fc Merge remote-tracking branch 'origin/ue_dlsch-multi-threading' into integration_develop-nr_2019w32 2019-08-07 15:20:17 +02:00
yilmazt 920c1452bd Minor changes to the organization of nr_phy simulators 2019-07-31 17:40:05 +02:00
yilmazt 4967e1b1ac develop&-nr up-to-date as of 30.7.19 2019-07-30 22:01:48 +02:00