Commit Graph
11400 Commits
Author SHA1 Message Date
Florian Kaltenberger 61cfbc1f2a changing some log levels 2019-10-30 11:11:52 +01:00
Florian Kaltenberger da625f1397 making nr_ulsim working again with the FAPI 2019-10-29 17:14:46 +01:00
Florian Kaltenberger 5465516fe0 making ulsim and dlsim compile again 2019-10-23 16:38:48 +02:00
Florian Kaltenberger 952ca25559 Merge remote-tracking branch 'origin/442-integrate-pusch-into-nr-ue-softmodem' into nr_fapi_for_push 2019-10-14 14:32:46 +02:00
Florian Kaltenberger 76b55e9cbd Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-10-11 17:26:03 +02:00
Florian Kaltenberger 189e15aa80 improved real-time performance:
- gNB now only sends samples to USRP when DL slot. (should do the same for UE)
 - increased sf_ahead to 6
 - fixed timestamp for usrp_write at UE
2019-10-11 17:12:39 +02:00
Khalid Ahmed 7934ec451a In TTD mode consider ssb slot as DL slot
- added nr_is_ssb_slot function
2019-10-08 09:30:15 +02:00
Khalid Ahmed 740e4c8aa1 Setting start_rb = 0 and mcs = 9 for PUSCH 2019-10-08 09:30:15 +02:00
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 cd5a321895 Fixing TDD mode using USRP x300 2019-10-08 09:30:14 +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 c7951965e7 TDD in rfsimulator 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
Khalid Ahmed 031e424e46 Adding Frame tx to LOG_D for debugging 2019-10-08 09:30:14 +02:00
Khalid Ahmed df65d8e323 Restrict UL transmission to NR_UPLINK_SLOT 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
Raphael Defosseux cbb9464bac Merge branch '448-ldpc-decoder-optimizations' into 'develop-nr'
Resolve "LDPC Decoder Optimizations"

See merge request oai/openairinterface5g!680
2019-10-05 11:24:04 +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
Florian Kaltenberger c0ca7038f1 Merge remote-tracking branch 'origin/448-ldpc-decoder-optimizations' into nr_fapi_for_push 2019-10-03 13:56:25 +02:00
sebastian aae1fa524a Updated with documentation 2019-10-02 17:29:40 +02:00
Florian Kaltenberger (Italie) b3bc216df1 hotfix for gps sync in usrp_lib.cpp 2019-10-02 16:57:21 +02:00
sebastian 4012f63b09 More documentation, Matlab BLER results to be updated. 2019-09-30 17:47:03 +02:00
Raphael Defosseux 996b90a397 Merge branch 'develop-nr-integration-2019-w40' into 'develop-nr'
develop-nr integration branch: 2019 week 40

The following MRs have been merged:

* MR 675 : code clean-up, remove RRC_VERSION macros and more
* MR 677 : fix for LTE X2 HO
2019-09-30 16:33:48 +02:00
sebastian 72999a1074 Clean up and documentation 2019-09-30 13:42:18 +02:00
Raphael Defosseux 7247786f69 CI: test-suite improvements
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-09-30 10:47:07 +02:00
Raphael Defosseux 6c19d1e663 Merge remote-tracking branch 'origin/nr-fix-lte-x2ho' into develop-nr-integration-2019-w40 2019-09-30 10:42:16 +02:00
Raphael Defosseux 71cf3eab92 Merge remote-tracking branch 'origin/issue141_remove_LTE_RRC_VERSION' into develop-nr-integration-2019-w40 2019-09-30 10:41:55 +02:00