Commit Graph
1251 Commits
Author SHA1 Message Date
Melissa Elkadi 2da73cfed7 Merge branch 'episys/master-nsa' into episys/5gcn_traffic_testing 2021-11-18 08:29:36 -08:00
Melissa Elkadi 6c49b7c799 Fixing AssertFatal command 2021-11-18 05:35:34 -08:00
Melissa Elkadi 236f980ba0 Merge branch 'episys/master-nsa' into episys/5gcn_traffic_testing 2021-11-17 15:12:59 -08:00
Melissa Elkadi 8241eb8e90 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-17 14:34:51 -08:00
Melissa Elkadi 40e213dd9d Merge branch 'eurecom-develop' into episys/master-nsa 2021-11-17 14:31:30 -08:00
Deokseong "David" Kim efc797f35d Integrated ra procedure for both nsa and sa. 2021-11-17 21:13:36 +00:00
Melissa Elkadi 368977b3bb The NRUE and gNB are connected to the 5GCN!
When IP traffic is started on the NRUE, the
gNB immediately crashes
2021-11-12 09:03:47 -08:00
Melissa Elkadi 046258f1ba Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-09 15:17:58 -08:00
hardy ffba98cadf Merge remote-tracking branch 'origin/thread-blocking-fix' into integration_2021_wk45_c 2021-11-09 10:19:29 +01:00
hardy 4b9f7ec404 Merge remote-tracking branch 'origin/ci-test-newstats' into integration_2021_wk45_c 2021-11-09 10:19:10 +01:00
Melissa Elkadi dbf2aba843 Reverting white space change 2021-11-08 14:41:51 -08:00
Melissa Elkadi dbacbfd0cd Removing more unnecessary filtering in NRUE
Got rid of unnecessary mac->scc check as well
2021-11-08 11:28:41 -08:00
Melissa Elkadi fa4617c0bf Fixing MR based on OAI feedback
The following was changed in this commit:
 - A new struct in the mac instance was created
   for all emulated L1 fields.
 - NR UE RRC state bug was fixed
 - Checking the RAR rnti based on the MAC instance
   ra.ra_rnti and not hardcoding to 0x10b
 - Modified the name of the new emulate_l2 flag
   to make sense: emulate_l1
2021-11-08 10:59:28 -08:00
hardy c3955ec7b8 Merge remote-tracking branch 'origin/nr_timing_fixes' into integration_2021_wk45_b 2021-11-08 13:13:12 +01:00
hardy 4c2c7f92a5 Merge remote-tracking branch 'origin/code-cleanup-2021oct24' into integration_2021_wk45_b 2021-11-08 13:12:52 +01:00
Melissa Elkadi 85e066054f Checking for emulate_l2 instead of NSA flag 2021-11-05 15:45:48 -07:00
Melissa Elkadi f04f8e7d7b Setting ra_state breaks RA Procedure for NSA mode
Also, changed some if statement formatting.
2021-11-05 11:29:45 -07:00
Melissa Elkadi 479784a064 Calling proper nr_ue_get_rach function
Also, reverted a DCI filtering change to exist again.
2021-11-04 13:15:58 -07:00
Melissa Elkadi 7e10b4a106 Reverting nr-uesoftmodem to match master and added SA mode 2021-11-04 12:16:39 -07:00
Melissa Elkadi f4448023df Merge branch 'episys/master-nsa' into episys/mel/sa_development_init 2021-11-04 11:48:34 -07:00
hardy 60a91cc207 Merge remote-tracking branch 'origin/NR_MAC_statisticsthread' into ci-test-newstats 2021-11-04 17:00:34 +01:00
Sakthivel Velumani 3799aeb86b Merge branch 'develop' into NR_MAC_statisticsthread 2021-11-04 15:54:37 +05:30
Melissa Elkadi edd710f6a9 Removing bad log and changing RA state when we get prach 2021-11-03 15:52:49 -07:00
Melissa Elkadi 54a894e534 Updated the following for SA development:
1. The preamble index in the NRUE is random for SA.
   Using the preamble index from the mac->ra is
   correct.

2. The dl_pathloss calculated is from L1. We should
   shunt this feature out for our emulated mode. If
   we add the abstraction later, we can model the
   pathloss in the proxy and update it in the RA
   procedure of the NRUE.

3. Checking that the crnti != t_crnti is not valid
   for SA mode. And may only be needed for multi-UE
   in NSA mode. We might be able to delete it all
   together. For now, we only use for NSA mode.

4. Checking the RAR based on rnti = 10b and not the
   RA_STATE is better.
