Commit Graph
190 Commits
Author SHA1 Message Date
athanassopoulos a826af5839 SDAP Initial Implementation 2022-04-01 13:35:40 +02:00
Robert Schmidt 7684803c64 Merge remote-tracking branch 'origin/nr-lc-sched' into integration_2022_wk12_a 2022-03-24 11:34:26 +01:00
Thomas Schlichter e7500354c1 harmonize RLC and PDCP configurations in nr_DRB_preconfiguration() and fill_default_secondaryCellGroup()
nr_DRB_preconfiguration() is used in phy-test mode by both, OAI UE and gNB, and in all other modes by OAI UE.
Because of inconsistencies, data transfer with OAI UE was only reliably working in phy-test mode.
Ultimately, OAI UE should use nr_DRB_preconfiguration() only in phy-test mode and do proper DRB configuration instead in all other modes!
2022-03-07 16:02:01 +01:00
Laurent THOMAS 22d2e9a38f fix warnings and race cond in polar codec 2022-02-23 18:02:55 +01:00
Robert Schmidt 86c4882245 Merge remote-tracking branch 'origin/NR_2port_CSIRS' into integration_2022_wk08 2022-02-20 19:48:34 +01:00
francescomani 434ee15ba0 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2022-02-03 11:38:14 +01:00
Laurent THOMAS 3e7c22e7c6 gtp-u old code delete 2022-01-26 11:27:02 +01:00
francescomani 6f38108635 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-12-30 10:58:37 +01:00
Robert Schmidt 6c823168fe Merge remote-tracking branch 'origin/episys-merge-nsa' into integration_2021_wk51_d 2021-12-24 10:13:27 +01:00
Melissa Elkadi e7ef264226 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-12-21 06:02:40 -08:00
Laurent THOMAS 3fde37a28d fix after merge and a ci bug (containers) 2021-12-17 21:57:00 +01:00
Laurent THOMAS 0f00e57148 merge develop 2021-12-17 16:29:53 +01:00
Cedric Roux d67b46a1a5 nr pdcp: introduce a thread to do pdcp_data_ind
Before this commit, pdcp_data_ind is done in the realtime PHY/MAC
thread, and this may have an impact on realtime performances.

Let's introduce a new thread to do the job, freeing the realtime
PHY/MAC logic.

This is not a minor change. It may have positive and/or negative
effects. To be tested carefully.
2021-12-13 15:00:45 +01:00
Laurent THOMAS 4876c7a33d fix bug in WORKER_DISABLE 2021-11-25 14:06:08 +01:00
francescomani 2eac9f53c7 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-11-11 16:35:46 +01:00
Laurent THOMAS 9d1fe78e2e merge develop, no working yet 2021-11-04 12:53:01 +01:00
Melissa Elkadi e8f965d010 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-03 06:32:38 -07: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 af7d9cd920 Merge remote-tracking branch 'origin/nr_sdap_gnb' into integration_2021_wk44 2021-10-27 15:07:53 +02:00
Melissa Elkadi 0f1723a485 Properly calling init_tun and nas_conf for SA and NSA 2021-10-26 09:56:09 -07:00
Melissa Elkadi b56c8ac3ce Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa 2021-10-25 10:27:11 -07:00
francescomani 2db3e842fd Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-10-22 11:09:51 +02:00
Laurent THOMAS 71d2414ced merge develop 2021-10-21 18:31:52 +02:00
Melissa Elkadi 28391dad6a Updating pdcp init functions to maintain SA behavior 2021-10-13 06:52:15 -07:00
Laurent THOMAS 2acecb40a2 code review, CI result configuration issues, gcc warnings 2021-10-01 12:59:08 +02:00
Masayuki Harada 80831cd48f Fix nr_derive_key memory problem. 2021-09-29 00:10:48 +09:00
athanassopoulos 86161e475d Fix: nrUE not processing SDAP header 2021-09-27 18:37:06 +02:00
athanassopoulos 01093063d7 NR SDAP gNB - Transparent Mode 2021-09-27 16:26:49 +02:00
Melissa Elkadi 82ba5a3531 Code clean up part one.
This commit includes about 1/3 of the code clean up
in preparation for the merge to the OAI develop
branch. Several of the changes are white space changes,
removing of logs, comment removals, and updating any
changed code for our use-case to be clear for NSA mode.
2021-09-23 12:53:38 -07:00
Laurent THOMAS 9b691b3ecf fix old code errors, add CU to DU, 4G F1-U 2021-09-21 20:33:35 +02:00
Laurent THOMAS b94aee2e97 fixing F1-U 2021-09-13 15:54:01 +02:00
francescomani 9fb094600f cosmetic changes and duplicate code 2021-09-13 14:54:49 +02:00
Laurent THOMAS a455ce7cab fix F1-U bugs 2021-09-13 11:04:38 +02:00
Raymond Knopp ae2ccb4e7b further fix for UE DCI candidate enumeration 2021-09-12 00:01:48 +02:00
rmagueta 71cd100335 Merge remote-tracking branch 'origin/nr-pdcp-security-w34' into bandwidth-testing-abs
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
2021-09-08 17:22:28 +01:00
rmagueta 4e30f11e3a Temporary fix for SRB2 integrity algorithm 2021-09-08 12:26:03 +01:00
Laurent Thomas 36000a3e89 add F1-U callbacks implem 2021-09-06 18:27:51 +02:00
Cedric Roux eeca38368e gnb sa: improve security
Note: some modifications have been done to the UE too, but for syntactic
reasons. The UE may fail to work, not tested.

