Commit Graph
16426 Commits
Author SHA1 Message Date
Robert Schmidt cba2d9e413 Schedule UEs on SR or BSR 2021-04-27 08:30:33 +02:00
imad a8149b5e0e Add functions for SR scheduling 2021-04-27 08:30:33 +02:00
imad 27bfe23c9b Add schedulingRequestResourceConfig 2021-04-27 08:30:33 +02:00
imad 50ac9ef252 Add schedulingRequestConfig 2021-04-27 08:30:33 +02:00
Robert Schmidt 51e844e19f Bugfix ul preproc: check correct slot for UL 2021-04-27 08:30:33 +02:00
Robert Schmidt f73e8e0459 Bugfixes in nr_acknack_scheduling()
1: there can be 2bits AckNack + SR in PUCCH F0
2: when allocating csi_pucch, zero out struct
3: Make unfree resources a warning
4: When asserting, explain the issue
2021-04-27 08:30:33 +02:00
Robert Schmidt 4f4e25852f Reduce sched_pucch array length, we only need two entries 2021-04-27 08:30:33 +02:00
Robert Schmidt b005f9594b Statically allocate PUCCH F0 resource index 0 for AckNack 2021-04-27 08:30:33 +02:00
Robert Schmidt c2d16eb8d5 Configure secondaryCellGroup: dedicated PUCCH, CSI, Preamble
- Configure PUCCH Format 0 to be in separate RBs (each UE has dedicated
  resources)
- Configure RA preamble to be different per UE
- Configure CSI offset such that no two UEs have their report in the
  same frame
2021-04-27 08:30:31 +02:00
Robert Schmidt f39b97a9e8 Execute nr_schedule_pucch() only in UL slots 2021-04-27 08:29:55 +02:00
Robert Schmidt 84e57113c8 initial_csi_index depends on local_uid
Nb_ue is not unique among UEs: consider 2 UEs present. The last UE has
CSI idx "2". Now the first UE disconnects, and a new UE connects. It
will also get CSI idx "2", and I assume this is not what we want.
2021-04-27 08:29:55 +02:00
Remi Hardy d953b25353 Integration 2021 wk17 a
MR !1079 / MR !1108:
1. Read slots from config file and schedules all slots *except* for slots 0 and 10. This is not a problem, since currently we cannot allocate more than six HARQ feedbacks in a slot, but we might have up to 7 with current configuration

2. phytest mode is configurable. From `nr-softmodem -h`:

   -m: Set the downlink MCS for PHYTEST mode
   -t: Set the uplink MCS for PHYTEST mode
   -M: Set the downlink banwdwidth (in PRBs) for PHYTEST mode
   -T: Set the uplink banwdwidth (in PRBs) for PHYTEST mode
   -D: Bitmap for DLSCH slots (slot 0 starts at LSB)
   -U: Bitmap for ULSCH slots (slot 0 starts at LSB)

3. Scheduler prints more information: UE PHR, PUCCH SNR, PUSCH SNR, RSSI
4. The scheduler learned to scheduler DLSCH/ULSCH in mixed slots (if the time domain allocation matches the mixed slot)
5. The scheduler expects
   * PDSCH Time Domain allocation index 0 to be the DL slot allocation
   * PDSCH TDA index 1 for Mixed DL slot
   * PUSCH TDA index 0 for UL slot
   * PUSCH TDA index 1 for Mixed UL slot
   * PUSCH TDA index 2 for Msg.3
6. Some more cleanup, e.g., separate PDSCH/PUSCH data structures into "semi-static" data (e.g., TDA allocation to use, since it changes seldomly) and "dynamic" data (e.g., RB allocation per slot, which changes every slot)


MR !1137 : Benetel config files fix
2021-04-27 06:16:06 +00:00
Sakthivel Velumani 7edb235102 Updating gnb config files 2021-04-26 22:47:19 +02:00
Thomas Schlichter b073ca48c3 gNB: improve TA accuracy
The TA calculation takes the CIR peak position error and scales it according to 38.213 section 4.2.
Till now it was simply an integer division "timing_advance_update = sync_pos / bw_scaling".

E.g. in case of bandwidth_scaling == 16, the timing_advance_update was 0 for sync_pos between -15 and +15.
With this change, this range (and thus the UL timing error) will be reduced to -8 and +8.
2021-04-26 18:05:17 +02:00
francescomani bd06094338 another bug fixed 2021-04-26 17:56:51 +02:00
francescomani ff87164011 bugfixes in FR2 scheduling of ssbs 2021-04-26 16:31:20 +02:00
Thomas Schlichter 5c6865fbc6 5G NR: simplify init_timeshift_rotation()
Only Ncp1 is used, so get rid of the second timeshift_symbol_rotation array.
Also simplify the computation of "t0 * Tc * f".
2021-04-26 16:09:32 +02:00
Mohammed Ismail 7acc966b94 CI: logs delay fix
Signed-off-by: Mohammed Ismail <mohammed.ismail@openairinterface.org>
2021-04-26 16:07:40 +02:00
Thomas Schlichter 942037beb3 5G NR: move CIR peak to 0
The rotation compensating the shifted OFDM position _before_ the channel estimation makes the CIR peak move back to 0.
We have to take this into account on gNB side when calculating the timing advance command, and on UE side in the time adjustment.
2021-04-26 14:58:01 +02:00
Thomas Schlichter 626ab8aa3a NR_UE: adjust some LOG levels 2021-04-26 14:58:01 +02:00
Sakthivel Velumani 4d60c5e4fd Fixing a bug 2021-04-26 14:52:45 +02:00
Sakthivel Velumani 33021bd826 Adding offset divisor parameter to all config files 2021-04-26 13:32:02 +02:00
hardy e2ab8bc54b Merge remote-tracking branch 'origin/benetel_config_file_fix' into integration_2021_wk17_a 2021-04-26 10:21:05 +02:00
Sakthivel Velumani f5913f3bfc Fixed bug in UL slot fep 2021-04-26 03:10:41 +02:00
Sakthivel Velumani 215f263a69 Making sample offset as cmd line parameter
for gNB its in L1 section of config file
for UE its a cmd line paramenter
2021-04-26 03:09:17 +02:00
Mohammed Ismail 92b19e2d45 CI: fix on true negative result
Signed-off-by: Mohammed Ismail <mohammed.ismail@openairinterface.org>
2021-04-25 22:07:53 +02:00
Robert Schmidt 26b6d87fa3 Merge branch 'develop' into integration_2021_wk13_b 2021-04-25 16:34:30 +02:00
Robert Schmidt 089246c693 Fix Msg.2 TDA to be 1, revert DL TDA configs to two entries 2021-04-25 14:44:46 +02:00
Remi Hardy 5d83447384 Integration 2021 wk16
MR !1129 : gnb-realtime-hotfix
-Hotfix for realtime performance issue
-Enabled L1 and scheduler timing statistics
-Changed order of UL Indication. L1 Rx -> UL Ind -> L1 Tx

