Commit Graph
11402 Commits
Author SHA1 Message Date
Florian Kaltenberger e97204d573 fixing bad merge 2019-10-14 21:50:25 +02:00
Florian Kaltenberger f8d969d506 Merge remote-tracking branch 'origin/ldpc-endian' into integration_develop-nr_2019w42
Conflicts:
	openair1/PHY/CODING/TESTBENCH/ldpctest.c
2019-10-14 13:43:33 +02:00
Florian Kaltenberger c046eb66a6 Merge remote-tracking branch 'origin/nr-ip-over-LTE-stack' into integration_develop-nr_2019w42
Conflicts:
	executables/nr-softmodem.c
	executables/nr-softmodem.h
	targets/ARCH/rfsimulator/simulator.c
2019-10-14 13:40:03 +02:00
Florian Kaltenberger a5af01633a Merge remote-tracking branch 'origin/develop-nr_cppcheck' into integration_develop-nr_2019w42 2019-10-14 13:35:13 +02:00
Florian Kaltenberger f26373c52b Merge remote-tracking branch 'origin/develop-nr_cppcheck' into integration_develop-nr_2019w42
Conflicts:
	executables/nr-gnb.c
	openair1/PHY/NR_REFSIG/nr_dmrs_rx.c
	openair1/SIMULATION/NR_PHY/ulsim.c
2019-10-14 13:34:14 +02:00
yilmazt 954e6c640d compilation error fix and some more cppcheck work 2019-10-14 12:14:12 +02:00
Florian Kaltenberger 054eaf66a6 fixing nr_dlsim CI tests 2019-10-14 10:54:14 +02:00
Florian Kaltenberger da13ff9c36 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:30:55 +02:00
Raymond Knopp 2109c768df modified endian on unoptimized encoder 2019-10-10 18:44:32 +02:00
Raymond Knopp a8bf0b2373 andmask for both optimized encoder routines. Minor changes in ldpctest 2019-10-10 18:39:41 +02:00
sebastian 0b9d015888 Fixed a bug 2019-10-10 14:22:30 +02:00
sebastian 2cd4d9f670 Updated packed LDPC output format to be compliant with 38.321 2019-10-10 10:20:06 +02:00
Raymond Knopp 2daf95a027 ldpc encoder bit endian (MSB->LSB) for 3GPP compliance 2019-10-09 21:44:08 +02:00
yilmazt 08eda57aca final minor changes before the merge 2019-10-08 18:32:02 +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
yilmazt fbb5b54841 Merge branch 'develop-nr' into develop-nr_cppcheck 2019-10-07 15:18:25 +02:00
Raphael Defosseux 3a57b05893 CI: fix after merge conflicts...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-10-07 14:52:46 +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
yilmazt 5f46038ed5 Merge branch 'develop-nr' into develop-nr_cppcheck 2019-10-07 12:09:18 +02:00
yilmazt 3a04f8f0ed Merge branch 'develop-nr_cppcheck' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop-nr_cppcheck 2019-10-07 12:05:26 +02:00