Commit Graph
18646 Commits
Author SHA1 Message Date
Melissa Elkadi 3569ba630c Reverted log level and gNB_RA_sched for NSA mode 2021-11-05 11:49:34 -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 bf8a37f878 CBRA and CFRA procedure complete!! 2021-11-04 18:27:26 -07:00
Melissa Elkadi 954a64a1c0 SA mode SIB processing
In SA mode, we will not be able to process the SIB if
we change for mac->scc_SIB == NULL : return;

So we change the statement for NSA mode
2021-11-04 17:58:01 -07:00
Melissa Elkadi 7c484fba33 Changing how we filter DCI's fixes NSA mode
It will likely break SA mode because it will
filter out Msg3. I will come back to this and
fix it for Msg3.
2021-11-04 17:17:55 -07:00
Melissa Elkadi f9b8461548 Reverting more changing that were unnecessary for SA 2021-11-04 16:40:44 -07:00
Melissa Elkadi 59458c9690 Reverting changes that did not fix SA mode 2021-11-04 16:36:50 -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 e0991d3cec Reverting log changes for MR 2021-11-04 12:44:30 -07:00
Melissa Elkadi 2f7378d125 Update conf files to match master-nsa and made new SA mode gNB. 2021-11-04 12:30:53 -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
Melissa Elkadi 10dec919ce Temp fix to try to get CBRA procdeure complete
Need to review this with Raymond.
2021-11-04 11:11:13 -07:00
Melissa Elkadi 7dc523355d Return 0 is not a fail, so changing to -1 2021-11-04 10:07:25 -07:00
Melissa Elkadi d7b4adb006 Only filtering DCIs in MAC layer after RA is complete. 2021-11-04 09:17:16 -07:00
Melissa Elkadi 81716e4c77 Filtering for multiple UEs in MAC excluding SIB and RAR
For multiple UEs, we need to be able to filter the rx'd messages by
the RNTI. However, we do not have the RNTI value until the CFRA (NSA)
or CBRA (SA) procedure is complete. The check below will handle this.
Also, depending on the RNTI value, we can have a SIB (0xffff), RAR (0x10b),
Msg3 (TC_RNTI) or an actual DCI message (CRNTI). When we get Msg3, the
MAC instance of the UE still has a CRNTI = 0. Only once the RA procedure
succeeds is the CRNTI value updated to the TC_RNTI.
2021-11-03 16:28:42 -07:00
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 c87141fbcf Updating gNB RA PROC to match develop branch 2021-11-03 09:14:40 -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
Remi Hardy 1b742fbe13 integration_2021_wk44
MR !1233 : NR gNB MAC scheduler BWP start issue fix
This branch fix incorrect use of BWP start at gNB MAC scheduler (in DLSCH and ULSCH allocation and VRB map filling)

MR !1232 : SR/BSR support for NR UE
-added the support of scheduling request in NR UE. 
-added the support of regular, periodic and padding BSR in NR UE. 
-removed memcpy call in nr_ue_get_sdu(). 
-called mac_rlc_status_ind only for existing bearers. 
-Moved NR_LONG_BSR_TABLE and NR_SHORT_BSR_TABLE to nr_mac_common.c

MR !1239 : NR SDAP gNB - Transparent Mode

MR !1257 : Nr ldpc cuda softmodem
Move ldpc decoder accelerated in cuda GPU in a shared lib compatible with oai loader. 
libldpc_cuda.so is built as a ldpctest, nr-sotmodem, nr-uesoftmoden and ocp-gnb targets when cuda development environment is detected. 
At runtime --loader.ldcp.shlibversion _cuda option can be used to select the cuda accelerated ldcp library, except for the ldpctest exec where the -G option has been preserved. Also start implementing an opencl version of the ldpc decoder, starting "translating" the cuda version.

MR !1296 : Apply the NSA t_Reordering value also for SA
Apply the NSA t_Reordering value also for SA to improve the iperf downlink bitrate. The same iperf performance is expected at both NSA and SA

MR !1293 : hotfix SEGV and divide by 0
With latest develop, two bugs appear as long as we don't hide them with gcc -O2 optimisations

MR !1259 : gNB nrUE SA: improve security
Improves security and addition security in nrUE side

MR !1260 : NR CSET0 BWP Start fixes
Fixes a bug in selecting the start of BWP for Coreset0

Use Magma MME in CI tests
Update NSA 2x2 test
2021-11-03 12:51:50 +00:00
hardy cc18013320 Merge remote-tracking branch 'origin/NR_cset_bwp_fixes' into integration_2021_wk44 2021-11-03 13:38:55 +01:00
hardy cb9defc629 Merge remote-tracking branch 'origin/develop-NR_SA_nrUE_security_update' into integration_2021_wk44 2021-11-03 13:38:33 +01:00
hardy cd28e3fbd7 Merge remote-tracking branch 'origin/crash-gcc-O0' into integration_2021_wk44 2021-11-03 13:38:10 +01:00
Melissa Elkadi ceda62cde8 Merge branch 'eurecom-episys-merge-nsa' into episys/master-nsa 2021-11-02 15:53:36 -07:00
Melissa 09ed3720a6 Merge branch 'episys/mel/merge_bw_testing_abs' into 'episys/master-nsa'
Merge NFAPI changes to new SA master branch

See merge request aburger/openairinterface5g!79
2021-11-02 21:41:30 +00:00
Melissa Elkadi b29fd449d0 Changed ul_tti_req queueing mechanism:
Instead of resetting queue when full,
take last item out.
2021-11-02 14:35:32 -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
hardy 9d246a012d update NSA 2x2 testcase 2021-11-02 17:22:55 +01:00
Melissa Elkadi 7825350905 Fixing merge request comments 2021-11-01 16:24:59 -07:00
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 04251e84be Removing name from log and demoting log 2021-10-29 13:51:58 -07:00
Melissa Elkadi 1dec9dd9f6 First attempt at receiving MIB and SIB in SA mode 2021-10-29 13:49:56 -07:00
hardy 9468442ff9 fix HTML rendering 2021-10-29 16:51:20 +02:00
Raphael Defosseux c89f2dbd0b fix(ci): some typos on the container name of MME
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 16:11:08 +02:00
Raphael Defosseux a443a5b45e feat(ci): adding support to deploy a MAGMA-MME-based container-based EPC
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 15:33:39 +02:00
hardy 3963f2fe66 Merge remote-tracking branch 'origin/develop-improve-SA-config' into integration_2021_wk44 2021-10-29 15:26:22 +02:00
hardy 96b6054514 add attach-detach testcase for NSA 2021-10-29 15:01:23 +02:00
Raphael Defosseux 0238f49baf feat(ci): adding a MAGMA-MME-based EPC deployment
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 14:52:47 +02:00
hardy 03599d3d75 change eNB ID to prevent TAU issue 2021-10-29 14:43:08 +02:00
Melissa Elkadi 733279689f Fixing white space and added a TODO comment 2021-10-28 15:02:14 -07:00
David Kim 44a13ef81e Removed initial segment fault by adding nsa mode. 2021-10-28 13:59:57 -07:00
Melissa Elkadi 26ddb9eabe Only do LTE channel modelling in LTE mode, not NSA 2021-10-28 11:58:01 -07:00
Melissa Elkadi 3007550150 Updating DCI configuration to avoid seg fault 2021-10-28 11:14:47 -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 66144698c7 Reverting log and white space changes for MR 2021-10-28 08:51:09 -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