MR !1123 : [CI] ci_phytest
-new 5G NR phy test -q -U 787200 -T 106 -t 28 -D 130175 -m 28 -M 106

MR !1128 : [CI] ci_add_runtime_stats
-adding L1 processing stats

MR !1132 : [CI] ci_add_uldlharq_stats
-additonal ulsch/dlsch stat

no MR : hotfix branch fixgtpu 
-revert default values for 5GS
-fix T_IDs.h build
2021-04-24 07:47:37 +00:00
Sakthivel Velumani 11111bcd68 Adding freq domain deroration to DL
also fixed build wanings
2021-04-23 16:22:28 +02:00
Sakthivel Velumani 1991c2f9cd Revert "HACK: cut PUSCH and PDSCH OFDM symbol after complete CP"
This reverts commit 87b53883b2.
2021-04-23 15:42:16 +02:00
Sakthivel Velumani 945a020f93 Added linear phase derotation in UL
This is necessary to compensate the rotation caused by the timeshifted OFDM symbol (1/8 CP)
2021-04-23 15:41:44 +02:00
Remi Hardy 0c3280b554 fix nsa n310 conf file for CI 2021-04-23 10:41:15 +02:00
hardy 80a9aaf5dd adding new conf file to use n310 on mozart 2021-04-22 21:56:37 +02:00
hardy 0ca618a68a Merge remote-tracking branch 'origin/fixgtpu' into integration_2021_wk16 2021-04-22 19:45:31 +02:00
Mohammed Ismail d236045704 CI: format correction on testid
Signed-off-by: Mohammed Ismail <mohammed.ismail@openairinterface.org>
2021-04-22 17:01:41 +02:00
Mohammed Ismail b54fbaecb0 CI: correction and update
Signed-off-by: Mohammed Ismail <mohammed.ismail@openairinterface.org>
2021-04-22 16:48:57 +02:00
Sakthivel Velumani e956c372df Fixed physim build issues 2021-04-22 13:42:59 +02:00
francescomani f4cbc50f59 bugfix for sib1 in case of ssb different from 0 2021-04-22 10:32:23 +02:00
Raphael Defosseux 977226c815 Merge remote-tracking branch 'origin/develop' into physim-build-deploy 2021-04-22 10:07:33 +02:00
hardy d7913bb0e5 Merge remote-tracking branch 'origin/git-dashboard' into develop 2021-04-22 08:53:51 +02:00
hardy e3692f0905 [CI] add hyperlinks to git MR + reduce API calls (quotas) 2021-04-21 22:09:20 +02:00
Raphael Defosseux 5033ec6dc3 CI: transition from VM-based phy-simulator testing
to Cluster-based testing

- In old VM pipeline, disabled phy-sim VM creation, build and testing
- In new Container pipeline, added new stage

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-04-21 16:38:27 +02:00
Laurent THOMAS df56f5d345 fix4 T_IDs.h 2021-04-21 15:28:48 +02:00
Laurent THOMAS 2a1025165c fix, third trial T_IDs.h 2021-04-21 14:49:44 +02:00
Thomas Schlichter 87b53883b2 HACK: cut PUSCH and PDSCH OFDM symbol after complete CP
Currently we cute the PUSCH and PDSCH OFDM symbols starting within the last 1/8th of the CP to avoid ISI.
This time shift leads to a rotation in frequency domain.
The current PRB based channel estimation does not compensate for the rotation _within_ a PRB, leading to bad performance.

This commit should _not_ make it into develop branch, it is just for testing!
Instead, we should do some compensating rotation before channel estimation.
2021-04-21 13:45:22 +02:00
Thomas Schlichter b110c3622b NR_UE: fix possible overflow in PRB based PDSCH channel estimation 2021-04-21 13:45:22 +02:00
Thomas Schlichter fd70cd3e44 gNB: fix possible overflow in PRB based PUSCH channel estimation 2021-04-21 13:45:22 +02:00
Thomas Schlichter 5d6c01de91 nr_ulsim: fix for nb_antennas_tx != nb_antennas_rx
use nb_antennas_tx instead of nb_antennas_rx when copying data from UE->common_vars.txdata to s_re and s_im
2021-04-21 13:23:27 +02:00
Thomas Schlichter d2752d0dc5 NR_UE: fix allocation of txdataF_layers
Each element is sizeof(int32_t), not sizeof(int32_t *).
2021-04-21 13:20:24 +02:00