2021-11-03 10:54:33 -07:00
Melissa Elkadi b8444ecbc1 Merge branch 'eurecom-develop' into episys/mel/sa_development_init 2021-11-03 08:54:06 -07:00
Melissa Elkadi e8f965d010 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-03 06:32:38 -07:00
Melissa Elkadi ceda62cde8 Merge branch 'eurecom-episys-merge-nsa' into episys/master-nsa 2021-11-02 15:53:36 -07:00
Melissa Elkadi 554e7db1d9 Updated the nr_ue_get_rach() function to match develop
Also, in the nr_rrc_mac_config_req_ue(), we should
only be configuring L1 if we are not in the L2 emul
mode. We are crashing due to the RRC state in the NRUE
not being set/checked properly.
2021-11-02 13:21:42 -07:00
Sakthivel Velumani b749ebcf11 Fix for blocked process in FR2 2021-11-02 14:39:27 +05:30
Melissa Elkadi e635b90fda Decoding MIB and SIB1 in NR UE
In this commit, we changed the stub function of the NRUE
to handle the MIB and SIB1, which arrive in a single
DL_TTI_REQ. If we have not received the MIB, we first
call the scheduler, then we handle any received NFAPI
messages. The NFAPI message handler will then call
the nr_ue_dl_indication() again, which will process
first the MIB, then SIB1. It seems that we are not
properly sending the SIB1 response back to the gNB so
the NRUE eventually crashes. We are however, properly
decoding the MIB and SIB which is a step in the right
direction!
2021-11-01 12:42:01 -07:00
David Kim 95202fba91 updated for CI sa test 2021-10-29 14:47:56 -07:00
Melissa Elkadi 1dec9dd9f6 First attempt at receiving MIB and SIB in SA mode 2021-10-29 13:49:56 -07:00
Melissa Elkadi 733279689f Fixing white space and added a TODO comment 2021-10-28 15:02:14 -07:00
Melissa Elkadi cfb49c17d2 Added a seprate queue for chan_params 2021-10-28 10:32:28 -07:00
Melissa Elkadi fa810fab70 Accounting for wrap in slot comparison in gNB 2021-10-28 08:58:36 -07:00
Melissa Elkadi 455e3d8343 This commit gets rid of sfn_slot sleep
In the previous commit, the NRUE would record
the time it received a slot and compare this
rx time to the next slot. If the next slot
came in before it had been 500us, the NRUE
would sleep a delta amount to make the duration
between the two slot indications 500 us. This
change complicated the code and did not
improve the performance so it was removed.
Furthermore, this commit removes the old
queueing mechanism of the slot indications and
uses calloc rather than an array.
2021-10-28 08:14:20 -07:00
Thomas Schlichter 94bc375f82 NR_UE: enable timing synchronization logging 2021-10-27 17:30:05 +02:00
Thomas Schlichter 209d5f1131 NR_UE: reset max_pos_fil in timing synchronization whenever we add/remove a sample 2021-10-27 17:30:05 +02:00
Thomas Schlichter 2c2ba26553 NR_UE: fix bug in timing adjustment 2021-10-27 17:30:05 +02:00
Melissa Elkadi 18aaa88517 Merge branch 'eurecom-develop' into episys/mel/merge_bw_testing_abs 2021-10-27 08:05:26 -07:00
Melissa Elkadi bf4bf813dd Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge-nsa 2021-10-27 07:31:35 -07:00
frtabu a6dd62a50f Enhance loader to allow library version selection for executables, as ldcptest which do not use the config module. 2021-10-27 14:42:12 +02:00
frtabu 41ba9a5afb Fix rebasing problems 2021-10-27 14:42:12 +02:00
Melissa Elkadi 8a56d146cc Merge branch 'episys/master-nsa' into episys/mel/merge_bw_testing_abs 2021-10-25 11:07:59 -07:00
Melissa Elkadi 74b2dbe73a Merge branch 'origin-episys-merge-nsa' into eurecom-episys-merge-nsa 2021-10-25 10:34:53 -07:00
Melissa Elkadi b56c8ac3ce Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa 2021-10-25 10:27:11 -07:00
Melissa Elkadi 2edfdb20a4 Merge remote-tracking branch 'eurecom/develop' into episys/mel/merge_bw_testing_abs 2021-10-25 09:52:23 -07:00
Laurent THOMAS e3f9fd6b01 code cleanup, no feature 2021-10-24 14:47:24 +02:00
francescomani a8d2265a9d Merge remote-tracking branch 'origin/develop' into NR_cleanup_MACPHY 2021-10-20 15:50:18 +02:00
Melissa Elkadi 7665f397a6 Only calling init_pdcp for NSA mode in gNB executable
Also, reverted some init_pdcp logic to match
the develop branch and added NSA mode. Lastly,
added additional error checking for cellConfig
to avoid crash in MAC layer.
2021-10-19 14:52:41 -07:00