Commit Graph
3620 Commits
Author SHA1 Message Date
Guido Casati 030fc5a2f5 Bugfix segmentation fault in dlsim for missing memory allocation 2019-12-06 10:46:51 +01:00
cig 361446fda5 Consolidation of TA updates changes in the noS1 mode:
- merged nr-schedule_ue_spec into nr_schedule_uss_dlsch_phytest
- enabled nr_ue_send_sdu for S1 mode
- increased ta_timer to 100
- restored NR_UPLINK_SLOT to 2 (as it was in develop-nr)
- fixed logic for S1 and noS1 modes
- code cleanup and formatting
2019-12-06 10:46:51 +01:00
Guido Casati cfbe18c9ed Adaptation of MAC TA procedures to the design of handle_dlsch
- introduced new parameter in nr_ue_dl_indication for UL time alignment
- moved TA timer logic one level up so that now is executed every slot
- set timer value to 80 slots to cope with the sl_ahead design
- introduced new TA-related members to gNB MAC instance struct
2019-12-06 10:46:51 +01:00
Guido Casati a0cd44947e Bugfix uninitialised vars and conflicting types in simulators after merge 2019-12-06 10:46:51 +01:00
Guido Casati 0b873bb620 Time Alignment procedure with time adjustment as per TS 38.213 section 4.2
- UE processing capability 1
- Setting the TA update to be applied after the reception of the TA command
- Durations of N1 and N2 symbols corresponding to PDSCH and PUSCH are
  computed according to sections 5.3 and 6.4 of TS 38.214
- Introduced tables 5.3-1, 5.3-2, 6.4-1, 6.4-2 from TS 38.214
2019-12-06 10:46:51 +01:00
Guido Casati c6855cb8d2 Maintenance of Uplink Time Alignment. Introduced control on TA transmission and TA update application.
- ta_timer at gNB side to control the transmission of TA to the UE. This is now happening every 20 slots.
- when the timer resets gNB is now transmitting the TA whether it is zero or not.
- introduced struct NR_UL_TIME_ALIGNMENT_t to handle configuration of time alignment related parameters.
- UE PHY RX: is now triggered through a flag when to store the TA command, the frame and slot
  when the application should occur.
- UE PHY TX: when the tx frame and slot match the time alignment configuration, it process the TA command and applies the
  TA update
2019-12-06 10:46:51 +01:00
Ahmed Hussein 5ac8b6f34d TA implementation complete and tested in rfsimulator 2019-12-06 10:46:51 +01:00
Guido Casati 825ae3c06d Integration PHY and MAC procedures for Timing Advance updates. Compilation and run is OK. TA updates need further fixes as not working as expected.
- "nr_process_timing_advance": TA to be applied is commented out, need to be uncommented
- with introduced delay of 50 in rx_rf, TA update should be 34 in MAC CE
  but this does not occur when ta is applied at UE side according to standard
- introduced ULSCH scheduler and NR RX SDU functions
- fixes to logic in UL fill RX indication
- added crc indication in UL RX
- temporary hardcoded UE_id to 0, rnti not considered in the logic
2019-12-06 10:46:51 +01:00
Guido Casati 6ec89bec1f Bugfix: header from NR included in LTE UE PHY procedures 2019-12-06 10:46:51 +01:00
Guido Casati 310efee7f2 Implementation of TA procedures at MAC layer for gNB and UE
- Initial gNB DLSCH and UE spec scheduling implentation
- MAC PDU generation (including header as per TS 38.321)
- MAC PDU processing at UE side with extracion of TA updates
- General code cleanup
- Introduced NR MAC COMMON folder, moved common files here
2019-12-06 10:46:51 +01:00
Francesco Mani fe0c9ba075 fix for number of slots in half frame for different numerologies 2019-11-27 09:11:51 +01:00
Francesco Mani 433e3edd21 fix for nr_is_ssb_slot in nr_slot_select 2019-11-26 18:31:04 +01:00
magounak 9d1b66154b Merge remote-tracking branch 'origin/develop-nr' into nr-channel-estimation 2019-11-19 15:43:20 +01:00
Sakthivel Velumani 0ea53f48b9 Added back ulsim test case for 273 RB 2019-11-15 17:21:37 +01:00
Sakthivel Velumani e253a6f380 Added support for nushift 2019-11-15 14:15:45 +01:00
Florian Kaltenberger 39457f5c12 Merge remote-tracking branch 'origin/ldpc_bg2_bug_fix' into integration-develop-nr-2019w46 2019-11-15 09:39:08 +01:00
Florian Kaltenberger 6082a33d2e Merge remote-tracking branch 'origin/nr_pdcch_crc_fix' into integration-develop-nr-2019w46 2019-11-15 09:38:38 +01:00
Francesco Mani e2b77c3edb removing printf 2019-11-15 09:27:02 +01:00
Thomas Schlichter ef3be74025 Fix channel estimation for 3/4 sampling
In 3/4 sampling mode, the OFDM symbol size is _not_ a power of two (e.g. 1536 instead of 2048).
In this case it is _not_ OK to calculate the modulus using a binary AND, it _must_ use either the actul modulus operator (%) using an integer division,
or a _correct_ if statement or tertianary operator like this:

re_offset = (re_offset + 4 >= ue->frame_parms.ofdm_symbol_size) ? (re_offset + 4 - ue->frame_parms.ofdm_symbol_size) : (re_offset + 4);

But of course using the actual modulus operator is much more readable and surely not much slower:

re_offset = (re_offset + 4) % ue->frame_parms.ofdm_symbol_size;
2019-11-14 17:32:09 +01:00
Hongzhi Wang feb461bafb add missing fix for bg2 2019-11-14 16:25:23 +01:00
Hongzhi Wang 17f5a80387 ldpc encoder bg2 bug fix 2019-11-14 15:16:21 +01:00
Sakthivel Velumani eff0a870b7 PUSCH UE DMRS index with correct data type 2019-11-14 15:06:23 +01:00
Sakthivel Velumani 1aa2b3041b update to last commit 2019-11-13 15:05:19 +01:00
Sakthivel Velumani 8054ab64fa Fixed CRC fail in PDSCH for large PRBs 2019-11-13 14:57:29 +01:00
Sakthivel Velumani 3185728107 Some updates in uplink and downlink channel estimations 2019-11-13 14:35:14 +01:00
Sakthivel Velumani 2deda8df51 Improved channel estimates around DC for uplink 2019-11-12 15:15:37 +01:00
Sakthivel Velumani 09b38541c8 Included DC handling for odd number of RBs 2019-11-12 14:28:34 +01:00
Florian Kaltenberger 1bfbf8c96e adding missing case 2019-11-11 15:04:22 +01:00
Rakesh 6d4f03751e ulsim bug fix 2019-11-08 23:22:59 +01:00
Florian Kaltenberger 282f56fb7b fixing some bugs nr_ulsim 2019-11-08 17:10:30 +01:00
Rakesh b4b1998c5e bug fix 2019-11-08 12:38:48 +01:00
Sakthivel Velumani 497afe4f58 UL improved channel estimation around DC 2019-11-08 10:27:06 +01:00
Sakthivel Velumani 9e7186c2cb updated dlsim 2019-11-07 17:00:30 +01:00
Sakthivel Velumani f5b0658a70 Improved channel estimates around DC;
ignored only DC pilot
2019-11-07 16:34:33 +01:00
Sakthivel Velumani ca9b4d7ed9 Improved channel estimates around DC
Ignored 1 pilot before and after DC
2019-11-07 16:26:30 +01:00
Francesco Mani 2a5109d670 crc ones added also ar UE side 2019-11-05 12:47:32 +01:00
Francesco Mani 13f4acd5b6 Revert "disabling pdsch and ul"
This reverts commit 582ba0c922.
2019-11-05 10:59:15 +01:00
Francesco Mani ccd38774ee Revert "generating a simple ue specific search space with 24 RB in 1 symbol for testing"
This reverts commit e47cd4a06d.
2019-11-05 10:58:25 +01:00
Florian Kaltenberger 69631e750b Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-11-01 17:13:54 +01:00
Sakthivel Velumani 3052388709 Fix for ulsim MCS issue;
Still problem with low MCS (same as PDSCH)
2019-10-31 11:51:58 +01:00
Florian Kaltenberger 501a1272cd configuring PUSCH directly in nr_ulsim so that it works also for other MCS 2019-10-31 11:17:07 +01:00
Florian Kaltenberger afa7195638 making nr_ulschsim work again 2019-10-31 09:56:16 +01:00
Francesco Mani cbbadf6bcd correction for dci crc computation 2019-10-30 17:26:03 +01:00
Florian Kaltenberger bf7d52de43 Merge remote-tracking branch 'origin/develop-nr' into nr_fapi_for_push 2019-10-30 16:33:35 +01:00
Florian Kaltenberger 61cfbc1f2a changing some log levels 2019-10-30 11:11:52 +01:00
Florian Kaltenberger cf025a6569 Merge remote-tracking branch 'origin/nr-tbs-fixes' into integration-develop-nr-2019w44 2019-10-30 10:22:38 +01:00
Florian Kaltenberger 51462360a8 Merge remote-tracking branch 'origin/nr_time_tracking_ssb' into integration-develop-nr-2019w44 2019-10-30 10:22:20 +01:00
Florian Kaltenberger da625f1397 making nr_ulsim working again with the FAPI 2019-10-29 17:14:46 +01:00
Francesco Mani e47cd4a06d generating a simple ue specific search space with 24 RB in 1 symbol for testing 2019-10-29 10:45:27 +01:00
Francesco Mani 582ba0c922 disabling pdsch and ul 2019-10-29 09:55:12 +01:00