For the UE, we have the problem of handling properly SecurityModeCommand.
We don't verify its integrity. This is a bit complicated to handle properly
and may require some API changes in the PDCP layer. So, as of today, the
integrity of this message is not verified.

Also, NSA mode has been touched, but it should not be a problem. But not
tested, so not sure.
2021-09-06 11:06:47 +02:00
Melissa Elkadi ca1805faaf IP ping traffic is working correctly
In this commit we have updated the NRUE
to properly get the RadioBearer info from
the gNB. Because NSA and SA mode both use
this information, we have updated the SA
function previously in place by changing
the name to allow both NSA and SA mode to
use. This commit also updated the NR/LTE UEs
configuration files to with the correct
proxy IP address.
2021-09-03 10:13:59 -07:00
Melissa Elkadi 2cb934ac2d Didnt mean to redefine variables in 1c11708501
This commit fixes commit 1c11708501 which
we are redefining data_buffer and size_to_write.
2021-09-02 15:34:32 -07:00
Melissa Elkadi 1c11708501 IP working. but HACK!! Changed SN size to 12
Also changed the code to only remove the first
byte of the PDU if it is 00.
2021-09-02 15:29:18 -07:00
Melissa Elkadi b003f37490 Comment for removed first byte before write to TUN 2021-09-02 10:13:44 -07:00
Melissa Elkadi bfa8c8355c Updated logic for getting IP data in scheduler
Also, the error checking for writing to the TUN
interface was incorrect so that was fixed as well.
2021-08-31 16:06:45 -07:00
Melissa Elkadi 1c248bcf49 Successfully writing to TUN if and removed usleep 2021-08-31 15:53:14 -07:00
matzakos 4e667929b7 Add gtp-u tunnel creation at the CU side
- Change some elements names inside create_tunnel structure so that they are more generic to capture both N3 and F1-U use cases
2021-08-31 11:18:30 +02:00
Laurent THOMAS 69c87b2344 add F1-U DU Uplink 2021-08-31 10:37:27 +02:00
Laurent THOMAS 229ccd6b14 fix F1AP error on srb id 2021-08-31 08:35:55 +02:00
Melissa Elkadi 6ec545e29d Error checking for processing DL PDUs
Also, we only should be handling/generating AM
PDUs in the PDCP/RLC layer, not UM PDUs. Updated
the pre-configuration settings. This seemed to
make the uplink traffic work (meaning it gets
from NR UE to the gNB to the EPC). Woo! Still
working on the downlink.
2021-08-26 15:44:45 -07:00
Melissa Elkadi 9b16c1d860 Merge branch 'eurecom-develop' into episys/merge_nsa_w_develop
At this point we are successfully able to build.
Additionally, we can run the scenario,
however, it does not pass. It seems that the gNB
is not connecting to the proxy correctly. Just
wanted to push the progress so far. FYI, the items
that had to be changed to correct the linking issues
were the following:

 - mac_rrc_data_ind_ue vs. nr_mac_rrc_data_ind_ue
 - rrc_data_req vs. nr_rrc_data_req
 - mac_rrc_data_req_ue vs. nr_mac_rrc_data_req_ue
 - rrc_data_req_ue vs. rrc_data_req_nr_ue
 - rrc_data_req vs. nr_rrc_data_req

The listed functions should be declard in the LTE/NR
UE directory depending on the functionality. Several
were mixed. i.e.: LTE functions being called in NR UE.

Also, removing siWindowLength, siWindowLength_int,
SIBType, SIBPeriod, and siPeriod_int from the NR UE RRC.
These variable were not used in the NR UE and are defined
for LTE only.

Lastly, in the NR_IF_Module.c of the NR UE, the global
variable def_dci_pdu_rel15 is not accessible. Need to
revisit this. For not it is commented out.
2021-08-11 10:23:42 -07:00
Melissa Elkadi 8de86da7f5 Merge branch 'episys/david/multiUE_with_crnti_checking' into episys/mel_and_david_ip 2021-08-09 16:30:38 -07:00