Compare commits

...

4786 Commits

Author SHA1 Message Date
Chieh-Chun Chen
d47ded101e Fix: avoid using id 0 for slice 2024-01-12 20:20:35 +01:00
Chieh-Chun Chen
f326c15d67 Add default slice sst 0 sd 0 for SRB
Note: assume default slice nssai is sst 0 and sd 0, which is reserved for SRB. it needs to be assigned to sched_ctrl before gnb created slice from RC control message in order to be able associated to the corresponding slice
2024-01-12 20:20:35 +01:00
Chieh-Chun Chen
88daeb39db Fix: remove released UE from slice before MAC removed 2024-01-12 20:20:35 +01:00
Chieh-Chun Chen
e2f35a2dcd Fix: add default slice while initializing slice 2024-01-12 20:20:35 +01:00
Chieh-Chun Chen
bdfea1d001 Fix RC ran func 2024-01-12 20:20:35 +01:00
Sakthivel Velumani
8954a140fd Remove UE from slice list(to be squashed) 2024-01-11 17:50:36 +01:00
Sakthivel Velumani
289c87d238 Add support for multiple slices per UE 2024-01-09 14:20:16 +01:00
Teodora
5bb186229e Fix warnings, read functions in SMs should return bool 2024-01-09 14:19:37 +01:00
Teodora
dbb08a9c85 Made it compile with FlexRIC release v2 2024-01-09 14:19:37 +01:00
Chieh-Chun Chen
3faaf888e7 Fix: correct the function pointer of preprocessor function for nr dlsim 2023-12-18 11:36:27 +01:00
Chieh-Chun Chen
3bc87342c6 Add README for nr slicing 2023-12-15 12:03:50 +01:00
Chieh-Chun Chen
3544c35c7a Fix: correct bytes_last_round to be the instantaneous transmission rate for each slice 2023-12-13 15:33:41 +01:00
Chieh-Chun Chen
b5177eb796 Fix: use min prb ratio as parameter for NVS algo 2023-12-13 14:43:30 +01:00
Chieh-Chun Chen
8eb350c5c8 Add new coming UEs to the corresponding slice if slice exists 2023-12-13 14:43:30 +01:00
Chieh-Chun Chen
d0b00aa53d Fix: save plmn info in RRCSetupComplete 2023-12-13 14:43:30 +01:00
Chieh-Chun Chen
477510cb53 Fix: get the correct nssai in ngap 2023-12-13 14:42:42 +01:00
Chieh-Chun Chen
3c8a95e767 Add slice in RC ran func 2023-12-13 14:42:42 +01:00
Chieh-Chun Chen
f02f3af722 Fixes for NR slicing
- correct return value of slice idx
- add/move UE in UE_list
- use rnti_t instead uint16_t
2023-12-13 14:42:42 +01:00
Chieh-Chun Chen
8f544acf20 Modify the return value of nr_pf_dl to int & remove the unused codes 2023-12-13 14:42:08 +01:00
Chieh-Chun Chen
09a2643518 Fix: correct the teidupf in GTP ran func 2023-12-13 14:42:08 +01:00
Robert Schmidt
2350bf56dd Add 5G preprocessor with NVS slicing 2023-12-13 14:41:53 +01:00
Robert Schmidt
790c3b999d Merge branch 'integration_2023_w49' into 'develop'
Integration: 2023.w49

See merge request oai/openairinterface5g!2470

* !2264 Improvements in f1ap for qos
* !2377 Store allowed NSSAIs from NAS message
* !2462 Hotfix: swap UIDs after RRCReestablishment
* !2449 Improve performance of polar initialization
* !2469 handling configuration of MAC-CellGroupConfig at UE
* !2395 `nr_generate_pdsch()` clean up and little performance improves
* !2461 CI: add FDD test to SA B200 pipeline
* !2424 Improvements in SDAP RRC management
2023-12-12 12:39:04 +00:00
Robert Schmidt
5249dd9670 Merge remote-tracking branch 'origin/NR_UE_SDAP_management' into integration_2023_w49 2023-12-12 09:31:11 +01:00
francescomani
d24a3d1a98 SDAP release DRB 2023-12-12 05:56:09 +01:00
Robert Schmidt
6cb52cf2ef Merge remote-tracking branch 'origin/ci-add-fdd-test' into integration_2023_w49 2023-12-12 05:42:42 +01:00
Robert Schmidt
889a116497 Merge remote-tracking branch 'origin/pdsch-layer-mapping-32bit-assign' into integration_2023_w49 2023-12-12 05:42:22 +01:00
Robert Schmidt
7cd6d36716 Merge remote-tracking branch 'origin/NR_UE_handle_MAC-CellGroupConfig' into integration_2023_w49 2023-12-11 14:56:42 +01:00
Robert Schmidt
6c2194038a Merge remote-tracking branch 'origin/enhance-polar-perf' into integration_2023_w49 2023-12-11 14:56:15 +01:00
Jaroslava Fiedlerova
a402e11b6f Modif in the conf file - reduce max_rxgain and att_tx 2023-12-11 14:25:16 +01:00
Jaroslava Fiedlerova
84ee651784 Adjust max_rxgain to improve UL throughput 2023-12-11 09:21:32 +01:00
Laurent THOMAS
175e835d05 update the polar codec function that creates the internal LUTs
to use faster code
- replaced hundreds mallocs by either local arrays or by the OAI multi-dimensionalarray (G_N_tab array)
- made in SIMD a one bit per byte packing function to packed (ordinary) bits in bytes
2023-12-08 17:11:16 +01:00
francescomani
eac9ec0547 handling MAC-CellGroupConfig at MAC UE 2023-12-08 16:15:00 +01:00
Jaroslava Fiedlerova
f92617b772 Add comment to the FDD conf file 2023-12-08 15:15:07 +01:00
Robert Schmidt
e161ca227f Merge remote-tracking branch 'origin/Hotfix_swap_UIDs_after_RRCReestablishment' into integration_2023_w49 2023-12-08 13:08:29 +01:00
luis_pereira87
f0df1ccb53 Hotfix: swap UIDs after RRCReestablishment
The CellGroup is created considering UID, for example:
'pucchres0->startingPRB = 8 + uid;' and since we keep the CellGroup from
the previous RNTI/UID we should keep also the previous UID.

Considering the scenario where a UE did successful RRCReestablishment,
it was getting uid = 1, and uid = 0 was removed.
When another UE connected, it was getting UID = 0 (because 0 was already
free), and so the PUCCH 0 resource was conflicting with the first UE.

On that occasion, also correct the comment that describes the code, as
it was wrong/misleading.
2023-12-08 11:09:52 +01:00
Robert Schmidt
4f653c8471 Merge remote-tracking branch 'origin/NR-UE-store-allowed-nssai' into integration_2023_w49 2023-12-08 09:53:23 +01:00
Robert Schmidt
1f0e5bd664 Merge remote-tracking branch 'origin/improvements_f1ap_for_QoS' into integration_2023_w49 2023-12-08 09:53:12 +01:00
Robert Schmidt
ff758dd029 Correct number of bands assert in Setup Request decoder 2023-12-07 15:07:38 +01:00
Jaroslava Fiedlerova
01c6377331 CI: add FDD test to SA B200 pipeline
- new cu and du config files for testing in band 1
- modification of yml file for CU DU deployment - with new config files
- modification of xml file for SA F1 testcase
2023-12-07 15:07:33 +01:00
Quency Lin
b240bc485f Feat: improve layer mapping by 32 bits assignment 2023-12-07 14:04:06 +01:00
Robert Schmidt
c5aeaf03dc Merge branch 'integration_2023_w48' into 'develop'
See merge request oai/openairinterface5g!2459

* !2419 chore(ci): running 5G RF simulator scenarios with address sanitizer
* !2455 Remove mac_LogicalChannelConfig from RLC (handled at MAC)
* !2456 Setting uniform periodicity for CSI-RS and measurement report
* !2429 LDPC encoding/decoding offload to the T2 card
* !2447 E2 agent: build in CI, fix slice support, add gNB-DU and gNB-CU-UP IDs
* !2452 Include sample advance option in UE tutorial
* !2430 bugfix: nr-ue: set first_tx=1 at first transmission of a harq process
* !2457 Fix scaling for FR2
2023-12-05 15:44:43 +00:00
Sakthivel Velumani
d61c4f1042 Change global variable to local 2023-12-05 13:04:23 +05:30
Sakthivel Velumani
f69f419a13 Remove duplicate declaration 2023-12-05 13:04:23 +05:30
Sakthivel Velumani
6bf954d35d Cast buffer intputs of order reversing macros 2023-12-05 13:04:23 +05:30
Sakthivel Velumani
3979879e9e Replace buffer conversion with macro 2023-12-05 13:04:23 +05:30
Sakthivel Velumani
8b118fd875 Remove hardcoding of default NSSAI selection
Check if NSSAI from config exists in allowed NSSAI list. Don't request
PDU session if not present in the list.
2023-12-05 13:04:13 +05:30
Robert Schmidt
ada4e8ebd8 Merge remote-tracking branch 'origin/NR_UE_USRP_tutorial_update' into integration_2023_w48 2023-12-05 07:40:15 +01:00
Robert Schmidt
3580ddb546 Merge remote-tracking branch 'origin/Fix_FR2_SSB_ARFCN_scalling' into integration_2023_w48 2023-12-05 07:40:02 +01:00
Robert Schmidt
b4b2389753 Merge remote-tracking branch 'origin/ue-fix-ul-first-tx' into integration_2023_w48 2023-12-05 07:39:51 +01:00
Robert Schmidt
fecb4bc3a9 Merge remote-tracking branch 'origin/fix-e2-agent' into integration_2023_w48 2023-12-04 17:23:54 +01:00
Robert Schmidt
5440d6671f Merge remote-tracking branch 'origin/t2-offload-mr' into integration_2023_w48 2023-12-04 17:16:51 +01:00
Robert Schmidt
39468ca98e Merge remote-tracking branch 'origin/NR_RRC_uniform_CSI_period' into integration_2023_w48 2023-12-04 07:56:36 +01:00
Robert Schmidt
581f280cd7 Merge remote-tracking branch 'origin/NR_RLC_remove_LogicalChannelConfig' into integration_2023_w48 2023-12-04 07:56:28 +01:00
Thomas Schlichter
aa555f9125 NR_UE: fix calculation of RA_contention_resolution_target_frame when SFN wraps 2023-12-01 16:02:17 +01:00
Thomas Schlichter
6ef5d27c08 NR_UE: fix usage of PUSCH new_data_indicator and cleanup 2023-12-01 16:02:17 +01:00
luis_pereira87
c80fc07719 Fix scaling for FR2
Position of SSB from Point A depends on offsetToPointA and Kssb, and for both, the unit for RB is expressed as 15KHz for FR1 and 60 KHz for FR2, so scaling must be 4 for FR2 frequencies
2023-12-01 14:27:01 +00:00
Sriharsha Korada
ed29252c6d F1AP and E1AP interface changes for QoS
- Implement: Extend the F1 encoding and decoding with Qos
- Implement: E1 decoding for QoS
- Fix: Modify the UE_MODIFICATION_REQUEST_MSG towards DU to contain QoS info based on E1AP context response
- Fix: Modify the E1AP and F1AP message structures
- Fill the Qos configuration to send to MAC
2023-11-30 17:41:12 +01:00
Robert Schmidt
8e990850c3 Correctly read node_id (gNB ID) for RRC
The node ID (which corresponds to the gNB ID) should be read in all
cases of execution, not only CU.
2023-11-30 17:10:11 +01:00
Robert Schmidt
72b485a2fe Bugfix: set pointer to NULL after free 2023-11-30 15:45:45 +01:00
Robert Schmidt
6104dbc749 Documentation: add description when it is DU, CU, gNB 2023-11-30 08:07:20 +01:00
Robert Schmidt
39df275fa4 Remove confusing macrlc_has_f1 variable
The macrlc_has_f1 (static) variable was introduced to signal when we use
F1 in the configuration. It is superfluous: the node_type already passes
this information in a unique manner; hence, remove.
2023-11-30 08:06:16 +01:00
Robert Schmidt
aec6170df4 Build E2 agent in Ubuntu images 2023-11-30 08:06:16 +01:00
Robert Schmidt
41c491a0fa Update E2 Agent submodule: use special FlexRIC commit before v2 2023-11-30 08:06:16 +01:00
Robert Schmidt
107c0c8d65 Reformat Dockerfile.build.ubuntu20 2023-11-30 08:06:16 +01:00
Robert Schmidt
e13a4813ee E2 Agent: Match UEs based on NSSAI
Correctly match UEs based on the NSSAI in MAC and RRC. There is a
convenience function capture_sst_sd() that extracts SST and SD (which
form the NSSAI). Because a previous version used integers to convey the
slice identifier, this function gracefully handles this case, although
it is not spec-compliant.
2023-11-30 08:06:16 +01:00
Robert Schmidt
89b776925d E2 agent: fix memory leak by not allocating memory
Prior to this commit, the RAN function for KPM is leaking memory: it
allocates using calloc() but never frees it.

The fix consists of not allocating this memory on the heap in the first
place, but on the stack. Therefore, there are changes to pass in a
pointer to various functions to the structure on the stack, instead of
passing the "container" for the heap memory by value.

Further, the MAC was allocating an excessive amount of memory (N times
sizeof(NR_UE_info_t)). Instead of copying the entire struct, the present
code stores a pointer to the MAC UE container (NR_UE_info_t *). For the
RRC, there is a similar simplification that consists in not storing the
entire struct f1_ue_data_t (which is not required), but only the RRC UE
ID.

Note that both MAC and RRC might suffer from race conditions. For the
MAC, we should lock the scheduler for the time we read statistics. For
the RRC, the problem is more delicate as no mutex exists; the RRC
assumes everything is executed synchronously in the ITTI task loop. In
both cases, this commit does not address this problem
2023-11-30 08:06:16 +01:00
Robert Schmidt
5168ef72d9 E2 agent: remove broken NSSAI filtering, simplify code
Filtering UEs by NSSAI is broken, so remove it. A later commit will
reestablish this functionality.

Simplify the code: we only handle one condition, so we can check for it
upfront.
2023-11-30 08:06:16 +01:00
Robert Schmidt
deac180224 Set correct gNB/gnB-DU/gNB-CU-UP ID for agent start 2023-11-30 08:06:16 +01:00
Robert Schmidt
7c6c4fc7d3 Start E2 agent only if configuration present
This commit introduces an additional (implicit) option that signals if
the E2 agent is to be activated or not. When reading the configuration,
we now check if all fields are set, and activate the E2 agent only if
this is the case. If not, we only print a warning and start the gNB
without the agent.

Note that previously, if not all fields are set correctly, the gNB
stopped.

To implement this behavior, it is necessary to change the defaults of
the RIC IP and the directory for SMs to a (non-NULL) default value.
Otherwise, the configuration system would not consider the field to be
set to the default, and wrongly assumes the field is set, even though it
is not; at least, this change is necessary to make config_isparamset()
return NULL if the configuration is not set.
2023-11-30 08:06:16 +01:00
Robert Schmidt
79c920cd81 Introduce separate gNB-CU-UP ID in configuration
3GPP has the concept of a gNB-CU-UP ID and a (separate) gNB ID (for gNB,
CU-CP). This commit introduces the gNB-CU-UP as a separate ID that has to be
set in the configuration file when running as a CU-UP. For the
CU/monolithic gNB, it is optional (but needs to be the same as the
gNB-ID if specified).

The CU-UP ID is necessary, as some entities, e.g., the e2 agent, need to
signal both IDs, e.g., to reconcile a CU-CP and (multiple) CU-UP(s)
belonging together.
2023-11-30 08:06:16 +01:00
Robert Schmidt
6f14b11847 Introduce separate gNB-DU ID in configuration
3GPP has the concept of a gNB-DU ID and a (separate) gNB ID (for gNB,
CU). This commit introduces the gNB-DU as a separate ID that has to be
set in the configuration file. It is necessary, as some entities, e.g.,
the e2 agent, need to signal both IDs, e.g., to reconcile a CU and
(multiple) DU(s) belonging together.
2023-11-30 08:06:16 +01:00
Robert Schmidt
ec24b9c3e9 Add License headers to all E2 RAN function files 2023-11-30 08:04:41 +01:00
Robert Schmidt
463115bf19 Remove redundant config code block 2023-11-30 08:04:41 +01:00
Robert Schmidt
6a91f49e9f Fix non-compiling lte-softmodem agent config 2023-11-30 08:04:41 +01:00
Robert Schmidt
b5e2c76d93 UE_iterator is a for_each macro, add to clang-format 2023-11-30 08:04:41 +01:00
Sakthivel Velumani
124c86f7b8 Include sample advance option in OAI-UE tutorial
With X410 and N310, the RA procedure would not succeed and a sample advance is required.
2023-11-29 21:01:11 -05:00
Jaroslava Fiedlerova
7d7dced70e T2 offload - documentation update 2023-11-29 09:12:30 +01:00
Robert Schmidt
463dfc6658 Avoid bitshifts on signed integers 2023-11-29 08:59:36 +01:00
Robert Schmidt
11c853e760 Fix: All UEs can have a UCI in each slot 2023-11-29 08:59:36 +01:00
Raphael Defosseux
8e35d8fe5b chore(ci): post-review changes
* Dockerfile argument is now a generic BUILD_OPTION for any build_oai available option
  * docker-compose files are only modified at deployment time. Not needed for undeployment
  * fixes for oai-nr-cuup
  * cleaner section for the private registry push

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-29 08:59:36 +01:00
Raphael Defosseux
4db8dfaf5d chore(ci): enabling running sanitized images for 5G RF / L2 sim test scenarios
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-29 08:59:36 +01:00
Raphael Defosseux
85befc1c71 chore(ci): enable ASAN images build and push on Ubuntu
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-29 08:59:36 +01:00
Raphael Defosseux
2a82e36e71 chore(ci): adding support for address-sanitizer images' build in dockerfiles
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-29 08:59:36 +01:00
Robert Schmidt
6debc5dd21 Make websrv compile 2023-11-28 13:28:36 +01:00
francescomani
31740f0d71 setting same periodicity for CSI-RS and CSI report 2023-11-28 12:52:21 +01:00
francescomani
466f753eb0 remove mac_LogicalChannelConfig from RLC (handled at MAC) 2023-11-28 10:46:08 +01:00
Jaroslava Fiedlerova
7c5b945766 Set RTE_BBDEV_LDPC_HQ_COMBINE_IN_ENABLE based on harq_to_be_cleared value 2023-11-28 09:37:37 +01:00
laurent
7bb529dcdf fix redundant member in ldpc decoder struct 2023-11-28 09:37:37 +01:00
laurent
10d7fe9cc6 fix regressions in cuda ldpc 2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
697a7871d0 Fix T2 compilation, add T tracer dependency 2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
4defabeb8d Remove T1 decoding offload - remove from docu, remove T1 lib build from pipeline 2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
cf97acb8c7 Add T2 LDPC encoding/decoding offload 2023-11-28 09:37:37 +01:00
Laurent THOMAS
99ca87a1c1 Refactor LDPC API to make common API with various implementations 2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
e945b260f8 Remove T1 decoding offload 2023-11-28 09:37:37 +01:00
Robert Schmidt
ee287d62f4 Merge branch 'integration_2023_w47' into 'develop'
See merge request oai/openairinterface5g!2450

* !2440 hotfix: set PDCP t-reordering to 100ms
* !2439 rfsimulator: ignore PIPE signal
* !2441 minor: documentation: advertise correct default value for --ssb
* !2446 chore(ci): displaying the ASN1C commit
* !2443 CI documentation: updates and how to reproduce
* !2355 NR UE improve handling of MSG4 feedback in default PUCCH
* !2408 NR UE MAC config improvements
* !2431 T: isolate generated .h files when using make
* !2442 nr pdcp: rework reestablishment
* !2448 lte: switch to RRC release 16.13.0
* !2088 Implementation of logical channel prioritization at UE
* correctly read timing advance option `-A` in gNB
* set sample advance for OAIUE test to make it more stable
* set gain for OAIUE test to make it more stable
* !2445 Correctly allocate SCC n_TimingAdvanceOffset
* !2454 bugfix: fix NSA CI test
2023-11-28 06:38:49 +00:00
Robert Schmidt
79a1b1cf69 Merge remote-tracking branch 'origin/ci-fix-nsa-sanitycheck-test' into integration_2023_w47 2023-11-27 17:52:48 +01:00
Robert Schmidt
728fc34296 Merge remote-tracking branch 'origin/Fix_n_TimingAdvanceOffset' into integration_2023_w47 2023-11-27 17:52:39 +01:00
Robert Schmidt
f3ff41befe Correct RX gain for OAI UE test 2023-11-27 14:36:50 +01:00
Cedric Roux
ff38130196 bugfix: fix NSA CI test
It seems like initialDLBWPcontrolResourceSetZero needs to be set
otherwise the quectel UE does not accept the Reconfiguration.
2023-11-27 12:29:48 +01:00
Robert Schmidt
9acfaaabcb Set timing advance for gNB & UE to make OAI UE test more stable 2023-11-27 11:42:06 +01:00
Robert Schmidt
b04e166e59 gNB: take into account timing_advance option -A 2023-11-27 11:41:58 +01:00
Robert Schmidt
3e9d310093 Merge remote-tracking branch 'origin/implement_logical_channel_prioritization_ue' into integration_2023_w47 2023-11-24 17:55:45 +01:00
Robert Schmidt
67b0c006f5 Merge remote-tracking branch 'origin/lte-rrc-rel16' into integration_2023_w47 2023-11-24 14:12:26 +01:00
Robert Schmidt
ec3de01377 Merge remote-tracking branch 'origin/nr-pdcp-reestablishment-procedure' into integration_2023_w47 2023-11-24 14:12:20 +01:00
Robert Schmidt
1b1c8e22a2 Merge remote-tracking branch 'origin/t-tracer-isolation' into integration_2023_w47 2023-11-24 14:12:13 +01:00
Cedric Roux
18e59d3c2e lte: switch to RRC release 16.13.0
A COTS UE is sending UE capabilities with accessStratumRelease "rel16"
which is not decoded by our RRC. Switching to RRC 16.13.0 lets our RRC
accept these capabilities (and as a positive side effect lets this
particular UE work nicely in NSA fr1).
2023-11-24 12:32:48 +01:00
luis_pereira87
d6abd0117a Add config file for FDD band 1 and 15 kHz SCS 2023-11-24 09:11:41 +00:00
Robert Schmidt
b704f45daa Merge remote-tracking branch 'origin/NR_UE_MAC_conifg_improvements' into integration_2023_w47 2023-11-24 10:08:40 +01:00
Robert Schmidt
e24145fd85 Merge remote-tracking branch 'origin/NR_UE_improve_handling_msg4_feedback' into integration_2023_w47 2023-11-24 10:08:32 +01:00
Robert Schmidt
75d8c05c24 Merge remote-tracking branch 'origin/doc-ci-repro' into integration_2023_w47 2023-11-23 14:21:47 +01:00
Robert Schmidt
3217a3745b Merge remote-tracking branch 'origin/ci-display-asn1c-commit' into integration_2023_w47 2023-11-23 14:21:36 +01:00
Robert Schmidt
041758a13a Merge remote-tracking branch 'origin/minor-fix-doc-ssb-default-value' into integration_2023_w47 2023-11-23 14:21:29 +01:00
Robert Schmidt
38d46be372 Merge remote-tracking branch 'origin/fix-sigpipe-rfsimulator' into integration_2023_w47 2023-11-23 14:21:21 +01:00
francescomani
d241506043 fix for L2 simulator 2023-11-23 12:14:39 +01:00
Raphael Defosseux
59125df278 CI Doc: correct CPP-Check pipeline resource
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-23 11:12:27 +01:00
francescomani
65bcbabdca improve handling of MSG4 feedback in default PUCCH 2023-11-23 10:28:04 +01:00
Robert Schmidt
ea369e403d Separate Image Build and Test pipelines, list dockerfiles 2023-11-22 14:04:01 +01:00
Robert Schmidt
9ab67ad87c CI doc: clarify Interop-F1 pipeline purpose 2023-11-22 09:35:09 +00:00
francescomani
c6e5ead2a9 some more RRC cleanup 2023-11-21 11:07:21 +01:00
Raphael Defosseux
207f65992e chore(ci): displaying the ASN1C commit
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-11-21 09:46:24 +01:00
luis_pereira87
088bdf234e Fix read n_TimingAdvanceOffset from the configuration file 2023-11-20 21:42:52 +00:00
Cedric Roux
9e46a6a6ae nr pdcp: introduce nr_pdcp_get_rb() and some cleanup
cleanup means:
- typo: susbend -> suspend
- call nr_pdcp_manager_unlock() where needed
- simplify LOG_XX (remove __FILE__, __LINE__, __FUNCTION__)

note:
nr_pdcp_release_srb() and nr_pdcp_release_drb() don't use
nr_pdcp_release_drb() because they modify the arrays, so
it does not make sense to "abstract" the accesses to
->srb and ->drb.
2023-11-20 14:55:34 +01:00
francescomani
273562f345 fix for do-ra and phy-test mode 2023-11-20 14:21:49 +01:00
francescomani
2715c7efdd improve MAC configuration from RRC 2023-11-20 14:21:01 +01:00
francescomani
848f5767d7 unified handling of cellgroup config at MAC 2023-11-20 14:21:01 +01:00
francescomani
df917624db function to configure cellgroup at RRC 2023-11-20 14:10:30 +01:00
francescomani
4d8bb4ef25 unify handling of reconfiguration with sync 2023-11-20 12:14:59 +01:00
francescomani
5661b20e9e improving init for dora and phytest 2023-11-20 12:14:59 +01:00
francescomani
8013d5d8cc removing CellGroup dependance from MAC common functions 2023-11-20 11:36:46 +01:00
Robert Schmidt
4599969f89 Describe how to reproduce CI 2023-11-20 11:32:09 +01:00
Robert Schmidt
36479a0ac5 TESTBenches.md: identify tags/labels to run pipeline 2023-11-20 11:31:47 +01:00
Robert Schmidt
623092e130 Update TESTBenches: add missing pipelines, remove networked deviewes, update machines 2023-11-20 11:07:59 +01:00
Cedric Roux
2c2915dad8 reestablish only exisiting RBs 2023-11-20 11:00:23 +01:00
Robert Schmidt
7ae790afb6 doc: Remove RAN-SA-AmariS-CN5G pipeline, superseded by RAN-SA-AW2S-CN5G 2023-11-20 10:43:54 +01:00
Cedric Roux
107913d6b2 nr pdcp: rework reestablishment
Security part needs to be checked, may fail to work.
But if it fails, it was probably not working before either.

This commit also contains adding 'static' to nr_pdcp_entity_release()
and nr_pdcp_entity_delete() (it was too complicated to do a separate
commit for this).

We also update stats in free_rx_list() (again, too complicated for
a separate commit).

openair2/RRC/NR/rrc_gNB.c probably needs some more work, it is a
bit ugly to reestablish all the drbs without checking if they
exit. It will generate warnings at runtime. I didn't do it because
I don't know the proper way.
2023-11-19 16:57:03 +01:00
Cedric Roux
7a7d8a1766 nr pdcp: stats: count delivered sdus 2023-11-19 16:49:55 +01:00
Cedric Roux
470af5f497 nr pdcp: bugfix: discard pdu if integrity fails 2023-11-19 16:49:11 +01:00
Cedric Roux
f265b04593 nr pdcp: bugfix: use proper size for t_reordering_start 2023-11-19 16:47:58 +01:00
Cedric Roux
7203e5aba8 nr pdcp: minor: set function scope to static 2023-11-19 16:46:08 +01:00
Cedric Roux
07ee33f024 nr pdcp: minor: fix spacing 2023-11-19 16:43:57 +01:00
Cedric Roux
69a2f103ea minor: documentation: advertise correct default value for --ssb 2023-11-18 22:16:53 +01:00
Cedric Roux
13757862fb hotfix: set PDCP t-reordering to 100ms
The function generateDRB() sets the value to 100ms but the function
rrc_gNB_process_NGAP_PDUSESSION_SETUP_REQ() sets it to 0ms.

So what happens is that the UE gets the value 100ms in the
RRC Reconfiguration but the gNB creates the PDCP entity with 0ms.
Let's create it with 100ms instead, to be aligned with how we configure
the UE.

And also avoid some PDCP warnings at runtime when some packets
are retransmitted but rejected because of the 0ms timer. This is
the warning:

    [PDCP]   discard NR PDU rcvd_count=68469, entity->rx_deliv 68481,sdu_in_list 0

This is just a hotfix. A real solution is to have the RB creation in
only one place. And we should also have those parameters configurable.
Work for later.
2023-11-18 21:56:42 +01:00
Cedric Roux
578cd23d59 rfsimulator: ignore PIPE signal
When au UE disconnects, a write on the rf simulator socket may
generate a PIPE signal in the gnb and crash it.

Let's ignore this signal.
2023-11-18 21:44:21 +01:00
Sriharsha Korada
31a63bc919 Update UE feature set 2023-11-16 09:20:14 +01:00
Sriharsha Korada
b0b8c90fd2 clean up 2023-11-16 09:07:05 +01:00
sriharsha
f248b2fdff fix: avoid freeing rlc config structure 2023-11-16 09:07:05 +01:00
sriharsha
e5ab3e022e Handling of mac-LogicalChannelConfig during reconfiguration 2023-11-16 09:07:05 +01:00
sriharsha
43036eb83d Add implementation of logical channel prioritization at UE
- Reorder the logical channels based on priority
- Handling of configuration and release of logical channel bearer
- Add changes in the implementation of lcp procedure for equal priority logical channels
- Restructure the lcp parameters as a separate structure
- Further code clean up
2023-11-16 09:07:05 +01:00
Robert Schmidt
0accb601e4 Merge branch 'integration_2023_w44' into 'develop'
Closes #685 and #698

See merge request oai/openairinterface5g!2425

* !2404 NR UE MCS for retransmission v2
* !2420 Scan build: Argument with 'nonnull' attribute passed null
* !2422 Fix AssertFatal when using NR band n1
* !2418 NR UE resynchronization fix
* !2376 Save NSSAI params of PDU session coming from AMF
* add `build_oai` option for thread sanitizer
* update 60 MHz 2x2 phytest-timing threshold
* !2423 Free F1 UE data struct only on UE release
* !2428 Prevent CU-UP UE ID management if integrated CU
* !2390 NR PTRS improvements
* !2291 Pass config object instead of using implicit global
* !2421 Change UL_TTI.request PRACH PDU beamforming pack/unpack handling
* !2406 CI:AW2S - test with 10 AmariUEs
* !2401 ue-rrc-coarse-cleaning
* !2366 Remove F1 BWP switching logic
* !2426 F1: support multiple DUs per CU
* !2432 Remove cblas dependency for 5G targets
2023-11-15 02:44:13 +00:00
Robert Schmidt
5e5ab86d47 Merge remote-tracking branch 'origin/remove-cblas-oai-5g' into integration_2023_w44 2023-11-14 15:12:41 +01:00
Laurent THOMAS
18951bad4d remove-cblas-oai-5g 2023-11-14 11:47:38 +01:00
Robert Schmidt
e989ae834a Merge remote-tracking branch 'origin/Fix-Zero-Member-Alloc-FAPI-PDU' into integration_2023_w44 2023-11-13 16:24:09 +01:00
Robert Schmidt
23597c9193 Merge remote-tracking branch 'origin/f1-multiple-du' into integration_2023_w44 2023-11-13 16:23:58 +01:00
Robert Schmidt
b07691643d Merge remote-tracking branch 'origin/f1-bwp-switching' into integration_2023_w44 2023-11-13 15:10:27 +01:00
Robert Schmidt
0c51db05ad Merge remote-tracking branch 'origin/UE-rrc-coarse-cleaning' into integration_2023_w44 2023-11-13 15:10:20 +01:00
Robert Schmidt
ad93072e0a Merge remote-tracking branch 'origin/ci-aw2s-add-ues' into integration_2023_w44 2023-11-13 15:10:09 +01:00
Cedric Roux
e98acd7c5a T: set dependancies for generated files
This commit follows the previous one and adds a dependancy for the
generated .h files so that when we change T_messages.txt to add a
T trace, the compilation succeeds when using ninja in
cmake_targets/ran_build/build.
2023-11-12 14:07:11 +01:00
Cedric Roux
1111eccac6 T: isolate generated .h files when using make
When using the make system to generate T files, if you change
T_messages.txt you may have problems compiling the gnb with ninja.

If you want to see the problem:
First run: cd cmake_targets; ./build_oai --ninja --gNB
Then: cd common/utils/T
edit T_messages.txt, add a trace, for example:
---
ID = ENB_PHY_UL_TOCK
    DESC = eNodeB uplink tick - one tick per ms at start of uplink processing
    GROUP = ALL:PHY:GRAPHIC:ENB
    FORMAT = int,eNB_ID : int,frame : int,subframe
---
then run: make
then: cd cmake_targets/ran_build/build; ninja nr-softmodem
You should have an error looking like this:
---
[3/81] Checking validity of VCD files
FAILED: common/utils/T/CMakeFiles/check_vcd /tmp/develop/cmake_targets/ran_build/build/common/utils/T/CMakeFiles/check_vcd
cd /tmp/develop/cmake_targets/ran_build/build/common/utils/T && /tmp/develop/cmake_targets/ran_build/build/common/utils/T/_check_vcd /tmp/develop/common/utils/T/T_messages.txt /tmp/develop/common/utils/T/../LOG/vcd_signal_dumper.h
error: VCD_FIRST_VARIABLE is not correct in T_defs.h

You probably added a VCD trace (variable or function) but you did not
update T_messages.txt and/or T_defs.h in common/utils/T/
[...]
---

Let's first isolate the generated T .h files when using make because
we have two versions of T_IDs.h and T_messages.txt.h when mixing
make/cmake.

A next commit will regenerate T_IDs.h and T_messages.txt.h when
T_messages.txt chages for the cmake system, because this commit
does not solve the problem.
2023-11-12 14:04:36 +01:00
Robert Schmidt
610a886da7 Merge remote-tracking branch 'origin/multi-config' into integration_2023_w44 2023-11-12 05:14:36 +01:00
Robert Schmidt
3fd45922b7 Merge remote-tracking branch 'origin/NR_PTRS_improvements' into integration_2023_w44 2023-11-12 05:14:25 +01:00
Laurent THOMAS
dd059343d9 ue-rrc-coarse-cleaning 2023-11-10 17:43:59 +01:00
Robert Schmidt
3bede49b9b Merge remote-tracking branch 'origin/fix-double-use-cudata' into integration_2023_w44 2023-11-10 17:29:40 +01:00
Robert Schmidt
8e4ff595a0 Merge remote-tracking branch 'origin/fix-no-f1uedata-when-in-mac' into integration_2023_w44 2023-11-10 17:29:28 +01:00
Robert Schmidt
45dd4813c9 Update FEP TX precoding time threshold for 60 MHz 2x2 phytest-timing test 2023-11-10 17:29:09 +01:00
Jaroslava Fiedlerova
c2255a4168 Change PRACH Configuration Index in AW2S gNB config file
- PRACH Configuration Index = 98 is not suSpported by the Amarisoft UE simulator, as a number of PRACH occasions within the PRACH slot is > 1
- for PRACH Configuration Index = 100, number of time-domain PRACH occasions within a PRACH slot is 1
2023-11-10 16:52:43 +01:00
Robert Schmidt
0d85903d09 Add build_oai/cmake option to build with thread sanitizer 2023-11-10 16:15:05 +01:00
Robert Schmidt
58edc4a57b Remove further unnecessary RRC references in gNB MAC scheduler 2023-11-10 16:01:41 +01:00
rmagueta
8551260243 Clean up previous BWP switching implementation that was not F1 compliant 2023-11-10 16:01:33 +01:00
Robert Schmidt
196e0a2c85 Rewrite F1 documentation 2023-11-10 15:29:45 +01:00
Robert Schmidt
39274212fe 5G RFsim F1 test: start 3 DUs, with 1 UE each, PING ONLY 2023-11-10 15:29:45 +01:00
Robert Schmidt
1e565f6b7b 5G RFsim F1 test: docker-compose: add two more DUs with one UE each 2023-11-10 15:29:45 +01:00
Robert Schmidt
eefffef55b UndeployGenObject(): allow multiple gNBs/DUs/CUs for log file analysis, like UE 2023-11-10 15:29:45 +01:00
Robert Schmidt
a6c95537fb Simplify F1 config files 2023-11-10 15:29:45 +01:00
Robert Schmidt
01a095a268 assoc_id only to be stored for DU 2023-11-10 15:29:45 +01:00
Robert Schmidt
e9d91de50b RFsimulator serverport is a number 2023-11-10 15:29:45 +01:00
Robert Schmidt
41c5ea94ae Start RRC ITTI task only in CU or monolithic 2023-11-10 15:29:45 +01:00
Robert Schmidt
96dfb44ae7 Print DU information in periodic RRC stats printing 2023-11-10 15:29:45 +01:00
Robert Schmidt
59a25c48ff RRC UE context lookup by RNTI: use assoc_id 2023-11-10 15:29:45 +01:00
Robert Schmidt
6520dbc95a Implement F1 Setup Failure to originate at RRC 2023-11-10 15:29:45 +01:00
Robert Schmidt
97d574229d Check PCI/nrCellID non-overlapping 2023-11-10 15:29:38 +01:00
Robert Schmidt
7c4ec50e23 PLMN check F1 Setup: cellId does not necessarily match
Multiple DUs host cells, whose cell ID cannot match (to identify them
uniquely). Hence, don't check for equality with CU, because otherwise,
we can never connect multiple DUs.
2023-11-10 15:29:38 +01:00
Robert Schmidt
ac5c4efd4e Merge remote-tracking branch 'origin/nssai-rlc-mac-if' into integration_2023_w44 2023-11-10 14:39:03 +01:00
Robert Schmidt
6fe68a574b Merge remote-tracking branch 'origin/NR_UE_resync_hotfix' into integration_2023_w44 2023-11-10 14:38:55 +01:00
Laurent THOMAS
f50d5f5a9b make multiple config instead of one implicit global 2023-11-10 10:23:11 +01:00
Sakthivel Velumani
3a7f17ebb8 Create functions for getting LCID 2023-11-09 09:02:59 -05:00
Rúben Soares da Silva
fff5497f45 Remove leftover comment 2023-11-09 10:18:00 +00:00
Robert Schmidt
c36eb7c9b4 Hack: Prevent CU-UP UE ID management if integrated CU
This is a workaround for a problem described in #706. In short, we
cannot reuse the cu_add/remove_f1_ue_data() functions if we are in an
integrated CU-UP/CP ("CU"), but then we can also not reliably use
different UE IDs in CU-UP and CU-CP (except if using even more hacks).
2023-11-08 17:34:42 +01:00
Robert Schmidt
c812cea143 Multiple DUs in a tree 2023-11-08 10:18:52 +01:00
Robert Schmidt
e155080ece Assoc ID CU->DU 2023-11-08 10:18:52 +01:00
Robert Schmidt
a377e5231c Set UE DU assoc_id to 0 on DU disconnect
An assoc_id of 0 is used to mark UEs whose DU is "offline" (not
connected). In this patch, if a DU disconnects, we go through all UEs
and set their assoc_id to 0 if they belong to a UE that just went
offline.
2023-11-08 10:18:52 +01:00
Robert Schmidt
e5684d217c Assoc ID DU->CU 2023-11-08 10:18:52 +01:00
Robert Schmidt
843a1dc0a3 Introduce lookup functions for DUs 2023-11-08 10:18:52 +01:00
Robert Schmidt
1af4e81951 Paging: not fully implemented, make clear is dummy 2023-11-08 10:18:52 +01:00
Robert Schmidt
8cdb23639b Bugfix: on reestablishment, save new gNB DU UE ID, not RNTI 2023-11-08 10:18:52 +01:00
Robert Schmidt
3a5cff17d7 Combine rrc_gNB_process_initial_ul_rrc_message() and nr_rrc_gNB_decode_ccch() 2023-11-08 10:18:52 +01:00
Robert Schmidt
9a092c1433 Put rrcSetupRequest/rrcReestablishmentRequest handling in separate functions 2023-11-08 10:18:52 +01:00
Robert Schmidt
1153e62e45 Move rrc gNB DU handling to separate file 2023-11-08 10:18:52 +01:00
Robert Schmidt
c00b287c60 Remove RRC UE context printing that depends on DU
This code printed BW masks (what is this) and number of MIMO layers. It
was dependent on the current DU, and only showed the information for the
current DU config (SCS, band). On DU disconnect, it leads to segfaults
to this dependency, and IMO is not useful in itself (it could rather be
printed when receiving the UE capabilities, for all bands etc.).
2023-11-08 10:18:52 +01:00
Robert Schmidt
4c2bfe7a1f F1AP: send() functions take assoc_id
To allow to send F1 messages to multiple DUs from the CU, we need to
send these messages via different assoc_id (SCTP association ID,
basically akin to a file descriptor). Currently, the assoc_id is stored
in a context at the F1 module and retrieved in
f1ap_itti_send_sctp_data_req().

To facilitate a later change towards indicating (from the RRC) to which
assoc_id (hence, DU) to send a message, we refactor all
CU_send_*()/DU_send_*() functions to take the assoc_id as a parameter to
which to send messages. In this commit, we then pass the assoc_id from
the context. A later commit changes this (at the CU) to pass the
assoc_id from the message to be sent.
2023-11-08 10:18:52 +01:00
Robert Schmidt
474c3507f1 Allow DUs to reconnect to CU
Previous to this commit, the CU creates an F1 instance and initializes
GTP after a successful connection establishment, and tears the F1
instance down after the DU disconnects. This does not work when trying
to connect multiple DUs, or have them reconnect, as e.g., GTP
re-initialization fails (socket already bound).

This commit makes the CU F1 instance creation and GTP init at CU task
init (only once), and also frees the F1 instance only after the CU task
exits, which is at termination of the application, typically.
2023-11-08 10:18:52 +01:00
Robert Schmidt
05aefb9aaa Correctly read PCI in F1 Setup Response 2023-11-08 10:18:52 +01:00
Robert Schmidt
808b7684a8 F1AP: Remove commented code 2023-11-08 10:18:52 +01:00
Robert Schmidt
11df08a8f0 clang-format: RB_FOREACH is a for_each macro 2023-11-08 10:18:52 +01:00
Robert Schmidt
4ad7e9c5c0 Remove dead code in GTP
Remove dead code, result of 2136ceec0d: we
cannot connect() in GTP on multiple remotes (as then only packets of one
host might be received), but might need to send to multiple remote
sockets.
2023-11-08 10:18:52 +01:00
Rúben Soares da Silva
e6d3a367de Remove PRACH PDU Beamforming allocation from pack procedure, Assert if it has values != 0 2023-11-07 15:37:02 +00:00
Rúben Soares da Silva
f993b075f8 Change Prach PDU Beamforming allocation for pack/unpack procedures 2023-11-07 10:35:11 +00:00
Robert Schmidt
0a05622a20 Merge remote-tracking branch 'origin/Bugfix_NR_Band_n1' into integration_2023_w44 2023-11-06 15:01:32 +01:00
Robert Schmidt
dc7743c4e8 Merge remote-tracking branch 'origin/scan_build_arg_attr_null' into integration_2023_w44 2023-11-06 07:33:37 +01:00
Robert Schmidt
e1e8e10d91 Merge remote-tracking branch 'origin/NR_UE_handling_MCS_for_retransmission_v2' into integration_2023_w44 2023-11-06 07:33:28 +01:00
Robert Schmidt
31ed25acd7 Only print UE caps if DU available
The DU UE capability printing depends on data on SCS and band, which
currently is only stored with the DU. To avoid any assert, we check
that the DU is present. A follow-up commit will rework this.
2023-11-04 16:37:59 +01:00
Robert Schmidt
102cbf0d0c Prevent possible deadlock between scheduler and F1 UE ID 2023-11-04 16:37:59 +01:00
Robert Schmidt
230258370b Free F1 UE data struct only on UE release
Before this commit, as visible in the handler of an F1 UE release, it
can happen that we forward the RRC Release message to a UE and start the
release timer, while also removing the F1 UE data (containing e.g., the
CU UE ID). This can lead to asserts, since there might still be
subsequent traffic for such UE during a short time, while the DU does
not have the secondary UE ID stored anymore.

This commit changes the logic. It introduces function
nr_mac_release_ue() that removes the UE at MAC and RLC, frees the F1 UE
data (if applicable), and sends the complete, after timing expiry. If
the UE is out of sync, this function is used to free the UE immediately.

This fixes #685 and #698.
2023-11-04 16:34:46 +01:00
francescomani
629825aca6 taking into account PTRS in computing G 2023-11-03 10:39:13 +01:00
francescomani
d247abb53d code cleanup 2023-11-03 10:15:25 +01:00
francescomani
a05baa3c77 fixes to avoid double synchronization call 2023-11-03 10:01:53 +01:00
luis_pereira87
5b5b0f9595 Fix AssertFatal when using NR band n1 2023-11-02 18:41:17 +00:00
Sakthivel Velumani
3ae665388a Declare variable outside of case: label 2023-11-02 10:28:51 -04:00
Jaroslava Fiedlerova
fb1dc668e5 CI:AW2S - use updated AmariUE SW 2023-11-02 15:02:18 +01:00
Jaroslava Fiedlerova
3d63dc0a7e CI:AW2S - modifications to test with 10 UEs 2023-11-02 15:02:18 +01:00
Rúben Soares da Silva
c22fe2bab6 Fix PRACH PDU beamforming allocation to allocate at least 1 member, avoiding creating vector of size 0 2023-11-02 10:55:50 +00:00
Sakthivel Velumani
8f79b4aeed Remove redundant typedef 2023-11-01 21:13:20 -04:00
Sakthivel Velumani
128bd3d3db Create macro to ntoh_int16 buffer input 2023-11-01 21:13:20 -04:00
Sakthivel Velumani
21b269fa99 Create macro to do ntoh for 3 bytes
use it in NSSAI parsing function
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
dc95e838eb Improve NSSAI parsing
use review suggestions from Laurent
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
19551d1254 Remove extern declaration from .c 2023-11-01 21:13:20 -04:00
Sakthivel Velumani
950becb423 Store allowed NSSAIs from NAS message
Request default PDU session with first NSSAI from the list
2023-11-01 21:13:19 -04:00
Sakthivel Velumani
5f78fa6eed NGAP: put mcc, mnc, nssai inside new plmn struct 2023-10-31 16:12:15 -04:00
Sakthivel Velumani
f381e93237 Set NSSAI config in MAC
Each active LCID at MAC is configured with NSSAI that is sent from AMF with PDU session setup request
2023-10-31 16:12:10 -04:00
Sakthivel Velumani
2bf40fbd17 Pass the NSSAI config via F1 2023-10-31 13:31:33 -04:00
Sakthivel Velumani
89fa5a18a8 Pass the NSSAI config via E1 2023-10-31 13:31:32 -04:00
Sakthivel Velumani
279a55c976 Save NSSAI params from AMF
The NSSAI of PDU sessions coming from AMF are stored in RRC to be sent to lower layers
2023-10-31 12:41:50 -04:00
mir
6a1a17bcff Enhance message 2023-10-31 12:41:10 +01:00
mir
e0ff84f67c Scan build: Argument with 'nonnull' attribute passed null 2023-10-31 11:53:42 +01:00
Robert Schmidt
82597e7e8f Merge branch 'integration_2023_w43' into 'develop'
integration_2023_w43

See merge request oai/openairinterface5g!2415

* !2407 hotfix: UE DCI format 11: only 1 dl_config instead of 2
* !2372 chore(ci): testing up to 10 UEs in 5G RF simulation
* !2396 Add optimized function to count the number of bits set in uint64_t variable
* !2383 E1: implement release bearer, handle multiple CU-UPs
* !2413 Assigned value is garbage or undefined reported by scan-build
* !2387 Small fixes for UE stability and introduction of ITTI "no-thread" mode (separate bug fixes and ITTI changes?)
* !2410 Fix CellGroupConfig-related memory problems
* !2414 fix doxygen
2023-10-30 16:26:11 +00:00
Robert Schmidt
7420de8fc9 Merge remote-tracking branch 'origin/fix-doxygen' into integration_2023_w43 2023-10-30 10:23:45 +01:00
Robert Schmidt
57f0cb134c Merge remote-tracking branch 'origin/fix-cellconfig-segv' into integration_2023_w43 2023-10-30 10:22:23 +01:00
Robert Schmidt
a828da1b3f Merge remote-tracking branch 'origin/itti-no-threads' into integration_2023_w43 2023-10-30 10:22:16 +01:00
Robert Schmidt
803fcb59a9 Merge remote-tracking branch 'origin/assigned_value_is_garbage_or_undefined' into integration_2023_w43 2023-10-30 10:22:03 +01:00
Robert Schmidt
2f7658d7b1 Merge remote-tracking branch 'origin/e1-multiple-cuup' into integration_2023_w43 2023-10-30 10:21:48 +01:00
Robert Schmidt
fa5c4d3a4c Fix SDAP: correct ID, set default
- Set the correct QoS flow ID to associate a correct QoS flow to the
  bearer: the UE would misassociate otherwise
- Set the DRB as the default: the handler applies bool with true==1, so
  use bool value
2023-10-30 08:47:33 +01:00
Robert Schmidt
a51c5299c6 Merge remote-tracking branch 'origin/polar-encoder-perf-improv' into integration_2023_w43 2023-10-27 14:21:23 +02:00
Laurent THOMAS
a198239084 Introduce no-thread mode in ITTI
Introduce a --no-itti-threads command line option to disable threading
in ITTI, and call message handlers in the current thread. This is being
introduced in order to increase repeatability when testing the nrUE with
the IQPlayer. Without this feature, runs with the IQPlayer will end up
differently, depending on the timing of ITTI threads, mostly when
sending messages to RRC and NAS.
2023-10-27 13:02:36 +02:00
Laurent THOMAS
724c8c014c Simplify ITTI task definition 2023-10-27 13:02:33 +02:00
Laurent THOMAS
75cc625fe9 Use recursive mutex in PDCP to prevent deadlocks 2023-10-27 13:02:31 +02:00
Laurent THOMAS
1fb68160b0 config: harmonize number array parameters 2023-10-27 13:02:28 +02:00
Laurent THOMAS
b257734c6f Fix tPool calls: symmetric to pushing messages
Messages are pushed using pushNotifiedFIFO(), so we pullNotifiedFIFO()
2023-10-27 13:02:24 +02:00
Robert Schmidt
679b497891 Merge remote-tracking branch 'origin/ci-add-more-ues-rf-sim-test' into integration_2023_w43 2023-10-27 12:44:25 +02:00
Robert Schmidt
4cea368a17 Correct typo in test case description 2023-10-27 10:38:58 +00:00
mir
364f98ac11 Avoid double initialization 2023-10-27 11:50:40 +02:00
rmagueta
60d867a978 Fix read servingCellConfigDedicated from config file 2023-10-27 10:52:52 +02:00
Robert Schmidt
7317efea00 Clone pusch_Config to prevent double free 2023-10-27 10:52:52 +02:00
Robert Schmidt
10a0a52604 Allocate second but same coreset to prevent double-free 2023-10-27 10:52:52 +02:00
Robert Schmidt
dc88ca3b6d Read DMRS_UplinkConfig from BWP info when needed
Before this commit, the DMRS_UplinkConfig was stored in a separate
DMRS-related structure, although it is always referenced in the
PUSCHConfig of the current UL BWP.

Through certain code paths (e.g., retransmission), it could happen that
an old DMRS_UplinkConfig was accessed that was freed (through new
CellGroupConfig).

In this commit, we always look up the DMRS_UplinkConfig in the current
PUSCH config, which should always be up to date.
2023-10-27 10:52:52 +02:00
Robert Schmidt
90bb405e0d Deep-copy PDCCH ConfigCommon for SIB1
Until this commit, the SIB1's PDCCH_configCommon was set (via a pointer,
i.e., an indirection) to the one of the ServingCellConfigCommon (SCC).
Afterwards, the SIB1 code further populated this PDCCH configCommon,
indirectly populating the one of the the SCC, on which code later
depends.

Not only did this create possibilities for double-frees (since freeing
the memory of SIB1, then SCC would free the PDCCH configcommon twice),
but also it makes it harder to track where certain structures are
populated. Hence, this commit solves both issues:

- The SCC is correctly populated on initialization of the SCC
- The SIB1 makes a deep copy of the SCC' PDCCH configCommon

This resolves the two issues above.
2023-10-27 10:52:52 +02:00
Robert Schmidt
d1740c9d8e Deep-copy PDSCH_ConfigCommon to prevent double-free 2023-10-27 10:36:33 +02:00
Robert Schmidt
8062af94b5 Deep-copy RACH_ConfigCommont to prevent double-free 2023-10-27 10:36:10 +02:00
Robert Schmidt
d442e21f3c Deep-copy PUSCH&PUCCH_ConfigCommon to prevent double-free 2023-10-27 10:35:26 +02:00
Robert Schmidt
a87cad57b7 Fix: correct SD index 2023-10-27 10:34:53 +02:00
Robert Schmidt
38a6e92fdf Deep-copy genericParameters to prevent double-free 2023-10-27 10:22:55 +02:00
Robert Schmidt
d4cc2c8597 Deep-copy asn1c structures to prevent double free 2023-10-27 10:22:55 +02:00
Robert Schmidt
2dc36ffcf7 Initialize struct on stack
Not initalizing this struct makes asn1c free the memory incorrectly,
leading to a segfault.
2023-10-27 10:22:55 +02:00
Robert Schmidt
9001ad2d7c Correct calloc_or_fail() signature 2023-10-27 10:22:55 +02:00
Robert Schmidt
5fb151e195 Rework E1 documentation 2023-10-27 09:07:51 +02:00
Robert Schmidt
eb475f7747 Remove useless warning 2023-10-27 09:07:51 +02:00
Robert Schmidt
c2f0bf16d7 Rename non-existing gNB_CU_ID to existing gNB_ID in all configs 2023-10-27 09:07:51 +02:00
Robert Schmidt
2f87a2b0e5 Remove superfluous security section from gNB-CU-UP configs 2023-10-27 09:07:51 +02:00
Robert Schmidt
781d01d5de Remove (almost) unused e1ap_api.h 2023-10-27 09:07:51 +02:00
Robert Schmidt
2e252dd377 Implement E1 bearer release 2023-10-27 09:07:51 +02:00
Robert Schmidt
fb5b125110 Implement Bearer Context Modification Response in E1 2023-10-27 09:07:51 +02:00
Robert Schmidt
ec60fd8157 E1 bearer modification: harmonize code 2023-10-27 09:07:51 +02:00
Robert Schmidt
380151faa7 E1 Bearer Context Setup Request: harmonize code
- harmonize monolithic and E1AP case
- use ITTI message to send bearer context setup response to RRC
2023-10-27 09:07:51 +02:00
Robert Schmidt
9546166ebc Create files to handle E1AP messages at CU-UP 2023-10-27 09:07:51 +02:00
Robert Schmidt
70ddc0e7fb CUUP: set F1-U remote port for GTP module 2023-10-27 09:07:51 +02:00
Robert Schmidt
c5006cf4ed e1ap_common.h without E1AP ASN dependency 2023-10-27 09:07:51 +02:00
Robert Schmidt
2136ceec0d Do not bind on remote address in GTP
This allows to communicate with multiple remote hosts. A further
improvement would be to refactor this piece of code into a function and
call it only when necessary, i.e., when we know the remote host, or want
to add one to a list of hosts.
2023-10-27 09:07:51 +02:00
Robert Schmidt
0a6998db4b Select CU-UP based on slice 2023-10-27 09:07:51 +02:00
Laurent THOMAS
bba9aac079 fix most of doxygen warnings and errors 2023-10-26 16:47:19 +02:00
rmagueta
e14903cd96 Call __builtin_popcountll function to count the number of bits set in uint64_t variable for polar codes 2023-10-26 12:23:20 +02:00
Robert Schmidt
e07a741ee0 Handle multiple CU-UPs in one CU-CP
This commit introduces the capability to handle multiple CU-UPs. It uses
a RB tree and puts the CU-UPs into the tree. Upon the connection, it
associates UEs to CU-UPs in a round-robin fashion.
2023-10-25 20:22:32 +02:00
Robert Schmidt
b08ce59bc2 Pass assoc_id to RRC and use when sending E1AP messages 2023-10-25 20:22:32 +02:00
Robert Schmidt
1d3127bb99 Read and forward CU UP name in E1AP Setup Request 2023-10-25 20:22:32 +02:00
Robert Schmidt
7d37143bac Read and forward NSSAI in E1AP Setup Request 2023-10-25 20:22:32 +02:00
Robert Schmidt
75b055711a Setup Request: store in E1 only for CU-UP 2023-10-25 20:22:32 +02:00
Robert Schmidt
b26dcc1ee5 Store E1 Setup Request at RRC 2023-10-25 20:22:32 +02:00
Robert Schmidt
23eaea4b8d Move CU-UP related processing to separate file
A later commit will introduce an RB tree to manage multiple CU-UPs. The
RB tree implementation relies on some macros that generate RB tree
functions. Functions using the RB tree implementation will be grouped in
this file.
2023-10-25 20:22:32 +02:00
Robert Schmidt
f721b13982 Fix: E1 PDU Session has NSSAI, not only SST 2023-10-25 20:22:32 +02:00
Robert Schmidt
c3927fa6b7 Fix bug: correct PLMN in check in E1AP Setup Req handler 2023-10-25 20:22:32 +02:00
Robert Schmidt
a23984c7ae Split out E1AP net config from Setup Request
The E1AP Setup Request contained the network configuration (IP address,
ports) as well as the actual E1AP Setup Request application data
(Supported PLMNs, ...). This has the drawbacks that
- The E1AP Setup Request is stored to retrieve IP addresses in the E1AP
  module, which is confusing as the Setup Request, per standard, has no IP
  info
- The CU-CP received an E1 Setup Request for configuration during start
  up, but it did not actually receive such Setup Request, but merely the
  IP configuration to set up the socket

This commit splits the E1AP Setup Request into a "real" Setup Request
for application data, and creates a new type e1ap_net_config_t to group
all IP configuration data. Further, a new ITTI message type
E1AP_REGISTER_REQ is introduced to group both types. What happens is
- RCconfig_NR_CU_E1() reads both E1AP application-level data and IP
  configuration, as previously
- The data is sent to the CU-CP. It discards the E1AP Setup Request
  data, and only uses the network configuration to set up the socket
- The data is sent to the CU-UP. It uses the network configuration to
  connect to the CU-CP, and then sends the E1AP Setup Request to the
  CU-CP.

Currently, the CU-CP still stores the Setup Request locally, which will
be changed in the next commit to send it to the RRC.
2023-10-25 20:22:32 +02:00
Robert Schmidt
5c07c326ea E1AP: use assoc_id in instance, do not pass Setup Request around
- e1ap_encode_send(): do not use E1AP Setup Request
- store assoc_id in the instance, and reuse that
2023-10-25 20:22:32 +02:00
Robert Schmidt
e4a28cfabd Remove unused variables 2023-10-25 20:22:32 +02:00
Robert Schmidt
5215cc921f Lower E1AP log verbosity 2023-10-25 20:22:32 +02:00
Robert Schmidt
d1e5ee2bab extract_SETUP_REQUEST(): assoc_id: remove comment 2023-10-25 20:22:32 +02:00
Robert Schmidt
0070bf11fc Fix fill_BEARER_CONTEXT_SETUP_REQUEST() 2023-10-25 20:22:32 +02:00
Robert Schmidt
29212d4e94 E1AP: remove unused functions 2023-10-25 20:22:32 +02:00
Robert Schmidt
e37f67ccce Make E1AP function check_transac_id() static 2023-10-25 20:22:32 +02:00
Robert Schmidt
6eba667813 Delete unused/write-only E1AP variables 2023-10-25 20:22:31 +02:00
Robert Schmidt
ed0923c2ec E1AP messages: Remove DRBList and CN Support fields
The DRBLists inside E1AP message are for E-UTRAN. We don't support that
with our CU-CP/UP yet, so remove it to reduce ambiguity and complexity.
For the same reason, we remove the CN Support, which for us is always
"NR".
2023-10-25 20:22:31 +02:00
Robert Schmidt
c3f19a4ead Move "UM on default DRB" param to RRC config, make it bool 2023-10-25 20:22:31 +02:00
Robert Schmidt
d58ebfcaab Remove unused RRC variables 2023-10-25 20:22:31 +02:00
Robert Schmidt
453f483c7a bugfix CU: set remote port in GTP-U module 2023-10-25 20:22:31 +02:00
Robert Schmidt
e49608339a Add TODO regarding E1 & reestablishment
For the reestablishment, we need to tell the PDCP it needs to reset the
SN counters. This does not work over E1; add a TODO in the code.
2023-10-25 20:22:31 +02:00
Robert Schmidt
4852354dac Correct banner mail 2023-10-25 20:22:31 +02:00
Laurent THOMAS
4a52b17386 fix-doxygen 2023-10-25 18:10:40 +02:00
Raphael Defosseux
c3405d39df fix(ci): cosmetic fix for parallel display
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-25 14:17:58 +02:00
Raphael Defosseux
65549745ee fix(ci): proper automatic undeployment
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-25 14:16:25 +02:00
Raphael Defosseux
a88c3d2ba4 chore(ci): provisioning for 10 UEs for RF-sim test
* Adding test for connecting 10 UEs

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-25 14:15:41 +02:00
mir
2ccc58f6d3 Assigned value is garbage or undefined reportedt by scan-build 2023-10-25 11:51:33 +02:00
Laurent THOMAS
3b57e3ba51 hot-fix-ue-dci-format-11 2023-10-24 13:53:50 +02:00
Raphael Defosseux
9a57514bf9 fix(ci): hard coding the lock resource
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-23 20:29:26 +02:00
Robert Schmidt
a062be47cc Merge branch 'integration_2023_w42' into 'develop'
Integration Branch 2023.w42

See merge request oai/openairinterface5g!2403

* !2368 NR UE SRB0
* !2399 build_oai: Auto-detect if terminal supports colors
* !2398 Correctly load channel models
* !2365 Change PDU_Length and tlv length calculation to be inline with SCF 222.10.02
* !2402 chore(ci): enabling the ARM cross-compilation pipeline
* !2397 fix(ci): improve for parallelism issue in Groovy
* !2405 Clean IDE files and remove old documentation
2023-10-23 17:32:07 +00:00
Raphael Defosseux
b7073ebdbc Merge remote-tracking branch 'origin/clean-ide-files-old-doc' into integration_2023_w42 2023-10-23 13:54:58 +02:00
Robert Schmidt
6568d40eca Remove outdated documentation 2023-10-23 13:06:58 +02:00
Robert Schmidt
877efbbb99 .gitignore for common IDE files 2023-10-23 12:56:27 +02:00
Robert Schmidt
dce7b4446d Remove unused iperf/bash performance testing script 2023-10-23 12:54:10 +02:00
Robert Schmidt
9762b63cae Remove VSCode config 2023-10-23 12:52:58 +02:00
Raphael Defosseux
c8168ed4a7 chore(ci): post-review comments fixes
* properly formatted the finalizeSlaveJob function
  * explained the reason and gave an explicit name to the global variable

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-23 11:10:53 +02:00
francescomani
73244eae4d storing TBS and R at MAC instead of PHY 2023-10-20 18:00:34 +02:00
Raphael Defosseux
94d4cd7cce Merge remote-tracking branch 'origin/ci-fix-groovy-parallelism-issue' into integration_2023_w42 2023-10-20 11:46:59 +02:00
Raphael Defosseux
24ac96cd40 Merge remote-tracking branch 'origin/Fix_FAPI_PDU_Length' into integration_2023_w42 2023-10-20 11:46:33 +02:00
Raphael Defosseux
470ea73175 Merge remote-tracking branch 'origin/channel_model_fix' into integration_2023_w42 2023-10-20 11:46:07 +02:00
Raphael Defosseux
bd551a6ac1 Merge remote-tracking branch 'origin/nr_ue_use_srb0' into integration_2023_w42 2023-10-20 11:45:44 +02:00
Raphael Defosseux
191ab1a934 Merge remote-tracking branch 'origin/ci-no-color-codes' into integration_2023_w42 2023-10-20 11:45:17 +02:00
Raphael Defosseux
0caa65231f chore(ci): triggering the child pipeline from parent
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-20 11:36:45 +02:00
Raphael Defosseux
80c2bc3fcb fix(arm-build): immintrin.h is not available
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-20 11:36:39 +02:00
Raphael Defosseux
146edd2f4c chore(ci): having a variable to choose simde version
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-20 11:36:29 +02:00
Raphael Defosseux
43d9895caf fix(ci): in case of build failure, having a bit of debug info
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-20 11:36:22 +02:00
Robert Schmidt
bab4ad2d85 Auto-detect if terminal supports colors
This enables build_oai to detect if the output terminal supports colors.
If it does, it will use colors in its output. If it does not, it will
just print the text, without color codes, improving legibility.
2023-10-17 07:16:49 +02:00
Robert Schmidt
09af6d1c31 Remove unused color codes 2023-10-17 07:09:12 +02:00
Rúben Soares da Silva
bfd12e4aa0 Change PDU_Length and TLV length calculation to be inline with SCF 222.10.02
PDU Length is as per SCF 222.10.02: The total length (in bytes) of the
PDU description and  PDU data, without the padding bytes. From
TX_DATA.request we get 8 (2 bytes PDU_Length + 2 bytes PDU_Index + 4
bytes num_TLV ) and from each TLV we get 4 + value size ( 2 bytes tag +
2 bytes length + value size without pading)

Therefore, add function to compute PDU_length() value for
TX_Data.request, taking into account how many TLVs there are.
compute_PDU_length() does not rely on access to `nfapi_nr_pdu_t`.
Put it into nr_mac_common.c to avoid introducing dependencies.
2023-10-17 04:33:57 +02:00
Arash Sahbafard
e46eeffe2a There was a simple bug in detecting the channel models in rfsim which is fixed.
modified:   radio/rfsimulator/simulator.c
2023-10-16 18:08:55 +02:00
francescomani
79cd189160 fix sim compilation 2023-10-16 16:36:38 +02:00
Robert Schmidt
a62bdf36de Merge branch 'integration_2023_w41' into 'develop'
integration_2023_w41

See merge request oai/openairinterface5g!2394

* !2389 Remove global variable rx_spatial_power
* !2364 NR UE PUCCH2 sanitize errors
* !2352 Break DCI processing function into smaller pieces
* !2391 Remove calloc from L1 at CSIRS_PDU conversion function
* !2393 Fix UE assertion due to PUCCH resource lookup all BWPs
* !2307 Improve documentation for L2sim Readme
* !2310 doc(websvr): how to install properly the dependencies
2023-10-16 14:17:11 +00:00
Raphael Defosseux
33e5d7f66e fix(ci): improve for parallelism
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-16 15:46:02 +02:00
Robert Schmidt
5231b9777d Merge remote-tracking branch 'origin/doc-websrv-build-fixes' into integration_2023_w41 2023-10-14 08:18:56 +02:00
Robert Schmidt
362d44c7ba Updade webserver documentation: organize, make less verbose output 2023-10-14 08:18:31 +02:00
Robert Schmidt
f88a6e36b5 Merge remote-tracking branch 'origin/ImprovDocL2sim' into integration_2023_w41 2023-10-14 08:18:11 +02:00
Robert Schmidt
afb770d1b3 Merge remote-tracking branch 'origin/NR-UE-fix-seg-fault-add-bwp' into integration_2023_w41 2023-10-13 11:07:36 +02:00
Robert Schmidt
d6fe889abe Merge remote-tracking branch 'origin/Remove-convert-csirs-pdu-calloc' into integration_2023_w41 2023-10-13 11:05:43 +02:00
Robert Schmidt
7f0dbde135 Merge remote-tracking branch 'origin/break_dci_processing_function_in_smaller_pieces' into integration_2023_w41 2023-10-13 11:05:33 +02:00
Robert Schmidt
be9a3375ed Correctly format nr_ue_process_dci_dl_11() 2023-10-12 21:11:38 +02:00
Robert Schmidt
2f0c31637b Assert when encountering unhandled DCI formats 2023-10-12 21:10:24 +02:00
Robert Schmidt
821ab37f49 Fix table lookup in nr_ue_process_dci_dl_11() 2023-10-12 21:09:12 +02:00
Robert Schmidt
e3b3495488 Merge remote-tracking branch 'origin/NR_UE_sanitize_PUCCH2' into integration_2023_w41 2023-10-12 20:57:48 +02:00
Rúben Soares da Silva
80a6a3e8c3 Fix memory leak and improve convert_csirs_pdu()
- Remove calloc from convert_csirs_pdu function, change return value
  from 'nfapi_nr_dl_tti_csi_rs_pdu_rel15_t *' to
  'nfapi_nr_dl_tti_csi_rs_pdu_rel15_t' to not require call to 'free()'
- Set parameter pointer as const as it's not modified
- Remove cast to fapi_nr_dl_config_csirs_pdu_rel15_t in csi_rx.c as
  ue->csirs_vars[gNB_id]->csirs_config_pdu is already of type
  fapi_nr_dl_config_csirs_pdu_rel15_t.
- Remove casted parameter in call to convert_csirs_pdu and replace with
  csirs_config_pdu obtained earlier from
  ue->csirs_vars[gNB_id]->csirs_config_pdu.
2023-10-12 20:52:17 +02:00
Sakthivel Velumani
f75519978e fix UE asserver due to PUCCH resource lookup all BWPs 2023-10-12 12:17:46 -04:00
Robert Schmidt
8d2b8895df Review commit 2023-10-12 07:12:06 +00:00
Laurent THOMAS
6b56b46811 Break UE DCI processing function in smaller pieces 2023-10-12 07:46:45 +02:00
Robert Schmidt
34e64ab1eb Remove unused/useless Ethernet variables 2023-10-12 07:46:45 +02:00
Laurent THOMAS
838b284aa4 remove-global-rx_spatial_power_in_gnb 2023-10-10 15:45:21 +02:00
Robert Schmidt
91a30e9a2a Correct return type of do_RRCSetupRequest() 2023-10-10 15:40:26 +02:00
Robert Schmidt
7157e7fd9a Remove unused fields of NR_RRC_MAC_CCCH_DATA_IND message 2023-10-10 15:40:26 +02:00
Robert Schmidt
9aee7bf745 srb0 rnti 2023-10-10 15:40:26 +02:00
francescomani
9189129985 Use SRB0 at UE
- Use SRB0 TM entity at UE for Msg.3/RRC Setup Request
- Msg3 data request sent upon reception of Msg2, then we get data from
  rlc when needed
2023-10-10 15:40:26 +02:00
Robert Schmidt
be9b84c03f Refactor interface SRB0: no gNB MAC 2023-10-10 15:40:26 +02:00
Robert Schmidt
bba1418811 Merge branch 'integration_2023_w40' into 'develop'
integration_2023_w40

See merge request oai/openairinterface5g!2381

* !2345 fix bug for IE cause in pdu session accept
* !2361 Fix Msg3 MAC CE C-RNTI
* !2371 fix(ci): printing the warning and error lines for CI purposes
* !2374 Fix SSB ARFCN: wrong ARFCNs in FDD
* !2379 fix the selection of DCI candidates at UE
* !2369 Add bwp_size and bwp_start fields to CSI_RS PDU struct at NR UE
* !2349 E2AP Version 1,2,3 and KPM version 2, 3
* !2375 increase the max fd of rfsim, that have been shorten to tightly for cpu saving
* !2367 chore(ci): improve GitLab <-> Jenkins contributor experience
* !2378 F1AP: correct message handling
* !2370 NR PDCP RB suspend
* !2107 Compute RI based on SRS up to 4
* !2339 PUCCH power computation
* !2382 Remove dead code in NR UE
* !2229 PUSCH LLR 128/256 SIMDe routines for ARM/x86
2023-10-10 05:35:04 +00:00
Robert Schmidt
7957b466d4 Merge remote-tracking branch 'origin/pusch-llr-SIMDe' into integration_2023_w40 2023-10-09 16:48:37 +02:00
Robert Schmidt
2635cf4817 Merge remote-tracking branch 'origin/remove-dead-code-nrue' into integration_2023_w40 2023-10-09 08:12:43 +02:00
Robert Schmidt
a8fa1b0e52 Merge remote-tracking branch 'origin/develop-pucch-power' into integration_2023_w40 2023-10-08 17:48:26 +02:00
Robert Schmidt
16e15b3393 Merge remote-tracking branch 'origin/develop-UL-RI' into integration_2023_w40 2023-10-08 17:48:06 +02:00
Robert Schmidt
08fca7ebce Merge remote-tracking branch 'origin/NR_RB_suspend' into integration_2023_w40 2023-10-08 14:56:17 +02:00
Robert Schmidt
653e66594d Merge remote-tracking branch 'origin/f1ap-msg-correction' into integration_2023_w40 2023-10-08 14:56:09 +02:00
Robert Schmidt
4ff2c4e781 Merge remote-tracking branch 'origin/ci-improve-jenkins-ux' into integration_2023_w40 2023-10-08 14:54:52 +02:00
Robert Schmidt
e160e083d8 Merge remote-tracking branch 'origin/fix-rfsimulator-max-fd' into integration_2023_w40 2023-10-08 14:54:44 +02:00
Robert Schmidt
146217fc90 Merge remote-tracking branch 'origin/e2ap_v3_v2' into integration_2023_w40 2023-10-08 14:54:32 +02:00
Robert Schmidt
bcbb0d5905 Merge remote-tracking branch 'origin/Fix-CSI_RS-PDU-at-UE' into integration_2023_w40 2023-10-08 12:35:54 +02:00
Robert Schmidt
806842a087 Merge remote-tracking branch 'origin/NR_UE_DCI_candidates' into integration_2023_w40 2023-10-08 12:35:42 +02:00
Robert Schmidt
c3df9c277f Remove warning about new CellGroupConfig
It is *normal* to receive new CellGroupConfigs from the DU, hence a
warning is not warranted.
2023-10-08 12:28:30 +02:00
Robert Schmidt
4066fd4ba2 UE Context Modification Handler: also trigger CellConfig if only UE Capability changes 2023-10-08 12:28:30 +02:00
Robert Schmidt
aaef0b5e74 F1 UE Ctxt Modif Req: forward Capabilities, ignore other CU2DU
- forward capabilities to update CellGroupConfig
- Do not require measConfig/cG_ConfigInfo to be NULL, but ignore them,
  as it is not implemented
2023-10-08 12:27:38 +02:00
Laurent THOMAS
584fb235cd remove-dead-code-nrue 2023-10-06 18:00:18 +02:00
Quency Lin
f451f62c9c Fix cannot pass sanitizer, Align to 16 for 2 contiguous 256 SIMDe 2023-10-06 16:39:51 +02:00
Robert Schmidt
68a82e0b7d F1 Initial UL RRC message: fill PLMN and Cell ID 2023-10-06 15:56:36 +02:00
Robert Schmidt
84ffd14a8f Correctly handle UE Ctxt Modif RRC container
The RRC container is to be handled by the msg handler in
mac_rrc_dl_handler.c. Therefore, don't forward the RRC message, but copy
it into the message so the handler can take the action.
2023-10-06 15:56:30 +02:00
Robert Schmidt
21795b3b88 Correctly encode NRCGI in F1 UE Ctxt Modif Req
The two hardcoded PLMNs are never executed: they are in an if(0) block
2023-10-06 15:56:23 +02:00
Robert Schmidt
b7746e9bfd Merge remote-tracking branch 'origin/fix-ssb-arfcn' into integration_2023_w40 2023-10-06 15:38:42 +02:00
Robert Schmidt
8de0f50087 Merge remote-tracking branch 'origin/ci-fix-warning-recovery' into integration_2023_w40 2023-10-06 15:38:35 +02:00
Robert Schmidt
fe3aa3ddc3 Merge remote-tracking branch 'origin/fix-Msg3-MAC-CE-CRNTI' into integration_2023_w40 2023-10-06 15:38:28 +02:00
Robert Schmidt
8a80517a2d Merge remote-tracking branch 'origin/fix-pdu-session-accept-cause' into integration_2023_w40 2023-10-06 15:38:20 +02:00
Laurent THOMAS
f8c122a7cf increase the max fd of rfsim, that have been shorten to tightly for cpu saving 2023-10-06 11:21:27 +02:00
francescomani
8934c7db10 fix the selection of DCI candidates at UE 2023-10-05 18:09:02 +02:00
mir
3fbc20412a Bug in j and i idx 2023-10-05 15:04:47 +02:00
mir
58134a29d9 Fixes from Teodora applied 2023-10-05 14:54:39 +02:00
Rúben Soares da Silva
9bee85dbe2 Remove previously added bwp_size and bwp_start fields from struct fapi_nr_dl_config_csirs_pdu_rel15_t.
Create function to obtain nfapi_nr_dl_tti_csi_rs_pdu_rel15_t from fapi_nr_dl_config_csirs_pdu_rel15_t without bwp_size and bwp_start.
Replace previously problematic cast with call to created function.
2023-10-04 18:46:54 +01:00
Robert Schmidt
06efde1ed9 u0.25prb 2023-10-04 19:03:37 +02:00
Robert Schmidt
072620aa0a Make different Point A/SSB ARFCN multiple of 30kHz 2023-10-04 16:51:45 +02:00
Raphael Defosseux
ed4c634186 fix(ci): printing the warning and error lines for CI purposes
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-04 15:03:57 +02:00
Robert Schmidt
d6285354e4 Properly formulate assert message 2023-10-04 14:30:27 +02:00
mir
0ffb01b9c3 NG-RAN was not compiling due to struct definition missing 2023-10-04 14:20:30 +02:00
Quency Lin
999bdc01c8 fix: Remove miss-hardcoded #define USE_128BIT 2023-10-04 13:57:07 +02:00
mir
12e09526e8 E2AP Version 1,2,3 and KPM version 2, 3 2023-10-04 12:12:53 +02:00
francescomani
832bea2482 implementing PDCP entity suspend 2023-10-04 10:32:38 +02:00
rmagueta
169a9be8cd Fix Msg3 MAC CE C-RNTI
Reset Msg4_ACKed to not schedule ULSCH and DLSCH before RRC Reconfiguration
2023-10-04 06:55:24 +01:00
Quency Lin
e92c827820 fix: SISO 128 SIMDe due to rebase to 2023.w39 2023-10-03 23:49:30 +02:00
Quency Lin
cdcb403538 Refactor: Caculate bit_met_s[0..63] in for-loop 2023-10-03 22:13:31 +02:00
Quency Lin
5424843190 misc: remove debug print and fix wrong index accessing array
Before this MR, openair1/PHY/NR_TRANSPORT/nr_ulsch_llr_computation.c:
nr_ulsch_qam64_qam64():
    xmm3 = simde_mm256_max_epi16(bit_met_m5_p1, bit_met_m5_p1);

Should be instead:
    xmm3 = simde_mm256_max_epi16(bit_met_m5_p1, bit_met_m7_p1);
2023-10-03 22:13:31 +02:00
Raphael Defosseux
058eb64ed9 chore(ci): adapting to new python build framework.
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-03 22:13:31 +02:00
Quency Lin
8b1f42423b Refactor: 16QAM LLR 128 SIMDe assign 2023-10-03 22:13:31 +02:00
Quency Lin
e8bcd1882c Refactor: minor refactors
* [x] `register simde__m128i xmm0;` -\> `simde__m128i xmm0;`
* [x] `simde__m128i xmm0 = simde_mm_abs_epi16(rxF\[i\]);` declaration in for loop
* [x] `int nb_re64 = nb_re >> 1;` would be better as `int last2re = (nb_re >> 1) - 1;`
* [x] `simde_m_punpckhdq()` is better known as `simde_mm_unpackhi_pi32()`
2023-10-03 22:13:31 +02:00
Quency Lin
7d6a955b49 Fix: variable typo when referencing 2023-10-03 22:06:42 +02:00
Quency Lin
0c4993249f fix: CI failure due to SIMD misalignment 2023-10-03 22:03:40 +02:00
Quency Lin
797f8cec80 Refactor: Make qam64_qam64 more compact
Use local arrays and for-loop to replace duplicated statements.
For reference, here is the table of index v.s. old local variable
qam64 qam64
psi_r_, psi_i_, a_r_, a_i_, psi_a_, a_sq_, bit_met_
 0 p7_p7    16 p3_p7    32 m1_p7    48 m5_p7
 1 p7_p5    17 p3_p5    33 m1_p5    49 m5_p5
 2 p7_p3    18 p3_p3    34 m1_p3    50 m5_p3
 3 p7_p1    19 p3_p1    35 m1_p1    51 m5_p1
 4 p7_m1    20 p3_m1    36 m1_m1    52 m5_m1
 5 p7_m3    21 p3_m3    37 m1_m3    53 m5_m3
 6 p7_m5    22 p3_m5    38 m1_m5    54 m5_m5
 7 p7_m7    23 p3_m7    39 m1_m7    55 m5_m7
 8 p5_p7    24 p1_p7    40 m3_p7    56 m7_p7
 9 p5_p5    25 p1_p5    41 m3_p5    57 m7_p5
10 p5_p3    26 p1_p3    42 m3_p3    58 m7_p3
11 p5_p1    27 p1_p1    43 m3_p1    59 m7_p1
12 p5_m1    28 p1_m1    44 m3_m1    60 m7_m1
13 p5_m3    29 p1_m3    45 m3_m3    61 m7_m3
14 p5_m5    30 p1_m5    46 m3_m5    62 m7_m5
15 p5_m7    31 p1_m7    47 m3_m7    63 m7_m7

y0
 0 y0_p_7_7   16 y0_p_3_7
 1 y0_p_7_5   17 y0_p_3_5
 2 y0_p_7_3   18 y0_p_3_3
 3 y0_p_7_1   19 y0_p_3_1
 4 y0_m_7_1   20 y0_m_3_1
 5 y0_m_7_3   21 y0_m_3_3
 6 y0_m_7_5   22 y0_m_3_5
 7 y0_m_7_7   23 y0_m_3_7
 8 y0_p_5_7   24 y0_p_1_7
 9 y0_p_5_5   25 y0_p_1_5
10 y0_p_5_3   26 y0_p_1_3
11 y0_p_5_1   27 y0_p_1_1
12 y0_m_5_1   28 y0_m_1_1
13 y0_m_5_3   29 y0_m_1_3
14 y0_m_5_5   30 y0_m_1_5
15 y0_m_5_7   31 y0_m_1_7

rho_r
 0 pi_7_7   16 pi_3_7
 1 pi_7_5   17 pi_3_5
 2 pi_7_3   18 pi_3_3
 3 pi_7_1   19 pi_3_1
 4 mi_7_1   20 mi_3_1
 5 mi_7_3   21 mi_3_3
 6 mi_7_5   22 mi_3_5
 7 mi_7_7   23 mi_3_7
 8 pi_5_7   24 pi_1_7
 9 pi_5_5   25 pi_1_5
10 pi_5_3   26 pi_1_3
11 pi_5_1   27 pi_1_1
12 mi_5_1   28 mi_1_1
13 mi_5_3   29 mi_1_3
14 mi_5_5   30 mi_1_5
15 mi_5_7   31 mi_1_7
2023-10-03 22:03:40 +02:00
Quency Lin
465fc55e20 Refactor: Make qam16_qam16 more compact
Use local arrays and for-loop to replace duplicated statements.
For reference, here is the table of index v.s. old local variable
suffix.
 0 p1_p1            0 rpi_1_1
 1 p1_p3            1 rpi_1_3
 2 p3_p1            2 rpi_3_1
 3 p3_p3            3 rpi_3_3
 4 p1_m1            4 rmi_1_1
 5 p1_m3            5 rmi_1_3
 6 p3_m1            6 rmi_3_1
 7 p3_m3            7 rmi_3_3
 8 m1_p1
 9 m1_p3
10 m3_p1
11 m3_p3
12 m1_m1
13 m1_m3
14 m3_m1
15 m3_m3
2023-10-03 22:03:40 +02:00
Tsung-Yu Chan
526363dfad fix / add the static for max_epi16 2023-10-03 22:03:40 +02:00
Quency
e241edf287 feat / SISO: Use 128/256 SIMDe for ARM64/x86 2023-10-03 22:03:40 +02:00
Quency
b46479889d misc / Reorder inlines and add architecture guard 2023-10-03 21:32:55 +02:00
Quency
3ce1f6517d fix / warnings in nr_ulsch_llr_computation.c 2023-10-03 21:32:55 +02:00
Quency
7e9968451f feat / Turn #define into static inline functions 2023-10-03 21:32:55 +02:00
Quency
a7af689d50 feat / MIMO: Use 128/256 SIMDe for ARM64/x86 2023-10-03 21:32:55 +02:00
rmagueta
313419180f PUCCH power computation in a different way 2023-10-03 17:06:49 +01:00
Rúben Soares da Silva
c603bcc146 Add bwp_size and bwp_start fields to struct fapi_nr_dl_config_csirs_pdu_rel15_t, for usage in the UE
Fill bwp_size and bwp_start fields with values from BWP.
2023-10-03 13:36:15 +01:00
Robert Schmidt
0be397b238 Merge branch 'integration_2023_w39' into 'develop'
integration_2023_w39

See merge request oai/openairinterface5g!2363

* !2142 Fix packing/unpacking procedures for P7 messages
* !2253 Parallelize the Compensation, LLR, layer de-mapping, and unscrambling with symbol
* !2319 Fix NR UE init RA
* !2343 Reverse bits in UCI message when using polar encoding/decoding
* !2348 Resolve "SIGSEGV in nr-softmodem @ 100MHz on USRP"
* fix phytest-timing thresholds after merge of !2253
* !2320 Reduce ITTI log message volume when queues full
* !2360 nr rlc: minor: fix tests
* !2359 nr rlc am: bugfix: correct usage of tx_next
* !2356 Const return values
* !2357 Fix compile error when --build-e2 option included
* !2340 Resolve "gNB build on ubuntu 22.04 fails with dpkg error"
* !2362 Implement F1 bearer release and add telnet module
* !2324 Refactor gNB ULSCH decoding
* fix for SSB ARFCN in RRC MeasConfig
2023-10-03 12:20:45 +00:00
Robert Schmidt
f3910e7707 MeasConfig: give SSB ARFCN, not Point A
The UE should measure on the SSB, otherwise it does not see anything.
Hence, this commit fixes the meas-config to request the UE to measure
on the right frequency.
2023-10-03 11:19:09 +02:00
Robert Schmidt
280c987938 Merge remote-tracking branch 'origin/one-step-cleaning-gNB-ulsch-decoding' into integration_2023_w39 2023-10-03 09:35:18 +02:00
Robert Schmidt
2676e9a5bf Merge remote-tracking branch 'origin/bearer-release' into integration_2023_w39 2023-10-03 07:49:39 +02:00
Robert Schmidt
e197671103 Merge remote-tracking branch 'origin/683-gnb-build-on-ubuntu-22-04-fails-with-dpkg-error' into integration_2023_w39 2023-10-03 07:49:07 +02:00
Robert Schmidt
e1461d95f3 Merge remote-tracking branch 'origin/compile_fix_e2_agent' into integration_2023_w39 2023-10-02 17:34:47 +02:00
Robert Schmidt
40fbe8b0cd Merge remote-tracking branch 'origin/const_return_values' into integration_2023_w39 2023-10-02 17:34:41 +02:00
Robert Schmidt
73e8db7fb2 Merge remote-tracking branch 'origin/nr-rlc-fix-tx-next' into integration_2023_w39 2023-10-02 17:34:34 +02:00
Teodora
2eaac0351d Fix compile error when --build-e2 option included
- modify byte_array.h in order to avoid conflict for same file names
2023-10-02 15:40:36 +02:00
Robert Schmidt
c6e9992e81 Make LCID output nicer 2023-10-02 14:57:03 +02:00
Robert Schmidt
6a7d7e1844 Telnet module to manually/release DRBs of UE 2023-10-02 14:57:03 +02:00
Robert Schmidt
203df298a8 Provide possibility to release DRBs in RRC
- Currently no fields to store DRB release: need persist in ASN
  structure
- This will be revisited once there is E1 bearer release release
2023-10-02 14:57:03 +02:00
Robert Schmidt
3b936c9a50 Handle DRB release at MAC 2023-10-02 14:57:03 +02:00
Robert Schmidt
dc64ac3ab3 Rename nr_rlc_release_entity() for consistency
Most functions start with nr_rlc_*(), so do the same for release
2023-10-02 14:57:03 +02:00
Robert Schmidt
51862543e4 Rename to nr_pdcp_release_{d,s}rb() for consistency
Most functions start with nr_pdcp_*(), so do the same for release.
2023-10-02 14:57:03 +02:00
Robert Schmidt
67eadd4d53 Add newGtpuDeleteOneTunnel() to remove one GTP tunnel 2023-10-02 14:57:03 +02:00
Robert Schmidt
6a076c8490 F1 UE Context Modif Req: Implement DRB Release
- Add necessary fields to F1 message
- Add F1AP encoding/decoding of UE Ctxt Modif Req DRB Release
2023-10-02 14:57:03 +02:00
Robert Schmidt
03c8502e5e Merge remote-tracking branch 'origin/nr-rlc-fix-tests' into integration_2023_w39 2023-10-02 14:21:30 +02:00
Robert Schmidt
48d2f999d7 Merge remote-tracking branch 'origin/improve-itti-log' into integration_2023_w39 2023-10-02 14:21:15 +02:00
Robert Schmidt
41ea99c5d1 Adapt timing thresholds after merge of !2253 2023-10-02 14:18:24 +02:00
mir
b07e9f32c4 Remove return const values 2023-10-02 14:15:42 +02:00
Raphael Defosseux
f9ab9ca137 chore(ci): the failing test-case bullet will directly point to the HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-02 14:08:11 +02:00
Raphael Defosseux
06e63f7cca chore(ci): report in the GitLab MR comment the list of failing test stages
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-02 13:27:05 +02:00
Raphael Defosseux
c481aad0c8 chore(ci): all pipelines should have the MR ID and branch in the description
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-10-02 13:26:26 +02:00
Rúben Soares da Silva
602879539c Change section "Adapt the 'docker-compose' to your environment" to reflect the contents of docker-compose.yaml 2023-09-29 11:14:13 +01:00
Laurent THOMAS
d448b5e549 remove 'B' from persisted data, replace 3824 hardcoded by it's existing define 2023-09-29 10:23:54 +02:00
Robert Schmidt
728d8027de Merge remote-tracking branch 'origin/684-sigsegv-in-nr-softmodem-100mhz-on-usrp' into integration_2023_w39 2023-09-28 20:15:05 +02:00
Robert Schmidt
91c5bccc05 Merge remote-tracking branch 'origin/bugfix-uci-bit-extraction' into integration_2023_w39 2023-09-28 20:14:56 +02:00
Robert Schmidt
1bc08b652d Merge remote-tracking branch 'origin/NR_fix_init_RA_UE' into integration_2023_w39 2023-09-28 20:14:47 +02:00
francescomani
23c1ea021b fix for errors caught with sanitize in PUCCH2 2023-09-28 18:08:02 +02:00
Robert Schmidt
58d497e8bb Merge remote-tracking branch 'origin/pusch-llr-parallelize' into integration_2023_w39 2023-09-28 15:44:33 +02:00
Robert Schmidt
c4f3d6d7fe ue_context_modification_request(): check if UE exists 2023-09-28 14:59:06 +02:00
Cedric Roux
8aea710a6c nr rlc: minor: fix tests
delete() has changed its name
2023-09-28 10:52:55 +02:00
Cedric Roux
82e83bc6a6 nr rlc am: bugfix: correc usage of tx_next
tx_next was increased only when all segments of an SDU were sent to
lower layers. This may lead to a situation where the receive entity
transmits a control PDU that is rejected because it sets its ACK to
tx_next+1 (if all segments were not transmitted when the control PDU
is sent).

What is done now is to increase tx_next as soon as we send the first
segment of an SDU to lower layers. A control PDU received from the
receive entity is now accepted and processed.

Specifications (38.322 5.2.3.1.1) say to increase tx_next when the
RLC entity receives an SDU from upper layers. But for us, since the
buffering of SDUs is done in the RLC layer and since the buffer size
may be big, we may increase tx_next too much. The choice has been
made to increase it only when we transmit an SDU to lower layers.
We may change this logic if needed. (But it won't be simple.)
2023-09-28 10:40:11 +02:00
Rúben Soares da Silva
8e59ef77db Fix Packing and Unpacking procedures for FAPI P7 messages
Creation and usage of packing/unpacking functions for DCI payload

Update Proxy commit id for CI

Apply formatting on changed functions and fix pull/push return value checking
2023-09-28 09:45:30 +02:00
luis_pereira87
dbdfe06d1e Fix comment from 10% to 25% 2023-09-27 16:01:26 +01:00
luis_pereira87
cf36c6d893 Improvements to reduce ITTI log message volume when queues full 2023-09-27 15:59:08 +01:00
luis_pereira87
debd35a877 Apply function with better performance to reverse bits for polar encoder/decoder in PBCH 2023-09-27 08:30:06 +01:00
luis_pereira87
2360925e29 Reverse bits in UCI message when using polar encoder/decoder 2023-09-27 08:30:06 +01:00
luis_pereira87
58f6cb2af9 Implement function for reversing bits with better performance 2023-09-27 08:30:06 +01:00
Laurent THOMAS
4de550f040 fix bug for IE cause in pdu session accept 2023-09-25 15:26:51 +02:00
Laurent THOMAS
7cb8988372 one-step-cleaning-gNB-ulsch-decoding 2023-09-25 15:22:08 +02:00
Laurent THOMAS
d19302fb40 revert last change 2023-09-25 15:21:21 +02:00
Laurent THOMAS
91497ece94 Reduce ITTI log verbosity
Only print messages when queue grows by 10%, and add log if message
queue size shrinks
2023-09-25 15:14:21 +02:00
Laurent THOMAS
fab0a3de3e increase CI time to 'deploy' 2023-09-25 15:14:21 +02:00
Tsung Yu Chan
fc2432e93b chore / simplify the code and add the comment
- simplify the buffer alignment
  - add the comment for llr
  - clean unused variable
2023-09-25 12:48:28 +02:00
Tsung Yu Chan
0263b4a807 chore / remove the unused variable 2023-09-25 12:48:28 +02:00
Tsung Yu Chan
5231a3ab74 fix / fix the transfrom precoding error when qpsk
- avoid the nr_freq_equalization when qpsk
  - do the stop_meas when use the lepc offload
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
62ad185df9 fix / fix the length of ce estimation buffer 2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
f4beb879cc fix / unscrambling runtime error
- fix the unscrambling runtime error
  - avoid to many variables pass by function
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
9db99b2fd2 feat / add ptrs module 2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
39e7e09152 fix / set the output shift to correct value 2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
090ac4870d fix / init the variable
init the PUSCH symbols per thread to avoid for stucking
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
e54d4a98b6 fix / fix the log2_maxh for llr
- init the variable for simde_m256i avoid error in ubuntu
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
428af852a0 fix / clean the unused variable 2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
e51d8a9bc9 feat / compact the code
- merge the inner_rx
  - rewrite the ulsch channel compensation
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
04073b03e4 feat / add the MMSE and precoding
- avoid the finction duplication
  - add the transform predoding to the nr_rx_pusch_tp
  - add the MMSE for 2 layer which modulation greater than 16 qam
  - can support to 256 qam for 1 layer and 2 layer
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
1a42fa5326 feat / parallelize LLR by symbol 2023-09-25 12:48:27 +02:00
Robert Schmidt
9127258a54 Merge branch 'integration_2023_w38' into 'develop'
integration_2023_w38

See merge request oai/openairinterface5g!2354

* !2296 rfsimulator optimization
* !2344 NR UE DCI config small fixes
* !2342 Fix for PBCH decoding
* !2347 Handle NAS registration accept inside NAS downlink
* !2350 Tutorials: upgrade UHD version to 4.5.0.0
* !2351 NR UE HARQ fix
* !2304 Use F1 internally: F1 Setup
* !2306 nr_ulsim and nr_dlsim logging and help modifications
* !2305 NR UE RRC bearers management
* !2353 Fix documentation references to "telnetsrv"
2023-09-25 07:22:18 +00:00
Robert Schmidt
0ae48e3441 Merge remote-tracking branch 'ferrieux/ferrieux-develop-patch-45702' into integration_2023_w38 2023-09-24 17:46:06 +02:00
Robert Schmidt
f5cc51b4a8 Merge remote-tracking branch 'origin/NR_UE_RRC_manage_RLC_PDCP' into integration_2023_w38 2023-09-24 17:42:58 +02:00
Robert Schmidt
deb443dc2a Merge remote-tracking branch 'origin/interns_summer23' into integration_2023_w38 2023-09-24 17:42:34 +02:00
Robert Schmidt
d16c4c370e Merge remote-tracking branch 'origin/int-f1-setup' into integration_2023_w38 2023-09-24 17:41:48 +02:00
Robert Schmidt
00acfe3049 Merge remote-tracking branch 'origin/NR_UE_harq_fix' into integration_2023_w38 2023-09-22 12:32:44 +02:00
Robert Schmidt
0d1fdd7a11 Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2023_w38 2023-09-22 12:32:30 +02:00
Robert Schmidt
f3bd3ec449 Merge remote-tracking branch 'origin/add-registration-accept-inside-nas-downlink' into integration_2023_w38 2023-09-22 12:32:20 +02:00
Nada Bouknana
32e4d66c74 Improve nr_dlsim/nr_ulsim help message and CSV file logs
- Reorder help messages
- Add possibility to log results per SNR to CSV file with `-X` or `-Z`
- Reformat files

Co-authored-by: MoadMaroufi <maaroufi.moaad321@gmail.com>
Co-authored-by: francescomani <email@francescomani.it>
Co-authored-by: Robert Schmidt <robert.schmidt@openairinterface.org>
2023-09-22 12:03:52 +02:00
francescomani
cf1baafd75 fixing release according to review 2023-09-22 11:52:24 +02:00
francescomani
e7c626a79e release RB entities 2023-09-22 11:40:49 +02:00
francescomani
18892963a9 cleanup and fixes 2023-09-22 11:40:49 +02:00
francescomani
3d824e3958 handling release of RLC entity 2023-09-22 11:40:49 +02:00
francescomani
f8464b9e91 MAC configuration of logical channel identities 2023-09-22 11:40:49 +02:00
francescomani
0982bf2683 correctly setting SRB IDs when calling PDCP and code refactoring 2023-09-22 11:40:49 +02:00
francescomani
53348bd41d improving DRB management at RRC UE 2023-09-22 11:40:49 +02:00
francescomani
b0b57402f3 managing RLC bearer configuration at RRC UE 2023-09-22 11:40:49 +02:00
francescomani
d8cb2491bd improve handling of SRBs at RRC UE 2023-09-22 11:40:49 +02:00
Robert Schmidt
3ad4c8502a Merge remote-tracking branch 'origin/NR_UE_PBCH_fix' into integration_2023_w38 2023-09-22 08:38:41 +02:00
Robert Schmidt
484db764cf Merge remote-tracking branch 'origin/NR_UE_DCI_config_fixes' into integration_2023_w38 2023-09-22 08:38:29 +02:00
Robert Schmidt
d8c8c6b103 Merge remote-tracking branch 'origin/rfsimu-optim' into integration_2023_w38 2023-09-22 08:38:18 +02:00
Robert Schmidt
3f46a71157 SCTP assoc_id: Make it sctp_assoc_t, project-wide 2023-09-22 08:22:15 +02:00
Robert Schmidt
f5c90ead7e Free DU at CU on lost connection, store assoc ID
- store the assoc ID of a UE at the RRC
- if F1 receives an SCTP shutdown, it removes the endpoint
- F1 will also send an "F1 Lost Connection" message to the RRC
- it is not yet possible to reconnect a DU after it had already been
  connected at the CU, since the CU F1AP task will try to rebind GTP,
  which fails
2023-09-22 08:22:15 +02:00
Robert Schmidt
62fd56f904 DCCH free memory 2023-09-22 08:22:15 +02:00
Robert Schmidt
567ab39153 Free RRC UE data 2023-09-22 08:22:15 +02:00
Robert Schmidt
d94a4e545d Free scheduler UE data 2023-09-22 08:22:15 +02:00
Robert Schmidt
78290f9127 Fix memory leak in rrc_gNB_decode_dcch()
- Free the memory
- for NGAP NAS UL and NAS First request, allocate memory to avoid
  use-after-free errors
2023-09-22 08:22:15 +02:00
Robert Schmidt
6f8a222698 Free default MeasConfig 2023-09-22 08:22:15 +02:00
Robert Schmidt
1a09c6eeb0 Fix memory leak in nr_rrc_gNB_decode_ccch() 2023-09-22 08:22:15 +02:00
Robert Schmidt
885a029abc Fix memory leaks in do_NR_DLInformationTransfer() 2023-09-22 08:22:15 +02:00
Robert Schmidt
a4c75620ee Fix memory leaks in do_NR_RRCRelease() 2023-09-22 08:22:15 +02:00
Robert Schmidt
a3382f8faa Fix memory leaks in do_RRCSetup() 2023-09-22 08:22:15 +02:00
Robert Schmidt
1b171e798d Fix memory leaks in do_RRCReconfiguration() 2023-09-22 08:22:15 +02:00
Robert Schmidt
c325c6a232 Correctly free memory in do_NR_SA_UECapabilityEnquiry() 2023-09-22 08:22:15 +02:00
Robert Schmidt
c69e8b6895 Clean up do_RRCReconfiguration() 2023-09-22 08:22:15 +02:00
Robert Schmidt
3982cc2e23 Forward UE capabilities to DU and use for CellGroupConfig
- Forward UE capabilities in F1 handlers
- Store at MAC
- Update CellGroupConfig with UE Capabilities of the UE
2023-09-22 08:22:15 +02:00
Robert Schmidt
7e2487c294 Handle CellGroupConfig completely at MAC
- MAC creates CellGroupConfig and sends to RRC
- the RRC does not manually update the CellGroupConfig
- MAC handles the RRC processing timer

In this commit, any updates to the CellGroupConfig previously done at
the RRC don't work. In other words, MIMO etc don't work; this is
implemented in the next commit.

Note that the change to take out spCellConfig during reestablishment is
because after reestablishment, as per spec (38.331 5.3.7.2), the UE
should drop the spCellConfig, which we generate by default on the first
UE connection.

Furthermore, add a new variable apply_cellgroup to signal if, after RRC
processing timer, we wish to apply the CellGroup. In some situations,
e.g., Msg.4 ack, we do not want to apply the CellGroup, because for
instance in reestablishment, we await for a reconfiguration of cellgroup
that would be triggered too early.
2023-09-22 08:22:15 +02:00
Robert Schmidt
fb72b7b9e5 Add parameter verification to force simplified configuration files 2023-09-22 08:22:15 +02:00
Robert Schmidt
a3f76309b3 Clean up CU&DU config files according to F1 Setup changes 2023-09-22 08:22:15 +02:00
Robert Schmidt
325ac4f8e2 Restructure config read: first PLMN info, then SIB1, then F1 Setup request
In NSA case: do not send SIB1
2023-09-22 08:22:15 +02:00
Robert Schmidt
18db5f68ac Put PLMN/TAC/CellID into SIB1, correct CellIdentity encoding 2023-09-22 08:22:15 +02:00
Robert Schmidt
c930563929 Move radio configuration parameters to MAC, SIB1 not initialized!
!SIB1 is not correctly filled! This commit does not work with COTS UEs!
The next commit fixes this.

- Move radio config (e.g., minRXTXTIME, SIB1 TDA, do_SRS, etc) down to
  MAC.
- Some parameters in MAC are redundant: delete them.
- Remove call to nr_mac_config_scc() from RRC and simulators, the MAC
  initialization routine calls it implicitly
2023-09-22 08:22:15 +02:00
Robert Schmidt
67d5f56a3c Read F1 Setup Req at MAC initialization
Previously, filling of F1 Setup Request depended on reading the RRC;
hence, for timing reasons, we only initialized and sent the F1 Setup
Request once the MAC and RRC are ready.

After moving SCC, SCD, MIB, and SIB1 to MAC, the MAC does not depend on
an RRC being present anymore, and hence, the F1 Setup Request does
neither. In this commit, we read the F1 Setup Request after initializing
the MAC.
2023-09-22 08:22:15 +02:00
Robert Schmidt
a62857a74d Compute SSB ARFCN to repair reestablishment 2023-09-22 08:22:15 +02:00
Robert Schmidt
eaf28414ca kssb < 16 or we cannot do reestablishment: add assert in DU 2023-09-22 08:22:15 +02:00
Robert Schmidt
a44a54f3d3 Move SIB1 to MAC
The SystemInformationBlock 1 is handled at the DU and sent to the CU in
the F1 Setup Request. Hence, move it down to the MAC.
2023-09-22 08:22:15 +02:00
Robert Schmidt
5d0ae84ad2 Move MIB to MAC
The MasterInformationBlock is handled at the DU and sent to the CU in
the F1 Setup Response. Hence, move it down to the MAC. Furthermore:

- Change type because MIB_PDU_t is 4G type
- Simplify schedule_nr_mib()
2023-09-22 08:22:15 +02:00
Robert Schmidt
6142d1d74c RRC sctp_in/out_streams not used 2023-09-22 08:22:15 +02:00
Robert Schmidt
0f897b4007 Move ServingCellConfigDedicated to MAC
As with the ServingCellConfigCommon, the ServingCellConfigDedicated is a
radio-related structure to be handled at the DU.
2023-09-22 08:22:15 +02:00
Robert Schmidt
2b29531591 Move ServingCellConfigCommon to MAC
Note: the reestablishment is broken, and a later commit fixes it.

The ServingCellConfigCommon is an inherently radio-related
configuration. As such, it should be handled by the DU, not the CU.
Therefore, move it "down" to the MAC.
2023-09-22 08:22:15 +02:00
Robert Schmidt
f709ee815b Move physCellId to MAC
The PCI is given to the CU from the DU in the F1 Setup Request message.
It is a part of the DU, so move it "down".
2023-09-22 08:22:15 +02:00
Robert Schmidt
b93368f46d Implement Setup Request/Response for F1AP 2023-09-22 08:22:14 +02:00
Robert Schmidt
a23a702acb Setup response handler decoder no SI 2023-09-22 08:18:28 +02:00
Robert Schmidt
f670cc6749 Bug fix F1 Setup Response encoder: check if SIs present 2023-09-22 08:18:28 +02:00
Robert Schmidt
89f3ea3dd0 Wait for F1 Setup Response before unblocking cell
The F1 Setup Response contains the cell(s) to activate. Hence, prevent
the radio from starting by waiting for the F1 Setup Response before
continuing.
2023-09-22 08:18:28 +02:00
Robert Schmidt
aaae82d7b4 Implement F1 Setup Request/Response to be used internally
- send F1 Setup using callback
- store f1 setup req locally for reference
- check F1 Setup Req against RRC data structures:
  * if matches: send F1 Setup Response using callback
  * if not matching: send F1 Setup Failure using callback
- don't send CU config update by default, we don't need this
- if the Setup Response does not contain a cell, don't activate. It is
  possible the CU sends a gNB-CU configuration update, which will
  initialize the structures
2023-09-22 08:18:28 +02:00
Alexandre Ferrieux
08cfd560f2 Fix references to "telnet", it should be "telnetsrv". Otherwise build_oai fails with a very cryptic error message. 2023-09-21 21:09:20 +00:00
francescomani
591697642b fix numerology in computing feedback for PUCCH 2023-09-21 19:04:15 +02:00
Laurent THOMAS
4219839e47 add-registration-accept-inside-nas-downlink as it is a valid 3GPP message and a commercial gNB uses it 2023-09-21 13:30:10 +02:00
Robert Schmidt
925c2d0f1e Remove NRRRC_CONFIGURATION_REQ and initalize RRC properly
Use a struct to initialize the RRC at the beginning, and remove the
NRRRC_CONFIGURATION_REQ. This message is not necessary; the RRC/CU
should be initialized from the F1 Setup Request, coming from the DU.
2023-09-21 12:49:20 +02:00
Robert Schmidt
84d8f6c272 Add stubs for F1 Setup Request/Response/Failure messages 2023-09-21 12:49:20 +02:00
Robert Schmidt
5315d69692 Read SCD in separate function to simplify code 2023-09-21 12:49:20 +02:00
Robert Schmidt
24c61fe1f9 Completely read ServingCellConfigCommon when reading conf
Before this commit, we did not read the ServingCellConfigCommon (SCC)
completely at start; rather, we read most (but not all) of it, then also
the minRXTXTIME, and at RRC initialization in
openair_rrc_gNB_configuration(), we filled the
pusch-TimeDomainAllocationList into the SCC, depending on the
minRXTXTIME.

The reason might be that we read part of the SCC, use that to fill the
NRRRC_CONFIGURATION_REQ, read also the minRXTXTIME (part of the RRC
config), and then we have all we need to "finalize the SCC". Since we
move everything to the MAC, I avoid too much upfront code changes,
hardcode the minRXTXTIME (and check with an assert), and undo this in a
later commit when the "RRC config" relevant for radio parameters, e.g.,
minRXTXTIME, is moved to MAC.

I verified the equality of the SCC before (at the end
openair_rrc_gNB_configuration()) and after (at the end of
get_scc_config()) this commit manually using a printf, assuming that
after RRC initialization, we didn't do any further modifications to the
SCC.  But in fact, I cannot know that we don't do it...
2023-09-21 12:49:20 +02:00
Robert Schmidt
ddd37ca145 Read SCC in separate function, and fill FDD values
- Simplify code by reading the SCC in a separate function
- Fill the F1 Setup Request message correctly in case of FDD, from SCC
2023-09-21 12:49:20 +02:00
Robert Schmidt
0a1b728051 F1 Setup Response: remove unused struct fields 2023-09-21 12:49:20 +02:00
Robert Schmidt
ca374e86eb Refactor F1 Setup Req: sys_info is specific to each cell 2023-09-21 12:49:20 +02:00
Robert Schmidt
d21aa79fe0 Refactor F1 Setup Req: MeasurementTimingInformation is part of cell info 2023-09-21 12:49:20 +02:00
Robert Schmidt
85d8916476 Refactor F1 Setup Req: Move radio info into cell 2023-09-21 12:49:20 +02:00
Robert Schmidt
7456cf945d Refactor F1 Setup Req: Reorganize cellIDs_t and rename to f1ap_served_cell_info_t 2023-09-21 12:49:20 +02:00
Robert Schmidt
3dbcadf244 Refactor F1 Setup Req: TAC is optional 2023-09-21 12:49:20 +02:00
Robert Schmidt
d8276eed3e F1AP: harmonize f1ap_plmn_t type in all messages 2023-09-21 12:49:20 +02:00
Robert Schmidt
d6e99a8218 gnb_config.c: Simplify F1 Setup reading 2023-09-21 12:49:20 +02:00
Robert Schmidt
fd3ecb29b0 Remove unused stuff in F1 module 2023-09-21 12:49:20 +02:00
Robert Schmidt
4badf66973 Add mutexes to CreateF1Inst(), only save data if provided 2023-09-21 12:49:20 +02:00
Robert Schmidt
a241922614 DU: Retry on unsuccessful SCTP connection attempt 2023-09-21 12:49:20 +02:00
Robert Schmidt
632ca15752 Separate F1 Setup Request and network configuration
This branch series implements the usage of the F1 Setup Request
internally at the gNB, even if CU and DU run in the same process. Until
now, the F1 Setup Request contained struct fields to pass IP
configuration to the F1AP module; this information is not necessary in
monolithic, nor should it be relevant when passing the information in
F1 Setup Request.

Therefore, this commit moves all IP connection-related information out
of the F1 Setup Request and into a separate structure instead.  In order
to give the F1AP module the necessary connection information, the
DU_REGISTER_REQ message is introduced that combines the F1 Setup Request
and IP configuration, such that the F1AP module can setup the SCTP
connection and then send the F1 Setup Request message.

In a later commit, there will be a callback for F1 Setup Request at MAC
to simply register the DU at the CU. The monolithic callback will simply
forward the F1 Setup Request The F1AP callback will look up the IP
configuration and create DU_REGISTER_REQ message containing IP
configuration and F1 Setup Request, which is then handled by the F1AP
module. To this end, a separate function in gnb_config.c allows to read
IP information from configuration.
2023-09-21 12:49:20 +02:00
Robert Schmidt
4f7ae5dd2a No double instance book keeping 2023-09-21 12:49:20 +02:00
Robert Schmidt
57876fc13f F1 setup request: message encoder takes struct
Instead of storing the F1 Setup Request implicitly in F1 context, we
provide the F1 Setup Request message to be encoded explicitly to the
encoding function.
2023-09-21 12:49:20 +02:00
Robert Schmidt
45a678cb60 Harmonize call to F1AP_get_next_transaction_identifier()
We ever only have one instance, so hard code that.
2023-09-21 12:49:20 +02:00
Robert Schmidt
96e300dabd F1AP: remove default stream ID, we never use anything else but 0 2023-09-21 12:49:20 +02:00
Robert Schmidt
6e08c4c0bd Remove unused function nr_read_config_and_init() 2023-09-21 12:49:20 +02:00
Robert Schmidt
515b71f995 Remove useless type f1ap_cu_setup_req_t 2023-09-21 12:49:20 +02:00
Robert Schmidt
4be567bb77 Remove unneeded eth_params_n from eNB/UE MAC 2023-09-21 12:49:20 +02:00
Robert Schmidt
e7b971a4af RRC: remove useless/unused variable 2023-09-21 12:49:20 +02:00
Robert Schmidt
3b8c1cd59e Fix memory leak in config_srs() 2023-09-21 12:49:20 +02:00
Robert Schmidt
15c2af2384 get_initial_SpCellConfig(): don't reuse memory
In the case of MIMO, we reused memory to point to the same PUCCH
resource. This is problematic, since ASN_STRUCT_FREE() would try to free
this resource twice.

This commit changes to create distinct memory for the PUCCH resources,
while putting the same configuration to still use the same PUCCH
resource from a radio configuration point of view.
2023-09-21 12:49:20 +02:00
Robert Schmidt
a460794792 Delete dead code 2023-09-21 12:49:20 +02:00
luis_pereira87
8571416ac8 Tutorials: upgrade UHD version to 4.5.0.0 2023-09-21 09:43:52 +01:00
rmagueta
e5804c48d6 Add UE capability config file for 4 ports 2023-09-20 17:19:29 +01:00
rmagueta
6787689537 Compute RI based on SRS up to 4 2023-09-20 17:19:29 +01:00
rmagueta
2fcd538082 SRS processing time measurement 2023-09-20 17:19:29 +01:00
ajit
a6baa6d6f1 Changed max ofdm symbol size to 8192 for 100MHzi USRP 2023-09-20 05:50:08 +05:30
francescomani
f820d74605 fix for scrambling dci and renaming ss_type field 2023-09-19 12:51:42 +02:00
Raphael Defosseux
afc75c5db9 Merge branch 'integration_2023_w37' into 'develop'
integration_2023_w37

* !1909 Rework for aarch64 support after SIMDe integration
* !1995 Fix packing/unpacking for nFAPI P5 messages
* !2228 TDLA, TDLB and TDLC channel models in DLSIM
* !2327 Bugfixes and some rewrite for nr rlc am control PDU reception
* !2331 NR UE HARQ improvements to handle more than 4 per PUCCH
* !2286 Service Models integration - KPM v03.00, GTP, MAC, RLC and PDCP
* !2336 fix(ci): HTML reporting for Ubuntu build fix
* !2338 nr-softmodem: fixed invalid length calculation, leading to segfault
* !2326 Tutorials: Update NR SA Tutorials to be compliant with OAI CN5G pre-2.0 release
* !2334 NR UE DL channel estimation fix
* !2325 Compute ULSCH TB CRC
2023-09-19 07:20:10 +00:00
Raphael Defosseux
29b4e64dfc fix(ci): properly removing docker volumes
Laurent noticed it on one of his MR and confirmed with him:
  -- Volumes have be created the 1st time they ran on avra on July 7th
  -- Volumes were created with not only the raw files but also the nr-softmodem executable

Solution: two-fold:
  1. using the `docker-compose down -v` syntax, the volume is deleted automatically
  2. I added redundancy with the custom command to remove the used volume

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-18 15:09:30 +02:00
Bruno Mongazon-Cazavet
eac8f3b5d6 Limit some optimization to 1 tx and 1 ue 2023-09-18 13:49:48 +02:00
francescomani
38c5faba9b fix for PBCH decoding with cell ID != 0 2023-09-17 16:37:48 +02:00
ajit
20c23475a2 libuhd removal made generic in build helper 2023-09-15 18:00:27 +05:30
ajit
4ef9e17156 updating libuhd version in build_helper script 2023-09-15 17:05:15 +05:30
Raphael Defosseux
0f25438316 Merge remote-tracking branch 'origin/ULSCH-TB-CRC' into integration_2023_w37 2023-09-15 10:53:12 +02:00
Raphael Defosseux
cc57fea7b3 Merge remote-tracking branch 'origin/NR_UE_DL_channel_estimation_fix' into integration_2023_w37 2023-09-15 10:52:52 +02:00
Raphael Defosseux
7241520072 Merge remote-tracking branch 'origin/dreibh-trx_usrp_read-memory-access-fix' into integration_2023_w37 2023-09-15 10:52:37 +02:00
Raphael Defosseux
6582db99c6 Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2023_w37 2023-09-15 10:52:18 +02:00
luis_pereira87
0994d79585 Tutorials: Update NR SA Tutorials to be compliant with OAI CN5G pre-2.0 release 2023-09-15 07:35:02 +01:00
Robert Schmidt
1987f3259c Merge remote-tracking branch 'origin/raphael/ci-fix-ubuntu-build-log-scheme' into integration_2023_w37 2023-09-14 17:59:19 +02:00
Robert Schmidt
4c83925fc4 Merge remote-tracking branch 'origin/service-models-integration' into integration_2023_w37 2023-09-14 17:59:12 +02:00
Robert Schmidt
f66d995df7 Merge remote-tracking branch 'origin/NR_UE_harq_improvements' into integration_2023_w37 2023-09-14 17:59:04 +02:00
Raphael Defosseux
bd0457e40e doc(ci): restriction on branch naming no longer appply
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-14 15:34:59 +02:00
Teodora
fec1396fb0 Fix CU as E2 node
- when CU is used, UE ID data is filled as GNB_UE_ID_E2SM with
  CU UE ID value included
2023-09-14 12:59:08 +02:00
Robert Schmidt
cf1a0b1cd7 Merge remote-tracking branch 'origin/bugfix-nr-rlc-control-pdu' into integration_2023_w37 2023-09-14 12:31:10 +02:00
Robert Schmidt
0fe4605143 Merge remote-tracking branch 'origin/develop-DL-chModel' into integration_2023_w37 2023-09-14 12:31:03 +02:00
Robert Schmidt
e272dd89e1 Merge remote-tracking branch 'origin/Fix_FAPI_PARAM_and_CONFIG_messages' into integration_2023_w37 2023-09-14 12:30:53 +02:00
Raphael Defosseux
24efc76de0 chore(ci): removing verbose-ci useless option
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-14 12:15:44 +02:00
Raphael Defosseux
ec6e32f3e5 fix(ci): allowing the branch name to be in contributorName/branchName format
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-14 12:11:28 +02:00
Raphael Defosseux
eedcf0708f fix(ci): docker_log_split is useless with current build scheme. Just copying all txt files from ran-build image
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-14 11:35:03 +02:00
Raphael Defosseux
e0b7ebd375 chore(ci): remove the useless verbose-ci option
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-14 09:38:28 +02:00
Teodora
6c73828cd5 Add option to collect data from CU and DU for KPM 2023-09-14 09:38:27 +02:00
Teodora Vladic
505a00c3b3 Update README file in E2AP folder 2023-09-14 09:38:27 +02:00
Robert Schmidt
8db0e44d4c Log which sysctl variables are changed in RFsim 2023-09-14 09:26:35 +02:00
Rúben Soares da Silva
09d7487dc1 Fix packing/unpacking for (n)FAPI PARAM and CONFIG.request/response
- Fix 4G and 5G discrepancy in TLV padding requirements: 4G does not
  need padding, whereas 5G needs, so make separate set of function for
  padding for NR
- Fix packing/unpacking for (n)FAPI PARAM and CONFIG.request/response
  messages
- Handle message padding to next 32-bit boundary, as per SCF
  specification in packing and unpacking functions
- Account for message header size upon receiving message in PNF and VNF
2023-09-14 08:56:19 +02:00
Raphael Defosseux
59ad094271 chore(ci): adding support to cross-compile in python framework
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-13 17:20:08 +02:00
Raphael Defosseux
c6fab23af7 chore(ci): adding 2 dockerfiles to test ARM64 cross-compilation
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-13 17:20:08 +02:00
Tsung-Yu Chan
1f2098fcce feat / work with cross-compile
can compile the target ldpc_generators and generate_T with cross-compiler
2023-09-13 17:20:08 +02:00
Tsung-Yu Chan
73bc34b278 fix / compile on ARM 2023-09-13 17:20:08 +02:00
Laurent THOMAS
5c7c51089b remove useless macro, the SIMD instruction is used in other places 2023-09-13 17:20:08 +02:00
Quency Lin
cb562c2769 Remove partial 256 SIMDe dependence for ARM 2023-09-13 17:20:08 +02:00
Raymond Knopp
47e150fbb8 fixes radix-2 butterfly for NEON, dft size 512 works properly now 2023-09-13 17:20:08 +02:00
Laurent THOMAS
fa73c14df6 Reintroduce unscrambling C implemantation, use SIMDE for Intel and ARM 2023-09-13 17:20:08 +02:00
Laurent THOMAS
a62641f9f3 remove race condition on norm128 global 2023-09-13 17:20:04 +02:00
Raymond Knopp
a7bc282302 First-level of support for new aarch64 machines
Testing on Neoverse N1 (Ampere 3GHz). Tested only on a subset of phy-simulators.

- Changes:
- use SIMDE consistently
- adaptations of LDPC decoder generator for ARMv8 performance
- SIMDe modifications of Intel CRC to allow for aarch64 build.
  optimizations for 128-bit to improve performance of LDPC encode/decode
  on aarch64 (Neoverse 1)
- added BG2 files for 128-bit ldpc encoder (aarch64)
- testing on Xeon
- testing on x86
- minor changes to build/run on x86
- change in crc.h after returning to aarch64
- removed some warning in ldpc decoder generator for x86_64
- char
- Delete irrelevant constants
- Correctly declare variables
- Define stdbool for all architectures
- Remove definition of _MM_SHUFFLE and use SIMDE_MM_SHUFFLE
- Remove commented code
- Fix CMakeLists.txt
- Include SIMDE avx2 functions in tools_defs.h
2023-09-13 17:19:20 +02:00
Bruno Mongazon-Cazavet
21790f9c4f Optimize RFsimulator to improve E2E performance
This improves the RFsimulator code to reach a ~40% E2E throughput
improvement (depending on the machines).

Changes:
- reduce ring buffer size
- code cleanup for readability
- set TCP kernel parameters
2023-09-13 16:36:17 +02:00
Thomas Dreibholz
445a51f5c1 Bugfix: Fix for segfault, due to invalid pointer. 2023-09-13 15:49:51 +02:00
Robert Schmidt
e70213cdf7 CI: declare variable before use 2023-09-13 15:12:16 +02:00
Robert Schmidt
f43090fa01 CI: Wait for Attachment of UEs in L2sim 4G/5G tests 2023-09-13 15:12:16 +02:00
francescomani
07850586f5 fix for dl channel estimation 2023-09-13 08:34:22 +02:00
Robert Schmidt
79fd37b489 Merge branch 'integration_2023_w36' into 'develop'
integration_2023_w36

See merge request oai/openairinterface5g!2333

* !2185 DL delay compensation
* !2255 Add condition to call or not the function nr_mac_prepare_ra_ue()
* !2301 NR UE handling MCS for retransmissions
* !2308 Heap Allocation issue: Removed Dynamic allocation
* !2317 bugfix: don't force an UE to support en-dc, respect its capabilities
* !2318 Set security for all active SRBs after NR_RRCReestablishment
* !2321 Use appropriate CMake flags to link to UHD
* !2332 T tracer: add a trace for NR SIB1
* !2322 Remove small races in ue
* !2323 NR UE fix DCI candidates
* !2328 Add SRB1 and SRB2 received bytes to statistics
2023-09-12 11:37:40 +00:00
Robert Schmidt
f13830cf29 Include log module in ASN.1 config only if necessary 2023-09-12 08:57:16 +02:00
Robert Schmidt
59d1c14dad Merge remote-tracking branch 'origin/Stats_add_srb1_srb2_rx_bytes' into integration_2023_w36 2023-09-11 14:14:03 +02:00
Robert Schmidt
2a94583e29 Merge remote-tracking branch 'origin/NR_fix_UE_max_nb_candidates' into integration_2023_w36 2023-09-11 14:13:51 +02:00
Robert Schmidt
48dd9bb31f Merge remote-tracking branch 'origin/remove-small-races-in-ue' into integration_2023_w36 2023-09-11 14:10:26 +02:00
Robert Schmidt
52abf72c29 Merge remote-tracking branch 'origin/t-trace-nr-sib1' into integration_2023_w36 2023-09-11 09:06:30 +02:00
Robert Schmidt
378516bd4f Merge remote-tracking branch 'origin/wan-sdr_dev' into integration_2023_w36 2023-09-11 09:06:19 +02:00
francescomani
05969631b6 UL HARQ improvements to handle more than 4 per PUCCH 2023-09-11 08:25:59 +02:00
Robert Schmidt
a1c15da786 Merge remote-tracking branch 'origin/SRBs_set_security_after_reestablishment' into integration_2023_w36 2023-09-08 17:25:23 +02:00
Robert Schmidt
f5c502670a Merge remote-tracking branch 'origin/bugfix-nsa-endc' into integration_2023_w36 2023-09-08 17:25:14 +02:00
Robert Schmidt
60f99e510e Merge remote-tracking branch 'origin/HeapAllocIssue' into integration_2023_w36 2023-09-08 17:25:04 +02:00
Robert Schmidt
bb7174997b Merge remote-tracking branch 'origin/NR_UE_MCS_improvements' into integration_2023_w36 2023-09-08 15:09:19 +02:00
Robert Schmidt
0226dc76cb Merge remote-tracking branch 'origin/develop-prepare-ra' into integration_2023_w36 2023-09-08 15:08:55 +02:00
francescomani
e42e1d8065 limiting the number of DCI candidates at UE according to available CCEs 2023-09-08 14:46:00 +02:00
Cedric Roux
9cfa0f239f T tracer: add a trace for NR SIB1 2023-09-07 22:19:50 +02:00
rmagueta
bc295b3ba5 Check ULSCH transport block CRC 2023-09-07 08:31:22 +01:00
luis_pereira87
0ace73bba9 Add SRB1 and SRB2 received bytes to statistics 2023-09-06 06:57:21 +01:00
Cedric Roux
282a20578f nr rlc test: minor: change the logging 2023-09-05 21:55:15 +02:00
Cedric Roux
1272847fea nr rlc am: rewrite process_control_pdu()
A first pass checks that the control PDU is valid.
A second pass processes it for real.
2023-09-05 21:52:30 +02:00
rmagueta
f991dc9ebc Apply channel models TDLA, TDLB and TDLC in DLSIM according to TS 138.101 2023-09-04 18:53:22 +01:00
rmagueta
28438ab5c4 Add ptrs_bit_map input in add_noise() function 2023-09-04 18:37:01 +01:00
rmagueta
a629feec29 Remove duplicated nr_est_delay_pdsch()/nr_est_timing_advance_pusch() functions and just create the function nr_est_delay() 2023-09-04 17:09:35 +01:00
rmagueta
9f7b159039 Remove duplicated function freq2time() 2023-09-04 17:09:35 +01:00
rmagueta
39919152cb Implementation of delay compensation in NFAPI_NR_DMRS_TYPE2_linear_interp() at UE 2023-09-04 17:09:35 +01:00
rmagueta
087f9a0bc2 Implementation of delay estimation in NFAPI_NR_DMRS_TYPE2_linear_interp() at UE 2023-09-04 17:09:35 +01:00
rmagueta
e0ab96eedc Implementation of delay compensation in NFAPI_NR_DMRS_TYPE1_linear_interp() at UE 2023-09-04 17:09:35 +01:00
rmagueta
7611fe671f Implementation of delay estimation in NFAPI_NR_DMRS_TYPE1_linear_interp() at UE 2023-09-04 17:09:35 +01:00
rmagueta
72aae2553a Introduce delay in terms of number of samples in DLSIM 2023-09-04 17:09:35 +01:00
Cedric Roux
f7fe3b448f nr rlc am: harmonize comparisons of SNs in process_control_pdu()
Let's compare SNs in a similar way as done in previous commit, to ease
readability.
2023-09-04 12:26:17 +02:00
Cedric Roux
43f5eecd19 nr rlc am: bugfix: use sn_compare_tx() to compare SNs
The use of < is not correct. SNs are cyclic. We must use sn_compare_tx().
2023-09-04 12:13:46 +02:00
Cedric Roux
e3dbc97723 nr rlc am: prepare variable to be reused 2023-09-04 11:09:06 +02:00
Cedric Roux
b4fea523b9 nr rlc am: bugfix: discard a control PDU if ack-sn is invalid
It is possible to receive an ACK that is not expected, in which
case the whole control PDU has to be discarded.
2023-09-04 11:00:23 +02:00
Raphael Defosseux
67a3184bb3 fix(ci): in case of T1 board defect, no statistics, exit nicely
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-01 14:30:04 +02:00
Raphael Defosseux
4c9706a950 chore(ci): little syntax diffs post-upgrade on obelix
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-31 16:59:16 +02:00
maaroufi
e273f80fa8 Apply changes requested by the maintainer 2023-08-31 14:25:09 +02:00
Laurent THOMAS
1b69fc6c5d fix incorrect usage of time_meas() that is not thread safe API 2023-08-30 15:27:33 +02:00
Laurent THOMAS
e74b9a5c29 remove a frame param useless attribute 2023-08-30 15:27:33 +02:00
Robert Schmidt
97b0844031 Merge branch 'integration_2023_w34' into 'develop'
integration_2023_w34

See merge request oai/openairinterface5g!2316

* !2283 going back to sync mode when cell is barred in MIB
* !2290 fix gtp delete. we should not delete all bearer in case of dedicaded bearer release
* !2299 fix-mem-overflow_64qam
* !2288 NR UE avoid crashes upon renewal of SIB1
* !2279 web server enhancement and doc link fix
* !2302 Tutorials: update links for Open Cells SIM Card programming tool and Ubuntu 22.04 LTS
* !2303 NR gNB limit on PUCCH bits to be scheduled
* !2207 Use F1 internally: UE Context Modification Required
* !2315 Fix LCID to RB association, allow more than 8 LCIDs in the UE
2023-08-30 06:13:45 +00:00
Robert Schmidt
f08998af2c Merge remote-tracking branch 'origin/fix-lcid2rb-index-error-and-missing-lcid-greater-than-8' into integration_2023_w34 2023-08-29 14:31:54 +02:00
Laurent THOMAS
f80896f93f Fix LCID to RB association, allow more than 8 LCIDs in the UE 2023-08-29 11:05:40 +02:00
Robert Schmidt
f0923f68fb Merge remote-tracking branch 'origin/int-f1-ue-ctxt-modif-req' into integration_2023_w34 2023-08-29 10:23:34 +02:00
wan-sdr
1936bc06d8 Use UHD_INCLUDE_DIRS and UHD_LIBRARIES to link to UHD. This way works when UHD is installed to /usr/local or a custom prefix
Signed-off-by: wan-sdr <11093-wan-sdr@users.noreply.gitlab.eurecom.fr>
2023-08-28 12:33:12 -04:00
Robert Schmidt
1bb77d65a6 Merge remote-tracking branch 'origin/NR_gNB_PUCCH_bits_code_rate' into integration_2023_w34 2023-08-27 17:54:00 +02:00
francescomani
b8c1129dfe Init RA at the right time at UE 2023-08-25 11:27:42 +02:00
luis_pereira87
2509733678 Set security for all active SRBs after NR_RRCReestablishment 2023-08-25 08:03:08 +01:00
rmagueta
0fb0203c1c Add condition to call or not the function nr_mac_prepare_ra_ue() 2023-08-24 15:59:36 +01:00
Cedric Roux
9f0ec74cf4 bugfix: don't force an UE to support en-dc, respect its capabilities 2023-08-24 16:53:35 +02:00
Robert Schmidt
04eebcbdc3 Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2023_w34 2023-08-24 16:51:34 +02:00
Robert Schmidt
998b58da04 Merge remote-tracking branch 'origin/fix_websrvdoc' into integration_2023_w34 2023-08-24 16:51:21 +02:00
Robert Schmidt
86801cc136 Merge remote-tracking branch 'origin/NR_UE_RRC_SIBs_renewal' into integration_2023_w34 2023-08-24 16:51:09 +02:00
Robert Schmidt
014e02904a Merge remote-tracking branch 'origin/fix-mem-overflow_64qam' into integration_2023_w34 2023-08-24 16:46:48 +02:00
Robert Schmidt
9f7e553e3e Merge remote-tracking branch 'origin/fix-gtp-delete' into integration_2023_w34 2023-08-24 16:46:42 +02:00
Robert Schmidt
21f7128209 Merge remote-tracking branch 'origin/NR_UE_cell_barred' into integration_2023_w34 2023-08-24 16:46:33 +02:00
frtabu
f2849868e8 web server enhancement and doc link fix 2023-08-24 16:02:29 +02:00
francescomani
517d351430 adding a test on max number of bits to be scheduled on pucch according to coderate 2023-08-23 17:46:18 +02:00
francescomani
24dd439aec going back to sync mode when cell is barred 2023-08-23 17:45:59 +02:00
Teodora Vladic
c1864711cd Remove unnecessary include 2023-08-23 17:15:48 +02:00
Teodora Vladic
011a5a3b56 Add O-RAN KPM E2 Service Model
- Add O-RAN KPM SM with DRB.RlcSduDelayDl, DRB.UEThpDl and DRB.UEThpUl measurements
- Add L1M.PHR1.BinX KPM meas
- Add comments for all KPM meas; deleted few outputs (but added in xApp)
- Add DRB.PdcpSduVolumeDL and DRB.PdcpSduVolumeUL KPM meas
- Delete unnecessary rnd functions in ran_func_kpm.c -> path set to
  flexric submodule
2023-08-23 17:15:48 +02:00
Chieh-Chun Chen
e8944c95aa Add Custom FlexRIC E2 Service Models
Co-authored-by: Teodora Vladic <teodora.vladic@openairinterface.org>
2023-08-23 17:15:48 +02:00
Chieh-Chun Chen
76aa112cec Add more RLC stats and correct RLC stats
- Add GOL-delay and AVG-soujour
- Correct the types of/measurement the tx/rxsdu_bytes and tx/rxsdu_occ_bytes
- Update txsdu_avg_time_to_tx value only when measurements activated

Co-authored-by: Teodora Vladic <teodora.vladic@openairinterface.org>
2023-08-23 17:15:48 +02:00
Chieh-Chun Chen
8a4df37e83 nr rlc: rename delete() to delete_entity() 2023-08-23 17:15:48 +02:00
Teodora Vladic
2fef830d42 Update FlexRIC submodule 2023-08-23 17:15:48 +02:00
Laurent THOMAS
4c3d8e7581 fix-mem-overflow_64qam
fix the 64QAM modulator case, that process 192 bits per iteration, then 24 bits per iteration of the tail bits, then added the last two symboles processing (no odd number of symbols case)
2023-08-23 11:14:42 +02:00
luis_pereira87
452615f9d0 Tutorials: update links for Open Cells SIM Card programming tool and Ubuntu 22.04 LTS 2023-08-23 08:53:48 +01:00
maaroufi
1b2a64fe0a Removed white spaces 2023-08-22 12:10:13 +02:00
maaroufi
01c1eba4ff Modified some files to supress warnings 2023-08-22 12:10:13 +02:00
Moaad Maaroufi
ea9bc93f74 Added some changes that I forgot to push in the first commit 2023-08-22 12:10:13 +02:00
maaroufi
87d0eddc2c Modified the code to solve the heap Allocation issue: Removed Dynamic allocation based on the FAPI specifications 2023-08-22 12:10:13 +02:00
maaroufi
416edd1980 Corrected some typos 2023-08-22 10:24:58 +02:00
maaroufi
02c7387c0d Corrected some typos, stripped dollars from bash commands to make it easier to copy and moved section 5 to the beginning because it needs to be followed at the beginning of the tutorial 2023-08-22 10:24:58 +02:00
francescomani
30c401e0fa removing mcs sanity checks 2023-08-22 09:06:14 +02:00
Robert Schmidt
464a62dd97 Merge branch 'integration_2023_w33' into 'develop'
integration_2023_w33

See merge request oai/openairinterface5g!2300

* !2247 Fix cppcheck warnings related to nullPointerArithmeticRedundantCheck
* !2250 Fix cppcheck warnings related to negativeIndex
* !2281 avoid NR UE stalling if SIB not decoded
* !2273 NR_UE: fix limited UL data throughput in do-ra mode
* !2295 hack: see Bye. message when quitting gnb running with aw2s
* !2298 mapping LCID to RBID to index RLC entities
* !2267 Make read-only global variables const, additional fixes
* !2297 nr rlc: change retx logic
* !2230 Readme correction
* Lower scheduler PF averaging constant
2023-08-22 06:05:25 +00:00
Robert Schmidt
8ad215f680 Lower scheduler PF averaging constant
This time constant plays a major role in how long a UE has to wait
maximally before it might be scheduled. For instance, if a UE had a lot
of traffic, the average traffic will be high, pushing the PF coefficient
down. If another UE with no traffic in the past becomes active with
heavy traffic, the first UE might not be scheduled for an extended
period of time.

In the AW2S-Amarisoft UE CI test pipeline, we sometimes see that the
maximum number of RLC retransmissions was reached. While this might not
be the (only) cause, scheduling a UE more often might prevent such
situations, and we saw an improved stability.
2023-08-21 17:16:21 +02:00
Robert Schmidt
4d244c5c7c Update AW2S-Amarisoft CI configuration file 2023-08-21 17:16:19 +02:00
francescomani
e45855f41d handling reserved case of DLSCH MCS 2023-08-19 09:58:40 +02:00
francescomani
26bceb2277 handling reserved case of ULSCH MCS 2023-08-19 08:31:03 +02:00
Robert Schmidt
56ceb76a3a Merge remote-tracking branch 'origin/readme-correction' into integration_2023_w33 2023-08-18 18:17:13 +02:00
Robert Schmidt
d1ac08ffaa Merge remote-tracking branch 'origin/nr-rlc-retx-modification' into integration_2023_w33 2023-08-18 18:16:55 +02:00
Robert Schmidt
c3e04b65df Merge remote-tracking branch 'origin/remove-rw-globals-that-are-not-written' into integration_2023_w33 2023-08-18 18:16:48 +02:00
francescomani
9d45b49c38 do not change BWP at MAC and do not free SIB1 at RRC 2023-08-18 15:39:15 +02:00
Laurent THOMAS
206aa36a47 Make read-only globals const, additional fixes
- Global variables that are never written to are marked const
- Remove some EXTERN declaration
- Remove unused `log_mem_multi` from logging module
2023-08-18 14:20:37 +02:00
Robert Schmidt
a8aa383fee Merge remote-tracking branch 'origin/NR_RLC_LCID_indexing' into integration_2023_w33 2023-08-18 13:05:22 +02:00
Robert Schmidt
f8f7c40830 Merge remote-tracking branch 'origin/fix-bye-aw2s' into integration_2023_w33 2023-08-18 13:04:42 +02:00
Robert Schmidt
d0895b5ebc Merge remote-tracking branch 'origin/avoid_NR_UE_stall_if_SIB1_not_decoded' into integration_2023_w33 2023-08-18 13:04:37 +02:00
Robert Schmidt
417509d146 Merge remote-tracking branch 'origin/NR_UE_fix_do-ra_UL_throughput' into integration_2023_w33 2023-08-18 13:04:32 +02:00
Robert Schmidt
699526236c Merge remote-tracking branch 'origin/negativeIndex_cppcheck_fix_on_w27_2023' into integration_2023_w33 2023-08-18 13:04:26 +02:00
Robert Schmidt
8b87c656e0 Merge remote-tracking branch 'origin/nullPointerArithmeticRedundantCheck_cppcheck_fix_on_w27_2023' into integration_2023_w33 2023-08-18 13:04:19 +02:00
Robert Schmidt
ca96b9e9bf Improve and reformat documentation of config module 2023-08-18 13:02:18 +02:00
Robert Schmidt
336e4a5ef1 Link to LDPC doc from doc/README.md 2023-08-18 12:51:41 +02:00
Robert Schmidt
24f9f87941 Improve 5G RFsim README; clarify how to overwrite the second UE's IMSI 2023-08-18 12:48:50 +02:00
Robert Schmidt
31af346ebc Improve log messages for debugging 2023-08-18 12:34:25 +02:00
Robert Schmidt
35b5782968 CI F1 and F1+E1 tests: increase attenuation to stabilize connection 2023-08-18 12:25:51 +02:00
Robert Schmidt
27f9d6f743 Use nr_generate_Msg4() in the case of Msg.3 with C-RNTI
After removing RA.crnti, there is no need to use a separate function
nr_generate_Msg3_dcch_dtch_response() to generate Msg.4 (yes, the
function mentions Msg3 but it does Msg3 response == Msg.4).

Also, using nr_generate_Msg4() has the advantage that it waits until we
have the reconfiguration available in RLC to be sent to the UE. Finally,
we can delete the old nr_generate_Msg3_dcch_dtch_response() as we don't
need it anymore.
2023-08-18 12:25:51 +02:00
Robert Schmidt
866a76dc4a Correct READMEs of docker-compose files to reflect config mounting 2023-08-18 10:35:23 +02:00
francescomani
cb003e4f10 mapping LCID to RBID to find RLC entity 2023-08-17 10:29:18 +02:00
Cedric Roux
3f8c8b73e2 nr rlc: change retx logic
When t_poll_retransmit expires we need to consider an SDU for
retransmission.

We used to take the first SDU (which could be a segment, not a full SDU)
of the wait list and put it in the retransmit list.

When testing with some UE (Amarisoft UE) a bad behavior was detected.

This is what happens for the SDU with SN 6 (for illustration purpose).

The gNB is sending an SDU in several pieces (it is segmented).

slot n:     rlc sn 6 [1 .. 119[   p=0   RECEIVED
slot n+x:   rlc sn 6 ]120 .. 180[ p=0   RECEIVED
slot n+x+y: rlc sn 6 ]181 .. 210] p=1   not RECEIVED

Then when t_poll_retransmit expires rlc retransmits only the PDU of
slot n (with p=1 this time) and the UE replies with ack 6. So nothing
happens on the gnb side.
(We would have expected ack 7 + nack 6 181..end.)

Then after t_poll_retransmit expires again rlc retransmits only PDU
of slot n and the UE still replies with ack 6.

This goes on forever (or some other timeout occurs.)

The logic is now changed.

When t_poll_retransmit expires we transfer all the SDUs in the wait list
having the same SN as the head of the wait list into the retransmit list.

Testing with Amarisoft UE, it seems to work properly.
2023-08-15 13:16:36 +02:00
Robert Schmidt
93f59a3c6e Remove RA.crnti: it is not needed anymore
The RA.crnti field is marked as being used by NSA mode, but it is not.
OTOH, it is used in the case of RA with Msg.3 with C-RNTI MAC CE. The
latter does not necessarily need it, though, as we can change the RNTI
of the RA process when we receive C-RNTI MAC CE.

This introduces a slight complication, though, as we cannot remove the
MAC UE Context (generated when receiving Msg.3) directly when parsing
the C-RNTI MAC CE. Previously, we had both rnti and crnti in the RA
struct, and when sending Msg.4 after Msg.3 with C-RNTI MAC CE, we would
remove the UE context (this is changed in the next commit). Therefore,
we employ nr_mac_trigger_release_timer() which releases the UE after
60ms, circumventing this complication.
2023-08-14 16:25:02 +02:00
Robert Schmidt
7b7f045f1c DU: trigger UE Context Modification Required and handle 2023-08-14 16:25:02 +02:00
Robert Schmidt
3b87dd30a0 Implement ue_context_modification_required_direct() 2023-08-14 16:25:02 +02:00
Robert Schmidt
d40db13e2a Make reconfiguration work 2023-08-14 16:25:02 +02:00
Robert Schmidt
6337951182 UE Context Modification Required: add RRC handler 2023-08-14 16:25:02 +02:00
Robert Schmidt
e72fa6aa39 Implement F1 handlers 2023-08-14 16:25:01 +02:00
Robert Schmidt
bb63aa79b2 Implement F1AP UE Context Modification Required/Confirm/Refuse F1AP messages 2023-08-14 16:24:59 +02:00
Robert Schmidt
57be09efaf Stubs for F1 UE Context Modification Required/Confirm/Refuse 2023-08-14 16:24:56 +02:00
Robert Schmidt
7fbccc709a Do not trigger RLC bearer establishment from RRC
The RRC should not trigger RLC bearer establishment: this should be done
only via F1, and in the remaining code (removed here), this principle
was violated.

Further, this code was doubly wrong, as it used the CU UE ID for the
RLC, setting up bearers with IDs 1,2,3 etc instead of the RNTI.
2023-08-14 16:24:56 +02:00
Robert Schmidt
7746897f0e Fix: use correct type for F1 UE Context Release Req 2023-08-14 16:24:56 +02:00
Robert Schmidt
cd8cfab768 Remove MAC_NR target: it is not needed
The MAC_NR target is not needed; every dependent target also links
L2_NR. Therefore, this target just creates double compilation. We can
remove it without problems.
2023-08-14 16:23:47 +02:00
Robert Schmidt
f40b4ab297 hack: see Bye. message when quitting gnb running with aw2s
Same commit justification as 50bf571347
2023-08-14 12:17:09 +02:00
Robert Schmidt
5b943f598d Merge branch 'integration_2023_w32' into 'develop'
integration_2023_w32

See merge request oai/openairinterface5g!2293

* !2061 Rel16 NR PRS improvements
* !2113 handle TDD pattern2 at UE
* !2266 Use cmake3 command if on RHEL
* !2287 Initialize OAIgraph before usage
* !2285 Fix alignment of Tpool user data to 32 bytes
* !2284 USRP driver: Make it compile for UHD < 4.0.0
* !2214 Use F1 Internally: switch to CU UE ID in CU
2023-08-14 06:19:33 +00:00
Vaibhav Shrivastava
a6e11e7029 Fix review comments of cppcheck warnings related to nullPointerArithmeticRedundantCheck 2023-08-13 18:35:18 +02:00
Vaibhav Shrivastava
efc5ce39d3 Fix cppcheck warnings related to nullPointerArithmeticRedundantCheck 2023-08-13 18:35:18 +02:00
Robert Schmidt
a082f708b6 Fix: link T into oai_eth_transpro
Via the include of the logging system, the ethernet transport
library implicitly depends on T. Hence, link T into
oai_eth_transpro.
2023-08-12 13:43:40 +02:00
Robert Schmidt
9d6de3b511 Merge remote-tracking branch 'origin/int-f1-ue-ids' into integration_2023_w32 2023-08-12 11:49:40 +02:00
Robert Schmidt
d0bfaf4dcb Verify reestablishment in DU-CU split 2023-08-12 11:48:17 +02:00
Robert Schmidt
979ebdeb42 Implement RRC Reestablishment fallback with RRC Setup 2023-08-12 11:48:17 +02:00
Robert Schmidt
792cd56f63 Cleanup after RRC reestablishment 2023-08-12 11:48:17 +02:00
Robert Schmidt
7a298e73cd Repair reestablishment and make it work via F1
This commit repairs the reestablishment after the introduction of the CU
UE ID in the CU, different from the DU UE ID. Now, the CU uses an
identifier different from the RNTI, used in the MAC, to refer to UEs.

To repair the reestablishment, a number of changes needed to be
introduced:

- Handle old_gNB_DU_UE_id in MAC

The MAC handles the old_gNB_DU_UE_id field in the DL RRC Message. The
commit adds encoding/decoding of the field. The MAC will drop the old
UE, but retain the CellGroup of the corresponding UE(!). Because a UE
releases the spCellGroup on reestablishment, the MAC does the same; it
needs to reapply the old configuration after a reconfiguration. For the
latter, introduce new variables to keep a "future" CellGroupConfig to be
applied (reconfigCellGroup) and a flag (expect_reconfiguration) that
applies the CellGroupConfig if a DL RRC Message transfer on DCCH, which
is assumed to be the reconfiguration.

- Add RNTI change in RLC

The RLC needs to reuse the old UE context. Hence, we simply change the
RNTI in the old context, and delete the new one.

- No PDCP UE ID change

The previous implementation of the PDCP used the RNTI; hence, the ID
needed to be switch (as above for the RLC). Since the PDCP now also uses
the CU UE ID, no identifier change is needed, and we remove all
corresponding code.

- No MAC modifications/update from CU

As foreseen by the spec, the CU does not modify or change the
cellGroupConfig in the RRC during reestablishment. This change will be
generalized in the future to all of the RRC.  Also, the
nr_rrc_mac_remove_ue() function has been removed: the MAC handles any UE
changes autonomeously, without being triggered from the RRC explicitly.

- Remove reestablish_rnti_map

The RRC does not use RNTIs for UE identification. Hence, a
reestablish_rnti_map to link two UEs to each other is not necessary
anymore.
2023-08-12 11:48:17 +02:00
Robert Schmidt
04abbdb668 Implement PDCP reset counters for reestablishment
After a reestablishment, the PDCP sequence number counters have to be
reset. Implement an API to allow the RRC to reset the sequence numbers
for a particular UE in the case of reestablishment
2023-08-12 11:48:17 +02:00
Robert Schmidt
b90a59a671 Trigger Reestablishment via resetting RLC sequence numbers
Plugin can trigger reestablishment (on DU)
and show counters of reestablishment (on CU)
2023-08-12 11:48:17 +02:00
Vijay Chadachan
707cf8088a Addressed the review comments 2023-08-11 18:34:54 +02:00
Robert Schmidt
1c07afbeb6 RRC: Remove checks for UEs with existing RNTI
The RRC gives its own RRC UE ID. It won't intervene if DUs assign the same RNTI to different UEs: it simply does not care what the DUs do with the RNTI.
2023-08-11 17:38:12 +02:00
Robert Schmidt
644a5768a3 nrRRC_stats.log: provide info about UE (IDs, RRC state, PDU sessions) 2023-08-11 17:38:12 +02:00
Robert Schmidt
9790246daf Do-ra: write out directly 2023-08-11 17:38:12 +02:00
Robert Schmidt
763a95b12b CU-UP/E1: mirror CU-CP UE ID in CU-UP, clean up messages
- Use the same CU-UP in E1 as in CU-CP: we don't have a separate entity
  to allocate IDs, and we just use the same as the CU-CP
- Correct gNB CU-UP/CP UE IDs in E1AP message types to 32bit
- Set CU UP UE ID explicitly for clarity
- Remove RNTI from E1 messages, E1 does not know what an RNTI is
2023-08-11 17:38:12 +02:00
Robert Schmidt
5c42004e21 RRC: switch to NGAP UE ID as CU UE ID 2023-08-11 17:38:12 +02:00
Robert Schmidt
c832b7af91 Configure CU/DU UE IDs in NSA/do-ra/phytest 2023-08-11 17:38:12 +02:00
Robert Schmidt
2e1107fa41 Refactor PDCP: DRB callback for gNB to look up IDs 2023-08-11 17:38:12 +02:00
Robert Schmidt
eca89e20b0 Remove F1 module UE handling
The UE had a list of known UEs. With the introduction of a separate
module for F1 UE ID handling that is also used in monolithic (to
separate CU UE ID from DU UE ID), this functionality is not needed, and
deleted in this commit.
2023-08-11 17:38:12 +02:00
Robert Schmidt
7c2c01727e Send ue ITTI Release Complete message
Previously, the F1AP handler called various functions directly, instead
of sending an ITTI message to the RRC thread. This has two drawbacks:
- it can lead to data races if the RRC task uses functionality that is
  being accessed by the F1 task through this function
- no homogeneity: all other handlers send an ITTI message, so this one
  should too
2023-08-11 17:38:12 +02:00
Robert Schmidt
f48d86d7c5 UE Ctxt Release Req/Cmd/Complete 2023-08-11 17:38:12 +02:00
Robert Schmidt
d24454ce9a UE Context setup and modif 2023-08-11 17:38:12 +02:00
Robert Schmidt
d220ee23e2 UL RRC Message has CU/DU UE IDs 2023-08-11 17:38:12 +02:00
Robert Schmidt
0943891005 Use CU/DU UE ID in DL RRC Message Transfer, manage at DU, refactor
- The CU/DU UE ID is used in DL RRC Message Transfer
- Note: The CU UE ID currently is still the RNTI
- on every DL RRC Message, the DU verifies that the UE exists
- Refactor RRC: common function to forward protected SRB PDUs
2023-08-11 17:38:12 +02:00
Robert Schmidt
0a0f6b7952 Initial UL RRC Message: manage DU UE ID at CU 2023-08-11 17:38:12 +02:00
Robert Schmidt
3e0f07705c Init F1 UE data structs at MAC, RRC & CU-UP 2023-08-11 17:38:12 +02:00
Robert Schmidt
af545c07b7 Hashtable for F1 UE IDs and add test 2023-08-11 17:38:12 +02:00
Robert Schmidt
4574a19fc9 Rename primary RRC UE ID gNB_ue_ngap_id to rrc_ue_id
The RRC uses gNB_ue_ngap_id as its primary ID; the following commits
will introduce the usage of the (F1) gNB CU UE ID. This commits renames
the gNB_ue_ngap_id to rrc_ue_id to better reflect its usage as the RRC's
primary UE ID.

It will be used as the NGAP and F1 (CU) UE IDs.
2023-08-11 15:20:47 +02:00
Robert Schmidt
c5b9962954 Remove unnecessary dl_rrc_message_transfer_direct() 2023-08-11 15:20:47 +02:00
Robert Schmidt
97b65555fd Invalid free: do not free RRC container 2023-08-11 15:20:47 +02:00
Robert Schmidt
f1cef982f2 Bugfix: DL RRC Message: Allocate RRC Container buf 2023-08-11 15:20:47 +02:00
Robert Schmidt
d647a98f65 Make the gNB_ue_ngap_id greater than 0
To avoid 0 in the ID
2023-08-11 15:20:47 +02:00
Robert Schmidt
50bba6b287 Remove useless S1AP definitions in NR RRC 2023-08-11 15:20:47 +02:00
Robert Schmidt
ab9f9bdd76 Don't delete RA in delete_nr_ue_data()
for reusing the old UE Context after reestablishment: we have to free a
UE context, but that also free's the RA process that we still need.
Remove here

Is this necessary?
2023-08-11 15:20:47 +02:00
Robert Schmidt
435c849866 Merge remote-tracking branch 'origin/fr2-interdigital-usrp-interface2' into integration_2023_w32 2023-08-11 14:44:09 +02:00
Robert Schmidt
79c7b9a873 Merge remote-tracking branch 'origin/fix-alignment-tpool' into integration_2023_w32 2023-08-11 14:44:02 +02:00
Robert Schmidt
f3c2c12fa2 Fix alignment of Tpool user data to 32 bytes
The thread pool provides user data to be stored by (pre-)allocating the
necessary memory. A previous attempt was made to have this user data
aligned on a 32 byte boundary (e.g., to prevent segfault with SIMD
instructions, or avoid inefficient data access); the current
implementation, however, leads to unaligned memory access.

This patch attempts again to implement user data to be 32 byte aligned.
First, use memalign() to allocate the actual job on a 32 byte boundary.
Second, use alignas(32) to align the pointer to the user data to be
aligned to 32 bytes. Since it is the last member of the struct, this
ensures that user data, which is allocated right behind it, will be
aligned to 32 bytes as well.
2023-08-11 14:38:28 +02:00
Imad Al Samman
66df72d1f8 USRP driver: Make it compile for UHD < 4.0.0 2023-08-11 11:23:28 +02:00
Robert Schmidt
ee8269ea98 Merge remote-tracking branch 'origin/fix-uninitialized-var-scope' into integration_2023_w32 2023-08-11 11:03:16 +02:00
Robert Schmidt
b141450180 Merge remote-tracking branch 'origin/fix-cmake3-rhel' into integration_2023_w32 2023-08-11 11:03:11 +02:00
Robert Schmidt
934a6aeb83 Merge remote-tracking branch 'origin/NR_UE_handle_TDD_pattern2' into integration_2023_w32 2023-08-11 11:03:00 +02:00
Maud Tribaudeau
cb5f3954b6 fix gtp delete. we should not delete all bearer in case of dedicaded bearer release 2023-08-10 10:13:08 +00:00
Robert Schmidt
26ef1128d8 Initialize OAIgraph before usage
Newer GCC releases warn about the scope being uninitialized:

openair1/PHY/TOOLS/nr_phy_scope.c:1076:20: error: ‘graph.text’ is used uninitialized [-Werror=uninitialized]

This is correct, as we don't initialize the scope. This commit correctly
initializes the scope.
2023-08-09 17:40:51 +02:00
Robert Schmidt
a87cd3e83c Rewrite RUNMODEM.md section for phytest; simplify rfsim doc 2023-08-09 17:38:05 +02:00
Robert Schmidt
9f45f1d769 Deprecate NR-UE --rrc_config_path, use --r{e,b}config-file instead
Config options --reconfig_file and --rbconfig-file have been introduced
to modify the filenames of reconfig.raw and rbconfig.raw (e.g., in the
case of multiple UEs). These filen*ames* were to be prepended with
--rrc_config_path to set the path. In summary, three options were
necessary, when two are sufficient.

In this commit, change to the options --reconfig-file and
--rbconfig-file (slight change for harmonization with other options,
which mostly use dashes) to give the full path to the corresponding
files, and avoid to surprise users who would not expect to have three
options.

--rrc_config_path has been deprecated and an error will be printed if a
user attempts to use it.
2023-08-09 17:32:45 +02:00
francescomani
cd6f491b97 overwriting SIBs when new acquisition 2023-08-09 16:36:12 +02:00
Florian Kaltenberger
9983478a61 addressing reviewer comments: removing warning messages 2023-08-08 18:39:38 +02:00
Florian Kaltenberger
53171d96ea addressing reviewer comments: rename prs config files (remove "sa") and updating doc accordingly 2023-08-08 18:36:56 +02:00
Sagar Parsawar
f64179039e Applied clang formatting 2023-08-08 18:35:05 +02:00
Sagar Parsawar
4f9aa86510 Compile error fix 2023-08-08 18:31:10 +02:00
Sagar Parsawar
386881c382 Fixed PRS IDFT 16x oversampling buffer issue 2023-08-08 18:31:10 +02:00
Sagar Parsawar
970e65a4d6 Bug fix in size of ENB_PHY_OUTPUT_SIGNAL dump 2023-08-08 18:31:10 +02:00
Sagar Parsawar
3f6ed8d14a Fix for multiple gNB SSB decode in UE phy-test mode 2023-08-08 18:29:14 +02:00
Robert Schmidt
aa62ddfabd MAC: Fix check for spCellConfig before using 2023-08-08 17:56:10 +02:00
Robert Schmidt
6979b56aa7 Scheduler lock: provide additional info on failure 2023-08-08 17:56:10 +02:00
francescomani
9b8a8280ad handle TDD pattern2 at UE 2023-08-08 17:26:46 +02:00
Robert Schmidt
537605a6ea Merge branch 'integration_2023_w31' into 'develop'
integration_2023_w31

See merge request oai/openairinterface5g!2282

* !1932 Introduce basic unit testing framework, cleanup
* !2259 NR_UE: improve NFAPI_NR_DMRS_TYPE1_linear_interp()
* !2271 Draft: Make asn1c debug traces functional
* !2274 remove NR UE RRC sub state
* !2278 CI: AW2S - update of AmariUE commands
* !2004 Fix gNB LLR plot view
* !2265 chore(ci): adding back LTE-UE Radio tests
* !2268 fix for PDCCH unscrambling at UE
* !2269 fixes for PUCCH F1 at UE
* !2258 pdcp_config_req_asn1 bug fix
* !2263 UE ServingCellConfigCommon cleanup
* !2275 Fix RRC UE timers based on frames and not slots
* !2280 handle scheduling of DLSCH with DCI10 in common search
* !2277 CI: no Jenkins mail, iperf refactor, add Quectel E1 test
* !2260 Preparation of release v2.0.0
2023-08-08 15:06:38 +00:00
Robert Schmidt
eb20d93245 Merge remote-tracking branch 'origin/release-v2.0.0' into integration_2023_w31 2023-08-08 12:27:06 +02:00
Robert Schmidt
bfc45da95b Merge remote-tracking branch 'origin/ci-iperf-html-e1' into integration_2023_w31 2023-08-08 12:26:42 +02:00
Raphael Defosseux
bea88a707f chore(doc): adding the release badge
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-08 09:21:43 +02:00
Robert Schmidt
7b297eb27a Add XML for Quectel F1+E1 test, don't clean after F1 2023-08-08 09:03:51 +02:00
Robert Schmidt
8dff8ff159 Merge remote-tracking branch 'origin/NR_MAC_gNB_handle_DLSCH_with_DCI10_common_SS' into integration_2023_w31 2023-08-07 21:18:25 +02:00
Robert Schmidt
7c9c3db6f1 Add Quectel/F1+E1 test 2023-08-07 18:15:38 +02:00
Robert Schmidt
86e596b032 Reduce useless log (config) in Quectel F1 DU config 2023-08-07 18:15:38 +02:00
Robert Schmidt
0c9c071e12 Quectel F1 test: no radio required for CU 2023-08-07 18:15:38 +02:00
Robert Schmidt
728649d614 Add iperf throughput test to Quectel F1 test
- throughput test in DL
- UL throughput: 30s is enough
- increase bidir test time for more reliable measurement
- increase retx thresholds: 1% for first round is too low
2023-08-07 17:29:50 +02:00
Robert Schmidt
5ddb9f683f CI: cell content's <pre> style to stack horizontally
The results of individual UEs (e.g., ping) is listed vertically, like
so:

| ping results | UE1 |
|              | UE2 |
|              | UE3 |

Where UE1, UE2, ... represents an entire box with results for UE 1, 2,
... For many UEs, this results in considerable need for vertical space. This
commit changes to something like the following to save space:

| ping results | UE1 UE2 UE3 |

For a single UE, this commit has no major impact (the boxes are not
stretched to width anymore).
2023-08-07 10:32:20 +02:00
Robert Schmidt
5d66ae56d0 Specify realistic LTE iperf bitrate thresholds
A side effect of the previous commit's refactoring is that we mark the
pipeline as failed if a (packet loss/bitrate) threshold is violated.
Previously, the HTML would contain a "Perf not met" hint, but be marked
as successful.

This commit introduces more realistic thresholds for various pipeline
runs. The values are arbitary, following the performances in pipelines
that were marked as successful, but actually had performance problems.
They allow, though, a pipeline to pass following the normal performance
we saw the last weeks.
2023-08-07 10:31:58 +02:00
Robert Schmidt
00deb998f4 Merge remote-tracking branch 'origin/NR_UE_RRC_SIB_fixes' into integration_2023_w31 2023-08-07 10:27:07 +02:00
Robert Schmidt
93469ed565 Merge remote-tracking branch 'origin/NR_UE_MAC_remove_scc' into integration_2023_w31 2023-08-07 10:26:59 +02:00
Robert Schmidt
a181c78bda Merge remote-tracking branch 'origin/fix-pdcp_config_req_asn1-proto' into integration_2023_w31 2023-08-07 10:26:49 +02:00
Robert Schmidt
ab63aa3cac Merge remote-tracking branch 'origin/NR_UE_pucch_format1_fixes' into integration_2023_w31 2023-08-07 10:26:43 +02:00
Robert Schmidt
056a7fdbe7 Merge remote-tracking branch 'origin/NR_UE_pdcch_unscrambling_fix' into integration_2023_w31 2023-08-07 10:26:36 +02:00
Robert Schmidt
a2fbc2d68b Merge remote-tracking branch 'origin/ci-adding-back-lte-ue-radio-tests' into integration_2023_w31 2023-08-07 10:26:26 +02:00
Robert Schmidt
86f0bee1d3 Merge remote-tracking branch 'origin/NR_gNB_qtscope_llrPlot_fix' into integration_2023_w31 2023-08-07 10:26:16 +02:00
Robert Schmidt
9a32d6fc8c FEATURE_SET.md: move 5G above 4G 2023-08-04 15:56:04 +02:00
Robert Schmidt
d3fcced012 Add Change log for v2.0.0 2023-08-04 15:49:26 +02:00
Robert Schmidt
509d9dd06c Update FEATURE_SET.md 2023-08-04 15:49:26 +02:00
Jaroslava Fiedlerova
5f24001783 Change IP config after network change of USRPs 2023-08-04 13:40:08 +02:00
Robert Schmidt
003dd281c3 CI: refactor Iperf(): no queues or locks, use ThreadPoolExecutor 2023-08-04 13:30:54 +02:00
Robert Schmidt
2a73317302 Jenkins: don't send mail
Jenkins is programmed to send e-mails, but most people don't use it:
- the mail has all results in the attachments, but it is clumsy to
  navigate between mail reader and browser, and CSS is not correct
- there is no link to the actual results
- everybody gets a notification from Gitlab, since we also post it there

Also, everybody who I asked told me they don't like this mail. Let's get
rid of it.
2023-08-04 13:05:06 +02:00
francescomani
75c2f9e5f8 improving handling of tdd_UL_DL_ConfigurationCommon absence when checking DL or UL slot 2023-08-04 10:01:56 +02:00
Robert Schmidt
fa15732311 Update TESTBenches.md documentation 2023-08-04 09:07:58 +02:00
Robert Schmidt
c069de114d Merge remote-tracking branch 'origin/ci-amariue-command-update' into integration_2023_w31 2023-08-04 08:30:49 +02:00
Robert Schmidt
9f78c408c8 Merge remote-tracking branch 'origin/NR_UE_remove_substate' into integration_2023_w31 2023-08-04 08:30:42 +02:00
Robert Schmidt
4a0bdd162b Merge remote-tracking branch 'origin/fix-regression-asn1c-debug' into integration_2023_w31 2023-08-04 08:30:34 +02:00
Robert Schmidt
1eb683f622 Merge remote-tracking branch 'origin/NR_UE_fix_dl_chan_est' into integration_2023_w31 2023-08-04 08:30:22 +02:00
francescomani
72e92f7e46 stop scheduling SIB reception only if it is acked otherwise UE get stalled 2023-08-03 17:06:48 +02:00
francescomani
6a03f3fd4c Correct bits and payload for PUCCH format 1 at MAC UE 2023-08-02 13:06:32 +02:00
francescomani
7479597a37 PDCCH unscrambling: correct c_init modulo
As specified in TS 38.211 Section 7.3.2.3, c_init is the result of a mod
2^31. Before this commit, the code assumed a wrong, implicit mod 2^32,
even though the comment says otherwise.
2023-08-02 13:05:08 +02:00
Raphael Defosseux
e085692c58 fix(ci): renaming the pipeline and fixing the tab for the clean-up scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-02 10:11:04 +02:00
Raphael Defosseux
688e82f8a2 chore(ci): post-review comments from Robert
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-02 10:06:47 +02:00
Raphael Defosseux
b99dbbf6c7 chore(ci): adding clean-up scenario and trigger from main pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-02 10:06:47 +02:00
Raphael Defosseux
ab02a7b240 chore(ci): adding scenario in 10MHz to test LTE-OAI w/ B200mini and OAI-CN4G
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-02 10:06:47 +02:00
Raphael Defosseux
c0b51db2df chore(ci): adding back LTE-UE Radio tests
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-08-02 10:06:47 +02:00
francescomani
6b74f1d4db handle scheduling of DLSCH with DCI10 in common search space 2023-08-02 09:52:39 +02:00
Jaroslava Fiedlerova
9028bb20b4 CI: AW2S pipeline - use new SW version for AmariUE, command update 2023-08-02 08:08:07 +02:00
francescomani
f934f4c491 RRC processing frame instead of slot for timers 2023-08-01 15:07:37 +02:00
Robert Schmidt
31f9dff938 Fix regression for tracing asn1c enc/dec tracing
As described in common/utils/config.h, it is possible to hook into the
asn1c tracing mechanism to print logs.

This commit fixes a regression to print theses traces properly in OAI.
Above-mentioned file explains also how to reduce the amount of logs,
e.g., for single code blocks.
2023-08-01 14:44:32 +02:00
Robert Schmidt
f099ff59eb Rename T files to avoid name clashes
There is already common/utils/config.h. This file(name) is hardcoded as
it is included into asn1c, and cannot be renamed. To avoid a name clash
and confusing, we rename T's config.h/c to configuration.h/c.
2023-08-01 13:49:25 +02:00
Robert Schmidt
8614f64dd1 Rename ASN to ASN1 in T traces
The T trace names need to match the logging system names (apparently).
In commit 5f5b8f2914, we renamed the
logging system group to avoid a name clash, but omitted the T trace
names.

This is corrected in this commit to make everything compile nicely.
2023-08-01 13:48:14 +02:00
Robert Schmidt
251a1c6e2a Add unit testing documentation 2023-08-01 12:11:39 +02:00
Cedric Roux
70b66a8644 nr rlc: let the tests be runnable with run_tests.sh 2023-08-01 12:11:39 +02:00
Robert Schmidt
5d0c453ac2 Need minimal_lib for exit_function in nr_rlc tests 2023-08-01 12:11:39 +02:00
Robert Schmidt
37c9eebb8b NR_RLC: CMakeLists.txt in own subdirectory, with tests 2023-08-01 12:11:39 +02:00
Robert Schmidt
757bebd1da use log in nr_rlc test 2023-08-01 10:31:46 +02:00
Robert Schmidt
1ae18a4a02 CMakeLists.txt: UTIL target depends on pthread 2023-08-01 10:31:46 +02:00
Robert Schmidt
bb2a3bedb8 LOG: correctly print newline after printf() 2023-08-01 10:31:46 +02:00
Robert Schmidt
dd2ef166ea LOG: do not depend on oai_exit
By using oai_exit in log.c, LOG depends on being compiled into an
executable that defines such symbol, which is not always the case (nor
does it make sense).

oai_exit is only used in a loop to optionally write out memory. The
loop could relatively easily be aborted by setting a variable:
2023-08-01 10:31:46 +02:00
francescomani
bef00a7082 removing functions to get/set RRC state (it's easier to do it directly) 2023-07-31 19:25:36 +02:00
Laurent THOMAS
cef099d312 remove useless rrc sub state 2023-07-31 19:06:03 +02:00
francescomani
fe99f633d6 harmonize reconfiguration with sync reception 2023-07-31 17:30:29 +02:00
francescomani
40b07ec483 remove scc and scc_SIB from mac structure 2023-07-31 17:30:29 +02:00
Robert Schmidt
3161add2c1 build_oai/build_helper: use $CMAKE
Some distributions, e.g., CentOS8 or RHEL8, ship with an old cmake
(v2.8). To provide a newer, they have a separate cmake3 package, where a
recent cmake version is in program cmake3. To be agnostic, build_helper
detects the distribution and choses the cmake program to use.

This commit uses the correct cmake, which is provided in the environment
variable $CMAKE.
2023-07-31 15:53:59 +02:00
Robert Schmidt
a3ddabafc6 Use cmake3 command if on RHEL 2023-07-31 15:53:59 +02:00
Robert Schmidt
b67808036c Merge branch 'integration_2023_w30' into 'develop'
integration_2023_w30

See merge request oai/openairinterface5g!2272

* !2233 Draft: CI: test of SC-FDMA with Quectel UE
* !2256 fix typo in nr_slot_fep_init_sync()
* !2262 NR RRC: send "init context setup resp" after receiving reconfig from ue
* !2198 fr2: GPIO configuration for Interdigital Radio Unit
* !2222 NR Sidelink Pre-Configuration
* !2235 improve handling of default SIBs
* !2246 NR UE SIB1 detection outside of initial synchronization
* !2243 Resolve "Wrong name in the logs for ASN1"
* !2224 Ci attach detach
* !2270 bugfix: put constants in correct file
* demote PRS config "error" to info
* switch CI license check and cppcheck to new SSH class
2023-07-31 13:48:55 +00:00
Robert Schmidt
b595d8ccac Demote PRS error message to missing config to info
PRS is not fully supported (NRPP missing, from my understanding), so not
that many people will use it. On the other hand, these error messages
confuse people. So put it to info.
2023-07-31 12:57:22 +02:00
Jaroslava Fiedlerova
a074eb18ba cls_static_code_analysis.py: use new SSH class for cpp check 2023-07-31 12:57:22 +02:00
Robert Schmidt
d10eb372ff Merge remote-tracking branch 'origin/bugfix-define-constants' into integration_2023_w30 2023-07-29 07:25:15 +02:00
Robert Schmidt
70926b2cbd Merge remote-tracking branch 'origin/CI-attach-detach' into integration_2023_w30 2023-07-29 07:24:28 +02:00
Robert Schmidt
f79bab42fa Merge remote-tracking branch 'origin/asn1_log_issue' into integration_2023_w30 2023-07-29 07:24:15 +02:00
Robert Schmidt
e188faa377 Merge remote-tracking branch 'origin/NR_UE_SIB1_outside_of_initial_sync' into integration_2023_w30 2023-07-29 07:24:10 +02:00
Robert Schmidt
cb9dbb6591 Merge remote-tracking branch 'origin/NR_UE_otherSI_improv' into integration_2023_w30 2023-07-29 07:23:26 +02:00
Robert Schmidt
56f0b708ed Merge remote-tracking branch 'origin/NR_SL_RRC' into integration_2023_w30 2023-07-29 07:23:06 +02:00
Robert Schmidt
051fb056f6 Merge remote-tracking branch 'origin/fr2-interdigital-usrp-interface' into integration_2023_w30 2023-07-29 07:22:50 +02:00
Thomas Schlichter
f1a095057e fix limited UL data throughput in do-ra mode
In case of noS1-mode, we initialize the 'logicalChannelBearer_exist' array element for the pre-configured DRB0 in function 'nr_l2_init_ue()'.
That array is indexed with the LCID.
For DRB0, the LCID is 4.
Unfortunately, the code incorrectly used the array at index 0.
Therefore, the UE sent neither scheduling requests nor buffer status reports, what resulted in extremely poor UL throughput.
2023-07-28 15:42:47 +02:00
Dhanuja Elizabeth Thomas
3cb22cac4b Add repeated Attach-Detach tests in 5G-RFsim, SA (monolithic, F1) 2023-07-28 15:11:04 +02:00
Imad Al Samman
76ccc2f5f3 FR2: GPIO configuration for Interdigital Radio Unit
For FR2 and including analog beamforming, we control the beams via GPIO
on radio units.

In this commit, introduce a configuration option to switch the GPIO
control for different devices: "generic" is the current GPIO control,
"interdigital" configures the GPIO configuration to be used with an
InterDigital device.
2023-07-28 14:49:37 +02:00
Cedric Roux
a20bfc9695 remove NGAP_MAX_DRBS_PER_UE, replace by MAX_DRBS_PER_UE 2023-07-28 14:03:26 +02:00
Thomas Schlichter
17b191a01d use OpenGL for LLR and IQ Plots and fix UE LLR Plot
Using OpenGL for IQ and LLR Plots improves plotting time significantly!
Also use the correct length for UE CIR and UE LLR Plots.
2023-07-28 13:49:52 +02:00
Alireza Mohammadi
5f5b8f2914 Fix for ASN1 logging: change name from ASN to ASN1
There is a conflict with some E2AP definitions that put ASN as a
preprocessor definition. To avoid this conflict, and since ASN1 is more
descriptive than ASN, we change the logging mechanism name from ASN to
ASN1.
2023-07-28 12:21:22 +02:00
Robert Schmidt
9bc00465a9 Merge remote-tracking branch 'origin/fix-context-setup-response' into integration_2023_w30 2023-07-28 12:03:14 +02:00
Robert Schmidt
da17b17b83 Merge remote-tracking branch 'origin/fix_nr_slot_fep_init_sync' into integration_2023_w30 2023-07-28 12:03:06 +02:00
Robert Schmidt
a655026dce Merge remote-tracking branch 'origin/ci-add-sc-fdma-test' into integration_2023_w30 2023-07-28 12:02:58 +02:00
Cedric Roux
284b57acbf bugfix: put constants in correct file
The RLC tests were not compiling because of the include of

    openair2/RRC/NR/rrc_gNB_radio_bearers.h

by

    openair2/LAYER2/nr_rlc/nr_rlc_entity.h

which does not seem correct/necessary to start with.

The only thing needed by nr_rlc_entity.h from rrc_gNB_radio_bearers.h
is MAX_DRBS_PER_UE which can be defined in common/platform_constants.h
like NGAP_MAX_PDU_SESSION.
2023-07-28 11:43:48 +02:00
francescomani
96e6256d64 improve handling of default SIBs 2023-07-27 11:21:38 +02:00
francescomani
44bc3e7cce taking sib1 detection out of initial sync 2023-07-27 11:11:09 +02:00
Cedric Roux
325dcf939e remove unused RRC_FIRST_RECONF 2023-07-26 16:26:46 +02:00
Thomas Schlichter
d41147f411 fix introduced segfault in old scope 2023-07-26 13:53:55 +02:00
Thomas Schlichter
c36d81a093 replace std::set<> for active plots with PlotUpdater emitting queued signals 2023-07-26 13:02:36 +02:00
Thomas Schlichter
3d1d468705 changes from review and updated indentation with clang-format 2023-07-26 10:16:56 +02:00
Thomas Schlichter
c01359215d NR_UE: improve NFAPI_NR_DMRS_TYPE1_linear_interp()
The DL filter was shifted relative to the contributing DM-RS pilots.
This is fixed by using the UL filter from gNB.
2023-07-26 09:31:42 +02:00
Cedric Roux
6c8f7ae17b NR RRC: send "init context setup resp" after receiving reconfig from ue 2023-07-25 11:25:15 +02:00
Sakthivel Velumani
4b15a77ab7 Fix build issue 2023-07-25 09:19:04 +02:00
Sakthivel Velumani
b8a5183b75 Update LLR & IQ plot with correct number of elements 2023-07-25 09:18:29 +02:00
Laurent THOMAS
7bbc46dbac pdcp_config_req_asn1 bug fix 2023-07-24 11:30:07 +02:00
francescomani
f65ce8c4fa handle BCH indication 2023-07-24 09:46:37 +02:00
Robert Schmidt
1cbd6c714b Merge branch 'integration_2023_w29' into 'develop'
integration_2023_w29

See merge request oai/openairinterface5g!2254

* !2159 chore(ci): adding back part of old IF4.5 LTE legacy tests
* !2236 Remove crypt dependency
* !2238 Fix cppcheck warnings related to uninitialized variables
* !2239 incorrectStringBooleanError CPPCheck warnings fix
* !2241 nrUE: quick fix for compatibility with Open5GS
* !2244 Fix support for NR band n40 accordingly with 3GPP TS 38.101-1 V15.22.0
* add timeout to Jenkinsfiles to prevent long hangs in CI
* !2168 NR FR2 undefined behavior sanitize (segfault in one test)
* !2212 make common code for data copy to the scope
* !2242 Fix out-of-bound array accesses in PUCCH2 decoder
* !2245 Fix warnings emitted by gcc 13
* !2226 CI: modifications in CI scripts - usage of f-strings, constants
* !2251 T GUI tools: guard with cmake option, default off
* !2252 UE PHY: remove dead code
* update timing thresholds
* !2249 Fix bug in scheduler locking mechanism
2023-07-24 07:41:42 +00:00
Raghavendra Dinavahi
1b98628755 Changes 2023-07-23 10:36:16 +02:00
Robert Schmidt
082af9863d Merge remote-tracking branch 'origin/fix-bug-sched-lock' into integration_2023_w29 2023-07-21 16:24:49 +02:00
Robert Schmidt
a1f7284ee3 Update 40 MHz 1x1 timing thresholds
These timings shifted slightly in an MR recently. Since it is only
micro-seconds, and these thresholds are much higher in the 60 MHz (1x1
and 2x2) tests, it is safe to increase.
2023-07-21 16:01:02 +02:00
Robert Schmidt
233aa55f26 Merge remote-tracking branch 'origin/remove-ue-dead-var' into integration_2023_w29 2023-07-21 15:33:07 +02:00
Robert Schmidt
b0b3c7ee67 Merge remote-tracking branch 'origin/t-tools-dependency-fix' into integration_2023_w29 2023-07-21 15:32:54 +02:00
Robert Schmidt
169b026b66 Merge remote-tracking branch 'origin/ci-multi-modifs' into integration_2023_w29 2023-07-21 15:31:12 +02:00
Robert Schmidt
1f8e95833c Merge remote-tracking branch 'origin/fix_warnings_gcc13' into integration_2023_w29 2023-07-21 14:06:41 +02:00
Robert Schmidt
526c84f4f2 Merge remote-tracking branch 'origin/fix-rx_pucch2' into integration_2023_w29 2023-07-21 14:06:38 +02:00
Robert Schmidt
a0f375f50c Merge remote-tracking branch 'origin/improve-scope-interface' into integration_2023_w29 2023-07-21 14:06:34 +02:00
Robert Schmidt
04dee38c71 Merge remote-tracking branch 'origin/NR_FR2_sanitize' into integration_2023_w29 2023-07-21 14:06:29 +02:00
Thomas Schlichter
5bc77ad169 fix typo in nr_slot_fep_init_sync()
This function is used during initial synchronization, only.
This typo leads to wrong computation of the OFDM symbol start within a slot, after PBCH decoding.
The result is a time offset and therefore a rotation in frequency domain for the initial PDCCH and PDSCH (SIB1) reception.
2023-07-21 13:34:49 +02:00
Raphael Defosseux
16e7f4666b chore(ci): adding a timeout of 1 hour for any scenario run in python framework
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-07-21 13:12:29 +02:00
Jaroslava Fiedlerova
d2aa5fc9c5 Create XML files for testing with SC-FDMA
- ping, iperf, reestablishment
2023-07-21 12:40:19 +02:00
Jaroslava Fiedlerova
81bf3796f2 Create gNB config file and yaml file for gNB deployment with SC-FDMA
- USRP B210, 40 MHz BW, N78, SISO
- max UL MCS set to 9 - higher MCS not supported for SC-FDMA
2023-07-21 12:40:01 +02:00
Jaroslava Fiedlerova
e1361431de Add constant for list of images in cls_containerize 2023-07-21 12:08:16 +02:00
Jaroslava Fiedlerova
195143811e Replacement of strings by f-strings in cls_oaicitest 2023-07-21 12:07:03 +02:00
mir
e04554dcb0 Warnings generated in gcc 13 and tackled in this PR (except const correctness)
49 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c: In function ‘main’:
    50 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:30: warning: ‘%s’ directive writing up to 240 bytes into a region of size between 11 and 251 [-Wformat-overflow=]
    51   349 |     sprintf(format, "%c [%s] %s",
    52       |                              ^~
    53 In file included from /usr/include/stdio.h:894,
    54                  from /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:1:
    55 In function ‘sprintf’,
    56     inlined from ‘main’ at /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:5:
    57 /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 486 bytes into a destination of size 256
    58    38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
    59       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    60    39 |                                   __glibc_objsize (__s), __fmt,
    61       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    62    40 |                                   __va_arg_pack ());
    63       |                                   ~~~~~~~~~~~~~~~~~

    2005 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:1726:6: warning: conflicting types for ‘set_channeldesc_owner’ due to enum/integer mismatch; have ‘void(channel_desc_t *, uint32_t)’ {      aka ‘void(channel_desc_t *, unsigned int)’} [-Wenum-int-mismatch]
    2006  1726 | void set_channeldesc_owner(channel_desc_t *cdesc, uint32_t module_id) {
    2007       |      ^~~~~~~~~~~~~~~~~~~~~
    2008 In file included from /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:31:
    2009 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/sim.h:348:6: note: previous declaration of ‘set_channeldesc_owner’ with type ‘void(channel_desc_t *, channelmod_moduleid_t)’
    2010   348 | void set_channeldesc_owner(channel_desc_t *cdesc, channelmod_moduleid_t module_id);
    2011       |      ^~~~~~~~~~~~~~~~~~~~~

    24209 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:954:17: warning: ‘n1_pucch_inter’ may be used uninitialized [-Wmaybe-uninitialized]
    24210   954 |           return(n1_pucch_inter);
    24211       |                 ^
    24212 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:647:60: note: ‘n1_pucch_inter’ was declared here
    24213   647 |   uint16_t n1_pucch0=0,n1_pucch1=0,n1_pucch2=0,n1_pucch3=0,n1_pucch_inter;
    24214       |
2023-07-21 09:39:36 +02:00
Robert Schmidt
22d467c339 Merge remote-tracking branch 'origin/NR_Band_n40' into integration_2023_w29 2023-07-20 17:28:55 +02:00
Robert Schmidt
9966a24a22 Merge remote-tracking branch 'origin/ue-compatible-with-open5gs' into integration_2023_w29 2023-07-20 17:28:49 +02:00
Robert Schmidt
d989760d1f Merge remote-tracking branch 'origin/incorrectStringBooleanError_cppcheck_fix_on_w27_2023' into integration_2023_w29 2023-07-20 17:28:43 +02:00
Robert Schmidt
7c847cd908 Merge remote-tracking branch 'origin/uninitvar_cppcheck_fix_on_w27_2023' into integration_2023_w29 2023-07-20 17:28:34 +02:00
Robert Schmidt
a6b6b61b51 Merge remote-tracking branch 'origin/oai_crypt_rm' into integration_2023_w29 2023-07-20 17:28:16 +02:00
Robert Schmidt
0325b15c66 Merge remote-tracking branch 'origin/ci-adding-back-lte-if4-5-tests' into integration_2023_w29 2023-07-20 17:28:09 +02:00
francescomani
c56b4bf515 fix computation of absolute slot 2023-07-20 14:52:31 +02:00
Laurent THOMAS
089180b069 remove dead code 2023-07-20 14:36:40 +02:00
Robert Schmidt
0ba050f419 libxft is an optional dependency
Reason: see previous commit.

Don't install libxft by default
2023-07-20 13:45:22 +02:00
Robert Schmidt
372c067335 T GUI tools: guard with cmake option, default off
The T tools offering a GUI use libxft as a dependency. By default, we
try to limit the amount of dependencies, but libxft comes with X11.

Put the GUI tools behind cmake option T_TOOLS_GUI (default: off) to only
build on demand with a cmake option.
2023-07-20 13:42:26 +02:00
Vaibhav Shrivastava
b49ac6ec4e Fix cppcheck warnings related to negativeIndex 2023-07-20 17:08:18 +05:30
Robert Schmidt
9a55658b57 Fix bug in scheduler lock mechanism
nr_mac_prepare_ra_ue() is called with the scheduler being locked via
NR_SCHED_ENSURE_LOCKED(), but if there is no free RA process, it
unlocks the scheduler via NR_SCHED_UNLOCK().  This is commit fixes this.

In short, when calling nr_mac_prepare_ra_ue(), the scheduler is locked,
and should always return with the scheduler being locked.
2023-07-20 13:23:01 +02:00
Vaibhav Shrivastava
428f9c0946 fix uninitialized variable warnings found by cppcheck 2023-07-19 16:43:33 +02:00
luis_pereira87
9318bf30a3 Fix support for NR band n40 accordingly with 3GPP TS 38.101-1 V15.22.0 2023-07-19 10:50:09 +01:00
Raghavendra Dinavahi
238c2f5a35 Changes to the SL-Preconfig preparation 2023-07-19 10:54:51 +02:00
Raghavendra Dinavahi
4b51859b88 Enabling configuration files read for SL-Preconfig
- for example when running nr-uesoftmodem with sidelink
	  use "-O ../../../targets/PROJECTS/NR-SIDELINK/CONF/sidelink_preconfig_1rxpool_1txpool.conf"
2023-07-19 10:54:51 +02:00
Raghavendra Dinavahi
daf8e3732f Preparation of NR Sidelink Pre-Configuration message 2023-07-19 10:54:51 +02:00
Laurent THOMAS
f0e4f74a7c review 2023-07-19 10:19:25 +02:00
Laurent THOMAS
7e112c4caf fix qtscope with new api 2023-07-19 10:19:25 +02:00
Laurent THOMAS
37752af2cf make common code for data copy to the scope 2023-07-19 10:19:25 +02:00
Laurent THOMAS
ae5dbf4e7a bug fix in arrays indexes 2023-07-19 10:02:24 +02:00
Cedric Roux
149ca8e190 nrUE: quick fix for compatibility with Open5GS 2023-07-18 15:01:11 +02:00
Robert Schmidt
fe61354173 Merge branch 'NR_SL_FAPI' into 'develop'
Sidelink MAC-PHY interface definition

See merge request oai/openairinterface5g!2234
2023-07-18 08:59:05 +00:00
Robert Schmidt
0806903541 Harmonize additional packages installer: RHEL/Fedora are identical 2023-07-18 10:51:57 +02:00
Robert Schmidt
6050c5db66 GnuTLS: only used by webserver, so move it to additional packages 2023-07-18 10:50:38 +02:00
Robert Schmidt
86563e8058 Remove unused libgcrypt dependency 2023-07-18 10:48:47 +02:00
mir
10383fcafe Crypt library dependencies removed 2023-07-17 18:18:34 +02:00
Raghavendra Dinavahi
e459455115 Sidelink MAC-PHY interface definition
- Initial Draft of exchanges between MAC and Phy.
- For PSBCH, PSCCH and PSSCH
- based on 5G NR UE interface between MAC and PHY
2023-07-17 17:46:55 +02:00
mir
91a7dc806f First commit to remove crypt dependency 2023-07-17 12:47:30 +02:00
Robert Schmidt
578fbfb9f6 Merge branch 'integration_2023_w28' into 'develop'
integration_2023_w28

See merge request oai/openairinterface5g!2232

* !2190 Reduce compilation time of OAI using ccache
* !2209 T: don't use execute_process, integrate in cmake
* !2210 only cleaning, not change
* !2219 NR UE decode other SI
* !2223 Fix rfsimulator build
* !2225 Add XnAP ASN.1 definitions
* !2131 Polar coding according to the standard
* !2160 Add memory sanitizer flag to build_oai and fix some bugs
* !2206 Bugfix tx rf burst
* !2227 Remove commented code, fix CI issues
2023-07-16 13:48:23 +00:00
Robert Schmidt
c3931c9fe0 Merge remote-tracking branch 'origin/fixes-ci-ue' into integration_2023_w28 2023-07-13 19:19:31 +02:00
Robert Schmidt
a0c2c5d1e9 Merge remote-tracking branch 'origin/bugfix_tx_rf_burst' into integration_2023_w28 2023-07-13 19:19:23 +02:00
Robert Schmidt
516d4b9fc1 Merge remote-tracking branch 'origin/use-memsan' into integration_2023_w28 2023-07-13 19:19:15 +02:00
Robert Schmidt
92ba679bbf Merge remote-tracking branch 'origin/develop-PUCCH2' into integration_2023_w28 2023-07-13 18:47:46 +02:00
Robert Schmidt
52f21f525c Merge remote-tracking branch 'origin/IISc_XnHandover' into integration_2023_w28 2023-07-13 17:00:05 +02:00
Robert Schmidt
8be52f6c8d Merge remote-tracking branch 'origin/fix-simu' into integration_2023_w28 2023-07-13 16:59:59 +02:00
Robert Schmidt
70475fecec Merge remote-tracking branch 'origin/NR_UE_RRC_handle_otherSI' into integration_2023_w28 2023-07-13 16:59:49 +02:00
Robert Schmidt
b55bff37ca Merge remote-tracking branch 'origin/ue-code-cleanup' into integration_2023_w28 2023-07-13 16:56:36 +02:00
Robert Schmidt
3a49a44c2b Merge remote-tracking branch 'origin/t-no-execute-process' into integration_2023_w28 2023-07-13 16:56:23 +02:00
Robert Schmidt
bf246a6582 Merge remote-tracking branch 'origin/ccache' into integration_2023_w28 2023-07-13 16:56:16 +02:00
Laurent THOMAS
02e1b64379 small code review 2023-07-13 16:48:19 +02:00
francescomani
e198b74155 fixes running FR2 test with sanitize 2023-07-13 16:27:34 +02:00
mir
25409849b9 Add CCache to CMakeLists.txt if available to speed up build 2023-07-13 15:28:36 +02:00
Robert Schmidt
630ee18b79 Use BladeRF log level directly without OAI Log Levels
- bladerf depends on UTIL via common_lib.h
- use header guards
2023-07-13 10:29:33 +02:00
Robert Schmidt
9132992801 T: add tutorial for new trace 2023-07-13 10:29:33 +02:00
Cedric Roux
ad8612abd6 Import T documentation from wiki 2023-07-13 10:29:33 +02:00
Robert Schmidt
abf04db97b Allow to use cmake to generate T tracer programs
- Add CMakeLists.txt to build all T tracer user tools
- Previous Makefiles are retained in common/utils/T: you can do
  $ cd common/utils/T/tracer
  $ make # all executables are there
  or also
  $ mkdir build && cd build
  $ cmake .. -GNinja
  $ ninja T_tools # all executables are in build/common/utils/T/tracer
2023-07-13 10:29:33 +02:00
Robert Schmidt
a9e8a02dec Install libxft-dev by default, required by T tools 2023-07-13 10:29:33 +02:00
Cedric Roux
8a2a5015e6 T tracer tools: fix memory leaks, clang warnings
- Fix memory leaks detected by ASan
- Initialize variables that are flagged by compiler
- C struct initializer: x:y needs to be .x=y
2023-07-13 10:29:33 +02:00
Robert Schmidt
5a98ead92b Disable T tracer in clang build
We disable for two reasons:
- in the CI, with clang, it did not build once, but I cannot reproduce
  locally (even with clang)
- we want to maintain to be able to build without T tracer, so in one
  pipeline, we have to build without it. What a lucky coincidence!
2023-07-13 10:29:33 +02:00
Robert Schmidt
66893739b8 Make USRP compile, depends on T
USRP code uses the logging module, which has a dependency on T, if
configured. Therefore, include UTIL to satisfy this dependency
2023-07-13 10:29:33 +02:00
Robert Schmidt
9ed7ab6863 Remove unused VCD signal dumper from ETHERNET lib 2023-07-13 10:29:33 +02:00
Robert Schmidt
c853f74167 Include T.h in log.h only when T_TRACER=ON 2023-07-13 10:29:33 +02:00
Robert Schmidt
c1e8acb2e2 Repair build when T tracer build disabled 2023-07-13 10:28:38 +02:00
Robert Schmidt
2ae1908339 Put T source library in subdirectory, don't build multiple times
- UTIL: has LOG which brings as (public) dependency T, so link it publicly
- Move T to top to ensure all targets can have it
2023-07-13 10:28:38 +02:00
Sreeshma Shiv
756d9ab462 Add XNAP ASN.1 Definitions
* New folder named  XNAP created inside openair2
 * Added ASN File(38423.asn) for XNAP  and .cmake(38423.cmake) for the same inside XNAP.
 * CMakeLists.txt files changed to support .C and .H file generation for XNAP
2023-07-13 12:58:41 +05:30
Robert Schmidt
ec3acac9f8 Remove functions present due to (non-existing) linking issues 2023-07-12 16:46:50 +02:00
Robert Schmidt
eed29f8900 Remove commented, SDR ADRV9731-specific code 2023-07-12 16:46:11 +02:00
Robert Schmidt
454258d2e1 Remove unused preprocessor defines
commit ddf549b1f3 moved the CMakeLists.txt
for building radio libraries down to radio/. Previously, each option
would also declare a constant (e.g., OAI_USRP for USRP). With the
definition being below radio/, the executables don't have that define.

This commits removes the couple of defines that were in place:
- one that only shows a log, but it also applies for e.g., rfsimulator.
  It is also missing in the CI. Simply put it back
- two other places guard a commented(!) function call, which can go out
  entirely
2023-07-12 16:43:27 +02:00
Vaibhav Shrivastava
ae751e13ca incorrectStringBooleanError CPPCheck warnings fix on W27 2023-07-12 17:43:05 +05:30
Raphael Defosseux
26a5ec2b4d chore(ci): clean-up ltebox logs before launching
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-07-11 15:28:53 +02:00
Robert Schmidt
49be2e9b8f reduce sleep 2023-07-11 10:31:51 +02:00
Robert Schmidt
2b85595f22 MSan: check that not UBSan and ASan set; check that clang set 2023-07-11 10:31:43 +02:00
Raphael Defosseux
dd6ca5f15a fix(ci): proper ping operation syntax post-refactoring
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-07-11 08:48:48 +02:00
francescomani
b4734211f0 fixes to make RRC decode SI 2023-07-10 18:26:06 +02:00
francescomani
f770958d9d workaround to make UE decode DLSCH with other SI 2023-07-10 18:26:06 +02:00
francescomani
924be4edf9 monitor DCI for other SI 2023-07-10 18:26:06 +02:00
francescomani
6d0ae249bc handling SIB other than SIB1 at UE RRC 2023-07-10 18:26:06 +02:00
Robert Schmidt
79fe8f58a7 Speed up rfsimulator build
The ASN.1 RRC (4G/5G) headers are not needed
2023-07-10 16:33:04 +02:00
Robert Schmidt
5b62e0eb41 Fix target name for build_oai -w SIMU 2023-07-10 16:32:55 +02:00
Raphael Defosseux
cf387a48ec fix(ci): not using the proper function
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-07-10 13:03:19 +02:00
laurent
9121541b3c only cleaning 2023-07-10 12:00:25 +02:00
Raphael Defosseux
effaf59f84 Merge remote-tracking branch 'origin/develop' into ci-adding-back-lte-if4-5-tests
--> fixing conflict in ci-scripts/cls_containerize.py
2023-07-10 11:45:22 +02:00
Robert Schmidt
c3f8488456 Generate T headers using cmake 2023-07-10 09:18:14 +02:00
Robert Schmidt
392ef79b28 Merge branch 'integration_2023_w27' into 'develop'
integration_2023_w27

See merge request oai/openairinterface5g!2218

* !2163 CI: use same Ping functionality everywhere
* !2173 Remove RFSIMULATOR environment variable; rename two env vars, add one; documentation
* !2205 Add support for NR band n48
* !2211 Fix bug
* !2213 CI: AW2S pipeline - disable retransmissions check
* !2133 Add E2 agent
* !2208 Bugfix when deleting a SDAP entity
* !2195 remove redundant copies of pdu sessions list
* !2174 Refactor CMakeLists.txt
* !2167 CI: Creation of pipeline for OAIUE testing
* !2165 improvements in CI config files
2023-07-10 06:58:59 +00:00
Robert Schmidt
9dd27e60f9 Fix after merging ssh asterix into integration; conflict from ls 2023-07-10 08:57:18 +02:00
Robert Schmidt
c632f9c8e7 Merge remote-tracking branch 'origin/CI_config_improvements' into integration_2023_w27 2023-07-09 14:06:57 +02:00
Robert Schmidt
7b1703441f Merge remote-tracking branch 'origin/ci-nrue-test' into integration_2023_w27 2023-07-09 14:05:45 +02:00
Robert Schmidt
4ae73af46f Merge remote-tracking branch 'origin/cmake-refactor' into integration_2023_w27 2023-07-08 13:29:55 +02:00
Robert Schmidt
4e18ce02e3 Merge remote-tracking branch 'origin/remove-redundant-stored-drb-list' into integration_2023_w27 2023-07-08 13:29:37 +02:00
Robert Schmidt
079866bf4f Check for libforms for building scopes 2023-07-08 13:28:52 +02:00
Robert Schmidt
306b4974ad Simplify build_oai 2023-07-08 13:28:52 +02:00
Robert Schmidt
5f58ccb56c Remove unused build_oai variables 2023-07-08 13:28:52 +02:00
Robert Schmidt
c25ee6fd32 Move symlink creation to radio/transport device to cmake 2023-07-08 13:28:52 +02:00
Dhanuja Elizabeth Thomas
ff337b02af Remove unused UE conf, clean up documentation 2023-07-08 13:25:44 +02:00
Dhanuja Elizabeth Thomas
c8f78a232f Move unused config to untested folder 2023-07-08 13:25:19 +02:00
Dhanuja Elizabeth Thomas
12a3045bec Config files: make them lowercase
Changes for:
- phytest-dora config file
- rfsim-phytest-dora-106prb
- phytest-dora-106prb-usrpn300
- lte-2x2-tm1
- lte-2x2-tm2
- NSA-2x2
- 4g-rfsim-mbms-fembms
- 5grfsim-fr2-32prb
- nsa-2x2-quectel
- 5g-rfsim-24prb
- test xml
2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
6c241ec759 Rename config file nsa-2x2 2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
c357f96120 Rename config file for 5g-l2sim 2023-07-08 13:24:16 +02:00
francescomani
7e6124bb54 Cleanup in rfsim config files 2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
8f4ccdcf3c Rename sa-162prb config file and correct in XML using it 2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
23c1d4e63c Rename sa-2x2-ddsuu config file and correct in XML file using the same 2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
0409dcf5ee Rename sa-2x2-usrpn310 config and correct in XMLs using the same 2023-07-08 13:24:16 +02:00
Dhanuja Elizabeth Thomas
8048ea485b Remove old unused config file of gNB and XML for Amarisoft ue test 2023-07-08 13:24:16 +02:00
francescomani
0449ab7908 further cleanup of config files for CI 2023-07-08 13:24:16 +02:00
francescomani
cfc7a70f9a bugfix in ue msg3 scheduler 2023-07-08 13:24:16 +02:00
luis_pereira87
4deb58339b Fix multiple PDUSessions after review, now DRBs are configured sequentially, no matter what PDUSession id we receive 2023-07-08 13:15:03 +02:00
laurent
1fdf71e1db Address review comments 2023-07-08 13:14:58 +02:00
luis_pereira87
7e7b3c13f1 Fix multiple PDUSessions 2023-07-08 13:14:06 +02:00
Laurent THOMAS
ed7b675330 remove redundant copies of pdu sessions list 2023-07-08 13:14:06 +02:00
Robert Schmidt
6919f29060 Merge remote-tracking branch 'origin/Bugfix_SDAP_delete_entity' into integration_2023_w27 2023-07-07 16:55:50 +02:00
Robert Schmidt
be8a401242 Merge remote-tracking branch 'origin/e2_sub' into integration_2023_w27 2023-07-07 16:55:36 +02:00
Jaroslava Fiedlerova
a0d9beb0dd CI: docs for nrUE pipeline: update 2023-07-07 16:22:54 +02:00
Jaroslava Fiedlerova
8d90178d57 Modifications in cls_containerize: add comment 2023-07-07 16:19:12 +02:00
mir
97904c6db0 Simplify README 2023-07-07 13:49:17 +02:00
Robert Schmidt
1f14195543 Move inclusion of openair2/E2AP where it belongs 2023-07-07 13:49:17 +02:00
Robert Schmidt
31b7d7c432 !2173: Favor --rfsimulator.serveraddr "server" over RFSIMULATOR=server 2023-07-07 13:49:17 +02:00
mir
bb3d8b8201 near_ric_ip_addr added. The config needs to be defined in OAI's config file 2023-07-07 13:48:38 +02:00
mir
483c5436e5 gitlink to FlexRIC was updated 2023-07-07 13:48:38 +02:00
Robert Schmidt
126e7bb432 Reference E2 agent tutorial in doc/README.md 2023-07-07 13:45:18 +02:00
mir
70ad480a29 Add basic E2 agent through git submodule
- Add E2 agent that leverages FlexRIC e2ap library
- Add documentation in openair2/E2AP/README.md
- Currently, statistics exported are random
2023-07-07 13:45:18 +02:00
Jaroslava Fiedlerova
1db0fb07ab Configuration files for nrUE: update of uesoftmodem options 2023-07-07 13:28:38 +02:00
Jaroslava Fiedlerova
288e62898b Update of UE infra file - removal of obelix UE, network script renamed 2023-07-07 13:20:07 +02:00
Jaroslava Fiedlerova
cde71c8d0f Add pipeline to Jenkins container parent 2023-07-07 13:15:36 +02:00
Jaroslava Fiedlerova
639ee53578 Configuration files for gNB: cleanup of config file 2023-07-07 13:08:28 +02:00
Robert Schmidt
60d232e214 Merge remote-tracking branch 'origin/ci-aw2s-xml' into integration_2023_w27 2023-07-07 09:01:16 +02:00
Robert Schmidt
93ec943b12 Merge remote-tracking branch 'origin/bug_fix_tp' into integration_2023_w27 2023-07-07 09:01:09 +02:00
Robert Schmidt
15d1cd9500 Merge remote-tracking branch 'origin/NR_Band_n48' into integration_2023_w27 2023-07-07 09:01:01 +02:00
Robert Schmidt
97cf8a48a9 Merge remote-tracking branch 'origin/doc-env-var' into integration_2023_w27 2023-07-07 09:00:54 +02:00
Robert Schmidt
00e3c5acdd Run ldconfig to find libparams_libconfig.so in nr-cuup container 2023-07-07 08:35:29 +02:00
Robert Schmidt
0163a52b7a Add libcblas for docker containers 2023-07-07 08:35:29 +02:00
Robert Schmidt
b90a469131 Correctly build AW2S in dockerfile 2023-07-07 08:35:29 +02:00
Robert Schmidt
4db08dc68a Simplify compilations build helper
Instead of using ninja/make directly, there is a cmake command option to
trigger the build using whatever build tool has been configured. Use it;
if there is a mismatch, there will also be a clearer cmake error.

Remove build_oai's --build-coverity: we don't use it, and it can
trivially be added if required (probably, most users would run it by
hand anyway).

Add an error if the compilations function is not called with the right
noumber of arguments.
2023-07-07 08:35:29 +02:00
Robert Schmidt
b896da85e7 Harmonize build_oai color output 2023-07-07 08:35:29 +02:00
Robert Schmidt
557e3ba800 Make ethernet off by default in build_oai
If it was one, build_oai without parameters would attempt to build the
ethernet library. However, this is unexpected, and will lead to an error
(as it is by default off in CMake). Set it to off, and build it where
required.
2023-07-07 08:35:28 +02:00
Robert Schmidt
ddf549b1f3 Move radio CMakeLists.txt to subdirectory
- move following radios: AW2S, BladeRF, IRIS, LMSSDR, RFsimulator, USRP
- move following transports: Ethernet, benetel4g, benetel5g
- for each: create independent cmake variable to switch compilation
  on/off, in order: OAI_AW2S, OAI_BLADERF, OAI_IRIS, OAI_LMSSDR,
  OAI_SIMU, OAI_USRP, OAI_ETHERNET, OAI_BENETEL4G, OAI_BENETEL5G
- Remove RF_BOARD variable, allows to compile multiple boards at once
- where applicable: remove USERSPACE/LIB in path, i.e., move files up to
  directories, as all are userspace libraries

Note that with the above, it is now mandatory to enable a radio
implementation before compiling it, e.g., for USRP:

./build_oai -w USRP
cmake .. -DOAI_USRP=ON && ninja oai_usrpdevif
2023-07-07 08:35:28 +02:00
Robert Schmidt
52cb72c0ee build_oai: allow to only build radio/transport libraries 2023-07-07 08:35:28 +02:00
Robert Schmidt
47da0a024d Remove libcrypto, correctly search and link libcrypt
- libcrypto is not used
- we use libcrypt, so correctly check for it, and link to the
  corresponding targets
2023-07-07 08:35:28 +02:00
Robert Schmidt
c9231dd02d CONFIG_LIB: do not include libconfig headers globally
Use target_include_directories() only on relevant targets.
Remove from some targets that don't use the config module.
2023-07-07 08:35:28 +02:00
Robert Schmidt
1875190521 Repair rftest
- needs forms library, so link it
- fix warnings
2023-07-07 08:35:28 +02:00
Robert Schmidt
387f5e4118 Make shlib_loader OBJECT library to prevent multiple compilations
Including sources in targets makes that file being compiled multiple
times. Instead, define an OBJECT library (i.e., it is only compiled, but
not linked), and link it into each target that uses it.
2023-07-07 08:35:28 +02:00
Robert Schmidt
28ec4944a5 Fix minimal_stub.c
It uses definitions from stdlib.h, so include it.
2023-07-07 08:35:28 +02:00
Robert Schmidt
be4c03c90c Properly check and link (C)BLAS and LAPACKE dependencies
Instead of using the adhoc code for checking and including (globally!)
BLAS/LAPACKE, use PkgConfig to correctly identify libs (see deleted
comment: "Hope this gets fixed in future!" -- you are welcome). Next,
only link into those libraries that need it (PHY_UE, SIMU). Note that
only RHEL also needs cblas, so it is a non-REQUIREd dependency that is
only linked in if available. Further, take out linking into all other
modules, as they don't need it.

In the source code, take out preprocessor directives to correctly
include headers -- that is cmake's job, which it does just fine now.
2023-07-07 08:35:28 +02:00
Robert Schmidt
25f2a48265 Remove targets/Makerules: it is not used 2023-07-07 08:35:28 +02:00
Robert Schmidt
25edebb593 Refactor CMakeLists.txt OpenSSL handling
First, we do not include openssl globally using `include_directories()`,
as most modules don't need it. Further, it is linked into SECURITY, and
removed from all other targets (they don't need it, only SECURITY).

Finally, remove a header include in NR PDCP that is not needed
2023-07-07 08:35:28 +02:00
Robert Schmidt
439b6027cf Remove CMakeLists.txt reference to xpm: it is not used 2023-07-07 08:35:28 +02:00
Robert Schmidt
cd6dd99d43 Remove CMakeLists.txt reference to openpgm: it is not used 2023-07-07 08:35:28 +02:00
Robert Schmidt
5b534c957f Remove unused cmake options and commented code
- LINUX: option to optionally set a sighandler for certain simulators,
  no practical relevance
- LINUX_LIST: not used anywhere
- DEBUG_DLSCH: referenced in the code, but those files have a separate
  (commented) line `#define DEBUG_DLSCH`; probably never used
- LINK_ENB_PDCP_TO_IP_DRIVER, LINK_ENB_PDCP_TO_GTPV1U: commented in
  cmake, although they are referenced. It is likely that code behaves
  unexpected if re-enabled; we therefore remove these options to avoid
  future problems
- Remove some more commented code
2023-07-07 08:35:28 +02:00
Robert Schmidt
7ebdaf35c5 Remove cmake ENB_MODE option
ENB_MODE is a cmake option to swap the order of include directories.
This has historical reasons; before OAI used cmake, it was very
sensitive to the order of includes. Nowadays, the order does not matter.
Remove this option, and fix the compilation issues that arise while
doing so.
2023-07-07 08:35:28 +02:00
Robert Schmidt
11f4bd9c32 Remove cmake NAS_NETLINK option
This option is almost not referenced anywhere,  and not documented.
Remove it to avoid problems in the future.
2023-07-07 08:35:28 +02:00
Robert Schmidt
3256606285 Remove unused includes
- openair2/ENB_APP/CONTROL_MODULES: this directory does not exist
  anymore
- openair2/UTIL/{OMG,CLI,OMV}: not used anywhere
2023-07-07 08:35:28 +02:00
Jaroslava Fiedlerova
26be073ff9 CI: AW2S pipeline - disable retransmissions check 2023-07-06 10:22:15 +02:00
Angelo Athanassopoulos
7a2790ba68 NR SDAP - Bugfix for entity deletion
This commit fixes the implementation for removing either a single SDAP entity or all the SDAP entities of a UE.
2023-07-05 23:31:34 +02:00
Robert Schmidt
cd3ecd61f4 Clang format 2023-07-05 06:55:22 +00:00
mir
99e0291dbd Fix bug 2023-07-04 22:33:05 +02:00
Jaroslava Fiedlerova
fb73432842 Jenkinsfile for oaiue pipeline created 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
5cd74ddf72 Add xml files for OAIUE test and cleanup 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
0f3ff028ac Modifications in cls_containerize to support deployment of oai-nr-ue
- add oai-nr-ue to image list
 - add oai-nr-ue sync message to check
 - skip oai-nr-ue log analysis in undeployemnt stage
 - add UE log analysis
2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
8ec1e639c0 Bind interface IP address in iperf3 test 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
cc71018ef7 Define server where to pull OC images
- if the server is not specified in the xml file, eNBIPAddress is taken
2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
a648b9ed26 Add caracal OAIUE to UE infra 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
1f181a5956 Configuration files for gNB created 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
13763f4ff8 Configuration files for nrUE created 2023-07-03 15:37:36 +02:00
Jaroslava Fiedlerova
0807b1d99b CI: docs for nrUE pipeline 2023-07-03 15:37:25 +02:00
Dhanuja Elizabeth Thomas
d0aa233aaf Remove PingFromContainer definition and portions where it is called in main.py 2023-07-03 14:44:33 +02:00
Dhanuja Elizabeth Thomas
54d2b887b8 Use Ping instead of PingFromContainer in simulator tests
Affected tests:
- 5G RFsim TDD do-ra
- 5g-rfsim-fdd
- 5g-rfsim
- 5grfsim-e1
- 5grfsim-24prb
- 5grfsim-fr2-32prb
- 5grfsim-fdd-phytest
- 5grfsim-u0-25prb
- 5grfsim-2x2
- 5grfsim-f1
- 5grfsim-f1-accelleran
- 4g-l2sim-tdd
- 4g-rfsim-fdd-05mhz
- 4g-rfsim-fdd-05mhz-nos1
- 4g-rfsim-fdd-10mhz
- 4g-rfsim-fdd-20mhz
- 4g-rfsim-tdd-05mhz
- 5g-l2sim
2023-07-03 14:44:29 +02:00
Dhanuja Elizabeth Thomas
aac010ea18 Add 5grfsim, 4grfsim, l2sim5g, l2sim4g interface details in ci_ueinfra 2023-07-03 14:42:31 +02:00
Dhanuja Elizabeth Thomas
2880be7282 Rename UENetworkScript to NetworkScript in ci_ueinfra 2023-07-03 14:42:31 +02:00
Robert Schmidt
9f55d7121c Refactor Ping to use %cn_ip% for address to ping, or hardcoded 2023-07-03 14:42:31 +02:00
Robert Schmidt
2500138fea Fixup: copying via cls_cmd only supports absolute paths 2023-07-03 14:37:23 +02:00
Robert Schmidt
6045e5cf23 Initialize memory to 0 in nr_decode_pucch{,2}() 2023-07-03 14:07:38 +02:00
Robert Schmidt
54d5676c21 Initialize variables to NULL/0 in nr_dlschsim, pucchsim, nr_ulschsim 2023-07-03 14:07:38 +02:00
Robert Schmidt
5aed7d30d6 Use calloc() in new_channel_desc_scm() 2023-07-03 14:07:38 +02:00
Robert Schmidt
4819b6b6ae Initialize TDL Model buffers with 0 2023-07-03 14:07:38 +02:00
Robert Schmidt
03fe3b508e Provide build_oai/cmake option to build with memory sanitizer 2023-07-03 14:07:38 +02:00
rmagueta
1d6f740cb0 Update FEATURE_SET.md 2023-07-03 11:40:35 +01:00
rmagueta
f35d613f7d Decrease maxCodeRate of PUCCH2 2023-07-03 11:40:35 +01:00
rmagueta
79d6a48f47 Remove limitation related to schedule more than 11 bits in PUCCH2 2023-07-03 11:40:35 +01:00
rmagueta
b722d92fa0 Extract the information bits from U 2023-07-03 11:40:35 +01:00
rmagueta
fb7d4dc4df Compute parity_check_bit_pattern and implementation of function nr_polar_generate_u() and nr_polar_uxG() 2023-07-03 11:40:35 +01:00
rmagueta
d6b7b6b918 Q_PC_N computation for n_pc_wm = 0 2023-07-03 11:40:35 +01:00
Roberto Louro Magueta
98ed514cab Implementation for de-interleaving of coded bits 2023-07-03 11:40:35 +01:00
Roberto Louro Magueta
e5825139d7 Implementation for interleaving of coded bits 2023-07-03 11:40:35 +01:00
luis_pereira87
62d33ce523 Add function to remove all SDAP entities for a UE 2023-07-03 09:42:06 +01:00
luis_pereira87
57a3f9fe2f Bugfix when deleting a SDAP entity that is not the first one on the list and prevents segfault when removing the last one on the list
Fix delete entity function, a SDAP entity is a combination of a UE and PDUSession, we cannot just simply delete the first entity for a UE
2023-07-03 09:42:06 +01:00
Robert Schmidt
10d2af11b8 Merge branch 'integration_2023_w26' into 'develop'
integration_2023_w26

See merge request oai/openairinterface5g!2202

* !2081 Nonlinear ML receiver
* !2188 Bugfix for FR2
* !2189 Bugfix for getting band and numerology from command line for OAI UE
* !2192 Fix bugs in F1 implementation found with UBSan
* !2194 moving handling of RA success for reconfigurationWithSync at RRC
* !2031 Adding new sidelink (SL) variables
* !2148 NR MAC UE further improvements for DCI configuration
* !2164 Enable T304
* !2197 chore(ci-cn): Transition to YAML configuration scheme
2023-07-03 08:35:10 +00:00
Robert Schmidt
735c960f6c Merge remote-tracking branch 'origin/ci-cn5g-yaml-config' into integration_2023_w26 2023-07-03 08:03:18 +02:00
ajit
63d72e7ace bugfix in tx_rf for RU in burst mode 2023-07-01 18:46:23 +05:30
luis_pereira87
9ea0ef666e Add support for NR band n48 2023-07-01 10:05:07 +01:00
Robert Schmidt
a73cc999a9 Merge remote-tracking branch 'origin/enable-T304' into integration_2023_w26 2023-06-30 19:11:44 +02:00
Robert Schmidt
e9099146c0 Merge remote-tracking branch 'origin/NR_MAC_UE_further_improvements_dci' into integration_2023_w26 2023-06-30 19:11:35 +02:00
Robert Schmidt
8f07050cbe Merge remote-tracking branch 'origin/episys-merge-SL-variables' into integration_2023_w26 2023-06-30 19:10:55 +02:00
Melissa Elkadi
a0a2248ea1 Introduce #defines for Sidelink Synchronization
Implement the #define variables required for synchronization: These
variables include offset and payload size values that vary from the Uu
interface, in relation to the PSS, SSS and PBCH elements. We also
introduce the new sl_mode command line flag, which is used to switch
between the Uu interface and SL interface. This will allow us to modify
exisitng PSS and SSS functions, without copying complete 5G functions
and only changing a few lines to support sidelink mode.

Fixing formatting for softmodem-common.h
2023-06-30 18:55:28 +02:00
Robert Schmidt
ec8d2fa525 Merge remote-tracking branch 'origin/NR_UE_RRC_handling_RA' into integration_2023_w26 2023-06-30 04:00:42 +02:00
Robert Schmidt
98fda17ea0 Merge remote-tracking branch 'origin/ub-f1' into integration_2023_w26 2023-06-30 04:00:32 +02:00
Robert Schmidt
e6629d9c7b Merge remote-tracking branch 'origin/NR_UE_fix_cmd_line_params' into integration_2023_w26 2023-06-30 03:55:46 +02:00
Robert Schmidt
e6c13fa944 Merge remote-tracking branch 'origin/develop-FR2-bugfix' into integration_2023_w26 2023-06-30 03:55:34 +02:00
francescomani
e45da1a6fa moving handling of RA success for reconfigurationWithSync at RRC 2023-06-28 14:52:34 +02:00
Robert Schmidt
2ce109cd63 Remove RFsimulator server option from non-rfsim configs 2023-06-28 07:16:43 +02:00
Robert Schmidt
40640f943e Add RFsimulator server option to rfsim configs 2023-06-28 07:16:43 +02:00
Robert Schmidt
04247d501d Remove RFSIMULATOR environment variable from repository 2023-06-28 07:16:43 +02:00
Robert Schmidt
7a3aaca1ef Print warning if RFSIMULATOR environment variable is used 2023-06-28 07:16:00 +02:00
Robert Schmidt
710bfdbf04 Introduce env var OAI_RNGSEED
can be used to set a random number generator (RNG) seed uniformly from
command line
2023-06-28 07:16:00 +02:00
Robert Schmidt
49703eee7b Rename threadPoolMeasurements to OAI_THREADPOOLMEASUREMENTS
- make it clear that it belongs to OAI
- follow convention of uppercase name
2023-06-28 07:16:00 +02:00
Robert Schmidt
ba11dfba4e Rename env var gdbStacks to OAI_GDBSTACKS
- make it clear that it belongs to OAI
- follow convention of uppercase name
2023-06-28 07:16:00 +02:00
Robert Schmidt
01d1a47adf Remove commented code that uses getenv(): it might be confusing if reactivated 2023-06-28 07:16:00 +02:00
Robert Schmidt
c44dcefd16 Document environment variables used by OAI programs 2023-06-28 07:16:00 +02:00
francescomani
c08b4b9f08 review 2023-06-27 19:20:44 +02:00
francescomani
1da7cada48 solution to L2 failure -> handling switch to 1_0 2023-06-27 19:20:44 +02:00
francescomani
8c2c89491c fix for not initialized pduBitmap 2023-06-27 19:20:44 +02:00
francescomani
409df4bb98 remove unnecessary part of dci scehduler for RA 2023-06-27 19:20:44 +02:00
francescomani
72927faf06 some refactoring in dci configuration 2023-06-27 19:20:44 +02:00
Raphael Defosseux
8cf27b0af8 chore(ci-cn): starting 2023/06/22, CN5G images do not support anymore env-variable-based deployment configuration
* A common YAML file shall be mounted
* Currently SPGWU-TINY is still using the old configuration scheme
  - But a new UPF is soon to be released

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-27 14:06:02 +02:00
Roberto Louro Magueta
70270250e8 Select Nonlinear ML or Linear MMSE receiver 2023-06-26 12:51:31 +01:00
Roberto Louro Magueta
917ff8e97b Remove duplicated code 2023-06-26 12:51:31 +01:00
Roberto Louro Magueta
8a820db22f Compute LLR for 64QAM for ML 2023-06-26 12:51:31 +01:00
Roberto Louro Magueta
46dca7a111 Compute LLR for 16QAM for ML 2023-06-26 12:51:31 +01:00
Roberto Louro Magueta
e21a09967d Compute LLR for QPSK for ML 2023-06-26 12:51:31 +01:00
Roberto Louro Magueta
8fffe50a11 Fix rho computation 2023-06-26 12:51:31 +01:00
rmagueta
659d529315 Enable T304 2023-06-26 11:06:16 +01:00
rmagueta
dcae67c375 Bugfix for PDCCH monitoring occasions tables and SFN computation for FR2 2023-06-26 10:59:17 +01:00
Robert Schmidt
7d9b4db580 Correctly copy in_addr for GTP F1 tunnel update 2023-06-26 11:23:52 +02:00
Robert Schmidt
26a69234b2 Fix UB problems in F1: right TEID conversion, which is unsigned 2023-06-26 11:22:58 +02:00
Robert Schmidt
c1fbd777a9 Merge branch 'integration_2023_w25' into 'develop'
integration_2023_w25

See merge request oai/openairinterface5g!2184

* !2162 NR UE MAC and RRC handling of RLM
* !2175 no sanitize on generated ldpc code
* !2176 using rotation functions also at UE
* !2177 nr sib1: add mandatory fields for FDD
* !2178 fixing a typo in band 41 sync raster matrix
* !2169 NR CSI-RS configured per BWP
* !2180 bugfix in RAR time domain allocation
* !2187 Avoid segmentation fault when optional IE nAS_PDU is NULL
* !2179 Tutorials: Update docker install to the latest instructions on the official website
2023-06-24 12:11:44 +00:00
Robert Schmidt
5056a5533f Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2023_w25 2023-06-23 18:55:04 +02:00
Robert Schmidt
da96ebe950 Merge remote-tracking branch 'origin/Fix_SegFault_nAS_PDU' into integration_2023_w25 2023-06-23 18:54:56 +02:00
Robert Schmidt
4bcdb0f6a8 Merge remote-tracking branch 'origin/NR_UE_RAR_fix' into integration_2023_w25 2023-06-23 18:54:37 +02:00
Robert Schmidt
5d1dbf1315 Merge remote-tracking branch 'origin/NR_RRC_CSI_RS_improv_2' into integration_2023_w25 2023-06-23 18:54:16 +02:00
Daniel Andrade
aed0cfe2af Bugfix for getting band and numerology from command line for OAI UE 2023-06-23 14:35:20 +01:00
francescomani
0965e86aca schedule CSI-RS only once per BWP 2023-06-23 11:43:40 +02:00
luis_pereira87
7a4dc63575 Avoid segmentation fault when optional IE nAS_PDU is NULL 2023-06-23 08:43:04 +01:00
Robert Schmidt
2dc5536197 Merge remote-tracking branch 'origin/fix_band41_sync_raster' into integration_2023_w25 2023-06-22 18:37:32 +02:00
Robert Schmidt
87a846ba7e Merge remote-tracking branch 'origin/nr-sib1-for-fdd' into integration_2023_w25 2023-06-22 18:14:01 +02:00
Robert Schmidt
938bf4cb7f Merge remote-tracking branch 'origin/fix_ul_rotation' into integration_2023_w25 2023-06-22 18:13:51 +02:00
Robert Schmidt
84f071449b Merge remote-tracking branch 'origin/workaround-clang-compilation-time' into integration_2023_w25 2023-06-22 18:13:44 +02:00
Robert Schmidt
7fc88afb96 Merge remote-tracking branch 'origin/NR_UE_towards_resync' into integration_2023_w25 2023-06-22 18:13:34 +02:00
francescomani
93d6ae6d86 making CSI-RS RRC configuration independent from UE 2023-06-22 14:13:44 +02:00
Raphael Defosseux
9e3de38372 chore(ci): renaming properly the IF4.5 conf files and cleaning-up all RCC/RRU files
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-21 15:28:37 +02:00
Raphael Defosseux
832c1acc4e chore(ci): adding one TDD scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-21 15:11:50 +02:00
Raphael Defosseux
925b4dea21 chore(ci): adding one FDD scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-21 15:11:50 +02:00
Raphael Defosseux
335696282d chore(ci): post MR 1976, resync
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-21 15:11:50 +02:00
francescomani
2922ea5176 fix also on gnb side 2023-06-21 11:11:12 +02:00
francescomani
bdc445f766 bugfix in RAR time allocation at UE 2023-06-20 18:50:50 +02:00
luis_pereira87
ab1cff7220 Tutorials: Update docker install to the latest instructions on the official website 2023-06-20 14:31:19 +01:00
francescomani
7d08b0c06d add assertion in rotation function 2023-06-20 11:43:41 +02:00
francescomani
6c6095fc06 fixing a typo in band 41 sync raster matrix 2023-06-20 11:36:52 +02:00
francescomani
1c3058e2d2 use of apply_rotation functions also at UE 2023-06-20 10:39:13 +02:00
Cedric Roux
74ae831cf9 nr sib1: add mandatory fields for FDD 2023-06-20 09:38:14 +02:00
francescomani
35b3a6d478 bugfix in ul rotation and formatting 2023-06-20 09:34:03 +02:00
Robert Schmidt
773a35ef7a Merge branch 'integration_2023_w24' into 'develop'
integration_2023_w24

See merge request oai/openairinterface5g!2171

* !2108 Fix reconfigurationWithSync
* !2138 check if SSB is on the sync raster for SA
* !2149 Fix for physCellId different from 0 for CU DU
* !2157 e1: fix security
* !2161 asn1: properly initialize variables for uper_decode() and aper_decode()
* !2143 PUCCH UE F0 and F1 refactoring and fixes
* !2170 bladerf: have it functional (lte only, no nr)
* !2102 Adding Sidelink (SL) carrier frequency
* !2096 remove generic thread pool abort and use 3GPP CRC to detect the segment is decoded
* !2158 NR UE adding flag for activation of AS security
2023-06-20 00:06:32 +00:00
Laurent THOMAS
a773d024e8 no sanitize on generated ldpc code 2023-06-19 09:48:17 +02:00
Robert Schmidt
3e32fa7e85 Merge remote-tracking branch 'origin/NR_UE_security_flag' into integration_2023_w24 2023-06-16 21:30:27 +02:00
Robert Schmidt
96aacd58aa Merge remote-tracking branch 'origin/remove-thread-pool-abort' into integration_2023_w24 2023-06-16 17:54:11 +02:00
Robert Schmidt
d4eeffff81 Merge remote-tracking branch 'origin/episys-add-sl-freq' into integration_2023_w24 2023-06-16 17:54:04 +02:00
Robert Schmidt
15b8dbc476 Remove unnecessarily verbose log 2023-06-16 17:51:17 +02:00
francescomani
491174869a adding flag for activation of as security 2023-06-16 17:24:09 +02:00
Robert Schmidt
6ac18302c9 Merge remote-tracking branch 'origin/fix-bladerf' into integration_2023_w24 2023-06-16 11:19:17 +02:00
Robert Schmidt
e9f4c586d5 Merge remote-tracking branch 'origin/NR_UE_pucch1' into integration_2023_w24 2023-06-16 11:19:09 +02:00
Robert Schmidt
555a54f85e Add Sidelink (SL) carrier frequency
1. Adding a "SL" frequency for Sidelink mode. The
   importance of this variable is to ensure that
   when we are in mode 1 (UE+UE+gNB), that the slot
   configuration and frequencies do not overlap. This
   SL frequency is important for rotation and allows
   us to utilize the OFDM modulation and demodulation
   functions that already exist in OAI.
2. Adding sl_mode to the command line for proper UE
   deployment when in SL mode. sl_mode can be set to 0,
   1, or 2. sl_mode 0 indicates no-Sidelink at all,
   mode 1 is gNB, UE, and UE (3GPP defines mode numbers).
   sl_mode 2 indicated UE to UE communications with no
   gNB at all.
3. New functions for calculating the carrier frequency
   for SL mode.
2023-06-16 11:11:44 +02:00
Robert Schmidt
cedde332d8 Merge remote-tracking branch 'origin/bugfix-asn1-mem-init' into integration_2023_w24 2023-06-16 11:09:41 +02:00
Robert Schmidt
cdb81622ae Merge remote-tracking branch 'origin/fix-e1-security' into integration_2023_w24 2023-06-16 11:09:26 +02:00
Robert Schmidt
feb866d1a9 Merge remote-tracking branch 'origin/ho-fix-physCellId' into integration_2023_w24 2023-06-16 11:09:13 +02:00
Robert Schmidt
eca43633ee Merge remote-tracking branch 'origin/NR_SSB_sync_raster_check' into integration_2023_w24 2023-06-16 11:08:56 +02:00
Cedric Roux
2778fd560f bladerf: have it functional (lte only, no nr)
At Eurecom now we only have Nuand bladeRF 2.0 (bladerf2) and those
calibration calls fail, so let's remove them. Maybe they are needed
for other boards, but we can't test at Eurecom. In case of problems
with other boards, contact us.
2023-06-15 17:14:24 +02:00
Laurent THOMAS
01ac2f0f0e fix a compiler warning 2023-06-15 16:10:18 +02:00
francescomani
ab908e3b25 some refactoring and fixes for pucch1 2023-06-14 17:38:22 +02:00
laurent
487920d3c0 code review comment, simplify the case ldpc decoder offload and mcs <= 9
clang annoying chosen options
2023-06-14 16:34:36 +02:00
francescomani
f94d2870eb code clenup 2023-06-13 16:07:59 +02:00
General ABS
240481e216 Fix for physCellId different from 0 for CU DU 2023-06-13 15:06:12 +01:00
francescomani
85aaf3a0ba upper layers handling of radio link monitoring 2023-06-13 14:54:56 +02:00
Cedric Roux
8561a0f764 asn1: properly initialize variables for uper_decode() and aper_decode() 2023-06-12 16:15:57 +02:00
laurent
c102d3cd78 simplify ldpc lib copy in all duplicated files 2023-06-12 10:24:57 +02:00
laurent
615324294b ldpc check based on crc 2023-06-12 10:24:57 +02:00
Laurent THOMAS
3645c96c09 remove generic thread pool abort 2023-06-12 10:24:37 +02:00
Cedric Roux
46f0e348f1 e1: fix security 2023-06-11 12:28:56 +02:00
francescomani
cd817930b8 fix tests after review and LOG_E to avoid assertion on channel raster 2023-06-10 19:22:27 +02:00
Roberto Louro Magueta
45d4333afc Fix reconfigurationWithSync 2023-06-10 13:06:37 +01:00
Robert Schmidt
f8f9f8ac14 Merge branch 'integration_2023_w23' into 'develop'
integration_2023_w23

See merge request oai/openairinterface5g!2156

* !2115 Enable 100MHz on USRP X310
* !2118 Cleanup code in PSS/SSS procedures
* !2123 improving NR UE RRC handling of timers and constants
* !2150 Fix type0_pdcch_ss_mux_pattern for FR2
* !2153 Fix UE DURATION_RX_TO_TX assertions
* !2155 chore(ci): saw a little missing version on HTML report
* !2117 remove some dead code
2023-06-10 10:05:17 +00:00
Robert Schmidt
ef6f571bee Merge remote-tracking branch 'origin/remove-unused-static-functions' into integration_2023_w23 2023-06-08 19:15:50 +02:00
laurent
1b09f683f9 Fix compilation errors due to -Werror 2023-06-08 19:15:24 +02:00
Robert Schmidt
3d11dbc126 Merge remote-tracking branch 'origin/ci-proper-report-cppcheck-version' into integration_2023_w23 2023-06-08 18:24:36 +02:00
Robert Schmidt
969291697b Merge remote-tracking branch 'origin/NR_UE_DURATION_RX_TO_TX_assertions' into integration_2023_w23 2023-06-08 18:24:30 +02:00
Robert Schmidt
0536c58470 Merge remote-tracking branch 'origin/NR_SA_FR2_fix_mux_pattern' into integration_2023_w23 2023-06-08 18:24:24 +02:00
Robert Schmidt
f2bdb6bb93 Merge remote-tracking branch 'origin/NR_UE_timers_and_constants_functions' into integration_2023_w23 2023-06-08 18:24:16 +02:00
Robert Schmidt
20366125f3 Merge remote-tracking branch 'origin/coarse-cleaning-pss-ss' into integration_2023_w23 2023-06-08 18:24:10 +02:00
Robert Schmidt
af923d6e0b Merge remote-tracking branch 'origin/100MHz_on_x310' into integration_2023_w23 2023-06-08 18:23:55 +02:00
francescomani
ce7d6cc3fb review 2023-06-08 14:56:14 +02:00
francescomani
5480522a5c additional check for absoluteFrequencySSB to be in channel raster and some cleanup of config files 2023-06-08 14:56:14 +02:00
francescomani
57be6ee2ef fix rfsim CI tests not in sync raster 2023-06-08 14:56:14 +02:00
francescomani
3e7a082034 check if SSB is on the sync raster for SA 2023-06-08 14:52:52 +02:00
laurent
5cb22784fc coarse-cleaning-pss-sss 2023-06-08 14:01:25 +02:00
Raphael Defosseux
d4255cc805 chore(ci): saw a little missing version on HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-06-08 11:09:18 +02:00
Robert Schmidt
2fa8284a9b Merge branch 'integration_2023_w23_ci' into 'develop'
CI only: integration_2023_w23_ci

See merge request oai/openairinterface5g!2154

* !2139 Draft: chore(ci): porting the old IF4.5 LTE baremetal test to docker
* !2146 CI: Ensure termination of AmariUE in AW2S pipeline
* !2147 Build RHEL9 images on Openshift Cluster
* !1976 Mount all docker config files, remove sed-based templating of config files
2023-06-07 16:31:50 +00:00
Robert Schmidt
3258d4e883 Merge remote-tracking branch 'origin/docker-config-changes' into integration_2023_w23_ci 2023-06-07 13:59:43 +02:00
Robert Schmidt
149289ff48 Merge remote-tracking branch 'origin/ci-update-images-rhel9' into integration_2023_w23_ci 2023-06-07 13:38:19 +02:00
Robert Schmidt
a8c4ca5466 Merge remote-tracking branch 'origin/ci-aw2s-ue-termination' into integration_2023_w23_ci 2023-06-07 13:38:12 +02:00
Robert Schmidt
c892a89f27 Merge remote-tracking branch 'origin/lte-fix-if4-5-docker' into integration_2023_w23_ci 2023-06-07 13:38:05 +02:00
francescomani
1bf472b048 set correct assertion for DURATION_RX_TO_TX 2023-06-07 08:57:01 +02:00
Robert Schmidt
7042a9e108 Move untested files to ci-scripts/conf_files/untested 2023-06-07 08:51:51 +02:00
Robert Schmidt
85cdcd14c3 Rename files to follow style guide 2023-06-07 08:49:24 +02:00
DanielAndrade
ab21acfe2f Fix type0_pdcch_ss_mux_pattern for FR2 2023-06-06 17:18:14 +01:00
Dhanuja Elizabeth Thomas
0db42d35a5 Removing used config file for lte-tdd-tm1 2023-06-06 15:02:33 +02:00
Dhanuja Elizabeth Thomas
f94a8f4a0d Using renamed config file for lte-b200-tdd-20mhz-tm1 2023-06-06 15:01:31 +02:00
Dhanuja Elizabeth Thomas
bf40e96723 Using renamed config file for lte-b200-tdd-10mhz-tm1 2023-06-06 14:59:01 +02:00
Dhanuja Elizabeth Thomas
422f8e476c Using renamed config file for lte-b200-tdd-05mhz-tm2 2023-06-06 14:58:27 +02:00
Dhanuja Elizabeth Thomas
c22f5ed7e5 Using renamed config file for lte-b200-tdd-05mhz-tm1 2023-06-06 14:57:01 +02:00
Dhanuja Elizabeth Thomas
c45494b8c5 Rename config file used for lte-b200-tdd 2023-06-06 14:52:45 +02:00
Dhanuja Elizabeth Thomas
902c516450 Removed identical file for lte-b200-tdd-05mhz-tm2 and reusing existing config file 2023-06-06 14:48:39 +02:00
Dhanuja Elizabeth Thomas
d62a921485 Removed identical config file used for lte-b200-fdd-10mhz-tm1-cdrx 2023-06-06 14:37:14 +02:00
Jaroslava Fiedlerova
7c68fb4324 Increase timeout for ran-base build, print os release, change of cmake on rhel distro 2023-06-06 08:33:42 +02:00
Jaroslava Fiedlerova
f867ea00c8 Rename Dockerfile for nr-cuup from rhel8.2 to rhel9 2023-06-06 08:06:16 +02:00
Jaroslava Fiedlerova
e56cb46c40 Rebase, modification of Dockerfile for nr-cuup 2023-06-05 17:53:45 +02:00
Jaroslava Fiedlerova
ff9b180228 Remove rhel9 codeready builder repo from Dockerfiles 2023-06-05 17:49:06 +02:00
Jaroslava Fiedlerova
2c83d2641a Fix in install zlib dependency 2023-06-05 17:49:06 +02:00
Robert Schmidt
afae209d43 Enable right repository for RHEL9 images 2023-06-05 17:49:06 +02:00
Robert Schmidt
16685cb5c0 Install zlib dependency 2023-06-05 17:49:06 +02:00
Robert Schmidt
04200f6f0b Install EPEL from build_helper 2023-06-05 17:49:06 +02:00
Robert Schmidt
a834c10bd7 RHEL9 container build/build_oai: switch to dnf 2023-06-05 17:49:06 +02:00
Robert Schmidt
a553b4c6a2 Allow to use subscription manager inside RHEL9 containers
More information: see https://access.redhat.com/discussions/5889431
2023-06-05 17:49:06 +02:00
Jaroslava Fiedlerova
296bddb904 Build RHEL9 images on Openshift Cluster
- update of existing Dockerfiles for building RHEL8 images to RHEL9
2023-06-05 17:49:06 +02:00
Dhanuja Elizabeth Thomas
f64763a06b Removing field not present in 5g-fdd-rfsim config file 2023-06-05 16:21:36 +02:00
Dhanuja Elizabeth Thomas
b4c410d6ed Rename the config file for 4g_rfsim_fembms 2023-06-05 14:13:50 +02:00
Dhanuja Elizabeth Thomas
82d0f2db6c Renamed config file name for 4g_rfsim_mbms 2023-06-05 14:12:38 +02:00
Laurent Thomas
4d73f80487 fix compilation error, static functions not used 2023-06-05 08:58:48 +02:00
Robert Schmidt
18a98d1479 Revert "Don't warn on unused function"
This reverts commit b05d0ab91e.
2023-06-05 08:58:16 +02:00
Robert Schmidt
c81ed57a93 Merge branch 'integration_2023_w22' into 'develop'
integration_2023_w22

See merge request oai/openairinterface5g!2145

* !2036 CPPCHECK fixes for printf issues
* !2110 Improvements in CSI-RS functions
* !2132 NR fix problems found with undefined behavior sanitizer
* !2136 CI: Fix of the previous modification in iperf module (MR2100)
* !2137 chore(ci): removing OAI-Rel14-CUPS old bare-metal 4G core installation variant
* !2141 remove warning for non existing RNTI
* !2144 Build the CUUP on the cluster and minor Dockerfile fixes
* !2122 reworking MAC UE Search Space and Coreset configuration v2
* !1828 asn1c: use better version of asn1c
* !2130 ci: activate DRB ciphering and integrity protection
* !2140 F1: do not assert on unknown F1 message
* !2134 Cleanup RRC SRB data structures and make 2 PDU sessions functional
2023-06-03 22:09:42 +00:00
Jaroslava Fiedlerova
3a61fe3c5c CI: Ensure termination of AmariUE in AW2S pipeline
- AmariUE WebSocket remote API tool sometimes fail to terminate UE process and hang, to be killed if this happens
- Add timeout to the API tool command for UE process termination
2023-06-02 21:52:18 +02:00
Robert Schmidt
d906c3c9b5 Merge remote-tracking branch 'origin/remove-duplications-of-srb-list' into integration_2023_w22 2023-06-02 17:54:33 +02:00
Robert Schmidt
89db661834 fixup 2023-06-02 17:32:17 +02:00
Robert Schmidt
3ff394490a Merge remote-tracking branch 'origin/fix-du-config-update' into integration_2023_w22 2023-06-02 17:29:36 +02:00
Robert Schmidt
ed3c862fcb Merge remote-tracking branch 'origin/fix-security' into integration_2023_w22 2023-06-02 17:29:29 +02:00
Robert Schmidt
46b91ed38e Merge remote-tracking branch 'origin/use-asn1c-mouse' into integration_2023_w22 2023-06-02 17:29:16 +02:00
Robert Schmidt
313d34a8e0 Hack: Make reestablishment work
For the reestablishment, the SRB2 in the RRC reconfiguration
following the reestablishment needs to include ReestablishPDCP true.
We were not sending that. In this commit, I add a parameter to
add that parameter on demand. There might be a better solution.
2023-06-02 17:25:54 +02:00
Robert Schmidt
d7d679aa03 Remove fields not present in NSA-gNB config 2023-06-02 15:08:24 +02:00
Robert Schmidt
537b721b4f LTE UE entry script: print both configs if present 2023-06-02 15:08:24 +02:00
Robert Schmidt
5f9904b130 Remove files not tested in CI to ci-scripts/conf_files/untested 2023-06-02 15:08:24 +02:00
Robert Schmidt
685379c292 Remove unused files 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
0f0ce9fb02 Remove USE_VOLUMED_CONF: all configuration files have to be mounted 2023-06-02 15:08:24 +02:00
Robert Schmidt
fd4c9227ff Entry point scripts: do not generate configuration files 2023-06-02 15:08:24 +02:00
Robert Schmidt
dd532554ff Do not generate config in docker containers 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
db087b3532 USIM conf for lteue
1. Rename ue_sim_ci.conf to lteue.usim.conf
2. Adding generic usim conf for lteue
3. Changed the location of ue_sim_ci config
2023-06-02 15:08:24 +02:00
Robert Schmidt
3c9bfd664b Mount UE config file for Accelleran test 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
bb9e77b00e Added UE config for 5g-rfsim-e1 2023-06-02 15:08:24 +02:00
Robert Schmidt
9b01e8785b Update config 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
dcbcf9ba17 Updates in 5g-rfsim-u0-25prb 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
05920bcd29 Updates in 5g-rfsim-tdd-dora
1. Docker compose yaml
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
64bc83bd64 Updates in 5g-rfsim-fr2-32prb 2023-06-02 15:08:24 +02:00
Robert Schmidt
a410d1578f Updates in 5g-rfsim-2x2
1. gNB config file: gnb.sa.band78.106prb.rfsim-2x2.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
a930ab30b9 Updates in 5g-rfsim-24prb: 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
44e5779d36 Updates in 4g-rfsim mbms:
Naming change for enb config file
2023-06-02 15:08:24 +02:00
Robert Schmidt
155db29e9b Updates in 4g-rfsim-fembms 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
7a0c906414 Updates for 5g-rfsim-fdd-phytest 2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
0ebfa8b74f Updates in sa_f1_b200_gnb
1. Docker compose yaml
2. gNB config : gnb-cu.sa.band78.106prb.usrpb200.conf
                gnb-du.sa.band78.106prb.usrpb200.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
0e6ed55a3f Updates in sa_b200_gnb
1. Docker compose yaml
2. gNB config : gnb.sa.band78.51prb.usrpb200.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
069963e383 Updates in nsa_b200_gnb
1. Docker compose yaml
2. eNB config : gnb.nsa.band78.106prb.usrpb200.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
298e1a75fa Updates in nsa_b200_enb
1. Docker compose
2. eNB config : enb.nsa.band7.25prb.usrpb200.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
b537602f82 Updates in lte_b200_tdd_20Mhz_tm1_default_scheduler
1. Docker compose yaml
2. eNB config : enb.band40.100prb.usrpb200-tm1-defaultscheduler.conf
2023-06-02 15:08:24 +02:00
Robert Schmidt
3d9333f677 Updates in lte_b200_tdd_20Mhz_tm1
1. Docker compose yaml
2. Added PRB in additional options
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
f5fd9d551d Updates in lte_b200_tdd_10Mhz_tm1
1. Docker compose yaml
3. Added PRB in additional options
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
a1c85efa6b Updates in lte_b200_tdd_05Mhz_tm2
1. Docker compose yaml
2. eNB config : enb.band40.25prb.usrpb200-tm2.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
b5b0498ae7 Updates in lte_b200_tdd_05Mhz_tm1
1. Docker compose yaml
2. eNB config : enb.band40.25prb.usrpb200-tm1.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
fd17c4eda7 Updates in lte_b200_fdd_20Mhz_tm1:
1. Docker compose yaml
2. eNB config : enb.band7.100prb.usrpb200-tm1.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
cd3f8c66eb Updates in lte_b200_fdd_10Mhz_tm1_cdrx
1. Docker compose yaml
2. eNB config : enb.band7.50prb.usrpb200-tm1-cdrx.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
f13a4557aa Updates in lte_b200_fdd_10Mhz_tm1
1. Docker compose yaml
2. eNB config : enb.band7.50prb.usrpb200-tm1.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
58cabaa6b3 Updates in lte_b200_fdd_05Mhz_tm1_no_rrc_activity
1. Docker compose yaml
2. eNB config file : enb.band7.25prb.usrpb200-tm1-norrc.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
edd9092fba Updates in lte_b200_fdd_05Mhz_tm1 changes
1. Docker compose
2. eNB config : enb.band7.25prb.usrpb200-tm1.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
928e913fd7 Updates in fr1_enb_mono_fdd_tim changes
1. Docker compose yaml
2. eNB config file: enb.band7.25prb.usrpb200.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
5c93817d60 Updates 5g-rfsimulator:
1. Docker compose yaml
2. UE config file: nrue.uicc.conf
3. gNB config file: gnb.sa.band78.106prb.rfsim.conf
4. Removing unwanted UE config for 5g-rfsimulator
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
df689a42e9 Updates for 5g_l2sim_tdd:
1. Docker compose yaml
2. UE config : nrue.band78.106prb.l2sim.conf
3. gNB config: gnb.band78.106prb.l2sim.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
94f7313d84 Updates in 5g-fdd-rfsim:
1. Docker compose
2. UE config file: nrue.uicc.conf
3. gNB config file: gnb.sa.band66.106prb.rfsim.conf
2023-06-02 15:08:24 +02:00
Dhanuja Elizabeth Thomas
4f0a8925b4 Updates in 5g-f1-rfsim
1. Docker compose yaml
2. UE config file: nrue.usimconf
3. gNB config file: gnb-cu.sa.band78.106prb.conf
                    gnb-du.sa.band78.106prb.rfsim.conf
4. Deleting unwanted UE config file
2023-06-02 15:08:24 +02:00
Robert Schmidt
098072577b Merge remote-tracking branch 'origin/NR_UE_rework_coreset_searchspace_new' into integration_2023_w22 2023-06-02 13:31:39 +02:00
Robert Schmidt
76c8163954 Merge remote-tracking branch 'origin/cluster-build-cu-up' into integration_2023_w22 2023-06-02 13:27:48 +02:00
Robert Schmidt
9309a6072e Merge remote-tracking branch 'origin/NR_remove_warning_non_existing_rnti' into integration_2023_w22 2023-06-02 13:27:42 +02:00
Robert Schmidt
03356e6743 Merge remote-tracking branch 'origin/ci-obsolete-old-4g-core' into integration_2023_w22 2023-06-02 13:27:36 +02:00
Robert Schmidt
b3bc1dd656 Merge remote-tracking branch 'origin/ci-fix-in-iperf-module' into integration_2023_w22 2023-06-02 13:27:29 +02:00
Robert Schmidt
020f72d90e Merge remote-tracking branch 'origin/NR_undefined_behavior_fixes' into integration_2023_w22 2023-06-02 13:27:24 +02:00
Robert Schmidt
5ff2dd0dfc Merge remote-tracking branch 'origin/NR_improv_CSI_logs' into integration_2023_w22 2023-06-02 13:27:18 +02:00
Robert Schmidt
002fba1d39 BUILD.md: add asn1c instructions, add TOC, reorder dependencies before building 2023-06-02 13:17:59 +02:00
Robert Schmidt
88681763f0 Make cmake_targets/log directory in install_asn1c_from_source
To allow users to install asn1c quickly in install, make this directory
to allow standalone execution of install_asn1c_from_source.

The instructions are now:
sudo ls  # open sudo session, required by install_asn1c_from_source
. oaienv # read of default variables
. cmake_targets/tools/build_helper # read in functions
install_asn1c_from_source # install
2023-06-02 10:55:24 +02:00
Robert Schmidt
cb2c8731a7 Install (new) asn1c under /opt/ to allow parallel install 2023-06-02 10:54:29 +02:00
Robert Schmidt
fcd00755ea Use new asn1c to build Caracal phytest-timing tests 2023-06-02 10:42:02 +02:00
Robert Schmidt
fdb2abebd0 Add cmake option to select asn1c, and test asn1c parameters
CMake now takes the option ASN1C_EXEC to select an asn1c to use for
compilation. For instance, run with
cmake .. -GNinja -DASN1C_EXEC=/opt/asn1c/bin/asn1c
or
./build_oai --cmake-opt -DASN1C_EXEC=/opt/asn1c/bin/asn1c
to select the alternative asn1c. For instance, this is important for the
CI to allow to build multiple versions of OAI in parallel that might use
different commits of OAI.

Further, this patch introduces functionality to check for the support of
asn1c options that we require, and alerts the user if they are missing,
alongside a message of how to resolve the problem.
2023-06-02 10:42:02 +02:00
Robert Schmidt
1dd43dbca2 Amend one change 2023-06-02 10:29:23 +02:00
Cedric Roux
c0c3a737ed asn1c: use better version of asn1c
We don't work much on asn1c. The version we use has several bugs.
There is an active community out there that fixes bugs and improves
asn1c. Let's use their version.
2023-06-01 18:26:00 +02:00
Dhanuja Elizabeth Thomas
88431bac33 Updates in 4g-rfsim-tdd-05mhz:
1. Docker compose
2. UE config file : lteue.usim-ci.conf
3. eNB config file : enb.band38.25prb.rfsim.conf
4. Removed unwanted UE config for 4g-rfsim-tdd-05Mhz
2023-06-01 14:00:46 +02:00
Dhanuja Elizabeth Thomas
50b407362c Updates in 4g_rfsimulator_fdd_20MHz:
1. Docker compose
2. UE config name : lteue.usim-ci.conf
3. eNB config name : enb.band7.100prb.rfsim.conf
4. Removed unwanted UE config for 4g-rfsim-fdd-20Mhz
2023-06-01 14:00:46 +02:00
Dhanuja Elizabeth Thomas
b9b0b8ae93 Updates in 4g-rfsim-fdd-10Mhz:
1. Docker compose yaml
2. UE config name : lteue.usim-ci.conf
3. eNB config name : enb.band7.50prb.rfsim.conf
4. Removing unwanted UE config file for 4g-rfsim-fdd-10Mhz
2023-06-01 14:00:46 +02:00
Dhanuja Elizabeth Thomas
1fcbb47731 Updates in 4g-rfsim-fdd-05mhz-noS1:
1. Docker compose yaml
2. UE config name : lte.usim-ci.conf
3. enb config name : enb.band7.25prb.rfsim-nos1.conf
4. Removed unwanted UE config file for 4g-rfsim-fdd-05Mhz-noS1
2023-06-01 14:00:46 +02:00
Dhanuja Elizabeth Thomas
f58e2ea508 Updates in 4g-rfsim-fdd-05mhz:
1. Docker compose yaml
2. UE config name -> lteue.usim-ci.conf
   eNB config name -> enb.band7.25prb.rfsim.conf
3. Removed unwanted UE config file for 4g-rfsim-fdd-05Mhz
2023-06-01 14:00:46 +02:00
Dhanuja Elizabeth Thomas
bd626cc1ce Updates in 4g-l2sim:
1. Docker compose yaml
2. UE config and eNB config
3. Renamed config file for l2sim
4. Renamed USIM file for l2sim
2023-06-01 14:00:46 +02:00
Vijay Chadachan
836469e849 CPPCHECK fixes for printf issues
Fix for following CPPCheck warnings
- invalidPrintfArgType
Rebased with latest develop branch w21.
Reverted modifications unrelated to printf issues.
2023-06-01 12:07:26 +02:00
Robert Schmidt
2a47123b66 Add nr-cuup to OpenShift build system 2023-06-01 12:04:10 +02:00
Robert Schmidt
be2a227ed5 Remove superfluous rfsimulator from nr-cuup Dockerfiles 2023-06-01 12:04:06 +02:00
Robert Schmidt
2882aa64f1 Rename Dockerfile for gNB AW2S Ubuntu, as it is based on Ubuntu 20 2023-06-01 12:01:05 +02:00
Cedric Roux
a4ae28fdd6 ci: activate DRB ciphering and integrity protection
We need to test security and integrity protection in the CI.

This commit activates ciphering+integrity protection for SRBs
and DRBs using nea2/nia2 for the amarisoft-ue + aw2s CI pipeline.
2023-06-01 11:01:03 +02:00
Cedric Roux
214596d3c6 bugfix: nea2 security: use correct bearer argument to init security 2023-06-01 11:01:03 +02:00
francescomani
721dfd1961 remove confusing warning for non existing RNTI 2023-06-01 10:43:31 +02:00
laurent
9dc5255c78 code review comments 2023-05-31 21:30:04 +02:00
Raphael Defosseux
edd2afb44f chore(ci): porting the old IF4.5 LTE baremetal test to docker
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-31 15:49:47 +02:00
Sakthivel Velumani
227d21ee5c code review 2023-05-30 20:09:43 +02:00
luis_pereira87
de7e9e274f Fix drb_id to be aligned with the current implementation of one DRB per PDU Session 2023-05-30 17:07:25 +01:00
luis_pereira87
1a287bb3b5 Update 'Active' flag for SRB 2 when setting it up and avoind to add it multiple times in rlc_BearerToAddModList 2023-05-30 16:35:45 +01:00
luis_pereira87
2b2c471c22 Do not reset DRB_configList because we are only filling it with nb_drb_to_setup 2023-05-30 16:26:36 +01:00
Raphael Defosseux
e089b63547 chore(ci): removing OAI-Rel14-CUPS old bare-metal 4G core installation variant
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-30 14:47:04 +02:00
Robert Schmidt
48f82a63aa F1: do not assert on unknown F1 message
Previously, in f1ap_decoder.c, we asserted if we did not know a message.
Apart form decoding, we did not do anything in that file.

Additionally, in f1ap_handlers.c, we were also checking for an unknown
message, and printing a warning if a handler is not known.

This commit moves the F1AP message decoding to f1ap_handlers.c, and
deletes f1ap_decoder.c. In summary, we don't assert on an unknown
message, and compile less files. The rest is unchanged.
2023-05-30 13:48:50 +02:00
Raphael Defosseux
0e64165093 chore(ci): adding the core-network sanity check
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-30 10:36:58 +02:00
francescomani
bc1b4d862e workaround to avoid L2 simulator to fail 2023-05-29 16:36:01 +02:00
laurent
c70f0a1d57 cleanup srb data structure 2023-05-29 15:15:53 +02:00
Jaroslava Fiedlerova
8a80421268 CI: Fix of the previous modification in iperf module (MR2100) 2023-05-29 13:39:13 +02:00
francescomani
9d9e6bf17f errors detected by undefined behavior sanitizer 2023-05-29 08:49:52 +02:00
Robert Schmidt
ef06b14501 Merge branch 'integration_2023_w21' into 'develop'
integration_2023_w21

See merge request oai/openairinterface5g!2128

* !2097 Fix: NR UE timing adjust
* !2100 CI: AW2S pipeline - iperf test added, modifs in OC projects usage
* !2119 Set kernel parameters for X4x0
* !2121 Fix regression pdu session release
* !2124 handle --disable-stats in rrc gNB
* !2125 Tutorials: minor updates on NR SA Tutorial
* !2126 bugfix for PRACH format C2 at UE
* !1964 Merge secu osa into openair3/SECU
* !2101 Use F1 internally: UE Context Release
* !2120 Use F1 internally: UE Context Modification
* !2129 Adding a check to avoid having more logical antenna ports than physical in config file
2023-05-28 13:07:13 +00:00
Robert Schmidt
a40918df9a Merge remote-tracking branch 'origin/add_check_dl_antenna_ports' into integration_2023_w21 2023-05-26 16:49:26 +02:00
Robert Schmidt
2e94b8ed07 Merge remote-tracking branch 'origin/int-f1-ue-ctxt-modif' into integration_2023_w21 2023-05-26 16:48:27 +02:00
Robert Schmidt
5be3dcf341 Merge remote-tracking branch 'origin/int-f1-ue-ctxt-release' into integration_2023_w21 2023-05-26 16:48:19 +02:00
Robert Schmidt
3af208c8c7 Merge remote-tracking branch 'origin/merge_secu_osa' into integration_2023_w21 2023-05-26 16:48:10 +02:00
mir
c9012298de OSA SECU harmonization 2023-05-26 12:35:33 +02:00
Robert Schmidt
bef1a28d6d Remove misleading comment 2023-05-26 12:29:23 +02:00
francescomani
981d91bfe7 assertion to avoid config file with more logical than physical antenna ports 2023-05-26 10:39:57 +02:00
Robert Schmidt
307e08cbc7 Reconfig complete: send ack to DU 2023-05-26 08:31:45 +02:00
Robert Schmidt
20e986be7d Reduce F1AP logging output that is not an error 2023-05-26 08:31:45 +02:00
Robert Schmidt
e7ef1f6879 Implement UE Context Modification using F1AP 2023-05-26 08:31:45 +02:00
Robert Schmidt
2635201882 Remove per-UE RRC stuff 2023-05-26 08:31:45 +02:00
Robert Schmidt
7c953e2c5a Remove RLC mode from SRBs: does not exist 2023-05-26 08:31:45 +02:00
Robert Schmidt
62ca311a1a Handle GTP for DL in F1AP message encoder 2023-05-26 08:31:45 +02:00
Robert Schmidt
a47d4aee02 Remove handling of UE context modification at DU RRC 2023-05-26 08:31:45 +02:00
Robert Schmidt
46335741bf Implementation of dedicated RRC Reconfiguration using internal F1 UE context modification 2023-05-26 08:30:50 +02:00
Robert Schmidt
3d352b0dd8 Stubs for F1 UE Context Modification Req+Resp messages 2023-05-26 08:09:56 +02:00
Robert Schmidt
820ec995a4 Introduce separate F1AP types f1ap_ue_context_modif_req_t and f1ap_ue_context_modif_resp_t 2023-05-26 08:09:34 +02:00
Robert Schmidt
87c82e8a85 Don't send subframe process tick to RRC, to X2AP directly if necessary 2023-05-25 22:16:19 +02:00
Robert Schmidt
123d71d0e3 Implement F1 Release using F1AP 2023-05-25 22:16:19 +02:00
Robert Schmidt
12866c07ca Remove all timers from RRC
There are a number of timers in RRC. Those are not or only partially
implemented, and certainly don't work in F1. Hence, remove them to
replace with a better implementation later.
2023-05-25 22:16:19 +02:00
Robert Schmidt
d6fb5c2e31 Handle UE release request at CU, and trigger at DU at UL failure 2023-05-25 22:16:19 +02:00
Robert Schmidt
69bfe7fe87 Implement basic F1 release procedure using F1 internally 2023-05-25 22:16:19 +02:00
Robert Schmidt
aff4e33b2c Merge remote-tracking branch 'origin/NR_UE_PRACH_C2' into integration_2023_w21 2023-05-25 18:54:17 +02:00
Robert Schmidt
014955007d Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2023_w21 2023-05-25 18:54:11 +02:00
Robert Schmidt
a9033a1280 Merge remote-tracking branch 'origin/disable-stats' into integration_2023_w21 2023-05-25 18:54:06 +02:00
Robert Schmidt
20bbe2a2d7 Merge remote-tracking branch 'origin/fix-regression-pdu-sessio-release' into integration_2023_w21 2023-05-25 18:54:00 +02:00
Robert Schmidt
ea9a4833b3 Merge remote-tracking branch 'origin/Set_kernel_parameters_for_X4x0' into integration_2023_w21 2023-05-25 18:53:54 +02:00
Robert Schmidt
d399a7942d Merge remote-tracking branch 'origin/ci-aw2s-add-iperf' into integration_2023_w21 2023-05-25 18:53:46 +02:00
Robert Schmidt
28c015dbf3 Merge remote-tracking branch 'origin/NR_UE_fix_timing_adjust' into integration_2023_w21 2023-05-25 18:53:40 +02:00
Robert Schmidt
8b7b9271ee Add stubs for F1 UE Context Release Req+Cmd+Cplt messages 2023-05-25 18:43:46 +02:00
Robert Schmidt
c4448e49d3 Rename to clearer f1ap_ue_context_release_complete_t type 2023-05-25 18:38:30 +02:00
Robert Schmidt
b8d1e1101f Add AssertFatal for reestablishment in F1: not implemented 2023-05-25 18:20:45 +02:00
Robert Schmidt
1a5cb8a6e2 UE NAS: Add timeout before shutting down UE to RLC Ack the PDU 2023-05-25 18:20:45 +02:00
Robert Schmidt
e5b4ab230d Reduce logging verbosity 2023-05-25 18:20:45 +02:00
Robert Schmidt
cfbeaf68c9 F1AP: handle UE Context Release Request 2023-05-25 18:20:45 +02:00
francescomani
447150b05a bugfix for PRACH format C2 2023-05-24 14:15:37 +02:00
luis_pereira87
655925ddea Remove outdated documentation 2023-05-24 09:30:02 +01:00
luis_pereira87
b08041caa4 Tutorials: update ubuntu iso download link to 22.04.2, update Windows Quectel driver version, remove nokrnmod flag, it is enabled by default 2023-05-24 09:11:26 +01:00
Bruno Mongazon-Cazavet
40f76a8ba1 handle --disable-stats in rrc gNB 2023-05-23 15:21:31 +02:00
francescomani
215392318d reworking dci configuration 2023-05-23 14:18:45 +02:00
francescomani
4183e5846e use BWP specific SS and coreset structures 2023-05-23 14:18:45 +02:00
francescomani
4af3d76d0e dci options inside config_dci_pdu function 2023-05-23 14:18:45 +02:00
francescomani
d9dfd732f5 store common searchspaces (for RA, SI, P) 2023-05-23 14:18:45 +02:00
francescomani
e678676a3d remove old BWP structures at UE MAC 2023-05-23 14:18:45 +02:00
francescomani
1a123cfe6a improvements in scheduling reception of CSI-RS and logging 2023-05-23 11:07:52 +02:00
Sakthivel Velumani
9825842e97 Adjust samples in time only when valid PBCH is present 2023-05-22 12:40:51 -04:00
Laurent THOMAS
27f9d6cc60 fix pdu session release bug 2023-05-22 15:26:43 +02:00
Jaroslava Fiedlerova
4514244f4a Adding OC CN ip addresses for iperf/ping test 2023-05-21 17:19:26 +02:00
Jaroslava Fiedlerova
d72aa770d6 aw2s gnb config file, change back to ddsuu config 2023-05-21 17:11:06 +02:00
Jaroslava Fiedlerova
4911835ea3 Update of aw2s xml file for iperf test in ddsuu TDD config 2023-05-21 17:11:06 +02:00
Jaroslava Fiedlerova
3daeb91a39 Constants for CI OC RAN and CN namespace created
- CI_OC_RAN_NAMESPACE for RAN images
- CI_OC_CORE_NAMESPACE for CN deployment
- usage of the created constants for pulling images from cluster, CN deployement, iperf/ping
2023-05-21 17:11:06 +02:00
Jaroslava Fiedlerova
d5b7806728 CI: AW2S pipeline - CN deployment on OC - CN path, OC project changed 2023-05-21 17:09:38 +02:00
Jaroslava Fiedlerova
d237e43f6c CI: AW2S pipeline - iperf test added
- IPERF3 option created in cls_oaicitest.py
- retrieval of CN amf and traffic-server IP address from pods
- modification of gNB config file (do_SRS set, max UL MCS increased), removal of unused config file
- change of AmariUE config file to support 2x2
- modification of xml file for aw2s pipeline - iperf test added
- new xml file for cleanup (terminate AmariUE, clean test server images) created
2023-05-21 17:09:38 +02:00
Jaroslava Fiedlerova
7afedd21f5 CI: Pull cluster image - modif of OC project selection 2023-05-21 16:58:18 +02:00
Robert Schmidt
7c7d54e463 Merge branch 'integration_2023_w20' into 'develop'
integration_2023_w20

See merge request oai/openairinterface5g!2116

* !2090 ldpc cuda memory size fix for bg2
* !2094 Add new parameter tx_amp_backoff_dB
* !2103 Utilizing c16_t instead of int16_t
* !2106 Removed ADB related parameters from args_parse.py
* !2112 Fix segmentation fault when PDUSession Release
* !2114 chore(ci): support new rhel8.8 version
* !2092 CI: Refactor ping, image-used fix, update thresholds
2023-05-19 15:34:27 +00:00
luis_pereira87
8bffe28ed3 Set kernel parameters for X4x0 2023-05-19 12:26:13 +01:00
francescomani
527c016421 tick for timing at RRC 2023-05-18 10:07:28 +02:00
Robert Schmidt
3e21aa572c Merge remote-tracking branch 'origin/ci-ping-improvements' into integration_2023_w20 2023-05-17 20:00:06 +02:00
Robert Schmidt
4253bd5f55 Merge remote-tracking branch 'origin/rhel8-updates' into integration_2023_w20 2023-05-17 19:59:42 +02:00
Robert Schmidt
83f6ec3189 Merge remote-tracking branch 'origin/Fix_SegFault_PDUSessionRelease' into integration_2023_w20 2023-05-17 19:59:35 +02:00
Robert Schmidt
1061e6538b Merge remote-tracking branch 'origin/ci-removed-adb-para' into integration_2023_w20 2023-05-17 19:59:26 +02:00
Robert Schmidt
19a05d90a1 Merge remote-tracking branch 'origin/episys-add-complex-structs' into integration_2023_w20 2023-05-17 19:59:17 +02:00
Robert Schmidt
27c5d93637 Merge remote-tracking branch 'origin/L1_tx_amp' into integration_2023_w20 2023-05-17 19:59:05 +02:00
Robert Schmidt
4490013f05 Merge remote-tracking branch 'origin/ldpc_cuda_bg2_fix' into integration_2023_w20 2023-05-17 19:58:54 +02:00
rakesh mundlamuri
6a280abf6b bugfix in fftsize 2023-05-17 12:07:41 +02:00
rakesh mundlamuri
08a8a23011 enabling 100MHz on usrp x310 2023-05-17 12:07:41 +02:00
Raphael Defosseux
8844066b46 chore(ci): support new rhel8.8 version
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-16 17:09:43 +02:00
francescomani
b5819904b5 adding timers and contants functions and further code improvements 2023-05-16 16:46:55 +02:00
Hongzhi Wang
345f554107 Add L1Tx amp backoff help message 2023-05-16 15:51:13 +02:00
luis_pereira87
a4cac3c4e1 Fix segmentation fault when PDUSession Release 2023-05-16 06:42:02 +01:00
Raymond Knopp
139cdc0ddf Add new parameter tx_amp_backoff_dB to L1 section of configuration file
Provides the backoff from full-scale output at the L1 entity
(frequency-domain samples). Default is, 36 dBFS, which is the correct
value when using the OAI RU entity. For O-RAN RU, this value should be
set according to the O-RU manufacturer requirements. For example 12
would corresponding to 14-bit input level (6 dB/bit).

Applies the TX amp backoff to PBCH, PDCCH and CSI
2023-05-15 09:27:35 +02:00
Robert Schmidt
f911768bec Update HARQ thresholds in SAbox/Quectel and NSA/ltebox/quectel tests 2023-05-15 08:40:32 +02:00
Robert Schmidt
4ef9597113 Repair used Image information in CI 2023-05-15 08:40:32 +02:00
Robert Schmidt
21b630041b Remove PingNoS1()
Can be handled using static IP addresses, currently not used
2023-05-15 08:40:32 +02:00
Robert Schmidt
909fee71e2 Refactor ping: shorten function, don't use useless variables, PingNoS1 not supported (we don't use it) 2023-05-15 08:40:32 +02:00
Robert Schmidt
52340037a7 Remove try-except block from Ping_common 2023-05-15 08:40:32 +02:00
Robert Schmidt
fabe8494e4 Remove unused function 2023-05-15 08:40:32 +02:00
Dhanuja Elizabeth Thomas
266ffb6a5e Removed ping-mean-median calculation 2023-05-15 08:40:32 +02:00
Robert Schmidt
d236d92a3a Add SRBID to Release Command and encode/decode for F1AP 2023-05-12 18:54:39 +02:00
francescomani
5b91612812 printing gNB MIMO stats only when reported 2023-05-12 15:57:23 +02:00
Raphael Defosseux
1268b27c91 Merge branch 'integration_2023_w19' into 'develop'
List of Merge Requests as discussed during OAI dev meeting 2023/05/11.

* MR 2059: Bugfix: to properly handle multiple NR_RLC_BearerConfig with the same logicalChannelIdentity, without having duplicate data in UE context
* MR 2072: Clean-up of UE RRC structures
* MR 2084: added msg-q threading options (and CPU thread pinning) from O-RAN 7.2 branch
* MR 2098: harmonization of physicalCellGroupConfig
* MR 2099: modification of get_samplerate_and_bw(): add break where needed
* MR 2104: Fix segmentation fault in ue_context_setup_request()
* Hot fix to support PDU session in IPv4v6
2023-05-12 12:51:08 +00:00
Raphael Defosseux
0ebac22cf8 chore(ci): PDU session type should support IPV4V6 for IMS DNN
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-11 14:43:03 +02:00
Raphael Defosseux
dacbcc0d55 Merge remote-tracking branch 'origin/fix-get_samplerate_and_bw' into integration_2023_w19 2023-05-11 13:27:11 +02:00
Raphael Defosseux
1b6558be23 Merge remote-tracking branch 'origin/harmonize_phycellgroup_config' into integration_2023_w19 2023-05-11 13:26:46 +02:00
Raphael Defosseux
8e71ca864f Merge remote-tracking branch 'origin/NR_UE_RRC_cleanup' into integration_2023_w19 2023-05-11 13:25:17 +02:00
Raphael Defosseux
211fcb217a Merge remote-tracking branch 'origin/threading-rk' into integration_2023_w19 2023-05-11 13:24:50 +02:00
Raphael Defosseux
d6ee321289 Merge remote-tracking branch 'origin/develop-segFault' into integration_2023_w19 2023-05-11 13:23:59 +02:00
Roberto Louro Magueta
4e7f34cbae Fix segmentation fault in ue_context_setup_request() 2023-05-10 19:50:44 +01:00
Melissa Elkadi
5a6516ff76 Fixing whitespace 2023-05-10 09:13:02 -07:00
Melissa Elkadi
2dfc36dc32 Converting OFDM mod/de-mod functions to use c16_ts instead of int16_ts 2023-05-10 09:10:12 -07:00
Angelo Athanassopoulos
c526ceff5a NR RRC - RRC Reestablishment - Enhancements
1. Avoid using fill_masterCellGroup() function, during reestablishment.
2. Send the existing CellGroupConfig, instead of calling fill_masterCellGroup().
2023-05-10 16:47:43 +02:00
Angelo Athanassopoulos
f4845eb5a0 ASN1 - MCG Config
Fill the right DRBs for Master Cell Group Config and drop the bearer_id_start, nb_bearers_to_setup
2023-05-10 16:30:59 +02:00
francescomani
1c4ab73deb harmonizing RRC physicalCellGroupConfig 2023-05-10 15:47:35 +02:00
francescomani
88bcbefed4 Clean-up of UE RRC structures 2023-05-08 17:05:31 +02:00
Robert Schmidt
9354a45235 Merge branch 'integration_2023_w18b' into 'develop'
integration_2023_w18b

See merge request oai/openairinterface5g!2095

* !1879 NR RRC config improvements for multi UE scenario
* !2070 Use F1 internally: UE Context Setup
* !2073 Fix reconfigurationWithSync
* !2086 F1 Setup Request DUname is optional
* !2062 remove pdu session duplicated structs
* !2066 NR UE rework RRC MAC config
* !2075 bugfix in computing CCEs for DCI
* !2089 chore(build): adding docker support for rocky-linux
* !2091 Removal of "disableConcurrentBuilds" option from jenkinsfiles
* !2093 Modification of documentation for CI testbenches
2023-05-08 13:22:01 +00:00
Robert Schmidt
0b6ba9d08f Merge remote-tracking branch 'origin/ci-testbenches-doc' into integration_2023_w18b 2023-05-08 11:54:00 +02:00
Robert Schmidt
f5db0a881e Merge remote-tracking branch 'origin/ci-jenkinsfile-modifs' into integration_2023_w18b 2023-05-08 11:52:47 +02:00
Robert Schmidt
e7bf3b83a5 Merge remote-tracking branch 'origin/rocky-linux-support' into integration_2023_w18b 2023-05-08 11:52:28 +02:00
Robert Schmidt
b05d0ab91e Don't warn on unused function 2023-05-08 11:23:05 +02:00
Cedric Roux
c68549d861 modification of get_samplerate_and_bw(): add break where needed 2023-05-07 15:24:51 +02:00
Robert Schmidt
0894a6bfe7 Merge remote-tracking branch 'origin/NR_CCE_fix' into integration_2023_w18b 2023-05-06 05:23:18 +02:00
Robert Schmidt
462ed76114 Merge remote-tracking branch 'origin/NR_UE_rework_rrc_mac_config' into integration_2023_w18b 2023-05-06 05:21:10 +02:00
laurent
5cbd83c4e6 add macro for UINT32 2023-05-05 19:28:35 +02:00
Robert Schmidt
7fae9eb2d8 F1 UE context setup req: don't allocate memory we don't need 2023-05-05 18:22:38 +02:00
Robert Schmidt
5ee44e015a Merge remote-tracking branch 'origin/simplify-pdu-session-management' into integration_2023_w18b 2023-05-05 18:20:58 +02:00
Robert Schmidt
b2cc750587 Merge remote-tracking branch 'origin/fix-f1-duname' into integration_2023_w18b 2023-05-05 14:45:06 +02:00
Robert Schmidt
b90448ae20 Merge remote-tracking branch 'origin/fix-reconfigurationWithSync' into integration_2023_w18b 2023-05-05 14:44:52 +02:00
Robert Schmidt
719752cad8 Merge remote-tracking branch 'origin/int-f1-ue-ctxt-setup' into integration_2023_w18b 2023-05-05 14:44:40 +02:00
Laurent THOMAS
15e858270d Split big function, add an assert for non-IPv4 PDU sessions
Contributions by Robert Schmidt <robert.schmidt@openairinterface.org>
2023-05-05 14:35:02 +02:00
francescomani
9421fcc8b9 addressing review 2023-05-05 07:50:39 +02:00
francescomani
e9ded45428 bugfix in computing first cce 2023-05-05 07:36:39 +02:00
Robert Schmidt
c588facc1b Merge remote-tracking branch 'origin/NR_RRC_config_improvements_multi_UE' into integration_2023_w18b 2023-05-04 18:48:50 +02:00
Jaroslava Fiedlerova
5933f5ba53 CI:Modification of documentation for testbenches
- RAN-SA-AW2S-CN5G pipeline image - one antenna added to Amarisoft UE simulator, modification of the label
- resize of the images used in RAN-SA-AW2S-CN5G pipeline image
- change of the description for RAN-SA-AW2S-CN5G pipeline
- change of the description for RAN-LTE-TDD-2x2-Container pipeline, where nrmodule2 is used
- typo correction
2023-05-04 15:58:54 +02:00
Robert Schmidt
da2ba65685 Add new Interop-F1 pipeline documentation 2023-05-04 14:29:21 +02:00
Roberto Louro Magueta
8ba201005f Fix reconfigurationWithSync 2023-05-04 10:07:16 +01:00
Raphael Defosseux
f328a6e181 doc(docker): post-review changes
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-04 10:57:36 +02:00
Jaroslava Fiedlerova
bc68fcb32d Removal of "disableConcurrentBuilds" option from jenkinsfiles
- modification of jenkinfiles in order to enable parallel execution of the pipelines
2023-05-04 10:34:02 +02:00
Raphael Defosseux
b75d95626e chore(build): adding docker support for rocky-linux
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-05-04 10:27:11 +02:00
Eurecom
afe6e640d4 ldpc cuda memory size fix for bg2 2023-05-03 16:47:19 +02:00
Robert Schmidt
375a11b119 Remove non-existing T1-Offload-Test pipeline from RAN-Container-Parent Jenkinsfile 2023-05-03 16:20:38 +02:00
Robert Schmidt
a990cba81f Add Interop-F1 pipeline to RAN-Container-Parent Jenkinsfile 2023-05-03 16:20:03 +02:00
Robert Schmidt
3ea2afdca5 Fix NSA: lock scheduler before removing UE 2023-05-03 16:12:45 +02:00
Robert Schmidt
3e282f9573 Add Accelleran-CU interoperability test 2023-05-03 13:40:22 +02:00
Robert Schmidt
8e30f99eee CI: docker-compose file for OAI DU with Accelleran CU 2023-05-03 13:40:22 +02:00
Robert Schmidt
3eea99a312 Add documentation for internal F1 interface 2023-05-03 13:40:22 +02:00
Robert Schmidt
67c7d52333 Default RRC Connection <-> no PDU sessions 2023-05-03 13:40:22 +02:00
Robert Schmidt
1eb4f857af UE Capabilities: we request during RRC Connection Setup, so no PDU sessions 2023-05-03 13:40:22 +02:00
Robert Schmidt
ca30b9ee55 Implement F1/split case for UE Context Setup 2023-05-03 13:40:22 +02:00
Robert Schmidt
6ced3cd8a7 Implementation for F1 UE Context Setup+Response in monolithic 2023-05-03 13:40:22 +02:00
Robert Schmidt
10b996f5db Stubs for F1 UE Context Setup Req+Resp messages 2023-05-03 13:40:22 +02:00
Robert Schmidt
31a1003349 Introduce mutex for MAC scheduler
Different threads (e.g., RRC, DU tasks) might access the scheduler at
the same time as the thread that drivers the scheduler itself
(ru_thread). To avoid data races, introduce this mutex.

Most functions of the scheduler are only used internally and have been
marked static in the previous commit. The remaining ones, in this
commit, either lock the scheduler mutex sched_lock, or a comment has
been added of the assumption of how such function is to be locked (e.g.,
if it might be called from different places, or if it is called by a
function that already locks the scheduler).
2023-05-03 13:40:22 +02:00
Robert Schmidt
44bf62758a Remove nr_mac_update_RA()
There is no point in updating RA, when we update the CellGroupConfig. We
simply drop this function, therefore
2023-05-03 13:40:22 +02:00
Robert Schmidt
e7a8eb950e NR MAC: make many functions static
To know which functions are used from outside and which are
module-local, make many functions static. This will allow us to protect
only those functions with a mutex for which it is necessary.
2023-05-03 13:40:20 +02:00
Robert Schmidt
2a0142fb96 Suppress any CellGroupConfig updates in F1
The CellGroupConfig should come from the DU. Currently, any update made
to the CellGroupConfig is done at CU. In split-operation, we have no way
of telling the DU about this update. Hence, in this commit, check if we
are in F1 split mode operation during a CellGroupConfig update, and if
so, suppress any updates to the CellGroupConfig, alongside a warning.
2023-05-03 13:38:25 +02:00
Robert Schmidt
6d7d075d8c Refactor NR MAC config: mark unimplemented functions as such 2023-05-03 13:38:24 +02:00
Robert Schmidt
f2a8b5c41d Remove wrong comment: SRBs are not handled via E1 2023-05-03 13:38:24 +02:00
Robert Schmidt
6cc01f7cd9 Merge branch 'integration_2023_w17' into 'develop'
integration_2023_w17

See merge request oai/openairinterface5g!2083

* !2045 ssb offset to point A harmonization
* !2068 Add mac_CellGroupConfig in RRCReconfiguration after a RRCReestablisment
* !2052 fix(ci): for old versions of iperf, server process shall be killed manually
* !2056 Generic changes related to UEs used in CI
* !2074 Fix of command for USRP B200 reset in CI pipeline
* !2014 transform global variables into const or static
* !2082 Change of the PLMN in AW2S pipeline
* !2078 Improve PRS Tutorial
* !2079 Update scope (Xforms, Qt) documentation and list in doc/README.md
2023-05-03 08:26:38 +00:00
Robert Schmidt
fc01032915 Merge remote-tracking branch 'origin/fix-nrqtscope-doc' into integration_2023_w17 2023-05-02 18:40:01 +02:00
Robert Schmidt
db00336a2a Merge remote-tracking branch 'origin/prsfix' into integration_2023_w17 2023-05-02 18:39:55 +02:00
Robert Schmidt
7223ac8c9a Merge remote-tracking branch 'origin/ci-aw2s-change-of-plmn' into integration_2023_w17 2023-05-02 18:39:50 +02:00
Robert Schmidt
a8879d3b9c Merge remote-tracking branch 'origin/remove-some-globales' into integration_2023_w17 2023-05-02 18:39:25 +02:00
Robert Schmidt
3fbcdf4c5a Merge remote-tracking branch 'origin/ci-fix-usrp-reboot-command' into integration_2023_w17 2023-05-02 18:39:17 +02:00
Robert Schmidt
d525849730 Merge remote-tracking branch 'origin/ci-generic-changes' into integration_2023_w17 2023-05-02 18:39:10 +02:00
Robert Schmidt
d9e38660ba Merge remote-tracking branch 'origin/ci-fix-iperf-zombie-process' into integration_2023_w17 2023-05-02 18:38:59 +02:00
Robert Schmidt
38ec30559e F1 Setup Request DUname is optional 2023-05-02 11:30:46 +02:00
Raymond Knopp
a3c7af0a7a Merge remote-tracking branch 'origin/develop' into threading-rk 2023-04-28 22:28:18 +02:00
Robert Schmidt
082cf6146d Merge remote-tracking branch 'origin/Fix_mac_CellGroupConfig_after_reestablishment' into integration_2023_w17 2023-04-28 16:37:21 +02:00
Dhanuja Elizabeth Thomas
149d27d55f Generic changes related to UEs used in CI 2023-04-28 16:35:09 +02:00
laurent
b339460666 cleanup only 2023-04-28 16:25:24 +02:00
Jaroslava Fiedlerova
787170de83 Change of the PLMN in AW2S pipeline 2023-04-28 16:04:35 +02:00
laurent
84fa481e72 remove pdu session duplicated structs 2023-04-28 15:55:12 +02:00
Raphael Defosseux
c126cbab77 fix(ci): Changes for debugging ssh connection issues faced while iperf/ping operations 2023-04-28 10:50:38 +02:00
Raymond Knopp
2a6b188635 removed temporary "USE_MSGQ" definition. Now, with
reorder_thread_disable we use the native message queue and L1_rx_thread instead of the thread-pool for the main L1 thread. There is a single TX thread (no slot parallelization)
2023-04-27 15:17:07 +02:00
Robert Schmidt
7cfb6db48a Update scope (Xforms, Qt) documentation and list in doc/README.md 2023-04-27 13:55:06 +02:00
Arash Sahbafard
bc0083c219 commit messages
There are some problems in the document that needs to be fixed.
	modified:   doc/RUN_NR_PRS.md
2023-04-26 17:37:06 +02:00
rakesh mundlamuri
594fb18cc8 adressing the comments 2023-04-24 11:05:05 +02:00
rakesh mundlamuri
5143133d33 ssb offset to point A bugfix 2023-04-24 10:47:41 +02:00
francescomani
c0f7e458bb rework and adjust size of config_request mac vectors 2023-04-24 09:09:17 +02:00
francescomani
15822a0a5d rework nr_rrc_mac_config_req 2023-04-24 09:05:54 +02:00
Robert Schmidt
6022fe5acd Merge branch 'integration_2023_w16b' into 'develop'
integration_2023_w16b

See merge request oai/openairinterface5g!2069

* !1952 Fix problems detected by UBsan
* !1924 NR UL 256 QAM
* !1988 PUCCH2 for N = 64
* !2053 separating MAC and PHY procedures for TA
* !2058 fix interoperability with accelleran CU
* !2060 avoid duplicated function in nr_common for supported bandwidth
* !2064 CI AW2S config file fix
* !2065 bugfix for msg3 retransmission scheduling frame
* !2067 Modification of tagging develop images on OC
2023-04-24 06:05:11 +00:00
Robert Schmidt
224ef7921a Merge remote-tracking branch 'origin/ci-OC-image-tagging' into integration_2023_w16b 2023-04-22 07:51:37 +02:00
Robert Schmidt
4fdbcb0472 Merge remote-tracking branch 'origin/NR_msg3_rtx_frame_fix' into integration_2023_w16b 2023-04-22 07:51:29 +02:00
Robert Schmidt
bbc9442fc8 Merge remote-tracking branch 'origin/NR_CI_AW2S_config_file' into integration_2023_w16b 2023-04-22 07:51:22 +02:00
Robert Schmidt
418c6e23f0 Merge remote-tracking branch 'origin/NR_common_duplicated_function' into integration_2023_w16b 2023-04-22 07:51:14 +02:00
Robert Schmidt
94185df93e Merge remote-tracking branch 'origin/bugfix-interop-accelleran' into integration_2023_w16b 2023-04-22 07:49:06 +02:00
Robert Schmidt
302f016650 Merge remote-tracking branch 'origin/NR_UE_TA_procedures_at_MAC' into integration_2023_w16b 2023-04-22 07:48:58 +02:00
Jaroslava Fiedlerova
3c5468dd7d Fix of command for USRP B200 reset in CI pipeline 2023-04-21 16:59:17 +02:00
Robert Schmidt
e31eacb386 Merge remote-tracking branch 'origin/develop-PUCCH2' into integration_2023_w16b 2023-04-21 16:33:44 +02:00
Robert Schmidt
361dfc3c9f Merge remote-tracking branch 'origin/NR_UL_256QAM_new' into integration_2023_w16b 2023-04-21 16:32:36 +02:00
Robert Schmidt
8482cb62c4 Merge remote-tracking branch 'origin/fix-ubsan-ldpc' into integration_2023_w16b 2023-04-21 16:30:52 +02:00
Jaroslava Fiedlerova
64b4fbe7f2 Removal of unnecessary line 2023-04-21 13:46:50 +02:00
luis_pereira87
ae6db92dc2 Add mac_CellGroupConfig in RRCReconfiguration after a RRCReestablisment to configure SR, BSR, TAG and PHR 2023-04-21 10:29:57 +01:00
Jaroslava Fiedlerova
99c620b8cc Minor modification of tagging develop images on OC 2023-04-21 10:19:31 +02:00
francescomani
87d9517738 avoid duplicated function in nr_common for supported bandwidth 2023-04-20 18:16:37 +02:00
Roberto Louro Magueta
e140ac4bf7 Add CI test for PUCCH2 and polarParams->N = 64 2023-04-20 12:56:28 +01:00
Roberto Louro Magueta
b307044345 Decode PUCCH2 for polarParams->N = 64 2023-04-20 12:56:28 +01:00
Robert Schmidt
62a5c4996c Add clang build on OpenShift Cluster
Add Dockerfile, OpenShift build config, and OpenShift image stream, to
compile OAI using clang, notably to get compiler warnings and keep it
OAI compilable using clang.
2023-04-20 13:44:11 +02:00
laurent
d12e67b0bc Enable undefined behavior sanitizer in physim image 2023-04-20 13:44:11 +02:00
Robert Schmidt
8f85851a95 Remove clang from physim Dockerfile
clang (at least version 14.0.6 used on the cluster) is very slow when
compiling both ASan and UBSan into the binary. We therefore move clang
out, into a separate file in a later commit
2023-04-20 13:44:11 +02:00
Robert Schmidt
3b429c5399 Fix uninitialized variable warning 2023-04-20 13:44:05 +02:00
Roberto Louro Magueta
7879afc010 Improve code readability and fix the nr_polar_params() function 2023-04-20 11:51:47 +01:00
francescomani
053ef8fc44 bug fix for msg3 retrasmission scheduling frame 2023-04-20 11:47:37 +02:00
francescomani
24e4629eff never use ulsch_max_frame_inactivity = 0 in a multi-ue scenario 2023-04-20 10:20:16 +02:00
Robert Schmidt
aac2a062b3 Merge branch 'integration_2023_w16' into 'develop'
integration_2023_w16

See merge request oai/openairinterface5g!2063

* !2040 CI: AW2S-ASUE pipeline creation
* !2042 fix iqplayer doc and copy in central directory
* !2051 Documentation update for USRPs
2023-04-20 06:41:22 +00:00
laurent
b735f8bec6 ubsan fixes 2023-04-19 22:12:08 +02:00
laurent
8a10d1b222 add phy layer variable and persited arrays 2023-04-19 22:12:08 +02:00
laurent
9509bdfdc1 ubsan detected issue 2023-04-19 22:12:08 +02:00
laurent
3eabc2fe01 remove ubsan from ziggurat random generator for speed and because it detects abs(MIN_INT32) cant be computed 2023-04-19 22:12:08 +02:00
Robert Schmidt
01af5a1e2d Fix too large shift in ulsim 2023-04-19 22:12:08 +02:00
Robert Schmidt
2faca0fdba Fix too large shift in nr_pucchsim 2023-04-19 22:12:08 +02:00
laurent
7f4e8f9220 fix-ubsan 2023-04-19 22:12:08 +02:00
laurent
63fc39dc3f fix bugs detected by ubsan 2023-04-19 22:12:08 +02:00
Robert Schmidt
3f1a52eb3e Merge remote-tracking branch 'origin/multiusrps' into integration_2023_w16 2023-04-19 17:01:15 +02:00
Robert Schmidt
759d9df9bd Merge remote-tracking branch 'origin/iqplayer_doc' into integration_2023_w16 2023-04-19 17:01:09 +02:00
Robert Schmidt
6927eb12a6 Merge remote-tracking branch 'origin/ci-aw2s-asue-test' into integration_2023_w16 2023-04-19 17:01:00 +02:00
Jaroslava Fiedlerova
cf67fcea6c CI: Jenkinsfile log collection 2023-04-19 16:58:05 +02:00
Jaroslava Fiedlerova
62efab7262 CI EPC module: fix of CN log collection 2023-04-19 16:58:02 +02:00
Jaroslava Fiedlerova
8a9346dd27 Add pipeline to Jenkins RAN-container-parent 2023-04-19 16:57:59 +02:00
Jaroslava Fiedlerova
9987ebf8aa Add AW2S+Amarisoft test
- New amariue config for AW2S test
- XML files
- docker-compose file for deployment
- documentation
2023-04-19 16:57:56 +02:00
Jaroslava Fiedlerova
6836582ca1 Harmonize Jenkinsfile log collection
- use same zip file in Jenkins artifacts for multiple pipelines
2023-04-19 16:57:53 +02:00
Jaroslava Fiedlerova
8b339bb659 Retag porcepix and cluster registry images to use same prefix
Allows to reuse DeployObject, CleanTestImages, etc, to be reused
regardless of image registry origin.
2023-04-19 16:57:50 +02:00
Jaroslava Fiedlerova
b6feedc883 Ping for OC OAI 5GC 2023-04-19 16:57:46 +02:00
Jaroslava Fiedlerova
bfbb3a69ba CI EPC module: Deploy OpenShift Cluster OAI 5GC 2023-04-19 16:57:44 +02:00
Jaroslava Fiedlerova
b34e4d0a19 CI Cluster module: refactor login&logout, pull cluster images 2023-04-19 16:57:41 +02:00
Jaroslava Fiedlerova
98f06c5907 Minor fixes in cls_containerize.py 2023-04-19 16:57:37 +02:00
Jaroslava Fiedlerova
5c426db6eb Update Amarisoft to new version 2023-04-19 16:57:34 +02:00
Jaroslava Fiedlerova
f798541e84 Remove old and unused Amarisoft UE configuration files 2023-04-19 16:57:29 +02:00
Jaroslava Fiedlerova
d510827e16 Fix for AW2S dockerfile 2023-04-19 16:57:23 +02:00
Arash Sahbafard
c63edad48b Update radio/USRP/README.md 2023-04-19 16:02:45 +02:00
Raymond Knopp
7d3a0cd157 Merge remote-tracking branch 'origin/develop' into threading-rk 2023-04-18 23:25:38 +02:00
Robert Schmidt
46db3534b7 Add link to second document 2023-04-18 10:08:39 +02:00
Bruno Mongazon-Cazavet
2f82aea100 fix iqplayer doc and copy in central directory 2023-04-18 10:07:05 +02:00
francescomani
b37b0e5c97 further improvements for PUCCH config 2023-04-17 16:22:22 +02:00
francescomani
28fb7a37d7 removing an assertion and improving CSI-RS config 2023-04-17 16:22:22 +02:00
Robert Schmidt
db2aa3c8bd Honor force_256qam_off when configuring UL MCS tables 2023-04-17 15:09:17 +02:00
francescomani
9eb1af6dc2 addressing review 2023-04-17 15:06:04 +02:00
Roberto Louro Magueta
6a90266aff Add implementation related to 256QAM for 2-layers UL 2023-04-17 13:59:55 +02:00
francescomani
8c051201d6 fix for RA NSA 2023-04-17 12:41:47 +02:00
francescomani
26e469cbac adding 256QAM in feature set, adding 256QAM test in ulsim and limit mcs according to table 2023-04-17 12:41:47 +02:00
Raymond Knopp
7455bae459 added 256QAM LLR computation for ULSCH 2023-04-17 12:41:47 +02:00
francescomani
a0b207fe6b adding options for 256QAM in UL simulators 2023-04-17 12:41:47 +02:00
francescomani
fc17f3fdc7 fix for transform precoding condition 2023-04-17 12:32:29 +02:00
francescomani
abba6a6d8a UL 256 QAM 2023-04-17 12:32:29 +02:00
laurent
1fefd730d6 fix ldpc ubsan 2023-04-17 09:30:47 +02:00
Robert Schmidt
56367dd07c Merge branch 'integration_2023_w15' into 'develop'
integration_2023_w15

See merge request oai/openairinterface5g!2057

* !1977 UL-MMSE
* !2021 Remove globals demodulator
* !2025 NR UE implementation of PUCCH multiplexing procedures
* !2049 reworking UE function to get max transmitted power
* !2034 Compiling CLANG warning free
* !2043 Refactor radio-related RRC parameters and further cleanup
2023-04-16 21:35:54 +00:00
Cedric Roux
6e5511b220 bugfix: use an array of size NGAP_MAX_DRBS_PER_UE for drb_priority
It may happen that the drb to configure is not 1, so we may need
this array in rrc_gNB_generate_dedicatedRRCReconfiguration().

Not tested, this commit is mostly to harmonize with other places in
openair2/RRC/NR/rrc_gNB.c
2023-04-15 21:26:24 +02:00
Cedric Roux
bf10230185 bugfix: use correct index in array
Accelleran CU configures DRB ID 4, not 1, so we need to take index 3
in the array 'priority', not 0.

So let's use i-1 as it was before.
2023-04-15 20:20:10 +02:00
Robert Schmidt
be5c3d7aa0 Merge remote-tracking branch 'origin/refactor-nr-rrc-du' into integration_2023_w15 2023-04-14 15:26:30 +02:00
Robert Schmidt
04451c7078 Merge remote-tracking branch 'origin/clang_warnings_new' into integration_2023_w15 2023-04-14 13:54:46 +02:00
Robert Schmidt
224c5538e4 Merge remote-tracking branch 'origin/NR_UE_get_Pmax' into integration_2023_w15 2023-04-14 13:54:40 +02:00
francescomani
ffe0630d93 addressing a couple of review comments 2023-04-14 13:52:16 +02:00
francescomani
5a153c502f adding static const in Gen_shift_value.h to avoid asan odr-violation 2023-04-14 13:52:16 +02:00
francescomani
1470d7637f fix new warnings 2023-04-14 13:52:16 +02:00
Robert Schmidt
69da6a5f5e Remove futile AssertFatal
NGAP_MAX_PDU_SESSION is 256, and ue->nb_of_pdusessions is uint8_t,
so comparison is always true and we can simply drop it.
2023-04-14 13:52:16 +02:00
Robert Schmidt
1ae561b9cc Remove write-only variable and commented code 2023-04-14 13:52:16 +02:00
Robert Schmidt
41aadcc54f Comment write-only variable 2023-04-14 13:52:16 +02:00
Robert Schmidt
beef5461e5 Write-only variable: return ret_mask 2023-04-14 13:52:16 +02:00
Robert Schmidt
51c4933258 MAC: count transported SDU bytes 2023-04-14 13:52:16 +02:00
Robert Schmidt
8d07275496 Write-only variable: suppress warning, as we decode NAS message 2023-04-14 13:52:16 +02:00
Robert Schmidt
852a6c4f28 Remove write-only variables 2023-04-14 13:52:12 +02:00
francescomani
ca4b438dd4 clang warning fixes to compile lte softmodems 2023-04-14 13:52:12 +02:00
francescomani
971bacb76f clang warning fixes to compile rfsimulator 2023-04-14 13:52:12 +02:00
Robert Schmidt
5d38a99955 Physim images: build using clang and -Werror 2023-04-14 13:52:12 +02:00
Robert Schmidt
e6488d1b62 Remove compile options unknown to clang 2023-04-14 13:52:03 +02:00
Robert Schmidt
c6a04db9a1 Merge remote-tracking branch 'origin/NR_UE_PUCCH_fixes' into integration_2023_w15 2023-04-13 18:45:29 +02:00
Robert Schmidt
8292c4523e Merge remote-tracking branch 'origin/remove-globals-demodulator' into integration_2023_w15 2023-04-13 18:45:19 +02:00
francescomani
eb09a63001 separating MAC and PHY procedures for TA 2023-04-12 10:32:35 +02:00
Robert Schmidt
8aa0aa4d40 Make functions in (gNB MAC) main.c static 2023-04-11 10:33:27 +02:00
Robert Schmidt
296d930fba Make most functions in nr_rrc_config.c static 2023-04-11 10:33:27 +02:00
Robert Schmidt
b62474bd83 Move fill_default_secondaryCellGroup() and change signature
fill_default_secondaryCellGroup() is moved to nr_rrc_config.c.
Furthermore, the signature is changes to return the NR_CellGroupConfig
from the functions, instead of filling a pre-allocated structure (which
is, in all cases, allocated just before calling
fill_default_secondaryCellGroup().

There is a problem with this function: the function also fills the
ServingCellConfig (a parameter to this function). This behavior has not
been changed.
2023-04-11 10:33:27 +02:00
Robert Schmidt
c1a2b65697 Delete nr_DRB_preconfiguration() and replace with existing functions
nr_DRB_preconfiguration() does a "pre-configuration" for the default DRB
for "noS1" mode, i.e., when there is no connection to core network. In
this case, there is no PDU session to be set up, and hence we need to
preconfigure the DRBs.

We replace this function with partially existing functions and a new
function fill_nr_noS1_bearer_config() which returns a bearer
configuration for the noS1 case, also better reflected in the function
name. It has also been moved to asn1_msg.c, away from the actual PDCP
layer.
2023-04-11 10:33:27 +02:00
Robert Schmidt
d021fbd0b6 Reuse get_DRB_RLC_BearerConfig() to get RLC-BearerConfig
For nr_DRB_preconfiguration() and fill_default_secondaryCellGroup(),
there is duplicated code to generate and RLC-BearerConfig, when calling
the existing get_DRB_RLC_BearerConfig() (with the right parameters)
yields a similar configuration (see exceptions below).

Differences:
- We do not support reestablishmentRLC, so we don't set it
- Set prioritisedBitrate to 8kbps instead of infinity (we don't
  prioritize anything, anyway)
- bucketSizeDuration is 50ms instead of 100ms
2023-04-11 10:17:07 +02:00
Robert Schmidt
395ca4b4b0 Refactor update_cellGroupConfig() 2023-04-11 10:17:07 +02:00
Robert Schmidt
44d5b37890 Refactor get_initial_cellGroupConfig() 2023-04-11 10:17:07 +02:00
Robert Schmidt
88e6d9df09 Refactor SIB1 handling 2023-04-11 10:17:07 +02:00
Robert Schmidt
7cb50288ef Refactor MIB handling 2023-04-11 10:17:07 +02:00
Robert Schmidt
1e30c0adba Demote PRS no config message to information level 2023-04-11 10:07:07 +02:00
Robert Schmidt
b9293754b8 Change rrc_coreset_config() to return new coreset config 2023-04-11 10:07:07 +02:00
Robert Schmidt
2d1aa8425b Remove write-only or unused variables 2023-04-11 10:07:07 +02:00
Robert Schmidt
d907cbd442 Remove unused servingcellconfig parameter in RRC config 2023-04-11 10:07:07 +02:00
Robert Schmidt
c744b01566 Remove ServingCellConfig from RRC Setup-related functions: is not needed 2023-04-11 10:07:07 +02:00
Robert Schmidt
5761b60c60 Create functions to access MAC from RRC
- for updating cellGroup
- for removing UE
- not done for SI information and RRC timers
2023-04-11 10:07:07 +02:00
Robert Schmidt
f7181caf65 Remove commented code 2023-04-11 10:07:07 +02:00
Roberto Louro Magueta
a611d58d3b Add CI tests: PUSCH Type B, 40 MHz BW, 30 kHz SCS, 2 and 4 RX Antennas Requirements Test, 2 layers 2023-04-10 10:18:41 +01:00
Roberto Louro Magueta
6c590b900a Compute noise variance to be used in MMSE 2023-04-10 10:18:41 +01:00
Roberto Louro Magueta
4b263c3fa5 MMSE working for 2-layers UL with a hardcoded noise variance 2023-04-10 10:18:41 +01:00
Raymond Knopp
455e2203e7 Merge remote-tracking branch 'origin/develop' into threading-rk 2023-04-09 18:29:42 +02:00
francescomani
a85fee5dca fixes for UE pucch scheduling 2023-04-07 16:56:26 +02:00
francescomani
e49c6db2bf final round of warning fixes to compile nr softmodems 2023-04-07 15:52:16 +02:00
laurent
f4ed558cc5 fix a bug in UE_CAPABILITY_DUMMY message, fix is correct, but the surround code is not fully consistent 2023-04-07 15:52:16 +02:00
francescomani
3ca0f39088 new round of clang warning fixes 2023-04-07 15:52:16 +02:00
Robert Schmidt
98f4d038d4 Merge branch 'integration_2023_w14' into 'develop'
integration_2023_w14

See merge request oai/openairinterface5g!2048

* !1861 NR UE RX Multi-threading
* !2017 scheduling aperiodic SRS at UE
* !2046 Correctly allocate GUTI in NAS UE structures
* !2033 PBCH radio link failure detection at MAC
* !1959 bugfix: change memory management of interface between PHY and MAC scheduler
* !2041 hack: see "Bye." message when quitting gnb running with aw2s
* !2047 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
2023-04-07 12:53:01 +00:00
Florian Kaltenberger
daa1a911ac Update radio/USRP/README.md 2023-04-07 10:04:13 +00:00
francescomani
41d9e775c9 reworking the function to get Pmax 2023-04-07 11:33:14 +02:00
luis_pereira87
486ae6e7bd Merge remote-tracking branch 'origin/nr-rrcreestablishment-fix-multipdu-proper-commits' into integration_2023_w14 2023-04-06 10:48:38 +01:00
Angelo Athanassopoulos
1679cf38ba NR RRC - RRCReestablishment - Reviewer comments
Changes
1. Passing function argument  by reference.
2. Use a pointer for ue->established_drbs[drb_id - 1] in generateDRB.
2023-04-05 22:40:55 +02:00
Robert Schmidt
bdfec26d82 Merge remote-tracking branch 'origin/hack-bye-message-aw2s' into integration_2023_w14 2023-04-05 19:30:33 +02:00
Robert Schmidt
19d3014150 Merge remote-tracking branch 'origin/bugfix-phy-mac-interface' into integration_2023_w14 2023-04-05 19:30:30 +02:00
Cedric Roux
733c7e5e89 bugfix: change memory management of interface between PHY and MAC scheduler
This commit fixes a bug caused by global variables in the gNB_MAC_INST
structure used to transfer MAC scheduler's results to the PHY layer.

When using several threads in the PHY layer, it may happen that the
MAC scheduler is called a second time by the second PHY thread for the
next slot before the content of the global variables in the gNB_MAC_INST
structure used to store the result of the MAC scheduler for the current
slot have been consumed by the first thread, leading to unpredictable
results (all of them certainly wrong).

The solution is to introduce a small memory management module for the
interface between the PHY threads and the MAC scheduler. The MAC
scheduler now fills the data structures passed to it, and not a
global variable anymore. The PHY layer manages the structures and
ensures that no data is overwritten before being fully consumed by
the various threads of the PHY layer.

Some care has to be taken because several PHY threads will access the
same structures at the same time for a given slot (in read mode, so
it's okay). A mechanism of reference counting has thus been introduced.

Only one CC is supported. This restriction should not be too hard
to remove if/when needed. (The code before this commit does not seem
to work for more than one CC anyway.)
2023-04-05 16:39:12 +02:00
Angelo Athanassopoulos
5b35523c2c NR RRC - RRCReestablishment - Apply clang format 2023-04-05 11:22:59 +02:00
francescomani
ebd70a3915 Merge remote-tracking branch 'origin/NR_pbch_errors_at_MAC' into integration_2023_w14 2023-04-04 19:35:23 +02:00
luis_pereira87
3cf3a42b44 Flag integrityProtection work in inverse logic state, '0' means enabled which is the default the value, we need to set it to '1' to disable it 2023-04-04 18:25:08 +01:00
luis_pereira87
6fb10cd5fa Fix SRB_configList2 and DRB_configList2 array position (new_xid) while creating RRCReconfiguration message after RRCReestablishmentComplete 2023-04-04 18:13:11 +01:00
Robert Schmidt
a6862df7aa Merge remote-tracking branch 'origin/guti-hotfix' into integration_2023_w14 2023-04-04 18:54:39 +02:00
Robert Schmidt
a0a92f4581 Merge remote-tracking branch 'origin/NR_UE_aperiodic_SRS' into integration_2023_w14 2023-04-04 18:50:41 +02:00
Angelo Athanassopoulos
f4dc362247 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Fixed a bug where the integrity protection was included in the ASN1 and caused significant throughput bottleneck.
2023-04-04 14:05:06 +02:00
Angelo Athanassopoulos
778c88d8a9 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Cosmetic changes, also changed the LOG message for updating the UEid, and moved the drb_id_to_setup_start and nb_drb_to_setup right before the function that they are used
2023-04-04 14:05:06 +02:00
Angelo Athanassopoulos
ad598a2d5d NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Removed the unused variables, and changed the tenary operator conditions of drb_id_to_setup_start & nb_drb_to_setup, to the correct ones
2023-04-04 14:05:05 +02:00
Angelo Athanassopoulos
ca010654bf NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Changed the SRB2 and DRB at the do_RRCReconfiguration arguments, to pass the correct structures that are generated
2023-04-04 14:05:05 +02:00
Angelo Athanassopoulos
1923bed4a3 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Simplify RRCReestablishmentComplete procedure with respective function,
removed the block that creates the SRB2  and created a function, with doxygen
2023-04-04 14:05:05 +02:00
Angelo Athanassopoulos
9142357069 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Simplify RRCReestablishmentComplete procedure with respective function,
removed the block that creates the ASN1 DRBs  and created a function, with doxygen
2023-04-04 14:05:04 +02:00
Angelo Athanassopoulos
a3c13fdc71 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Simplify RRCReestablishmentComplete procedure with respective function,
removed the block that updates NGU Tunnels and created a function, with doxygen
2023-04-04 14:05:04 +02:00
Angelo Athanassopoulos
bf844247bf NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Simplify RRCReestablishmentComplete procedure with respective function,
removed the block that updates NAS PDUSession and created a function, with doxygen
2023-04-04 14:05:04 +02:00
Angelo Athanassopoulos
7eb2e99dcd NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Simplify RRCReestablishmentComplete procedure with respective function,
removed the block that frees all the NAS PDUs and created a function for this.
2023-04-04 14:05:03 +02:00
Angelo Athanassopoulos
26909e7c32 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Cosmetic changes, added doxygen configuration, and changed the rrc_gNB_process_RRCReestablishmentComplete function arguments' alignment, so in the future if an argument is removed or added to be better visible in the commits
2023-04-04 14:05:03 +02:00
laurent
ded8a3779d remove globals 2023-04-04 11:41:32 +02:00
Robert Schmidt
0a4e28688b Update phytest-timing test timing thresholds 2023-04-04 09:39:28 +02:00
Robert Schmidt
22db2d613f Correctly allocate GUTI in NAS UE structures 2023-04-04 08:40:48 +02:00
Angelo Athanassopoulos
33c09b7776 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
The generateDRB function now creates a DRB and puts it in the struct member of gNB_RRC_UE_t, from this struct we can generate ASN1 messages by calling the generateDRB_ASN1
2023-04-04 00:44:43 +02:00
Angelo Athanassopoulos
af8b3b0486 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Added function to create ASN1 DRB-ToAddMod structs from, gNB_RRC_UE_t established_drbs
2023-04-04 00:44:38 +02:00
Angelo Athanassopoulos
5403198996 NR RRC - RRCReestablishment - Fix MultiplePDU Regression
Added struct member to gNB_RRC_UE_t to store the established DRBs for a UE, this can be used to generate ASN1 structs, during RRCReconfiguration
2023-04-04 00:18:44 +02:00
Sakthivel Velumani
1f6d111f6a Num wait idication as Tpool message field 2023-04-03 10:25:13 -04:00
Sakthivel Velumani
2bfe9ba229 Remove dead code 2023-04-03 10:25:13 -04:00
Sakthivel Velumani
c8a61331ea Update UE design doc 2023-04-03 10:25:13 -04:00
Sakthivel Velumani
0004626ac7 Fix bug in QT scope
The UE copies scope data not in a single buffer to avoid overwiring in case of multiple slots processing in parallel. But the scope upates data from single buffer thats assigned during selection. A getPlotValue() method is created to update the data pointer on every timerEvent.
2023-04-03 10:25:13 -04:00
Sakthivel Velumani
9e4d522937 Make kpi variables atomic
Mutex for phy scope: Repeating this change again. My earlier change in commit 06ef311975 was erased by someone during merge of QT scope.
2023-04-03 10:25:13 -04:00
Sakthivel Velumani
e45a051c80 Perform CRC check for whole TB 2023-04-03 10:25:11 -04:00
Sakthivel Velumani
5c6778be0c Fixed Harq stats print 2023-04-03 10:24:26 -04:00
Sakthivel Velumani
7d23ec27b5 Changed NR_UE_CAPABILITY_SLOT_RX_TO_TX to 3
Tested with X300 and there was no real-time problems.
Could get the same throughput as when NR_UE_CAPABILITY_SLOT_RX_TO_TX is 4.
2023-04-03 10:24:26 -04:00
Sakthivel Velumani
f1841639f5 Updated documentation 2023-04-03 10:24:26 -04:00
Sakthivel Velumani
a03864ee8c Fix printing help message 2023-04-03 10:24:26 -04:00
Sakthivel Velumani
f3be849904 Delete job data when no response FIFO 2023-04-03 10:24:26 -04:00
Sakthivel Velumani
1d9a4a42e7 Corrected thread pool help message 2023-04-03 10:24:26 -04:00
Sakthivel Velumani
15c12caa37 Contains MAC changes to run || DLSCH
DL config as array in MAC
Run RX slot processing in Tpool thread
Fixed race in phy config
Changed mac_IF_mutex
Proc Tx: Lets wait for Proc Rx to get ACK/NACK
-(only on slots that carry ACK/NACK)
Fix problem with rfsim
Separated PDCCH and PDSCH decoding functions. Run PDCCH decoding in main UE_thread.
Fixed race in MAC dci config struct
needed for parallel processing of slots
Moved DLSCH transport block buffer to stack
rx_ind as static allocation
L2sim: Fixed calling of MAC sched in wrong slot
Fix DCI extract bug for RA procedure
2023-04-03 10:24:24 -04:00
francescomani
5c333cca65 move radio link failure detection on pbch at MAC 2023-04-02 09:48:09 +02:00
Robert Schmidt
1f97969675 Merge branch 'integration_2023_w13' into 'develop'
integration_2023_w13

See merge request oai/openairinterface5g!2037

* !1945 Free RNTI related structures at PHY after UE disconnection
* !2011 Creation of new pipeline LTE-TDD-2x2-container
* !1854 Handle reconfigurationWithSync
* !2019 bugfix: LDPC decoding in the gNB: clear d properly
* !2038 Fix DL 2x2 errors
* !2039 Adding test-case in XML to reset USRP in LTE-TDD pipeline
* !2008 Implement NR-UE Deregistration procedure
* !2023 Rework PDCP OAI API to allow custom SRB data forwarding (e.g., in F1)
* !2015 Update documentation: CI, general README.md, overview of doc README, various improvements
2023-04-01 13:28:17 +00:00
Robert Schmidt
06c0979b90 Merge remote-tracking branch 'origin/doc-ci' into integration_2023_w13 2023-03-31 18:06:19 +02:00
Robert Schmidt
51fe9b84dd Merge remote-tracking branch 'origin/pdcp-callbacks-simplify' into integration_2023_w13 2023-03-31 18:03:40 +02:00
Robert Schmidt
5268dbf3f8 Merge remote-tracking branch 'origin/deregistration' into integration_2023_w13 2023-03-31 18:01:00 +02:00
Robert Schmidt
ca6ae2c486 Merge remote-tracking branch 'origin/ci-ltetdd-reset-usrp' into integration_2023_w13 2023-03-31 18:00:03 +02:00
Robert Schmidt
8c1aeb4ab9 Merge remote-tracking branch 'origin/develop-fix-DL-2x2-errors' into integration_2023_w13 2023-03-31 17:59:54 +02:00
Robert Schmidt
7a52279078 Merge remote-tracking branch 'origin/bugfix-clear-llr-properly' into integration_2023_w13 2023-03-31 17:58:23 +02:00
Robert Schmidt
c4a9f0ea03 gNB RRC: Shorten time till UE is removed for RRCRelease 2023-03-31 17:23:03 +02:00
Robert Schmidt
a6149386dc NR UE MAC: Decode TBS and print warning if unknown LCID 2023-03-31 17:23:03 +02:00
Robert Schmidt
25b3aaf230 NR UE RRC: DCCH messages can be on SRB1 or SRB2 2023-03-31 17:23:03 +02:00
Robert Schmidt
06436655ff Bugfix: Forward F1 DL RRC Message transfer on correct SRB 2023-03-31 17:22:59 +02:00
Robert Schmidt
0631c04fba Revert 5G RFsim timeout changes for tests with CN: deregistration triggers UE disconnect 2023-03-31 17:22:59 +02:00
Robert Schmidt
8e6554bdf3 Print log on receiving deregistration accept, on CONN Release stop nr-uesoftmodem 2023-03-31 17:22:59 +02:00
Robert Schmidt
7fb242d33e Send NAS_CONN_RELEASE_IND to correct NAS UE task from RRC NR UE 2023-03-31 17:22:59 +02:00
Robert Schmidt
03862de437 Update TESTBenches.md to reflect current stetup 2023-03-31 17:07:28 +02:00
Robert Schmidt
ca3a7c612b Remove outdated CI section 2023-03-31 17:07:28 +02:00
Robert Schmidt
8ca640337a Reorganize RUNMODEM.md 2023-03-31 17:07:28 +02:00
Robert Schmidt
a29e59b602 Update GET_SOURCES.md and BUILD.md 2023-03-31 17:07:28 +02:00
Robert Schmidt
e4143ded39 Update main README and overview of documentation 2023-03-31 17:07:28 +02:00
Roberto Louro Magueta
b69fb5bd74 Do not send TA command when rrc_processing_timer is active 2023-03-31 14:38:56 +01:00
Robert Schmidt
d1fc95a8a1 GTP: when creating a tunnel, tell which functions to use
The GTP module is common for 4G and 5G. It hardcodes the functions to
call when creating S1U and NGU tunnels. The S1U case is both applicable
for LTE and NR (NSA), which until now was not a problem as the PDCP data
forwarding functions where called pdcp_data_req. The issue is that in this
branch, the NR PDCP functions have changed to nr_pdcp_data_req_drb().

When setting up a GTP tunnel, we now pass the PDCP data forwarding
functions into GTP, since the caller knows whether it is in 4G or 5G,
but GTP itself does not.
2023-03-31 11:53:52 +02:00
Robert Schmidt
ed1d009381 fix warning 2023-03-30 19:59:48 +02:00
Robert Schmidt
99d5e50b6a fix merge 2023-03-30 19:58:55 +02:00
Robert Schmidt
1ac428a323 Merge remote-tracking branch 'origin/develop-handle-reconfigurationWithSync' into integration_2023_w13 2023-03-30 19:19:37 +02:00
Dhanuja Elizabeth Thomas
04f32ec70b Removed ADB related parameters from args_parse.py 2023-03-30 18:01:52 +02:00
Cedric Roux
50bf571347 hack: see "Bye." message when quitting gnb running with aw2s
For some (unclear) reason, nr-softmodem with aw2s device does not print
"Bye." when stopping it with control+c, which is problematic in the CI.

This little hack solves the problem.

(Maybe not the right solution, to be changed if needed.)
2023-03-30 12:57:10 +02:00
Dhanuja Elizabeth Thomas
15adb12b71 Adding test-case in XML to reset USRP in LTE-TDD pipeline 2023-03-30 10:25:36 +02:00
Robert Schmidt
bd42a4259f Merge remote-tracking branch 'origin/lte-2x2-container-pipeline' into integration_2023_w13 2023-03-28 20:07:43 +02:00
Roberto Louro Magueta
cf8dff2093 Implementation to update the RRC timers at UE 2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
670fcc0459 Fix handle_nr_ul_harq() for CFRA in SA 2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
81d44c6422 Stop timer T304 when RA is succeeded 2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
889a50072f Implementation of resynchronization procedures for a gNB with a given Nid_cell 2023-03-28 18:52:48 +01:00
Robert Schmidt
1880ede547 Check for GUTI 2023-03-28 14:12:05 +02:00
Robert Schmidt
40c06fa8d5 Custom handler in NRUE to first send deregistration before stopping 2023-03-28 14:12:05 +02:00
Robert Schmidt
a6486909ca Reimplement itti_wait_tasks_end() to allow custom wait handlers
In the UE, we wish to handle ^C in the UE to send a message before
terminating, so we allow custom wait handlers to implement such
functionality. Use itti_wait_tasks_unblock() to unblock
itti_wait_tasks_end().

Also, implement itti_wait_tasks_end() using semaphores, as signals are
not async-signal-safe (and therefore should not be used in a signal
handler).
2023-03-28 14:12:05 +02:00
Robert Schmidt
4700dde2ae Trigger deregistration 2023-03-28 14:12:05 +02:00
Robert Schmidt
a0318fb413 Implement NAS Deregistration Type message 2023-03-28 14:12:05 +02:00
Robert Schmidt
09ea970b34 Stop UE with ^C 2023-03-28 14:12:05 +02:00
Robert Schmidt
77e61425e0 UE NAS: Add counter for NAS messages 2023-03-28 14:12:05 +02:00
Robert Schmidt
4642a7c0f5 Correctly fill GUTI in NAS if available 2023-03-28 14:12:05 +02:00
Robert Schmidt
6e01a62838 Decode Registration Accept to receive GUTI 2023-03-28 14:12:05 +02:00
Robert Schmidt
e35401efde NAS refactor: no moduleID, group UICC and security in one context 2023-03-28 14:12:05 +02:00
Robert Schmidt
223fd28bb2 Refactor NAS: separate code into functions 2023-03-28 14:12:05 +02:00
Robert Schmidt
528025e9a6 Fix decoding of Mobile identity 2023-03-28 14:12:05 +02:00
Robert Schmidt
d4da44f1d3 CI: Remove unused routes 2023-03-28 14:03:03 +02:00
francescomani
0de51bcd93 scheduling aperiodic SRS at UE 2023-03-28 11:11:31 +02:00
Robert Schmidt
6529d875d8 nr_pdcp_data_req_srb(): take callback to forward data 2023-03-27 16:47:46 +02:00
Robert Schmidt
ffebe2498d Simplify callback for deliver_pdu 2023-03-27 16:47:46 +02:00
Robert Schmidt
0f43c2c713 PDCP DL handling: unlock PDCP before forwarding PDU
nr_pdcp_entity_recv_sdu() processes PDCP SDUs, and forwards the PDU at the
end of the function, while having the PDCP lock. This can lead to
deadlocks, e.g., when another thread goes through RLC and tries to
access the PDCP while the PDCP tries to lock the RLC.

This commit changes the logic: instead of having recv_sdu() forward the
PDU directly, it fills a buffer with the PDU (thus the name change to
process_sdu()), and returns. We then unlock the PDCP, before forwarding
the PDU, thus eliminating potential deadlocks.
2023-03-27 16:47:46 +02:00
Robert Schmidt
c405ad16a8 Remove nr_rrc_data_req()/rrc_data_req_nr_ue() 2023-03-27 16:47:46 +02:00
Robert Schmidt
2ac2a7f074 Make separate header for nr_pdcp instead of using 4G pdcp
Creates function that have nr_pdcp_ prepended to their name, and change
the signature of some functions for the 5G PDCP:

- nr_pdcp_layer_init()
- nr_pdcp_data_req()
- nr_pdcp_remove_UE()
- nr_pdcp_config_set_security()
- nr_pdcp_remove_UE()
- Make separate functions for nr_pdcp_data_req_srb/drb()
2023-03-27 16:39:24 +02:00
Robert Schmidt
a458a251a0 PDCP: harmonize DL RRC Message transfer 2023-03-27 16:39:24 +02:00
Raymond Knopp
80d84d3271 compilation after merge conflicts 2023-03-27 16:15:47 +02:00
Raymond Knopp
48d04bbffd Merge remote-tracking branch 'origin/develop' into threading-rk 2023-03-27 16:09:33 +02:00
Robert Schmidt
47ea8d79a2 Free memory correctly 2023-03-27 15:39:49 +02:00
francescomani
d664190f9d scope compilation fixes 2023-03-27 15:39:49 +02:00
francescomani
0d66410317 another round of review 2023-03-27 15:39:49 +02:00
francescomani
12ccca72b6 further improvements 2023-03-27 15:26:52 +02:00
Robert Schmidt
6e93619896 review comments 2023-03-27 15:26:52 +02:00
francescomani
779748579c fixes for physical simulators 2023-03-27 15:26:52 +02:00
francescomani
f3126586f3 removing constant max number of xlsch 2023-03-27 15:26:52 +02:00
francescomani
48d19391e2 fix for PHY structure disactivation 2023-03-27 15:26:52 +02:00
francescomani
7c9b501310 removing call from MAC to PHY to clear structures (now automatic clearing) 2023-03-27 15:26:52 +02:00
Dhanuja Elizabeth Thomas
b58ad4baf0 Introducing new pipeline for LTE TDD 2x2 in container
Following changes are made:

1. Removed XMLs used in old pipeline lte-OAIEPC
2. Added TM1 and TM2 config, XML and YAML
3. Added pipeline details in TestBenches.md
4. Modification in Jenkins file for the pipeline
5. Added ping/iperf test cases in XML
6. Minor modification in cls_containerize.py and cls_oaicitest.py
2023-03-27 14:01:30 +02:00
Roberto Louro Magueta
dcdf057dc8 Enable T304 after receiving the reconfigurationWithSync 2023-03-27 10:50:00 +01:00
Robert Schmidt
342ea0882d Merge branch 'integration_2023_w12' into 'develop'
integration_2023_w12

See merge request oai/openairinterface5g!2030

* !1957 UL improvements for 2-layers
* !2016 int32_t to c16_t conversion
* !2028 Fix ue capability config files
* !2022 NR dlsim pmi input
* !2027 limiting SR periodicity according to scs
* !1985 Correct F1 RRC Message Transfer
* !2024 harmonize mac_CellGroupConfig RRC configuration
* !2026 Fix build by installing nrscope dependencies
2023-03-26 10:52:14 +00:00
Robert Schmidt
60d7fe6347 Merge remote-tracking branch 'origin/NR_SA_Tutorials_fix_build' into integration_2023_w12 2023-03-24 11:56:49 +01:00
Robert Schmidt
8fd0ad58b2 Merge remote-tracking branch 'origin/NR_harmonize_mac_cellgroup' into integration_2023_w12 2023-03-24 11:56:41 +01:00
Robert Schmidt
9eac725441 Merge remote-tracking branch 'origin/simplify-f1-rrc-msg-transfer' into integration_2023_w12 2023-03-24 11:56:30 +01:00
luis_pereira87
8e9f9b5629 Fix build by installing nrscope dependencies 2023-03-24 05:57:26 +00:00
Robert Schmidt
e5954f2dbf Merge remote-tracking branch 'origin/NR_SR_periodicity_limits_per_scs' into integration_2023_w12 2023-03-23 19:08:00 +01:00
Robert Schmidt
96f21a1ccb Merge remote-tracking branch 'origin/NR_dlsim_pmi_input' into integration_2023_w12 2023-03-23 19:07:52 +01:00
Robert Schmidt
7e29f16d53 Merge remote-tracking branch 'origin/develop-uecap' into integration_2023_w12 2023-03-23 18:57:46 +01:00
Robert Schmidt
9074566869 Merge remote-tracking branch 'origin/episys-merge-int-to-c16t' into integration_2023_w12 2023-03-23 18:57:37 +01:00
Robert Schmidt
b44bb41235 Merge remote-tracking branch 'origin/develop-UL-Rx' into integration_2023_w12 2023-03-23 18:57:29 +01:00
Cedric Roux
a4718d4a16 bugfix: LDPC decoding in the gNB: clear d properly
The d array has to be cleared at the first usage, which may not necessarily
be when new_rx is true. For example, in case of DTX detected for a first
transmission, the next transmission won't have new_rx true, so d won't be
cleared, containing data from a previous transmission. Or when a LDPC
decoding is cancelled for a segment when new_rx is true, a decoding for
a retransmission will not clear d because then new_rx will not be true.
(Yes, the logic of cancellation will be changed in the future, but the
changes will be orthogonal to the ones of this commit.)

new_rx is removed.
2023-03-23 17:18:50 +01:00
Raphael Defosseux
6475cf21a5 fix(ci): removing the mysql-collection from pipeline; not used anymore
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-03-23 11:44:57 +01:00
Robert Schmidt
5b8674cc57 Remove any reference to NR_SRB_INFO in gNB RRC 2023-03-23 10:30:49 +01:00
Roberto Louro Magueta
9ab2fde392 Fix ue capability config files 2023-03-22 18:35:38 +00:00
Robert Schmidt
b5acd48e5b Remove unused rrc_rlc_register_rrc() 2023-03-22 19:21:06 +01:00
Robert Schmidt
acf73ac23f Delete misleading comment 2023-03-22 19:03:51 +01:00
Robert Schmidt
b3791364fd Review: correct indentation 2023-03-22 19:03:42 +01:00
Robert Schmidt
7c0cb06e59 Review: correct indentation 2023-03-22 19:03:31 +01:00
Melissa Elkadi
9c9ce64809 Fixing warning during build (wasnt casting properly) 2023-03-21 10:11:50 -07:00
francescomani
508b67e5e5 limiting SR periodicity according to scs 2023-03-21 13:52:03 +01:00
Roberto Louro Magueta
9e6fe8cf80 Add CI test: 3GPP G-FR1-A4-27, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test, 2 layers 2023-03-20 17:13:30 +00:00
Roberto Louro Magueta
a4d43c249e Update the ad_shift, considering the previous improvement 2023-03-20 17:13:30 +00:00
Roberto Louro Magueta
451449e148 Avoid multiple shifts in UL channel compensation 2023-03-20 17:13:30 +00:00
Roberto Louro Magueta
508d7d284b Fix magnitude computation for 2-layers UL in nr_ulsch_zero_forcing_rx_2layers() 2023-03-20 17:13:30 +00:00
Roberto Louro Magueta
b2e1631f7d Simplification of function nr_ulsch_channel_compensation() 2023-03-20 17:13:30 +00:00
francescomani
29ee6b17fa adding check on allowed pm index in dlsim 2023-03-20 17:33:15 +01:00
francescomani
90bfdfcaf3 harmonize mac_CellGroupConfig 2023-03-20 17:18:02 +01:00
Robert Schmidt
7b40520a2d Do not handle NR_RRC_DL_INDICATION message at NR RRC
The message is never sent to the RRC. And this message is to be
forwarded by the DU to the UE, hence it should not even be handled by
the RRC (as the RRC in the CU sends it).
2023-03-20 16:57:58 +01:00
Robert Schmidt
b3ff033e29 Do not decode RRC Container in DL RRC message
The RRC container is transparent for the DU. Hence, we should not decode
it.
2023-03-20 16:57:58 +01:00
Robert Schmidt
27566f49dd Create CellGroup, SRB0, and SRB1, before sending Initial UL RRC message
During the Initial UL RRC Message, the CellGroup is created. Since the
CellGroup specifies the SRB1, the SRB1 should also be created (because
the DL RRC Messages is sent via SRB1). However, before this commit, the
CellGroup is created while having the RLC lock, so we cannot create
SRB1, as it results in a deadlock.

Therefore, we now first create CellGroup, SRB0, and SRB1, before giving
the UE message to the RLC.
2023-03-20 16:57:58 +01:00
Robert Schmidt
c4c41d3b69 Simplify nr_rlc: provide functions to add SRB/DRB 2023-03-20 16:57:58 +01:00
Robert Schmidt
0ed9201169 Remove useless node_type switches in RRC 2023-03-20 16:57:55 +01:00
Robert Schmidt
da193d1bd1 Merge branch 'integration_2023_w11b' into 'develop'
integration_2023_w11b

See merge request oai/openairinterface5g!2020

* !1833 NR ULSCH transform precoding improvements
* !1929 Implementing bands greater than 64 in the code, feature #603
* !1982 Rework ngap
* !1998 Update NR RRC to version 17.3.0
* !2003 improve NR UE state machine
* !2007 possibility to set identity precoding matrix from config file
* !2009 Use same configurable port number for local and remote N3
* !2012 fix unaligned IDFT
* !2013 doc(tutorial): switching to jinja-rendering configuration on the OAI-CN5 containers
* !2018 demote two UL scheduler warnings to debug level
2023-03-20 15:47:59 +00:00
francescomani
65ce834863 add pmi input option in dlsim 2023-03-20 16:29:38 +01:00
Robert Schmidt
de7f072e85 fix physim container image build 2023-03-20 15:35:14 +01:00
Robert Schmidt
ca25160c4c Some cleanup after introducing new CI machine 2023-03-20 15:20:28 +01:00
luis_pereira87
3514cb43ba Minor fixes to get NR_RRCReestablishment working again after merging on the integration branch 2023-03-20 09:23:05 +00:00
luis_pereira87
40b5e99197 Fix segmentation fault when calling get_transformPrecoding function for BWP_id > 0 and rach_ConfigCommon = NULL 2023-03-18 15:28:52 +00:00
Robert Schmidt
ef9104d264 Merge remote-tracking branch 'origin/doc-update-cn5g-docker-compose-for-tutorial' into integration_2023_w11b 2023-03-18 12:07:49 +01:00
Robert Schmidt
7773311e0e Merge remote-tracking branch 'origin/NR_UL_scheduler_warnings' into integration_2023_w11b 2023-03-18 12:05:13 +01:00
Robert Schmidt
10a10e9910 Merge remote-tracking branch 'origin/fix_unaligned_idft' into integration_2023_w11b 2023-03-18 12:05:05 +01:00
Robert Schmidt
15055c26b8 Merge remote-tracking branch 'origin/616-gnb-remote-n3-port-can-no-more-be-modified' into integration_2023_w11b 2023-03-18 12:04:58 +01:00
Robert Schmidt
d77c1c3ebf Merge remote-tracking branch 'origin/NR_identity_precoding_from_config' into integration_2023_w11b 2023-03-18 12:04:52 +01:00
Robert Schmidt
93f42683d1 Merge remote-tracking branch 'origin/NR_improve_UE_state_machine' into integration_2023_w11b 2023-03-18 11:53:24 +01:00
Robert Schmidt
6fdb44953b Merge remote-tracking branch 'origin/nr_rrc_asn1_1730' into integration_2023_w11b 2023-03-18 11:53:18 +01:00
Robert Schmidt
9dc3f4f61f Merge remote-tracking branch 'origin/rework-ngap' into integration_2023_w11b 2023-03-18 11:43:53 +01:00
Robert Schmidt
f97d002ca6 Merge remote-tracking branch 'origin/feat-603-bands-greater-64' into integration_2023_w11b 2023-03-18 11:43:45 +01:00
Robert Schmidt
d5bdeb0699 Merge remote-tracking branch 'origin/NR_ULSCH_transform_precoding_softmodem' into integration_2023_w11b 2023-03-18 11:42:32 +01:00
Robert Schmidt
0b7da43638 Call correct RRC functions in CI telnet module 2023-03-18 11:33:31 +01:00
luis_pereira87
e3f0482d09 Change IMS network to 12.1.9.0/24 to have all the UE DNNs under the same network 12.1.0.0/16 2023-03-17 17:05:42 +00:00
Robert Schmidt
faffc9b136 Fix: cut less output of docker-compose, it changed in U22 2023-03-17 15:32:50 +01:00
francescomani
df110d457a demote UL scheduler warnings to debug level 2023-03-17 11:22:56 +01:00
Raphael Defosseux
e88ca34423 doc(tutorial): switching to jinja-rendering configuration on the OAI-CN5G containers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-03-17 09:56:10 +01:00
francescomani
3a1102d9bf possibility to set identity precoding matrix from config file 2023-03-17 09:29:25 +01:00
Weskley Vinicius Fernandes Mauricio
fefa0bfea7 Implementing bands greater than 64 in the code, feature #603 2023-03-16 09:57:52 -03:00
Melissa Elkadi
4dd579e042 int32_t to c16_t conversion
This commit includes changes to the function
footprints for vaiours NR UE and gNB functions.
It does not updated the LTE code. For functions
shared by both LTE and 5G, we maintained the original
LTE footprint and argument structure.

Several of the simulators that use these functions
have been updated as well. The specific usage of these
functions which index into the int32_t buffers and
treat the first int16_t and the real and the second
as the complex should be modified in the near future.
2023-03-15 12:45:39 -07:00
Robert Schmidt
79d351fbbb Upgrade IP addresses and routes for new faraday cage deployment 2023-03-15 19:12:10 +01:00
Thomas Schlichter
b3b53506a1 improve memory alignment of some arrays in nr_pusch_channel_estimation() 2023-03-15 14:03:21 +01:00
Thomas Schlichter
96c1cadf2b fix typo in idft() function
In case of unaligned input array, a DFT of wrong size was executed instead of a correct IDFT.
2023-03-15 14:00:12 +01:00
laurent
563421b4dc merge develop 2023-03-15 11:33:46 +01:00
Thomas Schlichter
6cee30ba79 review comments and further transform precoding cleanup 2023-03-15 11:01:47 +01:00
francescomani
b64185e85e more fixes 2023-03-15 10:57:51 +01:00
francescomani
8131f63504 setting transform precoding in pusch-config 2023-03-15 10:57:51 +01:00
francescomani
29ec271586 fixes at UE for transform precoding 2023-03-15 10:54:03 +01:00
francescomani
f82bba5535 fix transform precoding scheduling for ulsch 2023-03-15 10:54:03 +01:00
francescomani
7db8dce51c fixes for allowing softmodem to schedule PUSCH with transform precoding 2023-03-15 10:54:03 +01:00
Robert Schmidt
bf03abae6a Merge branch 'integration_2022_wk11' into 'develop'
integration_2022_wk11

See merge request oai/openairinterface5g!2010

* !1849 Set t-Reordering to 100ms to prevent packet loss
* !1997 Warnings in Ubuntu20 build make CI fail
* !2000 bugfix: bad usage of T() in the log module
* !2005 Fix RNTI after RRCReestablishment
* !2006 avoid segfault in additional BWP configuration
* !2001 Add reestablishment test to SA Quectel test
* !1974 Tutorials: split tutorials in three files, OAI_CN5G, COTS_UE and OAI_nrUE
* !1993 Remove unused dependencies, modules
2023-03-15 09:23:44 +00:00
Robert Schmidt
36f374be2a Merge remote-tracking branch 'origin/remove-unused-stuff' into integration_2022_wk11 2023-03-14 17:46:45 +01:00
Robert Schmidt
cdac404c47 Merge remote-tracking branch 'origin/NR_SA_Tutorials_vX' into integration_2022_wk11 2023-03-14 17:46:32 +01:00
luis_pereira87
27546f60da Tutorials: split tutorials in three files, OAI_CN5G, COTS_UE and OAI_nrUE 2023-03-14 14:31:24 +00:00
Robert Schmidt
32f9d95bba Merge remote-tracking branch 'origin/telnet-ci' into integration_2022_wk11 2023-03-14 15:24:33 +01:00
laurent
03d3e1a5db code review comments 2023-03-14 14:48:09 +01:00
francescomani
bc73e73c26 improve UE state machine 2023-03-14 11:06:32 +01:00
Robert Schmidt
9288930a3b Merge remote-tracking branch 'origin/Fix_RRCReestablishment_regression' into telnet-ci 2023-03-13 19:46:22 +01:00
Robert Schmidt
2560ba84e8 telnet documentation 2023-03-13 19:45:55 +01:00
Robert Schmidt
8352f71a71 Show output of CustomCommand if it would make the pipeline fail 2023-03-13 19:31:41 +01:00
Robert Schmidt
1a79b7ca74 Merge remote-tracking branch 'origin/NR_configuration_fix_additional_BWPs' into integration_2022_wk11 2023-03-13 19:25:25 +01:00
Robert Schmidt
3efb55ad17 Merge remote-tracking branch 'origin/Fix_RRCReestablishment_regression' into integration_2022_wk11 2023-03-13 19:25:17 +01:00
Robert Schmidt
ce96cb193b Merge remote-tracking branch 'origin/bugfix-t-tracer' into integration_2022_wk11 2023-03-13 19:25:09 +01:00
Robert Schmidt
2328ee259b Merge remote-tracking branch 'origin/no-warnings-develop' into integration_2022_wk11 2023-03-13 19:25:01 +01:00
Robert Schmidt
4352c8314c Merge remote-tracking branch 'origin/t-reordering-gt-0' into integration_2022_wk11 2023-03-13 19:24:51 +01:00
frtabu
d550fb220e Use same configurable port number for local and remote N3 2023-03-13 19:14:03 +01:00
laurent
082ba963d3 error free 2023-03-13 15:48:19 +01:00
laurent
474f662337 merge develop 2023-03-13 12:45:32 +01:00
laurent
a853a0873e free memory to reduce the memory leaks 2023-03-13 11:59:31 +01:00
laurent
36783a3a79 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into rework-ngap 2023-03-13 11:58:56 +01:00
luis_pereira87
459eb193e0 Fix RNTI after RRCReestablishment, ue_context_pP->ue_context.rnti is only updated after RRCReconfigurationComplete, at this point we need to use UEid instead 2023-03-13 10:34:26 +00:00
Raymond Knopp
2b143370ee small changes in eth_udp.c for AW2S 2023-03-12 22:51:09 +01:00
Robert Schmidt
6791974004 Remove unused OCG (OpenAir Config Generator) 2023-03-11 15:50:50 +01:00
Robert Schmidt
c9db9b4c22 Drop backup file of gtkwave 2023-03-11 15:50:50 +01:00
Robert Schmidt
258ad6e4c1 Move gtkwave files to new directory targets/gtkwave 2023-03-11 15:50:50 +01:00
Robert Schmidt
352eaa2c57 Remove old/unused doxygen files 2023-03-11 15:50:50 +01:00
Robert Schmidt
ceef0fdb7b Remove old/outdated README 2023-03-11 15:50:50 +01:00
Robert Schmidt
d0357cc998 Remove old/unused cmake find files 2023-03-11 15:50:49 +01:00
Robert Schmidt
cc6b473d17 Remove old s6a leftovers 2023-03-11 15:50:49 +01:00
Robert Schmidt
c1394b7097 Remove old EPC documentation 2023-03-11 15:50:49 +01:00
Robert Schmidt
4d16f1f883 Remove libxml2: we don't use it 2023-03-11 15:50:49 +01:00
Robert Schmidt
0968576649 Remove libtasn1: we don't need it 2023-03-11 15:50:49 +01:00
Robert Schmidt
9dc3b26c1b Remove libxslt: we don't use it 2023-03-11 15:50:49 +01:00
Robert Schmidt
6577a9a379 Remove guile: we don't use it 2023-03-11 15:50:49 +01:00
Robert Schmidt
b35451222c Build pipeline in U20: fail if there are warnings 2023-03-11 15:49:40 +01:00
Robert Schmidt
29c984a1ec Merge branch 'integration_2023_w10b' into 'develop'
integration_2023_w10b

See merge request oai/openairinterface5g!2002

* !1954 Fix for warnings and errors from CLANG compiling
* !1978 Change default of "nokrnmod" option to "On"
* !1981 F1AP: minor fixes and preparation for F1 work
* !1983 Improve clang-format
* !1992 fix nrqtscope build warnings
* !1994 reworking response to MSG3 with DCCH/DTCH
* !1996 dead-code-f1-removal
* !1968 small changes for multi usrp support
* !1991 rfsimulator: configurable wait timeout, use in CI to avoid retransmissions
* !1999 Remove Dedicated Serving Cell Configuration from CI config file for 2x2 rfsim test
2023-03-11 14:45:14 +00:00
Robert Schmidt
8e87374b47 Merge remote-tracking branch 'origin/develop-CI-2x2' into integration_2023_w10b 2023-03-11 12:01:29 +01:00
Robert Schmidt
232700e417 Merge remote-tracking branch 'origin/rfsim-timeout' into integration_2023_w10b 2023-03-11 12:01:21 +01:00
Robert Schmidt
52d7d2881a Merge remote-tracking branch 'origin/multi_usrp' into integration_2023_w10b 2023-03-11 11:57:38 +01:00
Florian Kaltenberger
7631381a98 adding documentation for USRP 2023-03-10 22:03:28 +01:00
Robert Schmidt
8263ac09ec Merge remote-tracking branch 'origin/dead-code-f1-removal' into integration_2023_w10b 2023-03-10 15:13:08 +01:00
Robert Schmidt
1436470943 Merge remote-tracking branch 'origin/NR_Msg3_dcch_dtch_reworking' into integration_2023_w10b 2023-03-10 15:11:57 +01:00
Robert Schmidt
3e3dd40cf8 Merge remote-tracking branch 'origin/fix_nrqtscope_build_warnings' into integration_2023_w10b 2023-03-10 15:05:02 +01:00
Robert Schmidt
52154ddeb9 Merge remote-tracking branch 'origin/clang-format-improvements' into integration_2023_w10b 2023-03-10 14:49:18 +01:00
Robert Schmidt
8b0ad24dcd Merge remote-tracking branch 'origin/f1ap-minor-fixes' into integration_2023_w10b 2023-03-10 14:47:29 +01:00
Robert Schmidt
a6bd14c2cd Merge remote-tracking branch 'origin/Remove_nokrnmod' into integration_2023_w10b 2023-03-10 14:47:19 +01:00
Robert Schmidt
31e6b5814f fixup 2023-03-10 14:32:26 +01:00
Robert Schmidt
1b29701368 Threshold for NSA traffic lowered 2023-03-10 14:05:29 +01:00
Robert Schmidt
59feb72fca SA Quectel test: add reestablishment test 2023-03-10 12:38:17 +01:00
Robert Schmidt
4ae28aba10 Custom_Command: add option to fail if returncode is non-zero 2023-03-10 12:38:17 +01:00
Robert Schmidt
e3520f952e DOC to finish 2023-03-10 12:38:17 +01:00
Robert Schmidt
7fc9550f7b Load telnet CI in docker-compose 2023-03-10 12:38:17 +01:00
Robert Schmidt
76caa943b5 Add telnetsrv_ci to docker images 2023-03-10 12:38:17 +01:00
Robert Schmidt
97d989a865 Add telnet module with CI-specific functions
- adds function to retrieve the only UE's RNTI
- adds function to trigger reestablishment for the only UE present, or a
  specific via its RNTI
- adds function to verify the reestablishment counters
2023-03-10 12:37:02 +01:00
Robert Schmidt
e1dc1d9d03 Correctly implement option to load additional SOs for telnet 2023-03-10 12:37:02 +01:00
Luis Pereira
6c6ce912b1 Introduce counters for reestablishment 2023-03-10 12:37:02 +01:00
Robert Schmidt
e76e6f1266 20MHz MCS9: max UL throughput is 3.5Mpbs 2023-03-10 12:37:02 +01:00
Robert Schmidt
6a89d4568e fix 20MHz SA tab name 2023-03-10 12:37:02 +01:00
Cedric Roux
39c42bca41 bugfix: bad usage of T() in the log module
The LOG_x() and T() logic was wrong.

LOG_x() goes to the terminal when T_stdout == 1 or T_stdout == 2.
It goes to T() when T_stdout == 0 or T_stdout == 2.

The call T() does the check for T_stdout == 0 or T_stdout == 2.
So we have to call it out of the check "if (T_stdout)".

So, well, let's fix that.

Some spacing was fixed as well. clang-format may complain.
2023-03-10 12:10:08 +01:00
Roberto Louro Magueta
7e52caa588 Remove Dedicated Serving Cell Configuration from CI config file for 2x2 rfsim test 2023-03-10 11:05:13 +00:00
francescomani
40a0072d5b avoid segfault in additional BWP configuration 2023-03-10 11:07:01 +01:00
Thomas Schlichter
0d9268ec10 Update NR RRC to version 17.3.0 2023-03-10 10:54:43 +01:00
Robert Schmidt
8198272571 Review remarks 2023-03-09 19:10:59 +01:00
francescomani
931cf0a868 more review fixes 2023-03-09 19:10:39 +01:00
Robert Schmidt
742800b858 Split rrc_mac_config_req_gNB() in multiple functions 2023-03-09 19:09:04 +01:00
Robert Schmidt
7668a8917e Use pointer to MAC instead of module ID 2023-03-09 19:06:07 +01:00
Robert Schmidt
64c59ef5ec Count Msg.4 DLSCH HARQ stats 2023-03-09 19:06:07 +01:00
Robert Schmidt
665fdd3d8d Set F1AP log level to info 2023-03-09 19:06:07 +01:00
Robert Schmidt
9826c81808 Make F1AP-related log messages less verbose 2023-03-09 19:06:07 +01:00
Robert Schmidt
c9b043eb09 Fix: Correct check thread pool initialized
traceFd of thread pool can be:
* -1: no tracing
* valid file descriptor/>0: tracing
2023-03-09 19:01:47 +01:00
Robert Schmidt
f8d0c3de03 Minor fixes 2023-03-09 19:01:47 +01:00
Robert Schmidt
ff4c48f952 Align all configuration structs, and guard them to not be formatted with clang-format 2023-03-09 19:01:47 +01:00
francescomani
6d13f28bc0 physical simulators compilation warnings 2023-03-09 19:01:47 +01:00
francescomani
4065e7b4b7 adding thread pool patch 2023-03-09 19:01:47 +01:00
francescomani
87f603687a fixing most warning when compiling nr-uesoftmodem 2023-03-09 19:01:47 +01:00
francescomani
2385bc364a fixing most warning when compiling nr-softmodem 2023-03-09 19:01:46 +01:00
Robert Schmidt
7975b90d7c Merge branch 'integration_2023_w10' into 'develop'
integration_2023_w10

See merge request oai/openairinterface5g!1989

* !1928 Delay compensation for UL
* !1958 Fix IQ recorder/player for nrUE
* !1979 Cleanup of headers, do not include headers in RAN context, CMakeLists.txt link to header only library 1 of 1 checklist item completed
* !1984 bugfix: set max priority to trx_usrp_write_thread
* !1986 Changed buffer alloc and symb rotaion logs to debug
* !1987 fixing UE DL MIMO reception
2023-03-09 17:45:01 +00:00
laurent
61f49be3eb dead-code-f1-removal 2023-03-09 17:03:41 +01:00
laurent
585eb1d357 verified rfsim with splits, and quectel 2 sessions (no split) 2023-03-09 14:52:26 +01:00
francescomani
799d0b3ab5 reworking response to MSG3 with DCCH/DTCH 2023-03-09 14:01:33 +01:00
Raphael Defosseux
ff1749a557 fix(ci): replacing one of the 2 LTE smartphones for the legacy bench
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-03-09 11:52:42 +01:00
Thomas Schlichter
670cc4de09 fix build warnings 2023-03-09 10:50:26 +01:00
Robert Schmidt
87b7a980e1 5G RFsim tests: set high rfsim wait timeout to avoid retransmissions when UE stopped 2023-03-09 10:06:19 +01:00
Robert Schmidt
b925dd3e2b rfsimulator: introduce configurable wait timeout if no UE connected
Use --rfsimulator.wait_timeout 20
2023-03-09 10:02:56 +01:00
laurent
14caab46dd fix multi-UEs, and partially confusion rnti versus 5GC UE id 2023-03-08 22:08:53 +01:00
Raymond Knopp
e4b3757e1e comment L1_tx_thread for now 2023-03-08 21:43:44 +01:00
Robert Schmidt
253aa011f9 Merge remote-tracking branch 'origin/NR_UE_DL_MIMO_fixes' into integration_2023_w10 2023-03-08 19:04:55 +01:00
Robert Schmidt
51c0a5457f Merge remote-tracking branch 'origin/NR_gNB_suppress_init_logs' into integration_2023_w10 2023-03-08 19:04:46 +01:00
Robert Schmidt
6d97394f28 Merge remote-tracking branch 'origin/bugfix-tx-usrp-thread-priority' into integration_2023_w10 2023-03-08 19:04:36 +01:00
Robert Schmidt
3f0833b140 Merge remote-tracking branch 'origin/no-platform-const-asn-dep' into integration_2023_w10 2023-03-08 19:04:22 +01:00
Robert Schmidt
b4ef9fe69a Merge remote-tracking branch 'origin/iqfixes_nrue' into integration_2023_w10 2023-03-08 18:40:19 +01:00
francescomani
b3061bc48c fixing DL MIMO reception vector sizes 2023-03-08 11:13:49 +01:00
Sakthivel Velumani
44906a236c Changed buffer alloc and symb rotaion logs to debug 2023-03-07 16:54:25 -05:00
laurent
c1aec06360 test with commercial UE and 2 pdusessions 2023-03-07 16:02:54 +01:00
Rúben Soares da Silva
94faf0b46c Set default behaviour regarding nokrnmod as enabled, updating references and usages 2023-03-07 13:27:37 +00:00
Raymond Knopp
e3425b1f9e added msg-q threading options (and CPU thread pinning) from O-RAN 7.2 branch to develop-based for testing
with USRP.
2023-03-07 11:24:26 +01:00
Robert Schmidt
9a90e85da8 Compile most targets in one go 2023-03-06 20:05:38 +01:00
Robert Schmidt
c39861d9a3 Remove useless freediameter references 2023-03-06 20:05:38 +01:00
Robert Schmidt
29b6011be4 Remove build_oai option for core simulators: they don't compile 2023-03-06 20:05:38 +01:00
Robert Schmidt
3b7d6377a0 Link targets that need RRC ASN.1 headers to header-only library
Most targets don't need the symbols from the compiled RRC ASN.1
libraries, but only the headers. In particular when compiling individual
libraries (e.g., for tests), linking the full library makes the RRC
ASN.1 libraries compile and link, when they are not needed (only headers
are needed).

For libraries that can do without these headers, don't link them.
2023-03-06 20:05:38 +01:00
Robert Schmidt
6cd72e4e7d Create INTERFACE libraries to link to RRC ASN.1 target with headers only 2023-03-06 20:05:38 +01:00
Robert Schmidt
c67a612192 SIMU_ETH: use target, compile netlink_init.c only once 2023-03-06 20:05:38 +01:00
Robert Schmidt
e90ef3bc68 Split phy_init.h into two files (for LTE/NR) 2023-03-06 20:05:38 +01:00
Robert Schmidt
8a15fb7c63 RC: forward declarations and link physims better
The simulators have been changed: due to linker errors that would arise
otherwise, a lot of functions are defined in them to avoid such errors.
Some functions are also defined in header files; in this commit, we
define most functoins in nr_dummy_functions.c, which is compiled in, not
by including the C file, but by adding it to the target in
CMakeLists.txt

- nr_dlsim+nr_ulsim need NR_IF_Module_init(), so it cannot be in
  nr_dummy_functions, but the others need it
- Link correcr NR_IF_Module_init() into these simulators, and reduce
  overall link list
- Correctly link remaining simulators
2023-03-06 20:04:38 +01:00
Robert Schmidt
f30185bc0e Add license header to file without license 2023-03-06 19:47:08 +01:00
Robert Schmidt
035b5bb665 Remove definition of null 2023-03-06 19:47:08 +01:00
Robert Schmidt
cd8df70e5c Do not spill LTE/NR ASN.1 RRC all over: clean up platform_constants.h 2023-03-06 19:47:08 +01:00
Robert Schmidt
6d90aaaae2 (Almost) Remove all PHY/phy_vars* and PHY/phy_extern 2023-03-06 19:47:08 +01:00
Robert Schmidt
4e144dba6a Remove useless MBMS_NFAPI_SCHEDULER definition 2023-03-06 19:47:08 +01:00
Bruno Mongazon-Cazavet
bd42f37ad4 Merge branch 'develop' into iqfixes_nrue 2023-03-06 18:40:49 +01:00
Bruno Mongazon-Cazavet
15852ca054 proper adaptation of seed depending on iq replay/record or not 2023-03-06 18:39:20 +01:00
laurent
1ba3b13aef remove ngap enum generated by ans1c 2023-03-06 14:10:30 +01:00
Roberto Louro Magueta
db1928573f Delay compensation for pusch_dmrs_type2 2023-03-06 10:16:01 +00:00
Roberto Louro Magueta
a96732e347 Add CI test with MCS 28, 106 PRBs, Time shift 8 2023-03-06 10:16:01 +00:00
Roberto Louro Magueta
e223f4ee1d Apply delay compensation for UL in nr_pusch_channel_estimation() 2023-03-06 10:16:01 +00:00
Roberto Louro Magueta
0b05fce71b Time shift estimation based on DMRS-PUSCH 2023-03-06 10:16:01 +00:00
Raymond Knopp
9a91ed0eeb priorities/policy on usrp-tx-thread. Thread id for ru_thread 2023-03-06 06:54:55 +01:00
laurent
c4538995db continue code and take review comments 2023-03-06 00:37:23 +01:00
laurent
a59753121a tmp 2023-03-06 00:35:03 +01:00
Cedric Roux
3084ae89dd bugfix: set max priority to trx_usrp_write_thread 2023-03-04 16:42:01 +01:00
Robert Schmidt
bccf8379c3 Improve clang-format: total line length 132, harmonize long function calls with existing OAI style 2023-03-04 15:34:52 +01:00
Robert Schmidt
d379bbae9c Merge branch 'integration_2023_w09' into 'develop'
integration_2023_w09

See merge request oai/openairinterface5g!1980

!1904 DL channel estimation improvements
!1910 Continuation of reworking BWP structure for UE
!1918 Increasing size of UL MAC buffers for 15kHz SCS
!1973 Fix 2-layers UL channel estimation for pusch_dmrs_type2
!1975 minor typo
2023-03-04 14:31:51 +00:00
luis_pereira87
2547feeff1 Add physicalCellGroupConfig to RRCReconfiguration after a RRCReestablishmentComplete 2023-03-03 21:19:16 +00:00
Robert Schmidt
30b7ab3c12 Merge remote-tracking branch 'origin/minor-typo' into integration_2023_w09 2023-03-03 12:17:57 +01:00
Roberto Louro Magueta
532584deca Merge remote-tracking branch 'origin/develop-fix-pusch-dmrs-type2' into integration_2023_w09
# Conflicts:
#	openair1/PHY/NR_UE_ESTIMATION/filt16a_32.c
#	openair1/PHY/NR_UE_ESTIMATION/filt16a_32.h
#	openair1/PHY/TOOLS/tools_defs.h
2023-03-02 10:18:55 +00:00
Robert Schmidt
c6883ad2ee Merge remote-tracking branch 'origin/NR_15khz_UL_buffers' into integration_2023_w09 2023-03-02 09:18:06 +01:00
Robert Schmidt
1e3de79862 Merge remote-tracking branch 'origin/NR_UE_BWP_reworking_continuation' into integration_2023_w09 2023-03-02 08:57:40 +01:00
Roberto Louro Magueta
03f752e1b0 Fix 2-layers UL channel estimation for pusch_dmrs_type2 2023-02-27 10:36:31 +00:00
laurent
5b13d71e24 fix bugs introduced by previous commit 2023-02-27 11:31:52 +01:00
laurent
fd5a124c84 try to make a piece of code a bit more decent, no functional change 2023-02-27 11:31:52 +01:00
laurent
88cbf8c940 fix regression, to squash with previous commit 2023-02-27 11:31:52 +01:00
laurent
dc12dfd7d4 reduce UE stack size, make a piece of code clear, reduced variables visibility 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
cbb257a547 Creation of function NFAPI_NR_DMRS_TYPE1_linear_interp(), NFAPI_NR_DMRS_TYPE1_average_prb(), NFAPI_NR_DMRS_TYPE2_linear_interp() and NFAPI_NR_DMRS_TYPE2_average_prb() 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
f1d5a92cd7 Memory free in nr_zero_forcing_rx() function 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
27f242ea08 Change of the minimum and maximum SNR of some DL CI tests, to reduce the test time 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
5cdea25a3b Fix size of pdsch_dl_ch_estimates 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
0ab5b35867 To use c16maddShift(), c32x16maddShift(), c16multaddVectRealComplex(), and c16x32div() functions in nr_pdsch_channel_estimation() 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
e06704a8aa Add CI test for 4-layers DL 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
dcae2e7f68 Fix buffer overflow for 4-layers DL 2023-02-27 11:31:51 +01:00
Roberto Louro Magueta
d8c97ec756 DL channel estimation improvements 2023-02-27 11:31:51 +01:00
Bruno Mongazon-Cazavet
490e230b75 merge last develop 2023-02-27 10:32:36 +01:00
Cedric Roux
6315dae4ca minor typo 2023-02-25 13:45:52 +01:00
Robert Schmidt
fda5c4aed3 Merge branch 'integration_2023_w08b' into 'develop'
integration_2023_w08b

See merge request oai/openairinterface5g!1972

!1613 Implementation of NR_RRCReestablishment procedures
!1734 KPI GUI with Qt5 from ESA 5G-GOA project
!1751 Refactor and simplify CI UE Handling
!1948 Remove unmaintained ocp-enb, some clean up in CMakeLists.txt
!1969 support old versions of openssl
!1970 bugfix: increase size of nrb
!1971 multiple pdu sessions regression fix
2023-02-25 10:12:26 +00:00
Robert Schmidt
122a4e8d5b Merge remote-tracking branch 'origin/fix-multipdu' into integration_2023_w08b 2023-02-24 18:51:53 +01:00
Robert Schmidt
5b3977ce13 Merge remote-tracking branch 'origin/bugfix-size-of-nrb' into integration_2023_w08b 2023-02-24 18:50:02 +01:00
Robert Schmidt
70765d1ebe Merge remote-tracking branch 'origin/old-openssl' into integration_2023_w08b 2023-02-24 18:49:56 +01:00
Robert Schmidt
f35945e912 Merge remote-tracking branch 'origin/ocp-enb-cmake' into integration_2023_w08b 2023-02-24 18:49:30 +01:00
Robert Schmidt
5acdc72b3b Merge remote-tracking branch 'origin/ci-asue-changes' into integration_2023_w08b 2023-02-24 18:43:50 +01:00
Robert Schmidt
a0594dd638 Merge remote-tracking branch 'origin/goa-5g-kpi-gui' into integration_2023_w08b 2023-02-24 18:43:42 +01:00
Robert Schmidt
8a6e64179b Address review comments 2023-02-24 18:19:36 +01:00
Bruno Mongazon-Cazavet
8a2caa66d5 merge develop 2023-02-24 16:06:41 +01:00
francescomani
e4ce069d1a increase UL buffer size for 15kHz 2023-02-24 14:06:23 +01:00
Robert Schmidt
0740b59684 Build nrqtscope in Ubuntu pipeline 2023-02-24 13:52:59 +01:00
Bruno Mongazon-Cazavet
4e0f7419dc merge with develop 2023-02-24 13:52:37 +01:00
Robert Schmidt
1a6dbad0d7 Apply 1 suggestion(s) to 1 file(s) 2023-02-24 09:10:09 +00:00
luis_pereira87
263436d866 Implementation of NR_RRCReestablishment procedures at gNB 2023-02-24 07:50:56 +00:00
Cedric Roux
f64ed09574 bugfix: increase size of nrb
We can have 273 RBs, so 8 bits to store the number of RBs is not enough.
16 bits ought to be enough for anybody.
2023-02-23 21:36:46 +01:00
Cedric Roux
a4eeefc13f support old versions of openssl
Needed for ubuntu 16 and centos 7.
2023-02-23 21:35:26 +01:00
francescomani
605efb5e86 improving handling of TDAs and other fixes 2023-02-23 19:14:04 +01:00
francescomani
a7e7899edd addressing review including clang formatting 2023-02-23 19:09:25 +01:00
francescomani
4b6ac06b5e fixes 2023-02-23 19:09:25 +01:00
francescomani
ffdffeee9e further improvements in UE BWP configuration 2023-02-23 19:09:25 +01:00
francescomani
0d9d4f55f7 further improvements in tda lists 2023-02-23 19:09:25 +01:00
francescomani
91f8f88781 remove pdcch_config from dci_size function 2023-02-23 18:39:04 +01:00
francescomani
b4675c106f PDSCH configuration 2023-02-23 18:39:04 +01:00
Thomas Schlichter
f83f5f1a52 NR_UE: fix noise measurement if SSB crosses the center 2023-02-23 17:46:27 +01:00
Bo Zhao
4d0762e43d First implementation for KPI GUI with Qt5
Authors: Bo Zhao, Marwan Hammouda, Thomas Schlichter (Fraunhofer IIS)

- CMakeLists modification: add QtWidgets library, add new source files, MOC (Meta-Object Compiler) on the given source file
- build_oai modification
- Activate new GUI with Qt on the UE side
- 2 x 3 widget with I/Q sample for PDSCH
- Drop-down list implementation
2023-02-23 17:46:27 +01:00
Robert Schmidt
e017df3d70 Better show image info in HTML
- each image in a new line
- only show up to seconds in date
2023-02-23 17:38:10 +01:00
Robert Schmidt
6b9d98f467 Add YAML for OAI UE on obelix 2023-02-23 17:38:10 +01:00
Robert Schmidt
61e22e39b3 Remove unmaintained test XMLs 2023-02-23 17:38:10 +01:00
Robert Schmidt
85b4f2c67f CI test XMLs: Add UEs to use in all pipelines; cleanup
- remove -R iperf parameter: handled in test by UL/DL direction
2023-02-23 17:38:10 +01:00
Robert Schmidt
de359dae9f Remove Reboot(), CheckProcessExists() (eNB, UE), Iperf_Common() and Iperf_UL_Common() 2023-02-23 17:38:10 +01:00
Robert Schmidt
f2992564bb Actually log error in ping_iperf_wrong_exit() 2023-02-23 17:38:10 +01:00
Robert Schmidt
ab009fabff Refactor Iperf_module()
- Harmonize code for CNs
- Support TCP
- Different port numbers for multiple UEs
- Calculate UDP throughput for multiple UEs
2023-02-23 17:38:10 +01:00
Robert Schmidt
9a727b744a Perform multiple UE operations simultaneously
- Initialize
- Attach
- Detach
- Terminate
- DataEnable
- DataDisable
- CheckStatus
2023-02-23 17:38:10 +01:00
Robert Schmidt
e7b40cb444 Remove COTS_UE 2023-02-23 17:38:10 +01:00
Robert Schmidt
e1e6413977 Refactor Iperf_common() 2023-02-23 17:38:10 +01:00
Robert Schmidt
2825d2bf5d Refactor Ping to always handle Module_UE 2023-02-23 17:38:10 +01:00
Robert Schmidt
08ea58b243 Remove any mention of ADB 2023-02-23 17:38:10 +01:00
Robert Schmidt
5a113cdbb2 Remove useless code 2023-02-23 17:38:10 +01:00
Robert Schmidt
df209625ab Improve cls_oaicitest.py to use cls_module_up.py
- Remove cls_ci_ueinfra
- Use new UE module in cls_oaicitest
- Remove useless code
2023-02-23 17:38:09 +01:00
Robert Schmidt
41e8191578 Improve cls_module_ue.py 2023-02-23 17:37:31 +01:00
Robert Schmidt
917bea36d3 Improve ci_ueinfra.yaml 2023-02-23 17:37:31 +01:00
Robert Schmidt
69fc7b1100 Remove cls_amarisoft_ue.py 2023-02-23 17:37:31 +01:00
Robert Schmidt
503a6b1a8b Rework UE activation scripts
new adb script
2023-02-23 17:37:31 +01:00
Robert Schmidt
5d78609871 RemoteCmd/LocalCmd: various fixes
- allow executing in background
- less logs
- no use of split()
- common implementation of legacy command()
2023-02-23 17:37:30 +01:00
Robert Schmidt
0a0cd884dd Remove all references to CatM 2023-02-23 17:37:30 +01:00
Robert Schmidt
208a15aacc CI HTML: use full width, no footer, remove UE info at top 2023-02-23 17:37:30 +01:00
Robert Schmidt
59af5bd8aa CreateHtmlTestRowQueue: one UE column in any test 2023-02-23 17:37:30 +01:00
laurent
3ea461340b fix-multi-pdusessions-since-e1ap 2023-02-23 17:06:56 +01:00
Robert Schmidt
415e830c1a CONFIG_LIB needs dlsym and LOG (in UTIL) 2023-02-23 16:31:04 +01:00
Robert Schmidt
42a00a8111 Clean up CMakeLists.txt
- variables CMAKE_DL_LIBS and LIB_LMS_LIBRARIES are not defined anywhere
- -DPHYSICAL_SIMULATOR is not used anywhere
2023-02-23 16:31:04 +01:00
Robert Schmidt
2cdc433518 Telnet: softmodem exit cmd: do not stop config module 2023-02-23 16:31:04 +01:00
Robert Schmidt
600f46dddd Remove unused backtrace function 2023-02-23 16:31:04 +01:00
Robert Schmidt
6553239fbc Remove ocp-enb/split73 2023-02-23 16:31:04 +01:00
Robert Schmidt
646cec27d0 Merge branch 'integration_2023_w08' into 'develop'
integration_2023_w08

See merge request oai/openairinterface5g!1967

* !1917 web server optional feature update
* !1938 Reuse old TDA when allocating DL retransmissions
* !1949 Container Images with Ubuntu20 and UHD 4.4
* !1960 Upgrade cmake to 3.12
* !1965 NR Cleanup
* correct IP LTE-2x2
* Add fix physim
* increase 60 Mhz timing threshold
* Add fix F1 ping
* !1939 Remove 4G F1
* !1966 CI test for T1 LDPC offload on caracal
* Fix for Build_eNB not recognizing end of command
2023-02-23 14:47:29 +00:00
Sagar Parsawar
738ccce421 Bug fix for subdev selection in OAI gNB 2023-02-23 13:39:23 +01:00
Florian Kaltenberger
30f0942dbc fix for the case multiple USRP devices are specified in the config string 2023-02-23 13:35:57 +01:00
Robert Schmidt
e87f123870 Fix indentation to remove warning 2023-02-23 12:23:16 +01:00
Robert Schmidt
194e61cfbe Merge remote-tracking branch 'origin/ci-t1-offload-test' into integration_2023_w08 2023-02-23 12:19:32 +01:00
Bruno Mongazon-Cazavet
b5b0e59c35 fix errors in ldpctest and warning in rrc_eNB.c 2023-02-23 10:41:49 +01:00
Robert Schmidt
1613e12df7 Merge remote-tracking branch 'origin/remove-4g-f1' into integration_2023_w08 2023-02-23 10:17:41 +01:00
Robert Schmidt
11ac735ee3 Fix: Fix command end detection in Build_eNB 2023-02-23 10:13:13 +01:00
Bruno Mongazon-Cazavet
86f31972f1 Merge branch 'develop' into iqfixes_nrue 2023-02-23 09:57:06 +01:00
Bruno Mongazon-Cazavet
9db78ab4d6 fix warnings introduced by changes in _Assert_Exit_ macro 2023-02-23 09:56:24 +01:00
Robert Schmidt
39f522c546 F1: force low ULSCH max frame inactivity to have more reliable ping test 2023-02-22 16:10:13 +01:00
Robert Schmidt
134cf55931 Increase timing threshold for timing test 2023-02-22 16:07:26 +01:00
Robert Schmidt
bbca763110 Increase LDPC iterations for 3GPP test phytest 2023-02-22 16:05:10 +01:00
Robert Schmidt
133865b7a4 Correct IP addresses for LTE 2x2 test 2023-02-22 15:59:49 +01:00
Robert Schmidt
9fe2c0bdf8 Merge remote-tracking branch 'origin/NR_cleanup' into integration_2023_w08 2023-02-22 15:58:53 +01:00
Robert Schmidt
d7ba0230d1 Merge remote-tracking branch 'origin/ubuntu-18-cmake' into integration_2023_w08 2023-02-22 15:58:45 +01:00
Robert Schmidt
89cc4d2d02 Merge remote-tracking branch 'origin/images-u20' into integration_2023_w08 2023-02-22 15:58:36 +01:00
Robert Schmidt
a3685e6bde Merge remote-tracking branch 'origin/multi-ue-fixes' into integration_2023_w08 2023-02-22 15:58:28 +01:00
Robert Schmidt
f4412ac03e Merge remote-tracking branch 'origin/websrv3' into integration_2023_w08 2023-02-22 15:58:20 +01:00
Jaroslava Fiedlerova
20242b7522 Add repo for ubuntu 18 to install cmake >= 3.12 2023-02-22 14:43:02 +01:00
francescomani
e9ff5ee562 improving the logic of reusing the old tda and applying to UL 2023-02-21 19:16:35 +01:00
Robert Schmidt
2e7011588a Merge remote-tracking branch 'origin/ubuntu-18-cmake' into websrv3 2023-02-21 17:01:26 +01:00
Robert Schmidt
9a0dd7c1b3 Update for webserver; cleanup in CMakeLists.txt
- Add oai header to typescript and html sources, add support to commands
  requiring two parameters, add more helpfiles
- Fix help bug (html comments not removed from tooltips)
- Fix backend build problem and 2 warnings
- Correctly initialize variables in nr_phy_scope.c
- Use add_subdirectory for websrv cmake build
- correctly link to asn1_lte_rrc and asn1_nr_rrc
- fix bug: correctly recognize npm packet
- only configure targets if explicitly asked for by users
- use add_subdirectory
- Use add_subdirectory for telnet cmake build
- Minor cleanup in build_oai
- Move softscope build in dedicated CMakeLists, and comment out
  DEBUG_MAC_INTERFACE option (not found in code)
- Make DEBUG_ASN1 a cmake only option ( no C macro) as it's not used as
  a C macro in the code, and develop align
2023-02-21 17:01:07 +01:00
francescomani
fc30280a7d cleaning up some NR files 2023-02-21 16:53:51 +01:00
Jaroslava Fiedlerova
c6d880329d Install cmake >= 3.12 on Ubuntu 18 fix, link to repo added 2023-02-21 14:32:14 +01:00
Jaroslava Fiedlerova
c94ba6ecd6 CI test for T1 LDPC offload on caracal 2023-02-20 23:05:44 +01:00
Robert Schmidt
c093a2cf6d Use trf-gen image based on Ubuntu focal to match iperf versions 2023-02-20 16:06:28 +01:00
Robert Schmidt
d3ef88edf8 Fix iperf status regex 2023-02-20 15:59:01 +01:00
Robert Schmidt
e6dd524099 Upgrade to UHD 4.4 in all container images 2023-02-20 15:59:01 +01:00
Robert Schmidt
192a24c434 Docker images: Upgrade Ubuntu 18->20 2023-02-20 15:59:01 +01:00
Raphael Defosseux
914b47039c fix(ci): hot fix
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-20 15:50:16 +01:00
Robert Schmidt
9dc2282249 Remove 4G F1 2023-02-20 11:38:53 +01:00
Bruno Mongazon-Cazavet
fcc41355ea merge with latest develop 2023-02-20 10:36:36 +01:00
Robert Schmidt
ffecf830b7 Merge branch 'integration_2023_w07' into 'develop'
integration_2023_w07

See merge request oai/openairinterface5g!1955

!1817 OAI LTE improvements
!1925 Avoid saturation in PUSCH for UL channel estimation
!1940 5G UE IMEISV 16 digits
!1944 fixes in limiting MCS and number of PRB while handling NR PHR
!1953 bugfix: length type too short
!1935 updating simulators docker-compose files for CN5G release v1.5
!1941 Dockerfile for aw2s RRUs on u18.04
!1956 Updated 5G L2sim tutorial
!1951 Conditional compilation of the T1 and CUDA offload libs
!1926 CI custom command
2023-02-20 08:36:09 +00:00
Bruno Mongazon-Cazavet
ca41bc0731 fix exit_function() prototype 2023-02-20 09:09:11 +01:00
Robert Schmidt
5824a0603b Merge remote-tracking branch 'origin/ci-custom-command' into integration_2023_w07 2023-02-19 12:32:40 +01:00
Robert Schmidt
13cbe0d0d3 Merge remote-tracking branch 'origin/offload-t1-lib' into integration_2023_w07 2023-02-19 12:31:00 +01:00
Robert Schmidt
972cbd5cb3 Build CUDA lib in caracal test 2023-02-18 15:06:47 +01:00
Dhanuja Elizabeth Thomas
379bc3e519 Add custom command for setting cpu power state 2023-02-18 12:06:59 +01:00
Dhanuja Elizabeth Thomas
d7d067165c Add custom command to reboot or reset SDRs in CI 2023-02-18 12:06:58 +01:00
Dhanuja Elizabeth Thomas
9e5e6bf16d Removed reset/reboot of USRP 2023-02-18 12:06:58 +01:00
Dhanuja Elizabeth Thomas
5723e7135f Add custom_commad to execute arbitrary command in CI 2023-02-18 12:06:58 +01:00
Robert Schmidt
8f7a4bf353 All-in-one tutorial: only build selected libraries 2023-02-18 12:04:41 +01:00
Robert Schmidt
4f097b425a Build CI: only build selected optional libraries 2023-02-18 11:59:11 +01:00
Robert Schmidt
b89b0d5074 build_oai: include ldpc_cuda and ldpc_t1 as optional libraries 2023-02-18 11:57:54 +01:00
Robert Schmidt
52e160a08a Conditional compilation for CUDA LDPC Offload 2023-02-18 11:57:41 +01:00
Jaroslava Fiedlerova
79f8d16da6 Rename T1 offload lib and conditional compilation 2023-02-18 11:56:31 +01:00
Jaroslava Fiedlerova
2debc770ec add repo for ubuntu 18 to install cmake >= 3.12 2023-02-17 23:10:41 +01:00
Robert Schmidt
07e2e797e9 Merge remote-tracking branch 'origin/NR_L2sim_doc' into integration_2023_w07 2023-02-17 19:12:50 +01:00
Robert Schmidt
4e3e4cb5da Merge remote-tracking branch 'origin/aw2s-dockerfile-for-ubuntu' into integration_2023_w07 2023-02-17 19:12:41 +01:00
Robert Schmidt
c1f63858ac Merge remote-tracking branch 'origin/ci-chore-updating-cn5g-v1.5' into integration_2023_w07 2023-02-17 19:12:08 +01:00
Bruno Mongazon-Cazavet
f7b4d18146 Merge branch 'develop' into iqfixes_nrue 2023-02-17 17:24:04 +01:00
Robert Schmidt
43d8ee586f Upgrade cmake to 3.12
Prior to this version, we cannot use target_link_libraries() with OBJECT
libraries.
2023-02-17 17:06:20 +01:00
Bruno Mongazon-Cazavet
8601b8c990 Fix IQ recorder/player for nrUE 2023-02-17 12:00:46 +01:00
Sakthivel Velumani
37b808d171 Updated 5G L2sim tutorial 2023-02-16 17:22:53 +00:00
Robert Schmidt
70949fd4af Merge remote-tracking branch 'origin/bugfix-f1-du-to-cu-len' into integration_2023_w07 2023-02-16 18:21:39 +01:00
Robert Schmidt
73ae66f2cc Merge remote-tracking branch 'origin/NR_PHR_improvements' into integration_2023_w07 2023-02-16 18:21:32 +01:00
Robert Schmidt
4f36249c8c Merge remote-tracking branch 'origin/feat-5g-ue-imeisv-16-digits' into integration_2023_w07 2023-02-16 18:21:25 +01:00
Robert Schmidt
99bfac9c77 Merge remote-tracking branch 'origin/develop-UL-saturation' into integration_2023_w07 2023-02-16 18:21:15 +01:00
Cedric Roux
16b0b5f0ec bugfix: length type too short
On a setup, length of cellGroupConfig was > 255.

Using uint8_t to store the length is thus wrong
and gives a bad encoding of the cellGroupConfig.

So let's use uint32_t to store length instead of uint8_t.
2023-02-15 22:50:40 +01:00
Robert Schmidt
c73ac5cf30 AW2s RHEL image: don't copy config files, copy libori.so in final image 2023-02-15 18:25:02 +01:00
Robert Schmidt
d45a9a933b AW2S image: install less packages, require mounted configuration file 2023-02-15 18:25:02 +01:00
turletti
22ad41e6f7 Dockerfile for aw2s RRUs on u18.04 2023-02-15 18:25:02 +01:00
laurent
38a908a4ec code review comments 2023-02-15 13:50:44 +01:00
laurent
2a49e1fbdb rebase on develop 2023-02-15 13:50:44 +01:00
laurent
43b698f434 fix race cond in mbms startup procedure 2023-02-15 13:50:44 +01:00
laurent
9f8a468d94 remove eNB threads for RRC and MAC, MAC thread was only for DRX config (useless) and RRC thread has many race conditions with MAC+PHY 2023-02-15 13:50:44 +01:00
laurent
d3d76080f7 minor fixes 2023-02-15 13:50:44 +01:00
laurent
ef1d5079f2 stats display with 5G flag 2023-02-15 13:50:44 +01:00
Robert Schmidt
2de56bf324 Correct NUMA bound devices for caracal/timing test 2023-02-15 10:30:03 +01:00
Raphael Defosseux
31d6a5e9bd chore(ci): pushing oai-nr-cuup new image to docker-hub
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-14 15:25:05 +01:00
Raphael Defosseux
8d91453b52 chore(ci): updating the new E1 scenario for CN5G v1.5
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-14 15:23:55 +01:00
Raphael Defosseux
f493a47a89 Merge remote-tracking branch 'origin/develop' into ci-chore-updating-cn5g-v1.5 2023-02-14 15:23:21 +01:00
Robert Schmidt
c8aceea464 Merge branch 'integration_2023_wk06' into 'develop'
integration_2023_wk06

See merge request oai/openairinterface5g!1943

!1855 Cleanup of external dependencies install script
!1876 NR refactor PHY vector sizes for multi UE
!1933 bugfix: try to handle USRP devices correctly to avoid crashes
!1937 CI: clean unused files, drop old cluster images
!1629 E1 procedure
!1738 Replace Nettle with OpenSSL
!1896 Remove CSET0 rom configuration if not in configuration file
2023-02-13 14:12:32 +00:00
francescomani
a51cb67cb0 fixes in limiting MCS and number of PRB while handling PHR 2023-02-13 11:41:13 +01:00
Raphael Defosseux
801dc4cc6c fix(ci): fdqn is no longer an option for OAI-CN5G launch script
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-13 11:07:17 +01:00
Robert Schmidt
d656022e1e Remove pdcch_ConfigSIB1 from new config files 2023-02-12 14:03:59 +01:00
Robert Schmidt
ca2b5f15a7 Merge remote-tracking branch 'origin/NR_test_cset0_initBW' into integration_2022_wk06 2023-02-12 14:03:43 +01:00
Robert Schmidt
39b7cce490 Resolve warning 2023-02-12 14:01:49 +01:00
Robert Schmidt
a6145ca92b Merge remote-tracking branch 'origin/kdf_openssl' into integration_2022_wk06 2023-02-12 14:01:33 +01:00
Robert Schmidt
0d4a95b88f Merge remote-tracking branch 'origin/e1-implementation-wip' into integration_2022_wk06 2023-02-11 18:41:37 +01:00
Robert Schmidt
007dcc63a8 5G E1 RFsim test XML test cases 2023-02-11 12:32:34 +01:00
Robert Schmidt
616bdf8360 Generalize tshark capture filter, but avoid false positives 2023-02-11 12:32:34 +01:00
Robert Schmidt
4d10437474 Add basic docker-compose for E1 2023-02-11 12:32:34 +01:00
Robert Schmidt
3ec0f5ee68 Correct E1 config for containers 2023-02-11 12:32:34 +01:00
Robert Schmidt
e859533454 Build nr-cuup in CI (ubuntu) 2023-02-11 12:32:34 +01:00
Robert Schmidt
472e916af6 Add Dockerfile for nr-cuup 2023-02-11 12:32:34 +01:00
Laurent Thomas
553f1d1a52 Add basic E1 functionality
With contributions from
* Sakthivel Velumani <velumani@eurecom.fr>
* Robert Schmidt <robert.schmidt@openairinterface.org>

Squashed commit of the following:

commit e8488acbcdaef6ee1688dc233c9e48e85b0fbfc8
Merge: f09468eb13 5d58645a85
Author: laurent <laurent Thomas>
Date:   Sat Jan 21 15:03:40 2023 +0100

    merge develop

commit f09468eb13f729c49830786150918b03ae2d7524
Author: laurent <laurent Thomas>
Date:   Fri Jan 20 10:43:51 2023 +0100

    continue e1AP development

commit 76545cfbfc7ec5031633b1b0ec599c3560c1e5a7
Author: laurent <laurent Thomas>
Date:   Wed Jan 18 14:18:47 2023 +0100

    fix regressions after merge develop

commit 7071c480a6c433eb94501c49f4a7694ba77f4f6d
Merge: 569b9fc5f3 214aa50595
Author: laurent <laurent Thomas>
Date:   Mon Jan 16 15:51:50 2023 +0100

    merge develop

commit 569b9fc5f37b9947b722885e423572a211d658da
Author: laurent <laurent Thomas>
Date:   Wed Jan 4 17:07:01 2023 +0100

    fix srb2 addition, simplify and remove dead code, fix one race

commit 9fa89151c0f9b4a16a79d0685cc04d8cf2adfa44
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Jan 4 20:02:05 2023 +0530

    Bearer context release decoder and encoder

commit 7011cb518ed6df015ace536e9a08b2d1865188d9
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Jan 4 13:43:58 2023 +0530

    Update documentation

commit 3e8899fc962cb16fc1ded49590ca5dddede54978
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Jan 4 10:14:11 2023 +0530

    Fix function arguments and warnings

commit 989ad183a8d66961facaa6719fa7793b9d40d5b4
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jan 3 20:18:31 2023 +0530

    Moved E1-design.md to doc/

commit 04a8633dd509d9525755c5f3abfad976a1ba704e
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jan 3 20:13:46 2023 +0530

    Make libraries lower case in CMakeLists

commit 033ec174c1f48a0e745a2a2e1c367aa361f5ae76
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jan 3 17:55:25 2023 +0530

    Renamed and updated cucp cuup config files

commit f76a6913352bd8b2bb73ac25f225140cf05f93f2
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jan 3 13:31:19 2023 +0530

    Removed CU-UP checks from nr-softmodem

commit ae70afe44c84ac16b977b388c63e80e24803c43c
Author: laurent <laurent Thomas>
Date:   Mon Jan 2 13:01:45 2023 +0100

    fix for gcc version hat doesnt accept declarations in switch

commit 6a7a01043bf1e6e0ee9ac40b4d85ced7cdf6dcf4
Author: laurent <laurent Thomas>
Date:   Tue Dec 27 15:59:28 2022 +0100

    first functional commit standalone cu-up

commit 0caa4690f9e1acbe578d4de5a82ba62f45444a12
Merge: 3619f9550e 1a0c0cd1c9
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Dec 23 14:21:00 2022 +0530

    Merge remote-tracking branch 'origin/develop' into e1-implementation-wip

commit 3619f9550e4d3e78815334150ff8443db914f738
Merge: 1bcf8d5e00 cfe698eb70
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Dec 21 15:47:40 2022 +0530

    Merge remote-tracking branch 'origin/develop' into e1-implementation-wip

commit 1bcf8d5e00a9b9ce440d825f83ddc1b48086daa8
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Sep 13 02:10:34 2022 -0400

    Fix GTP rnti to ue_id after rebase

commit 23075ff8b7ef5d56df844c05e0a7100fe7bd35de
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Sep 6 00:32:12 2022 -0400

    Added documentation

commit 28f6e507f74d3fb069441e05da523378dee0f6ed
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Mon Sep 5 15:02:02 2022 -0400

    Header cleaups and unitary simulators build fixes

commit e665dbab28c49327066cff72aed22e1de7797b59
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Sep 1 17:52:07 2022 -0400

    Common interface between CUCP & CUUP for E1 and non E1 modes

commit 5dcc1bf59a37ed87d7d32a617cfcd663d6415757
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Sep 1 13:53:49 2022 -0400

    Allocate stack where ever possible
    Free memory after ASN encode

commit 793a5379539a3a2b6c42cd327d8cef79fe21fb55
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Sep 1 10:41:50 2022 -0400

    Fixes for build issues

commit 0d3564f25a0d8746b0fc550ed371ce21e08cd05a
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 31 20:57:14 2022 -0400

    Fixed uesoftmodem linkage error

commit 34adf865820f09900a5efed693ada1ccf6f0f1ad
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 31 19:31:50 2022 -0400

    Removed RRC thread from CUUP

commit 536741910aff90a86ba3a60612f943b412c5ab40
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 31 14:21:31 2022 -0400

    Add header guard in one of E1AP header

commit 22e9d9b6dea5d84d259ee2dc1aaa7cb943e55b08
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 31 14:00:47 2022 -0400

    Fix bug in PDCP ue_id

commit 4c65339b07d347003ed89d5e00f49a62e9b21483
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 30 18:04:59 2022 -0400

    Linked E1AP lib to L2_NR target
    E1AP builds for nr-softmodem

commit 014fe30ac93c84d810e0209bc7f0d3b7a1bbaee3
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 30 15:49:27 2022 -0400

    Remove xer prints from e1ap
    and gcc warning fixes

commit 71f0c9126bbb91bc595b66d57e1e91db676d3b9d
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 30 15:42:30 2022 -0400

    Fixed bug in integrity protection config

commit 4e393ef9528c2b14d670a341b52fc63262abf894
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 30 14:34:37 2022 -0400

    GTP init with only local address
    IP traffic works both directions in Mono, F1 and E1

commit ec3bde2c5deb99f554afc2053e351b9f79525e96
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 30 00:16:03 2022 -0400

    Fix bug in pdcp config and GTP instance
    UL iperf still not works. Can see packets in wireshark.

commit be8df4435eeae0a0755e2ac658f33caa2a3e3c94
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sat Aug 27 20:15:04 2022 -0400

    Fixes in node config after rebase

commit 6f42ff88de7f1615f87c46771fd6617a5fdfc48f
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sat Aug 27 01:38:21 2022 -0400

    Added N3 tunnel address in config params
    fixed bug in address length feild

commit b5e132041994344ebb5c2c59ca392612a32658fd
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Aug 26 20:38:47 2022 -0400

    Send UL UP address via F1 UE cxt mod msg

commit ecfd0fe260aee6aad78c291368c246f88b6bffcf
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Aug 26 15:08:53 2022 -0400

    Update GTP remote address from response message
    Modified GTP tunnel update function accordingly
    Put GTP tunnel update out of F1AP
    F1 split works

commit 14a37e414de3d653f25ccef1a790bc5b08fc7dc2
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sat Aug 20 01:17:36 2022 -0400

    Moved GTP tunnel creation out of F1AP message sending

commit cdd58ab96e84f48cc8ab8f0fe6b3133081ff02f7
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Aug 19 17:40:43 2022 -0400

    Moved DRB config out of RRCReconfig complete
    Monolithic and F1 split works

commit 61d66e490a1b61aa2b6ce18d993bb90d112d6374
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Aug 11 01:30:10 2022 -0400

    Allow CUUP to have RRC inst without error

commit dd7ae889372bb9fdf9e96be87c28eed0d9461d7f
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Aug 11 01:29:21 2022 -0400

    Added missing IEs in bearer cxt response handler

commit a6f1fe5fd254ccb36a54ede5b652161cb5e542e8
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 10 21:02:30 2022 -0400

    Unified bearer context message transfer for E1 and non-E1 mode
    compiles, to be tested

commit f245ace285632edcc28d669123746b9bf458bc38
Author: laurent <laurent Thomas>
Date:   Tue Aug 9 17:46:52 2022 +0200

    remove log_i() of fatal errors

commit d2a0f3c8620981f3b65a136f0169e3be9c549742
Author: laurent <laurent Thomas>
Date:   Fri Aug 5 15:01:39 2022 +0200

    fix rnti/ue_id for ue

commit 7b52c6cd9e675c28cb9d6347d122f77234ec6542
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Aug 4 19:14:46 2022 -0400

    Created separate functions in PDCP for E1 mode

commit 46680d2b3d221e675c3aeb675137f45318e31acb
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Aug 4 19:13:10 2022 -0400

    Bug fixes in bearer context setup response

commit 3d091bfd31b7aba625e4ba4b4f0f337cf2c1f6db
Author: laurent <laurent Thomas>
Date:   Thu Aug 4 15:42:11 2022 +0200

    add missing file from previous commit

commit 21838572196dec947da99f350f20c4d9408c3c17
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed Aug 3 16:59:16 2022 -0400

    Minor bug fixes

commit 34eb73fbc6f9d33098850d62b4808e54c80bb4ca
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 2 23:16:47 2022 -0400

    Added config files for testing
    To be renamed or removed later

commit a7e9c6fb9332295ad42585eb4338a6f9ff0ae7c0
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 2 23:15:21 2022 -0400

    Made rrc_gNB_get_ue_context_from_ngap_ids() non static

commit 028f0407571466ff24cf72b5c3814e42c346ae81
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 2 23:12:16 2022 -0400

    Completed bearer context setup cycle
    To be tested: Handling of bearer context setup response and subsequent UE context modifition msg to F1AP task

commit 4481d11324b13efa73ab0b5f4f156012485661ae
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Aug 2 23:01:50 2022 -0400

    Fixed E1AP PPID (wireshark fixed)

commit 7a22573f3e7e16960e3310609dea2783ddf404a2
Author: laurent <laurent Thomas>
Date:   Fri Jul 29 13:03:31 2022 +0200

    fix compile issues, simplify gtp send function

commit 0209011aa75a16e4c9c1eb36ebcf4fe0ff93aba2
Author: laurent <laurent Thomas>
Date:   Thu Jul 28 11:51:18 2022 +0200

    restore compilation capability, gtp replacement of rnti by ueid

commit ce3b886fd7f11322a8d37b924d1752e6a6adf777
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Jul 22 08:35:31 2022 -0400

    Included missing IEs in bearer cxt setup message

commit 1208ae0d6fe4b25341c9036dde111fd4d00fd6e9
Author: Cedric Roux <cedric.roux@eurecom.fr>
Date:   Tue Jul 19 10:53:35 2022 +0200

    replace rnti by ue_id in pdcp

    some sdap and gtp files had to be touched, the work is not finished in there

    some changes in nr_pdcp_oai_api.c simply assume ue_id is indeed rnti
    (will functions in this file be used by cu-up?)

commit e67d1c88c786267458194e4de516919d0b5d1002
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jul 19 10:08:39 2022 +0200

    Replace RNTI with UE ID in GTP files
    (half done. Laurent to change ctxt_t)

commit 7a141e8e941e5c2624a47da7c764531c03b8f617
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jul 19 10:04:15 2022 +0200

    Added RRC handler for bearer cxt setup in CUUP

commit fe2106676bf9144347f30969a1bfd351136f536a
Author: laurent <laurent Thomas>
Date:   Mon Jul 11 13:30:30 2022 +0200

    fix race in startup procedure (config before starting threads that use the config)

commit 3197baab60e53459928da30cea7a4e0514a074e3
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sun Jul 10 11:30:31 2022 +0200

    Fixed bugs in bearer creation

commit 26be61167dec9068e572e08a21ddc96a0f2a7731
Author: laurent <laurent Thomas>
Date:   Sun Jul 10 10:50:57 2022 +0200

    fix a race, add asn1c debug method

commit 26750d1818aa206c4c56ada6dbed9bb66dfe3811
Author: laurent <laurent Thomas>
Date:   Wed Jul 6 22:34:10 2022 +0200

    e1ap bearer setup encoding invalid

commit d092788aa3f8229eb5c938a41534dfb318955135
Author: laurent <laurent Thomas>
Date:   Wed Jul 6 14:18:39 2022 +0200

    fix regression with F1, some basic cleaning in NGAP

commit 41a135734a33b284808d4c5049c431dbc0ff1c46
Author: laurent <laurent Thomas>
Date:   Wed Jul 6 11:24:52 2022 +0200

    fix some ngap regressions

commit 460acd840dd58fd46a995219cb9da8fda103668e
Author: laurent <laurent Thomas>
Date:   Tue Jul 5 21:19:13 2022 +0200

    build, run in F1 mode until UE connect but pdu session still fails

commit 7c067095df287cc7a542be53e9a1471c11ec5af8
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sat Jun 25 22:45:46 2022 +0530

    Populate PDU and DRB paramenters from NGAP

commit c4ada56a8c31b4c07fc1498e15b0954d9b1ad2f6
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue Jun 7 22:16:58 2022 +0530

    setup resp decoding success

commit a2f41597c7438934a203ccf3cced35b6b65e8cee
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Sat Jun 4 13:50:55 2022 +0530

    Fixed bugs in E1 setup procedure
    E1 setup request decoding successful

commit 6106207ba74c74579b5f375d572930a609abe3a9
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu May 26 20:13:14 2022 +0530

    Fixing build issues

commit 67235fac01aaca4c17da13bf658144ffe6bd12df
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Mon May 23 12:04:22 2022 +0200

    Make nr-softmodem depend on E1AP module

commit 391cee938e8250c355b6b914e747f2004c795817
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Mon May 23 11:57:15 2022 +0200

    Fix ITTI errors in E1AP target

commit db4146e4a0432b7e3759d71efbeb450754c1f0d3
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Wed May 18 06:59:03 2022 +0530

    CP UP task created

commit 3058d2fc445acf5681a09f70409023718294d093
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue May 10 08:12:19 2022 +0530

    Bearer context setup response message

commit b911e9db2a4d0a35eb9a449ef02acefff30b558f
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Tue May 3 16:52:49 2022 +0530

    Bearer context setup c structs

commit d0f4d5f3539803253b9a995a90a47b3d825ea0ca
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Apr 28 02:21:50 2022 +0530

    Bearer context setup message

commit 489a5358fa0e199314254561a2d52c1a93f7803e
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Thu Apr 21 10:11:03 2022 +0530

    Started with CUUP task

commit b416061f5a237cbabbe09c6d81fe92df9e33fd72
Author: Sakthivel Velumani <velumani@eurecom.fr>
Date:   Fri Apr 15 18:46:27 2022 +0530

    Setup request and response messages

commit faca4b97dba92be857bd8442193365fc2c8ed122
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Mon Apr 11 15:01:48 2022 +0200

    Fixup for cmake execution

commit ecfd9f7608a5820ae85278939e9bbaf7f1245dd6
Author: Robert Schmidt <robert.schmidt@eurecom.fr>
Date:   Tue Nov 24 21:39:20 2020 +0100

    Move CMakeLists.txt into root

commit 9f41f7c52b3c7a185e5e34bb1591b0eb66459837
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Tue Apr 12 12:07:18 2022 +0200

    Remove hwlat refs in build_oai: targets don't exist anymore

commit e666cf5eedc67695febd33de1397331d6b7b2320
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Mon Apr 11 14:37:32 2022 +0200

    Create CMake E1AP_RELEASE variable from E1AP_VERSION

commit 1f8413361c1b99ea46ee613da035803a1387f65c
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Sun Apr 10 14:25:38 2022 +0200

    Add E1AP lib

commit 7465cea49243fd6eb9869035b18860dface57098
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Sun Apr 10 14:48:40 2022 +0200

    Add E1AP Grammar and build ASN.1 lib at build time

commit cde22f83032a199387ae1eae6b702f44ed154f3e
Author: Robert Schmidt <robert.schmidt@openairinterface.org>
Date:   Fri Apr 22 13:42:51 2022 +0200

    Accept higher vers. nums in make_version/MAKE_VERSION

commit d5127b23608240374a439d1d9c2ff6d53c4b527c
Author: Robert Schmidt <robert.schmidt@eurecom.fr>
Date:   Tue Nov 24 21:39:20 2020 +0100

    Move CMakeLists.txt into root
2023-02-11 12:32:34 +01:00
mir
986a1a80ff Remove nettle library from OAI, support OpenSSL 3.0 and 1.1
Add byte_array_t structure under common/
2023-02-10 16:49:54 +01:00
Robert Schmidt
20f8515724 review suggested changes 2023-02-10 09:26:45 +00:00
Robert Schmidt
f4b394a30f Merge remote-tracking branch 'origin/ci-clean-dashboard-drop-old-images' into integration_2022_wk06 2023-02-09 19:23:11 +01:00
Robert Schmidt
adb02aa2ee Merge remote-tracking branch 'origin/bugfix-release-usrp' into integration_2022_wk06 2023-02-09 19:23:04 +01:00
Robert Schmidt
3c73b3aadf Merge remote-tracking branch 'origin/NR_refactor_PHY_vector_sizes' into integration_2022_wk06 2023-02-09 19:22:57 +01:00
Dorovskikh
eca08df857 5G UE IMEISV 16 digits
reading 5G UE IMEISV from config file

Signed-off-by: Dorovskikh <vladimir.dorovskikh@capgemini.com>
2023-02-09 16:09:50 +00:00
Sagar Arora
a36ed24b1a Make cluster images older than 4 weeks dangling so they are deleted 2023-02-08 14:18:44 +01:00
Robert Schmidt
2e215b0951 Remove unnecessary file 2023-02-06 16:55:04 +01:00
Robert Schmidt
ea1be5276c Remove legacy dashboard 2023-02-06 16:55:04 +01:00
Roberto Louro Magueta
9c6f07dbc8 Avoid saturation in PUSCH for UL channel estimation 2023-02-06 13:08:04 +00:00
Guido
bc21da6ab2 Harmonized debug logging in DL/UL scheduling
- made it consistent throughout the code
- always reporting the UE RNTI that is failing (helps debug in a multi-ue operation)
2023-02-06 11:48:16 +01:00
Guido
389b9cf4ef Reuse old TDA when allocating DL retransmissions
- reusing old TDA whenever possible helps allocate DL retransmission when TDA chnges
- e.g. nrOfSymbols of new TDA > nrOfSymbols old TDA (leading to TBS size mismatching and allocation failure)
- This bugifx improves DL throughput stability in a multi-UE operation
2023-02-06 11:46:27 +01:00
Raphael Defosseux
8a388f4b0e fix(ci): for old versions of python3, pyshark live-capture is buggy
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-06 11:22:31 +01:00
Cedric Roux
344f8b75e6 bugfix: try to handle USRP devices correctly to avoid crashes
Some problems when we release the device:

    - Calling the destructors is wrong, we should set the pointers to NULL.
      These are shared pointers, this is C++.
    - We have to stop rx by doing a STREAM_MODE_STOP_CONTINUOUS.
    - The end-of-burst for tx has been simplified.

This problem when we acquire the device:

    - Calling get_rx_stream() many times seems to be problematic.

We now should have a better behavior with UHD 4.2 and N310. (Hopefully with
others too.) No crash seen so far.
2023-02-04 23:37:58 +01:00
Gabriele Gemmi
817ee1a217 Cleanup of external dependencies in the installs script
Many useless dependencies have been removed or moved to the additional tools list of packages.
Xforms and ue-ip module must now be built explicitly
Removed support for Ubuntu 16. Addedd support for Debian 11 and Fedora 37

Squashed commits:

removed all unused dependencies
Applied patch from Robert + cleanup in the dependencies
Applied patch from Robert + cleanup in the dependencies
Moved xforms to optional packages, minor fixes
remvoed ue_ip module from ue build
fixes in the build script
styling fixes
Make RHEL8 ran-base build
- Use EPEL 8
- Inside container there is no sudo, so remove superfluous -H
- Install python3-mako
Working build on fedora 36
Make build by install xxd
Drop Ubuntu 16 support
add pip3 again
Correct software
Drop useless software, maybe drop python too
Fix: comment mistaken for package
Remove Netinterfaces from optional packages (Ubuntu)
Don't link xforms into 4G simulators: not needed
Install xmlstarlet, required for physims
Support for fedora 37
Remove irrelevant svn executable from physims
Option to compile UE ip kernel module
Install only relevant boost libs
Removed --skip-broken
Remove unnecessary vconfig,numpy,scipy dependencies
Remove packages that have been installed (pkg-config), python, awk
Remove unnecessary ntpsec package
addedd support for debian 11
styiling fixes
2023-02-03 17:31:35 -05:00
Raphael Defosseux
00ef792d47 chore(ci): post-review changes
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
19ffb7be48 fix(ci): proxy repo has no develop branch
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
f516d7ab4f fix(ci): typo found per review
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
a03d274676 chore(ci): after upgrade of CN5G version on porcepix
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
43a2ae0040 style(ci): using and debugging the new LocalCmd class
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
6905159a38 chore(ci): applying the same image syntax with oaisoftwarealliance/ for RAN components
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
76ed14e76c chore(ci): using pyshark live-capture instead of launching a bg tshark
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Raphael Defosseux
63124fc487 chore(ci): updating simulators docker-compose for CN5G release v1.5
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Robert Schmidt
f984f49310 Merge branch 'integration_2023_w05' into 'develop'
integration_2023_w05

See merge request oai/openairinterface5g!1936

* !1897 NR improvements for scheduling with DCI 1_0
* !1899 Fix buffer overflow and memory alignment at the UE
* !1916 Remove legacy 4G RLC
* !1920 bugfix: fix sdap
* !1923 fix(ci): fixes to run on caracal after RHEL9 migration
* !1931 set max UEs to be scheduled by MAC
* !1573 FAPI: correct port numbers, clean up some comments
* !1765 Improve USRP GPIO handling
* !1868 Change the nFAPI command line parameter of nr-softmodem (--nfapi) to expect string values instead of integer values
* !1930 improving MIMO section on runmodem file
* !1934 Make rftest compile
2023-02-03 11:14:58 +00:00
Robert Schmidt
3f61f27bd3 Merge remote-tracking branch 'origin/fix-rftest-compilation' into integration_2023_w05 2023-02-02 14:34:17 +01:00
Robert Schmidt
ca3dc63a92 Merge remote-tracking branch 'origin/NR_MIMO_runmodem' into integration_2023_w05 2023-02-02 14:34:06 +01:00
Robert Schmidt
48dc0d8bc7 Merge remote-tracking branch 'origin/nFAPI_mode_cmd_parameter_to_str' into integration_2023_w05 2023-02-02 14:34:00 +01:00
Robert Schmidt
90918b20f0 Merge remote-tracking branch 'origin/usrp_gpio_framework' into integration_2023_w05 2023-02-02 14:33:53 +01:00
Robert Schmidt
e7fec943fd Merge remote-tracking branch 'origin/FAPI-Improvements' into integration_2023_w05 2023-02-02 14:33:47 +01:00
Robert Schmidt
f77f930c7d Merge remote-tracking branch 'origin/NR_MAC_scheduler_limit_ues' into integration_2022_wk05 2023-02-01 19:28:19 +01:00
Robert Schmidt
e169577917 Merge remote-tracking branch 'origin/ci-fix-caracal-rhel9' into integration_2022_wk05 2023-02-01 19:28:10 +01:00
Robert Schmidt
88943f0e2a Merge remote-tracking branch 'origin/bugfix-sdap' into integration_2022_wk05 2023-02-01 19:28:03 +01:00
Robert Schmidt
b7de87f568 Merge remote-tracking branch 'origin/remove-legacy-4g-rlc' into integration_2022_wk05 2023-02-01 19:27:42 +01:00
Robert Schmidt
8ee63636a1 Merge remote-tracking branch 'origin/develop-fix-csi_im' into integration_2022_wk05 2023-02-01 19:27:34 +01:00
Robert Schmidt
52de87dbae Merge remote-tracking branch 'origin/NR_improvements_for_scheduling_with_DCI_1_0' into integration_2022_wk05 2023-02-01 19:27:20 +01:00
francescomani
19e5e545eb improving MIMO section on runmodem file 2023-02-01 19:03:18 +01:00
Rúben Soares da Silva
703fa47814 Use string values for nFAPI parameter (--nfapi)
- previously, used magic numbers to designate nFAPI mode
- now, use string values (MONOLITHIC, PNF, VNF, ...)
- Remove printing of the nfapi mode to the console, as it's value is clear from the command-line argument
- Update usages of the --nfapi command-line parameter in scripts and documentation to reflect the change to string values
2023-02-01 14:04:53 +01:00
Raphael Defosseux
b167298cb0 testing webhook
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-01-31 09:29:01 +01:00
Robert Schmidt
c952feff0d Make rftest compile 2023-01-30 12:50:26 +01:00
Raphael Defosseux
3beb38d3c1 fix(ci): network interface name has changed
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-01-27 10:16:49 +01:00
Rúben Soares da Silva
af2ea8f275 Change hardcoded nFAPI ports to use htons and ntohs and changes to allow OAI VNF and PNF to run 2023-01-24 15:35:20 +00:00
Raphael Defosseux
c8b9cf6c63 fix(ci): no more devtoolset on caracal
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-01-24 14:49:28 +01:00
Raphael Defosseux
0afa3f3193 doc(contributing): made the contributing document a bit clearer
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-01-24 09:28:52 +01:00
francescomani
950b110e58 tentative fix for CQI table and DCI 1_0 2023-01-23 11:45:40 +01:00
francescomani
358772429e fix asan failures 2023-01-23 11:31:01 +01:00
francescomani
721b8e9d9f setting max dlsch/ulsch limit 2023-01-23 11:31:01 +01:00
francescomani
43685afe1a removing NUMBER_OF_NR_UE_MAX 2023-01-23 11:13:05 +01:00
francescomani
d8612a6ca7 some more cleanup 2023-01-23 11:13:05 +01:00
francescomani
b4b5516ca7 remove NUMBER_OF_NR_SRS_MAX 2023-01-23 11:13:05 +01:00
francescomani
571f488ddb remove NUMBER_OF_NR_CSIRS_MAX 2023-01-23 11:13:05 +01:00
francescomani
dd24ddd645 remove NUMBER_OF_NR_PUCCH_MAX 2023-01-23 11:13:05 +01:00
Cedric Roux
698122d6d2 bugfix: fix sdap
There was a problem testing accelleran cu + oai du + oai ue + rfsim
because accelleran cu configures sdap header for UL but not for DL
and our sdap implementation deals with either "no sdap header at all"
or "sdap headers for both UL and DL".

The code has been modified to deal with the other cases
("sdap header for UL but not DL" and "sdap header for DL but not UL").

has_sdapDLheader and has_sdapULheader have been removed, has_sdap
too, replaced by has_sdap_rx and has_sdap_tx, which makes the code
independant of ue or gnb and is, I think, clearer.

With this work, accelleran cu + oai du + oai ue + rfsim works. We
also have oai gnb + oai ue + rfsim functional for all cases of sdap
header configuration (this won't happen for users, the code of gnb has to
be modified to have sdap header for only ul or only dl). It also works
with a COTS UE for all cases of sdap configuration (again, this won't
happen for users, only "no sdap header" and "sdap headers for both
UL and DL" exist in oai gnb with the current code).

To have other cases, you can edit openair2/RRC/NR/rrc_gNB_radio_bearers.c
and search for NR_SDAP_Config__sdap_HeaderDL_present in there.

To enable sdap, run the gnb with the command line argument
--gNBs.[0].enable_sdap 1
2023-01-22 00:09:22 +01:00
Roberto Louro Magueta
13bbd326d1 Fix mismatched bounds in functions in .h and .c 2023-01-21 12:41:15 +00:00
Roberto Louro Magueta
0ebec67daa Fix dl_ch_estimates size for nr_dlsch_extract_rbs() function 2023-01-21 12:41:15 +00:00
Daniel Andrade
0b24b5f0ce Fix memory allocation in nr_dlsim 2023-01-21 12:41:15 +00:00
Daniel Andrade
d840c9db1e Fix buffer overflow for DL channel estimation 2023-01-21 12:41:15 +00:00
Daniel Andrade
15a375e811 Fix memory aligned in nr_rx_pdcch() 2023-01-21 12:41:15 +00:00
Daniel Andrade
5a8d94fff2 Fix memory aligned in RI computation based on CSI-RS 2023-01-21 12:41:15 +00:00
Roberto Louro Magueta
aff3395f30 Fix buffer overflow in nr_csi_im_power_estimation() 2023-01-21 12:41:15 +00:00
Robert Schmidt
8fc58e2f00 Remove legacy 4G RLC 2023-01-21 12:14:18 +01:00
Robert Schmidt
5d58645a85 Merge branch 'integration_2023_w03' into 'develop'
integration_2023_w03

See merge request oai/openairinterface5g!1919

!1880 Fix to schedule NR SRS K2 slots in advance
!1885 cleaning only
!1912 Correctly encode DNN length/APN name
!1913 bugfix: initialize all variables of the 'context' thing
!1914 bugfix: avoid a crash when oai_exit is set
!1915 remove patch in install_simde_from_source()
!1882 CI: Add more RFsim tests, cleanup
2023-01-21 11:04:36 +00:00
Robert Schmidt
d501025037 Merge remote-tracking branch 'origin/more-rfsim-tests' into integration_2023_w03 2023-01-20 17:45:05 +01:00
Robert Schmidt
5b2b0432c9 Merge remote-tracking branch 'origin/simde-patch-in-upstream' into integration_2023_w03 2023-01-20 12:29:15 +01:00
Robert Schmidt
1f21757d62 Merge remote-tracking branch 'origin/bugfix-better-exit-eth-udp' into integration_2023_w03 2023-01-20 12:29:09 +01:00
Robert Schmidt
206f8ae187 Merge remote-tracking branch 'origin/bugfix-fix-context' into integration_2023_w03 2023-01-20 12:29:04 +01:00
Robert Schmidt
60bf3a9869 Merge remote-tracking branch 'origin/fix-dnn-size' into integration_2023_w03 2023-01-20 12:28:59 +01:00
Robert Schmidt
d0bc613d64 Merge remote-tracking branch 'origin/cleaning-vars-h' into integration_2023_w03 2023-01-20 12:28:53 +01:00
Florian Kaltenberger
e38b2433df Trigger GPIO beam control only when beam changes 2023-01-20 10:33:47 +01:00
laurent
b74ba0fb92 cleaning only 2023-01-19 14:52:39 +01:00
francescomani
368ec8956d set max ues to be scheduled by pf 2023-01-19 14:51:52 +01:00
Florian Kaltenberger
3d03e522d3 patch from Robert to fix segfault 2023-01-19 14:32:01 +01:00
Robert Schmidt
9948d97230 Use GPIO flag and fix bug 2023-01-19 14:32:01 +01:00
Robert Schmidt
72460cec61 Use TX Burst enum consistently
- By convention, enums are uppercase in C
- Use it everywhere
2023-01-19 14:32:01 +01:00
Florian Kaltenberger
faba9ac244 Make USRP GPIO control more flexible
- adding support for x410 GPIO
2023-01-19 14:32:01 +01:00
Cedric Roux
565b8482f9 remove patch in install_simde_from_source()
upstream took it
2023-01-18 13:01:37 +01:00
Cedric Roux
fc7bcceca9 fix a small bug and add a log for when recvfrom() fails
recvfrom() returns ssize_t, not size_t.
2023-01-18 10:23:37 +01:00
Cedric Roux
08e57ca313 bugfix: use correct size in malloc() 2023-01-17 15:03:44 +01:00
Cedric Roux
3674a6f0f2 bugfix: initialize all variables of the 'context' thing
There was a problem in rrc_gNB_process_NGAP_PDUSESSION_RELEASE_COMMAND()
where we PROTOCOL_CTXT_SET_BY_INSTANCE() that does not initialize
eNB_index leading to a crash later on in pdcp. So let's initialize
everything.

Plus, while we're here, use do { } while(0) in the macros, just to avoid
problems like:

  if (condition)
    macro;

Without do { } while(0) only the first statement of the macro is done
in the if. (Not sure if the code has the problem somewhere, but doesn't
hurt to fix.)
2023-01-17 13:19:30 +01:00
Cedric Roux
924d88bbf9 bugfix: avoid a crash when oai_exit is set
There was a crash when we exit the nr softmodem with AW2S device.
The array rxbase[] was surely freed() by some other thread, so
let's not access it after detecting oai_exit != 0.

We also need to unblock a possible reader thread. The chosen way to
do may be not the best. To be checked.
2023-01-17 13:06:25 +01:00
Robert Schmidt
90a836a022 Correctly encode DNN length/APN name 2023-01-17 11:38:57 +01:00
francescomani
f9f6283cc3 schedule SRS K2 slots in advance 2023-01-14 17:51:27 +01:00
francescomani
0f62f51f9f adding a check for dci format in fill_dmrs_mask 2023-01-14 17:29:52 +01:00
francescomani
e881ffca95 improvements in selecting DL MCS table 2023-01-14 17:15:13 +01:00
Robert Schmidt
214aa50595 Merge branch 'integration_2023_w02' into 'develop'
integration_2023_w02

See merge request oai/openairinterface5g!1906

!1796 Make SFN dependent on GPS time
!1874 Processing time optimization for SRS
!1881 Fix documentation of dot_product()
!1884 Prevent Msg3 to be scheduled in downlink slot when nrofUplinkSymbols = 0 and DDDSU
!1888 Adopting new BWP structure at UE (first MR)
!1890 Fix setup_time overflow in VNF processing thread
!1892 system.c cleaning check result of system call
!1893 fix buildhelper Soapy folder name, case not respected, reinstall was broken
!1894 doc(ci): adding constraint on the branch name
!1895 ASN_SEQUENCE_ADD return code was checked only in 0.5% of calls
!1900 bugfix CU/DU: use correct IP address for GTP-U
!1901 Adding NRPPA ASN1 definitions and library
!1903 bugfix in function channelmod_modify_cmd
!1867 CI: new Python classes for SSH & Local execution
restore LDPC docs
2023-01-14 08:39:57 +00:00
Robert Schmidt
7d3100dbe7 Force correct min_rxtxtime in OAI UE test 2023-01-13 13:42:13 +01:00
Robert Schmidt
18b9135c4f Fix warning in nFAPI 2023-01-12 18:05:16 +01:00
Robert Schmidt
75e542c6ad Restore LDPC decdoer documentation 2023-01-12 18:02:45 +01:00
Robert Schmidt
da099ca77a Merge remote-tracking branch 'origin/ci-new-ssh' into integration_2023_w02 2023-01-12 17:58:09 +01:00
Robert Schmidt
f36d7e8e96 Merge remote-tracking branch 'origin/bugfix_channelmod_modify_cmd' into integration_2023_w02 2023-01-12 17:57:23 +01:00
Robert Schmidt
1e812a4b7c Merge remote-tracking branch 'origin/nrppa_new' into integration_2023_w02 2023-01-12 17:57:14 +01:00
Robert Schmidt
2c3e4ef47f Merge remote-tracking branch 'origin/bugfix-cu-du-gtpu-correct-address' into integration_2023_w02 2023-01-12 17:57:06 +01:00
Robert Schmidt
47a4da8d5f Merge remote-tracking branch 'origin/fix-check-return-ASN_SEQUENCE_ADD' into integration_2023_w02 2023-01-12 17:56:56 +01:00
Robert Schmidt
3598180557 Merge remote-tracking branch 'origin/documentation-branch-name' into integration_2023_w02 2023-01-12 17:56:13 +01:00
Robert Schmidt
a040fbddf2 Merge remote-tracking branch 'origin/kharobcom_fixbuildhelper' into integration_2023_w02 2023-01-12 17:56:03 +01:00
Robert Schmidt
6620471822 Merge remote-tracking branch 'origin/kharobcom_cleansystemfile' into integration_2023_w02 2023-01-12 17:55:54 +01:00
Robert Schmidt
da70a37551 Merge remote-tracking branch 'origin/FAPI_fix_setup_time_from_overflowing' into integration_2023_w02 2023-01-12 17:55:42 +01:00
Robert Schmidt
ce1246e0dd Merge remote-tracking branch 'origin/NR_UE_BWP_reworking' into integration_2022_wk02 2023-01-12 17:49:22 +01:00
Robert Schmidt
3b4371e01c Merge remote-tracking branch 'origin/Hotfix_Msg3_scheduling' into integration_2022_wk02 2023-01-12 17:46:27 +01:00
Robert Schmidt
6886f0d3dd Merge remote-tracking branch 'origin/dot-prod-doc' into integration_2022_wk02 2023-01-12 17:46:19 +01:00
Robert Schmidt
451937d88b Merge remote-tracking branch 'origin/develop-SRS-in-ulsim' into integration_2022_wk02 2023-01-12 17:46:09 +01:00
Robert Schmidt
1f458c7107 Adapt retx thresholds to CI env 2023-01-12 17:32:05 +01:00
Robert Schmidt
9c165e3992 Reduce 180Mbps in CI test for 162 PRB
Due to t-Reordering, if requesting more than 100% of resources allow,
leads to dropped packets at RLC that PDCP waits for in reordering
2023-01-12 17:31:13 +01:00
Robert Schmidt
b780c9db80 Workaround: MCS>16 leads to retx in 2x2 2023-01-12 17:26:49 +01:00
Karim Harouat
096a32bf16 system.c : cleaning check result of system call 2023-01-12 14:28:38 +01:00
Rúben Soares da Silva
cdf7fb6f70 Fix setup_time overflow in vnf processing thread, preventing gNB from stopping message processing once setup_time overflowed 2023-01-12 10:17:03 +00:00
Robert Schmidt
3b9107228a cls_containerize: Add comment to help understand the magnitude of size 2023-01-11 15:15:08 +01:00
Robert Schmidt
57dbc79668 cls_physim1: Mention python version and separate Python/own modules 2023-01-11 15:15:08 +01:00
Robert Schmidt
074cf91bec cls_cluster: various fixes after review
- Mention python version and separate Python/own modules
- Use constants for registry and namespace name
- Provide OC url in oc login
- Do not perform oc logout in background
2023-01-11 15:15:06 +01:00
Robert Schmidt
941acb2e8d Tag cluster images with branch and commit ID 2023-01-11 15:15:06 +01:00
Robert Schmidt
7361c1689e Use new SSH class to execute image build 2023-01-11 15:15:06 +01:00
Robert Schmidt
de4a9e1d5a Use new SSH class to execute cluster build 2023-01-11 15:13:21 +01:00
Robert Schmidt
ce03b84898 Add new SSH/local cmd classes 2023-01-11 15:10:55 +01:00
Adeel Malik
affa5e3086 bugfix in function channelmod_modify_cmd 2023-01-11 11:12:19 +01:00
Florian Kaltenberger
89bddc76f0 addressing reviewer comments 2023-01-11 10:13:01 +01:00
Robert Schmidt
21ef822c45 Shorten IP address buffer to avoid strncpy() warning 2023-01-11 09:59:39 +01:00
laurent
9a789dbb8a ASN_SEQUENCE_ADD return code was checked only in 0.5% of calls, existing errors not detected by sanitize address 2023-01-11 09:59:39 +01:00
Florian Kaltenberger
24237b3e35 adapting ans1 handling of NRPPA to new framework 2023-01-10 11:26:27 +01:00
Florian Kaltenberger
1434175a84 adding Mohsen's NRPPA main program to CMakeLists.txt 2023-01-10 10:23:55 +01:00
ahadi
b7762141e8 added NRPPA .asm file and compiled the functions to CMakeFiles 2023-01-10 10:21:05 +01:00
Cedric Roux
551aee172a bugfix CU/DU: use correct IP address for GTP-U
Not only the teid is received from the DU but also the IP address. We
have to use it too.

Also, don't connect the UDP socket. The parameter remote_s_address in the
configuration file must not be used, at least not for gtp-u because the
IP address is received from the DU (plus for later, for multiple DUs, it
won't work at all).
2023-01-09 15:19:07 +01:00
francescomani
3ab368f9b0 removing duplicate cset0 ss0 from config files 2023-01-06 09:44:12 +01:00
francescomani
0d8a1327b0 remove ss0 and cset 0 from config file 2023-01-04 09:25:11 +01:00
Raphael Defosseux
719e36159d doc(ci): adding constraint on the branch name
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-01-03 09:58:02 +01:00
francescomani
01030bbc4e L2 simulator fix 2022-12-30 10:32:58 +01:00
Karim Harouat
f277a27f57 fix buildhelper Saopy folder name, case not respected, reinstall was broken 2022-12-30 08:54:53 +01:00
francescomani
5300c57f3d common BWP structure and further improvements 2022-12-27 19:00:41 +01:00
francescomani
e55e880b71 cleaning up of dci functions 2022-12-27 18:32:30 +01:00
francescomani
1e6db77be7 first commit 2022-12-27 18:26:06 +01:00
Florian Kaltenberger
675ebb1f22 attempt to fix issues when starting with SFN > 0 2022-12-27 16:01:44 +01:00
Florian Kaltenberger
ad6c250595 adressing reviewer comment 2022-12-27 11:49:47 +01:00
Florian Kaltenberger
00c36d7b40 fixing "making SFN dependent on GPS time"
in fact it syncs the USRP time to GPS time when available and then derives the SFN from the USRP time.
2022-12-27 11:49:47 +01:00
Roberto Louro Magueta
a7db9280b8 Generate SRS sequence only when needed 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
c6bfb97988 Remove calloc of report_tlv, prg_list and prgs 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
f7a34d4274 Rename some variables 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
4c6a1c722b Change input of rrc_get_max_nr_csrs() from uint8_t to int 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
01ddccb101 Fix size of IQ channel_matrix of SRS 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
b95b95e7a7 Add SRS time stats in nr_ulsim 2022-12-23 10:39:11 +00:00
Roberto Louro Magueta
44dabd7377 Add SRS enable/disable as input command line in nr_ulsim 2022-12-23 10:39:10 +00:00
Roberto Louro Magueta
93770edc8a Add SRS in nr_ulsim 2022-12-23 10:39:10 +00:00
Robert Schmidt
1a0c0cd1c9 Merge branch 'integration_2022_wk51' into 'develop'
integration_2022_wk51

See merge request oai/openairinterface5g!1877

!1823 NR UE improve RA procedures (continuation)
!1863 fixes for mixed slot without uplink symbols
!1865 Remove max power limitation in p_NR_FR1
!1866 Small fixes from Fujitsu branch
fix OAIUE test
!1638 Implementation of RRC NR_Paging message at gNB
!1846 NR limit dl_DataToUL_ACK
!1864 Derive K_NG-RAN* key for RRCReestablishment
!1871 Improvements in 5G RAR and DCI for initial BWP larger than 180PRBs
!1872 Fix seed generation and physim script
!1860 Test reduced iterations for ULSIM 3GPP
!1873 Moved nr_ue_design.md to doc/
!1878 Bugfix wrong use of qsort in dl/ul schedulers
!1881 Fix documentation of dot_product()
!1815 NR UE moved PDSCH, rxdataF to stack
!1875 NR SA SIB1 status after failure
!1870 NR SA Tutorials
2022-12-23 07:22:54 +00:00
luis_pereira87
4a518335bb Prevent Msg3 to be scheduled in downlink slot when nrofUplinkSymbols = 0 and DDDSU 2022-12-22 18:17:10 +00:00
Robert Schmidt
315caca955 Merge remote-tracking branch 'origin/NR_SA_Tutorials' into integration_2022_wk51 2022-12-22 18:03:59 +01:00
Robert Schmidt
8943dfa131 Merge remote-tracking branch 'origin/NR_fix_sib1_reset_after_failure' into integration_2022_wk51 2022-12-22 18:03:52 +01:00
Robert Schmidt
027a8c6f9b Merge remote-tracking branch 'origin/NR_UE_pdsch_remove_global_vars' into integration_2022_wk51 2022-12-22 18:03:43 +01:00
Robert Schmidt
9de7f5838b Correct naming: slash interferes with sed 2022-12-22 16:42:39 +01:00
Robert Schmidt
cc6d1ecded Merge remote-tracking branch 'origin/multi-ue-fixes' into integration_2022_wk51 2022-12-22 15:04:00 +01:00
Robert Schmidt
b6bc11635d Merge remote-tracking branch 'origin/NR_UE_moved_doc' into integration_2022_wk51 2022-12-22 15:03:52 +01:00
Robert Schmidt
a4e9a07d56 Merge remote-tracking branch 'origin/test_ulsim_lower_iterations' into integration_2022_wk51 2022-12-22 15:02:48 +01:00
francescomani
9e7ef62c9d 3GPP UL tests with 7 iterations of LDPC 2022-12-22 15:02:04 +01:00
Robert Schmidt
bacf3537cf Merge remote-tracking branch 'origin/fix-seed-physim-script' into integration_2022_wk51 2022-12-22 15:00:31 +01:00
Robert Schmidt
1af5062b6c Merge remote-tracking branch 'origin/NR_fix_intial_BWP_more_than_180' into integration_2022_wk51 2022-12-22 15:00:23 +01:00
Robert Schmidt
d21f6411fc Merge remote-tracking branch 'origin/nr_derive_key_ng_ran_star' into integration_2022_wk51 2022-12-22 14:59:36 +01:00
Robert Schmidt
599fd419df Merge remote-tracking branch 'origin/NR_limit_dl_DataToUL_ACK' into integration_2022_wk51 2022-12-22 14:59:28 +01:00
Robert Schmidt
d6a01a73d4 Merge remote-tracking branch 'origin/NR_RRC_Paging' into integration_2022_wk51 2022-12-22 14:59:15 +01:00
Robert Schmidt
10e9474e67 Add forgotten file 2022-12-22 13:02:03 +01:00
Robert Schmidt
387ff92ab3 CI: Add 5G RFsim u0/25prb test 2022-12-22 12:58:01 +01:00
Robert Schmidt
69b6d7ed5b CI: docker-compose file for RFsim u0/25prb 2022-12-22 12:58:01 +01:00
Robert Schmidt
a74ced54a2 CI: Add 5G RFsim 2x2 test 2022-12-22 12:58:01 +01:00
Robert Schmidt
cc04996bd5 CI: docker-compose file for RFsim 2x2 test 2022-12-22 12:58:01 +01:00
Robert Schmidt
c4963ed16d CI: support cmd_prefix for OAI UE 2022-12-22 12:58:01 +01:00
Robert Schmidt
3e3dd82433 CI: Remove legacy bash scripts 2022-12-22 12:57:56 +01:00
Robert Schmidt
c54cf49f27 CI: stop containers more quickly
- avoid wasting time
- might prevent excess HARQ retx messing up the logs
2022-12-22 12:57:20 +01:00
laurent
ef65ad6cd5 fix doc only 2022-12-22 11:36:24 +01:00
Robert Schmidt
2c846e26a0 OAI UE: use 2x2 config file, tune-offset, min_rxtxtime 2022-12-22 10:45:38 +01:00
laurent
97bce21005 code review comments, simplify asn1 coding 2022-12-20 15:37:31 +01:00
luis_pereira87
44d309a69d Implementation of RRC NR_Paging message at gNB 2022-12-20 15:37:26 +01:00
Sakthivel Velumani
4d2093e765 Updated doc, spell checked 2022-12-20 19:49:59 +05:30
Robert Schmidt
c9f737d310 Merge remote-tracking branch 'origin/NR_small_fixes_from_fujitsu_branch' into integration_2022_wk51 2022-12-19 21:39:25 +01:00
Robert Schmidt
ffb2d23b18 Merge remote-tracking branch 'origin/NR_remove_limitation_p_NR_FR1' into integration_2022_wk51 2022-12-19 21:39:16 +01:00
Robert Schmidt
64a65a878a Merge remote-tracking branch 'origin/NR_mixed_slot_fixes' into integration_2022_wk51 2022-12-19 21:39:09 +01:00
Robert Schmidt
d66bc22175 Merge remote-tracking branch 'origin/NR_UE_improve_RA_contd' into integration_2022_wk51 2022-12-19 21:39:00 +01:00
francescomani
54641a14fd removing additional BWPs from config files 2022-12-19 16:57:03 +01:00
Guido Casati
3a24b66ecf Define for RX/TX Max Size of RLC buffers
- new definition to replace hardcoded values
2022-12-19 16:45:15 +01:00
francescomani
7f31659a86 limit dl_DataToUL_ACK to the number of slots per frame to avoid the need to resize VRB_map and UL_tti_req_ahead 2022-12-19 16:35:06 +01:00
Robert Schmidt
8cacbb884c Address review comments 2022-12-19 16:23:40 +01:00
Robert Schmidt
e99c019fb4 Use get_random_seed() to initialize GTP module 2022-12-19 15:57:10 +01:00
Robert Schmidt
92d5270adf Use get_random_seed() in set_taus_seed(), used by taus() 2022-12-19 15:57:09 +01:00
Robert Schmidt
2ec0b4b8fe Make on static library SIMU, drop SIMU_COMMON
Almost all targets used both SIMU and SIMU_COMMON. So instead of
linking one in the other, this commit merges both libraries into a
common SIMU lib.  Further, we never load SIMU dynamically -- hence
make it a static library.

Also, this commit cleans up CMakeLists.txt to prevent multiple
compilations of taus.c
2022-12-19 15:57:09 +01:00
Robert Schmidt
c1f85d4f07 Remove some commented code 2022-12-19 15:57:09 +01:00
Robert Schmidt
fb6f9d3bf0 Read /dev/urandom to init RNG for uniformrandom and gaussZiggurat 2022-12-19 15:57:09 +01:00
Robert Schmidt
e695f24277 Fix autotests: read correct log file when evaluating sim runs 2022-12-19 15:57:09 +01:00
Guido
c99539a806 Bugfix wrong use of qsort
- The qsort() function is defined as:
  void qsort(void *base, size_t nmemb, size_t size,
    int (*compar)(const void *, const void *));
  and sorts an array with nmemb elements of size size.
- in the gNB scheduling functions, nmemb and size were swapped
- this was causing a stack overflow ending with a SEGFAULT under certain circumstances
2022-12-19 15:15:05 +01:00
Guido Casati
b375a804bf Cleanup of NUMBER_OF_NR_UE_MAX and its references
- this defition is obsolete
2022-12-19 15:15:04 +01:00
francescomani
88192f1339 fixes for mixed slot without uplink symbols 2022-12-19 10:24:02 +01:00
francescomani
01369343e6 flag to set sib1 decoded status 2022-12-19 09:49:38 +01:00
Sakthivel Velumani
c0f03f2960 Reduced scope of llr_buffer
Direct check on dlsim buffer
2022-12-18 11:33:54 +05:30
Sakthivel Velumani
d487666995 No need to set rxdataF to 0
full symbol buffer will be written bt DFT
2022-12-18 10:08:12 +05:30
Sakthivel Velumani
c31fe381f8 Simplified function args
removed gNB_id and slot from function calls where proc is used.
2022-12-18 10:08:12 +05:30
Sakthivel Velumani
573e7fd98a Changed rxdataF from int32_t to c16_t 2022-12-18 10:08:12 +05:30
Sakthivel Velumani
06ef311975 Moved PDSCH, rxdataF to stack
--Removed NR_UE_PDSCH global structure
--Changed UE scope to accomodate local PDSCH data
--Removed common_vars.rxdataF from global structure
2022-12-18 10:08:08 +05:30
Robert Schmidt
cfe698eb70 Merge branch 'integration_2022_wk50' into 'develop'
integration_2022_wk50

See merge request oai/openairinterface5g!1869

!1663 UL-MIMO working with 2 layers
!1705 RNTI to UE ID in PDCP, SDAP, GTPU, ...
!1818 Move /targets/user to /executables
!1835 Improve NR SRS configuration
!1837 Add Configuration File Naming Style Guide
!1852 Get data from SRB 1 when generating Msg4
!1857 Use F1AP to transfer SRB1 messages in monolithic mode
!1858 fix NR_LDPC_NUM_BN_GROUPS_BG2_R15
!1862 Fix for msg3 scheduling
!1814 Initial web server implementation
!1847 Move 5G RFsim tests from RAN-CI-develop to RAN-Container-Parent
timeout for RFsim
2022-12-17 07:51:39 +00:00
Sakthivel Velumani
b80f2a2eb8 Moved nr_ue_design.md to doc/ 2022-12-16 19:10:47 +05:30
luis_pereira87
5db45c1024 Tutorials: Enable Performance Mode in Ubuntu 22 2022-12-16 09:03:30 +00:00
luis_pereira87
fe146678ce Tutorials: rename UE to nrUE 2022-12-16 09:03:30 +00:00
luis_pereira87
494dad9f7a Tutorials: Add a note to run OAI gNB with min_rxtxtime 6 when using OAI UE 2022-12-16 09:03:30 +00:00
Robert Schmidt
805dbe7272 Lower RFsim timeout when no UE connected
This will lead to quicker drop of the UE context in the gNB once it
disconnected from RFsim.
2022-12-15 17:04:10 +01:00
francescomani
b58791bee0 fixing l2 simulator and addressing review comments 2022-12-15 16:55:06 +01:00
luis_pereira87
f8f1723b71 Derive K_NG-RAN* key for RRCReestablishment 2022-12-15 15:47:36 +00:00
Robert Schmidt
7bd0153079 Merge remote-tracking branch 'origin/ci-5g-tests-ran-container-parent' into integration_2022_wk50 2022-12-15 16:30:39 +01:00
Robert Schmidt
23c92ee0ed Merge remote-tracking branch 'origin/websrv2' into integration_2022_wk50 2022-12-15 16:30:33 +01:00
Robert Schmidt
69a1eb2f6a Merge remote-tracking branch 'origin/NR_msg3_fix' into integration_2022_wk50 2022-12-15 16:30:26 +01:00
Robert Schmidt
e9bbf624a6 Merge remote-tracking branch 'origin/NR_LDPC_NUM_BN_GROUPS_BG2_R15' into integration_2022_wk50 2022-12-15 16:30:17 +01:00
Robert Schmidt
7b9f610b8c Merge remote-tracking branch 'origin/F1_SRB1' into integration_2022_wk50 2022-12-15 16:28:15 +01:00
Robert Schmidt
cc55c4315c Merge remote-tracking branch 'origin/Msg4_SRB1' into integration_2022_wk50 2022-12-15 16:25:23 +01:00
Robert Schmidt
77eb877dec Merge remote-tracking branch 'origin/conf-file-naming-guide' into integration_2022_wk50 2022-12-15 16:25:15 +01:00
Robert Schmidt
fca07aae56 Merge remote-tracking branch 'origin/NR_improve_SRS_configuration' into integration_2022_wk50 2022-12-15 16:22:22 +01:00
Robert Schmidt
6ecf3db1e5 Merge remote-tracking branch 'origin/move_user_execs' into integration_2022_wk50 2022-12-15 16:17:29 +01:00
Robert Schmidt
0271ff711d Merge remote-tracking branch 'origin/e1-patch-merge1' into integration_2022_wk50 2022-12-15 16:17:22 +01:00
francescomani
0f57c8e699 remove generate_nr_prach 2022-12-15 16:00:57 +01:00
francescomani
1d1d8a1ef5 nr_ue_get_rach at MAC -> separation completed 2022-12-15 16:00:57 +01:00
francescomani
fab5987754 remove ue mode 2022-12-15 16:00:57 +01:00
francescomani
98ca29b220 cherry-picking some fixes from fujitsu branch 2022-12-15 15:24:07 +01:00
francescomani
2822e87067 remove limitation in p_NR_FR1 2022-12-15 14:07:58 +01:00
Raymond Knopp
9dc8eccaf4 fix for msg3 scheduling 2022-12-14 17:43:57 +01:00
laurent
75a18c33cd change name of single var that may be corenetwork ue id or RAN rnti 2022-12-14 15:46:53 +01:00
Sakthivel Velumani
4fe3599a43 PDCP config as two functions 2022-12-14 15:12:29 +01:00
Roberto Louro Magueta
da63ee61fb Replace _mm_srai_epi16 by simde_mm_srai_epi16 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
dd8f280842 SRS configured using the UE_Capability_nr 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
22e1cdfcc3 Add CI tests for UL 2-layers for 16QAM and 64QAM 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
f3747a0bcf Update feature set 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
e28e026777 Implementation of function reset_sched_ctrl() 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
4fb8f83999 PHY-simulators working fine for UL-2 layers with 16QAM and 64QAM 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
93756a56eb Fix hardcoded number of layers for the UL 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
ec858d175d Compute TPMI based on SRS for 2 layers 2022-12-14 14:03:22 +00:00
Roberto Louro Magueta
65bd93721d Compute UL-RI (and the number of UL layers) based on SRS for 2x2 2022-12-14 14:00:31 +00:00
Roberto Louro Magueta
1c18f09b6e Add UE_Capability_nr config file 2022-12-14 14:00:31 +00:00
Roberto Louro Magueta
d05ff49dd0 Fix size of UE_Capability_nr message at UE 2022-12-14 14:00:31 +00:00
Sagar Arora
6d0eadcac2 (fix): Manually assign physim pods to nodes
The physim tests fail because, typically, the same tests gets assigned
to the same node which then is overloaded. This MR assigns pods to
different nodes to prevent this.
2022-12-14 14:52:56 +01:00
Robert Schmidt
c3d01306de CI: fix type in cluster build script 2022-12-14 09:42:38 +01:00
francescomani
c0aea206c2 fixes in RAR and DCI for initial BWP larger than 180PRBs 2022-12-13 14:52:43 +01:00
Sakthivel Velumani
ec21db63eb GTP PDCP change rnti to ue id 2022-12-13 12:42:32 +01:00
Robert Schmidt
9308369e28 Add configuration naming style guide 2022-12-13 10:15:54 +01:00
Anurag Asokan
215bb1b02c Moving to execuatbles (incorporating comments) 2022-12-13 09:21:01 +01:00
Robert Schmidt
12384bbe25 Clean up phy_init_nr_gNB()
- variable is_secondary_gnb is not used anywhere, so remove
- variable lowmem is not used/defines should be changed, so remove
2022-12-12 23:40:39 +01:00
Robert Schmidt
d64921a24f Deactivate legacy 5G RFsim pipeline 2022-12-12 23:40:39 +01:00
Robert Schmidt
3608f5cfb5 Add Container 5G RFsim FR2 32PRB test XML 2022-12-12 23:40:39 +01:00
Robert Schmidt
c4c03a48ac Add docker-compose for FR2 32PRB 5G RFsim test 2022-12-12 23:40:39 +01:00
Robert Schmidt
bb9df947eb Add Container 5G RFsim TDD do-ra test XML 2022-12-12 23:40:39 +01:00
Robert Schmidt
ebd4d8d628 Add docker-compose for TDD do-ra 5G RFsim test 2022-12-12 23:40:39 +01:00
Robert Schmidt
40f951f13d Add Container 5G RFsim FDD phytest test XML 2022-12-12 23:40:39 +01:00
Robert Schmidt
bc12d222bb Add docker-compose for FDD phytest 5G RFsim test 2022-12-12 23:40:39 +01:00
Robert Schmidt
8091c9f17f Add Container 5G RFsim 24PRB test XML 2022-12-12 23:40:39 +01:00
Robert Schmidt
325e58bc10 Add docker-compose for 24 PRB 5G RFsim test 2022-12-12 23:40:39 +01:00
Robert Schmidt
6e43b1f12d Fix tab names for 5G RFsim TDD SA test 2022-12-12 23:40:39 +01:00
Robert Schmidt
35330baeea CI: Fix AnalyzeIperf
- Handle k(ilo) bytes
- Fix magnitudes for kilo and giga
- Correctly parse status line in iperf logs
2022-12-12 23:37:39 +01:00
Robert Schmidt
55455a03c0 Install iperf in gNB and eNB containers 2022-12-12 23:37:39 +01:00
Robert Schmidt
9d564f3691 Hack: enable UL traffic in do-ra mode
This commit enables UL traffic in do-ra mode by doing two changes:
- configure SDAP to send traffic to TUN interface instead of GTP by
  abusing enb_flag=0 (i.e., setting UE mode for gNB SDAP)
- manually enable RLC LCID in UE MAC, since nr_DRB_preconfiguration()
  statically enables one DRB bearer, without notifying MAC
2022-12-12 23:37:39 +01:00
Robert Schmidt
235cd40c98 Change default EPS bearer/PDU session ID to 10 for do_ra 2022-12-12 23:37:34 +01:00
francescomani
f67e0e3f02 Phytest fix to re-enable scheduling pucch transmission at ue 2022-12-12 23:37:26 +01:00
francescomani
e72b6fc448 Bugfix for fr2 xlsch bitmap 2022-12-12 23:37:20 +01:00
luis_pereira87
7c3b00301f Use F1AP to transfer SRB1 messages in monolithic mode 2022-12-12 18:55:40 +00:00
Robert Schmidt
a97dfedb78 Merge branch 'integration_2022_wk49' into 'develop'
integration_2022_wk49

See merge request oai/openairinterface5g!1851

!1714 first-fix-rrc-mac-interface
!1755 DL/UL channel estimation improvement
!1788 NR RRC harmonization of CSI reporting
!1848 Remove old RNTI at MAC layer when Msg3 RRCSetupRequest carries ng-5G-S-TMSI-Part1
deactivate SRS in SA tests: creates RT problems
!1809 Doppler Effect
!1831 Nr ue fix asn1 memleak
!1842 Parallelize ASN.1 generation and build
!1853 Correct ue_ip driver module for RHEL9
!1850 Fix T1 offload test
!1461 Optimize LTE TM2 modulation (doesn't work well but it is already the case)
!1806 Repair doxygen documentation generation
!1856 hotfix for nr_rrc_data_req for the unfortunate SDU size 255
2022-12-10 14:05:58 +00:00
francescomani
bfd819c5b4 fix NR_LDPC_NUM_BN_GROUPS_BG2_R15 2022-12-09 13:59:12 +01:00
Robert Schmidt
4629b21775 Merge remote-tracking branch 'origin/nr_rrc_data_req-hotfix' into integration_2022_wk49 2022-12-08 20:01:06 +01:00
Robert Schmidt
fcf983d332 Merge remote-tracking branch 'origin/refresh-doxygen' into integration_2022_wk49 2022-12-08 20:00:57 +01:00
Robert Schmidt
9df2b44082 Merge remote-tracking branch 'origin/optimize_lte_tx_tm2' into integration_2022_wk49 2022-12-08 20:00:19 +01:00
frtabu
e65f13e175 review fixes 2022-12-08 15:27:33 +01:00
Raymond Knopp
3b0eed2edc hotfix to avoid checking for sdu_sizeP=255 in nr_rrc_data_req. If ever
the SDU has this size the function will return. This is an old piece of
code where 255 meant -1 which was what was returned from the asn1c
encoding function if the ASN.1 message was not encodable.
2022-12-07 22:23:10 +01:00
Robert Schmidt
3d4b0ac575 Merge remote-tracking branch 'origin/fix-ue-ip' into integration_2022_wk49 2022-12-07 19:05:21 +01:00
Robert Schmidt
9c978ebf61 Merge remote-tracking branch 'origin/fix-t1-offload' into integration_2022_wk49 2022-12-07 19:05:08 +01:00
Robert Schmidt
af6458395c Merge remote-tracking branch 'origin/parallel-asn1' into integration_2022_wk49 2022-12-07 19:04:59 +01:00
Robert Schmidt
d62a111c93 Merge remote-tracking branch 'origin/NR_UE_fix_ASN1_memleak' into integration_2022_wk49 2022-12-07 19:04:53 +01:00
Robert Schmidt
78a675922c Merge remote-tracking branch 'origin/develop-chModels-Doppler' into integration_2022_wk49 2022-12-07 19:04:43 +01:00
laurent
c8c158e065 gcc ubsan detected warnings 2022-12-07 15:54:27 +01:00
Raymond Knopp
e97bf2b25a added QPSK/16QAM TX optimizations for TM2 2022-12-07 15:53:26 +01:00
Raymond Knopp
e6a2ffb42d optimization of symbols with CRS in TM2 2022-12-07 15:53:25 +01:00
Robert Schmidt
9baeae540b Doxygen: explicit cmake option, more corrections
- Correct log message for directory of generated doxygen doc
- Correct path for image
- Skip to build libraries if not requested
2022-12-07 15:45:12 +01:00
luis_pereira87
e8893bccc4 Get data from SRB 1 when generating Msg4
For example in the case of a RRCReestablishment
2022-12-07 13:30:39 +00:00
Laurent Thomas
d0be747017 Correct ue_ip driver module for RHEL9 2022-12-07 14:04:23 +01:00
Robert Schmidt
7eae19ae01 Deactivate SRS in SA tests: create RT problems 2022-12-06 21:49:58 +01:00
Robert Schmidt
562c5367b7 Merge remote-tracking branch 'origin/NR_MAC_Remove_UE_when_Msg3_TMSI' into integration_2022_wk49 2022-12-06 21:40:58 +01:00
Robert Schmidt
2729ef3894 Merge remote-tracking branch 'origin/NR_CSI_reporting_harmonization' into integration_2022_wk49 2022-12-06 21:28:34 +01:00
Robert Schmidt
53a91d0cca Merge remote-tracking branch 'origin/develop-UL-chEst-improvements' into integration_2022_wk49 2022-12-06 21:28:27 +01:00
Sakthivel Velumani
7da2ed309a Fix code indentation 2022-12-07 00:45:46 +05:30
Sakthivel Velumani
161ef33963 Free ASN1 decoder memory for BCCH 2022-12-07 00:42:13 +05:30
luis_pereira87
a980d47918 Add warning comment related with accessing MAC structures directly from RRC 2022-12-06 15:12:07 +00:00
Robert Schmidt
e797933a00 Workaround to make 4G feMBMS pass 2022-12-06 12:15:53 +01:00
Robert Schmidt
6f9fdf5d84 CI: Use correct IPAddress variable for log collection 2022-12-06 11:31:58 +01:00
Robert Schmidt
4412a2d318 Set t-Reordering to 100ms to prevent packet loss 2022-12-06 10:22:02 +01:00
francescomani
ba28a365c0 clang formatting 2022-12-06 09:18:22 +01:00
Laurent THOMAS
00d1114fa3 fix the regressions blocking doxygen documentation generation 2022-12-06 08:45:30 +01:00
laurent
a1d80515e2 add a bug fix to takcly usefully CI run 2022-12-02 16:47:21 +01:00
laurent
1e8719c183 first-fix-rrc-mac-interface 2022-12-02 16:47:21 +01:00
Robert Schmidt
68836079d4 Only force ASN.1 generation and build for certain targets 2022-12-02 15:43:18 +01:00
Robert Schmidt
35d5c432df Always trigger ASN.1 compilation at beginning 2022-12-02 15:43:18 +01:00
Robert Schmidt
34424c77eb Remove unnecessary ASN.1 macros and generation scripts 2022-12-02 15:43:18 +01:00
Robert Schmidt
feeb017eb3 Generate and build LPP ASN.1 during build time 2022-12-02 15:43:18 +01:00
Robert Schmidt
21a252a275 Generate and build M3AP ASN.1 during build time 2022-12-02 15:43:17 +01:00
Robert Schmidt
2c79b0a438 Generate and build M2AP ASN.1 during build time 2022-12-02 15:43:10 +01:00
Robert Schmidt
09b4c65782 Generate and build LTE RRC ASN.1 during build time 2022-12-02 15:43:05 +01:00
Robert Schmidt
8f2e1f6662 Only use NR RRC >= v16 2022-12-02 15:43:00 +01:00
Robert Schmidt
60bc5397e8 Generate and build NR RRC ASN.1 during build time 2022-12-02 15:42:59 +01:00
Robert Schmidt
2e6a1c36a4 Generate and build NGAP ASN.1 during build time 2022-12-02 15:42:50 +01:00
Robert Schmidt
2a93484f2b Generate and build S1AP ASN.1 during build time 2022-12-02 15:42:42 +01:00
Robert Schmidt
cf6ff96b21 Generate and build X2AP ASN.1 during build time 2022-12-02 15:42:35 +01:00
Robert Schmidt
d379e968d6 Generate and build F1AP ASN.1 during build time 2022-12-02 15:42:29 +01:00
luis_pereira87
fe413d6bc7 Remove old RNTI at MAC layer when Msg3 RRCSetupRequest carries ng-5G-S-TMSI-Part1 2022-12-02 14:40:22 +00:00
francescomani
df6a5fd864 fix SRS period and offset 2022-12-02 10:37:24 +01:00
francescomani
644f613409 adding vrb occupation to srs 2022-12-02 10:25:08 +01:00
francescomani
64c1b8ac93 adapting ul tda to srs 2022-12-02 10:25:08 +01:00
francescomani
230a6c3f45 more generic periodic SRS configuration 2022-12-02 10:25:08 +01:00
Robert Schmidt
f7c3874e20 Merge branch 'integration_2022_wk48' into 'develop'
integration_2022_wk48

See merge request oai/openairinterface5g!1845

!1781 Add 4G MBMS tests to RAN-Container-Parent
!1803 Improve dot_product function
!1836 Fix OPENAIR_DIR in CMakeLists.txt
!1840 PHR fix: re-compute TBS after reducing PRBs or MCS
!1841 Tpool: Unlock after broadcast in abortNotifiedFIFO()
!1843 NR DU: nr rrc: hotfix: set default priority correctly
!1763 Remove FlexRAN
!1789 SRB0 via RLC
!1834 cleanup of gNB PHY structures
!1844 RU: stop RF after all threads finished
!1811 NR UE improve TX thread
!1807 Harmonization of RRC SearchSpace configuration
!1819 ldpc offload: initialize R
2022-12-01 22:29:24 +00:00
Robert Schmidt
4dd1fbd891 Clean up MBMS config file 2022-12-01 20:43:15 +01:00
Robert Schmidt
47919c76dd Merge remote-tracking branch 'origin/bugfix-ldpc-T1-lowMCS' into integration_2022_wk48 2022-11-30 23:13:07 +01:00
laurent
96bde322a7 fix code quality 2022-11-30 16:29:48 +01:00
Roberto Louro Magueta
42478ead37 Update RRC configuration for DMRS type 2022-11-30 14:22:53 +00:00
Roberto Louro Magueta
0c9047e11f Fix DL channel estimation for 2-layers for DMRS Type 1 2022-11-30 14:22:53 +00:00
Roberto Louro Magueta
a35035f9a6 Remove replicated code in nr_pdsch_channel_estimation() 2022-11-30 14:22:53 +00:00
Roberto Louro Magueta
9162b115c2 Run UL 3GPP CI tests with Linear interpolation as Channel estimation technique in Frequency domain 2022-11-30 14:22:53 +00:00
Roberto Louro Magueta
eb41150d01 Filters improvement for linear interpolation as UL channel estimation technique 2022-11-30 14:22:53 +00:00
Robert Schmidt
7a254a20e1 Merge remote-tracking branch 'origin/searchspace_rrc_harmonization' into integration_2022_wk48 2022-11-30 14:39:09 +01:00
Robert Schmidt
daf30bd6de Merge remote-tracking branch 'origin/NR_UE_mthread_rework' into integration_2022_wk48 2022-11-30 14:39:03 +01:00
Robert Schmidt
c99a0557d4 Merge remote-tracking branch 'origin/fix-stop-rf-segfault' into integration_2022_wk48 2022-11-30 14:38:57 +01:00
Robert Schmidt
0171083748 Merge remote-tracking branch 'origin/NR_gNB_PHY_cleanup' into integration_2022_wk48 2022-11-30 14:38:51 +01:00
Robert Schmidt
cff0675eee Merge remote-tracking branch 'origin/srb0-use-rlc' into integration_2022_wk48 2022-11-30 14:38:45 +01:00
Robert Schmidt
d3ac2bf1fa Merge remote-tracking branch 'origin/remove-flexran' into integration_2022_wk48 2022-11-30 14:38:36 +01:00
Robert Schmidt
78399007a5 Merge remote-tracking branch 'origin/hotfix-drb-priority-cu-accelleran' into integration_2022_wk48 2022-11-30 14:37:14 +01:00
Robert Schmidt
b8c1a2953d Merge remote-tracking branch 'origin/tpool-abortfifo-fix' into integration_2022_wk48 2022-11-30 14:37:08 +01:00
Robert Schmidt
4d27c09032 Merge remote-tracking branch 'origin/NR_PHR_handling_resources_fix' into integration_2022_wk48 2022-11-30 14:37:02 +01:00
Robert Schmidt
bb27d67bc4 Merge remote-tracking branch 'origin/develop-fix-CMakeLists' into integration_2022_wk48 2022-11-30 14:36:56 +01:00
Robert Schmidt
21049fa179 Merge remote-tracking branch 'origin/better-dot_product' into integration_2022_wk48 2022-11-30 14:36:48 +01:00
Robert Schmidt
bb393cd52a MBMS is always activated 2022-11-30 14:30:38 +01:00
Robert Schmidt
287c182925 Remove FlexRAN
- Remove any FlexRAN code
- Cleanup config files
- Remove LFDS7, libyaml dependencies
2022-11-30 14:30:18 +01:00
frtabu
93a6d4087d Initial web server implementation 2022-11-30 11:36:39 +01:00
frtabu
21b3484e02 Initial web server implementation 2022-11-30 11:34:54 +01:00
Cedric Roux
3cd4b3c3fa fixes some issues found by review
- AssertFatal() in nr_rlc_srb0_recv_sdu() if the srb0 is not found
- do_RRCSetup() may return -1, handle it properly
- do_RRCReject() may return -1, handle it properly
- remove one switch in rrc_gNB_generate_RRCReject()
2022-11-29 15:22:46 +01:00
Robert Schmidt
24fceb43c2 Unlock mutex after condition signal in USRP driver 2022-11-29 14:14:19 +01:00
Robert Schmidt
968d28d5fe RU: stop RF after all threads finished
If we do not stop RF after all threads, it can happen that the RF is
finished, but another thread of the RU (e.g., reorder thread) tries to
send out a package to the RF. This can lead to a segfault, as observed
in UHD, because we free all resources before reusing them.

This commit fixes this behavior.
2022-11-29 14:12:26 +01:00
francescomani
0ab8c8d976 use SSB for reference until we have a better implementation of BWP 2022-11-29 12:26:44 +01:00
laurent
f47acc4955 fix warning 2022-11-28 11:30:41 -05:00
Sakthivel Velumani
b3092a45fd Added documentation for UE_thread design 2022-11-28 11:30:41 -05:00
Sakthivel Velumani
6d7afb014f Moved writing samples to RU inside TX function 2022-11-28 11:30:41 -05:00
Sakthivel Velumani
a01ade336f Start TX slot after receiving slot samples from RU 2022-11-28 11:30:36 -05:00
Cedric Roux
5d92e0d730 NR DU: nr rrc: hotfix: set default priority correctly
Using Accelleran CU, the DRB ID is 4 (not 1), we need to set and access
the array 'drb_priority' correctly in the DU specific functions.

Before this commit, we had the following error:
[NR_MAC]   ASN1 message CellGroupConfig encoding failed (rlc-BearerToAddModList, 18446744073709551615)!
2022-11-28 15:33:13 +01:00
Jaroslava Fiedlerova
c40d246fb0 ldpc offload: initialize R 2022-11-28 11:25:17 +01:00
laurent
d74b2bd19f improve dot_product function 2022-11-28 10:33:47 +01:00
francescomani
67544e83af re-compute TBS after reducing PRBs or MCS 2022-11-28 09:52:41 +01:00
Cedric Roux
231c2f3c5f gnb: remove srb0 shared global variable - use RLC module instead 2022-11-25 17:31:03 +01:00
Robert Schmidt
c8060da227 Tpool: Unlock after broadcast in abortNotifiedFIFO() 2022-11-25 16:53:53 +01:00
francescomani
3e2560297b harmonization of search space rrc configuration 2022-11-25 14:50:47 +01:00
Roberto Louro Magueta
bf5cf3c908 Call cdMul() function 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
3845e5cff3 Add a Doppler of 10 Hz in UL 3GPP CI tests 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
610cfc66e1 Call multipath_channel() function in nr_ulsim to apply the Doppler Effect 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
2b40675b3a Apply Doppler Effect 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
5238183336 Add Maximum Doppler Frequency in command line for nr_ulsim 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
9b04af1b52 Put the center_freq and maxDoppler as input of new_channel_desc_scm() function 2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
e44a99b3c1 Implementation of get_cexp_doppler() function to compute the Doppler Effect 2022-11-25 10:56:52 +00:00
Roberto Louro Magueta
22ac2d1dc1 Fix OPENAIR_DIR in CMakeLists.txt 2022-11-25 10:16:17 +00:00
Robert Schmidt
0f17e739ed Remove legacy pipeline 4G build results 2022-11-25 10:10:05 +01:00
Robert Schmidt
8742d00cbf Increase timeout for docker-compose log retrieval 2022-11-25 07:49:55 +01:00
Robert Schmidt
4ce7d17a35 IperfFromContainer: handle unidirectional iperfs
- Refactor iperf analysis into IperfAnalyze function
- IperfAnalyze uses server report, or uses last client report (for MBMS
  case)
- Additional check: duration as recognized in server/client report is
  according to command line
2022-11-25 07:49:55 +01:00
Robert Schmidt
d2a35f70c7 IperfFromContainer: Undeploy automatically on failure, like for Ping 2022-11-25 07:49:55 +01:00
Robert Schmidt
277786bc71 Report only 5G RFsim logs in legacy pipeline 2022-11-25 07:49:55 +01:00
Robert Schmidt
8ea5d720b8 Deactive legacy 4G RFsim pipeline 2022-11-25 07:49:55 +01:00
Robert Schmidt
0feaf87c4f Add Container 4G RFsim FeMBMS test XML 2022-11-25 07:49:55 +01:00
Robert Schmidt
ddd37527c7 Add docker-compose and config for FeMBMS test 2022-11-25 07:49:55 +01:00
Robert Schmidt
699b2ff411 Add Container 4G RFsim MBMS test XML 2022-11-25 07:49:55 +01:00
Robert Schmidt
086d0451a9 Add docker-compose and config for MBMS test 2022-11-25 07:49:55 +01:00
Robert Schmidt
7a6c212591 DeployGenObject(): log sed commands for used image 2022-11-25 07:49:55 +01:00
Robert Schmidt
232cebe6e0 UndeployGenObject(): log cmd 2022-11-25 07:49:55 +01:00
Robert Schmidt
8773e42363 Merge branch 'integration_2022_wk47' into 'develop'
integration_2022_wk47

See merge request oai/openairinterface5g!1832

!1824 NR msg4 retransmission fix
!1827 Print ASN1 messages to console only if DEBUG_ASN1 flag is enabled
!1794 Replace gaussdouble() by gaussZiggurat()
!1829 bugfix in SRS configuration
!1830 Fix infinite loop in ULSCH scheduler when scheduling for multiple UEs
!1821 Send RRCReconfiguration when RA with Msg3 through DCCH also when the UE is in the InitialBWP (review pending)
!1797 NR UE move ULSCH PHY memory to stack
!1792 NR SA Tutorials v5
!1826 Update docker documentation
!1825 Fixes to improve CI
2022-11-25 06:44:19 +00:00
Robert Schmidt
68de3b712a Check for 5G results in Jenkinsfile of legacy pipeline 2022-11-25 07:42:16 +01:00
Robert Schmidt
d745cd1f2b Merge remote-tracking branch 'origin/fixes-ci' into integration_2022_wk47 2022-11-24 19:58:30 +01:00
Robert Schmidt
da90e99723 Merge remote-tracking branch 'origin/doc-docker' into integration_2022_wk47 2022-11-24 19:58:19 +01:00
francescomani
8303ddcf6f fixes 2022-11-24 15:23:41 +01:00
francescomani
1708092aec assertion to avoid wrong CSI report slot configuration 2022-11-24 10:45:35 +01:00
francescomani
0f42998258 bugfix 2022-11-24 10:45:35 +01:00
francescomani
0dc4959741 CSI MIMO meas harmonization 2022-11-24 10:45:35 +01:00
francescomani
4856c17770 harmonization of RSRP meas config 2022-11-24 10:45:35 +01:00
Robert Schmidt
7b4021cc12 Add instructions to run container with custom config 2022-11-24 10:15:31 +01:00
francescomani
5115f5c928 cleanup of unused gnb phy fields 2022-11-23 19:04:56 +01:00
Robert Schmidt
8835296fc6 Update README in top-level and docker folder 2022-11-23 18:12:16 +01:00
Robert Schmidt
e33f058f03 Merge remote-tracking branch 'origin/NR_SA_Tutorials_v5' into integration_2022_wk47 2022-11-23 16:30:38 +01:00
Robert Schmidt
06753f0a32 Merge remote-tracking branch 'origin/NR_UE_ulsch_local_vars' into integration_2022_wk47 2022-11-23 16:25:29 +01:00
Robert Schmidt
cb764590e8 Merge remote-tracking branch 'origin/Trigger_RRCReconfiguration_on_InitialBWP' into integration_2022_wk47 2022-11-23 16:25:22 +01:00
Robert Schmidt
fcfddc7e34 Merge remote-tracking branch 'origin/Fix_ulsch_scheduler_multi_ues' into integration_2022_wk47 2022-11-23 16:25:12 +01:00
Robert Schmidt
69e42bf418 Merge remote-tracking branch 'origin/NR_SRS_config_bugfix' into integration_2022_wk47 2022-11-23 16:18:25 +01:00
Robert Schmidt
5c864e075a Merge remote-tracking branch 'origin/develop-gaussZiggurat' into integration_2022_wk47 2022-11-23 16:18:01 +01:00
Robert Schmidt
a41415673d Merge remote-tracking branch 'origin/NR_RRC_xer_fprint_only_when_DEBUG_ASN1' into integration_2022_wk47 2022-11-23 16:17:48 +01:00
Robert Schmidt
1b468ba5a3 Merge remote-tracking branch 'origin/NR_msg4_retransmission_fix' into integration_2022_wk47 2022-11-23 16:17:32 +01:00
Sagar Arora
1201364490 Adding node selector for jobs 2022-11-23 13:15:14 +01:00
luis_pereira87
aebe83e45b Fix infinite loop in ULSCH scheduler when scheduling for multiple UEs 2022-11-22 21:09:18 +00:00
Sakthivel Velumani
3c8478f785 Moved PHY ULSCH struct to stack 2022-11-22 11:54:18 -05:00
francescomani
9bd08a1ddd bugfix in SRS configuration 2022-11-22 13:54:20 +01:00
luis_pereira87
0a40945ae0 Print ASN1 messages to console only if DEBUG_ASN1 flag is enabled 2022-11-21 18:14:29 +00:00
Robert Schmidt
1dc4542349 CI: Improve ASUE test gNB configuration 2022-11-21 16:25:00 +01:00
Robert Schmidt
24d42aacd6 Tune configs for N310-based SA test 2022-11-21 15:45:14 +01:00
Robert Schmidt
9604d54edf Increase precoding timing measure for N310-based gNB SA test 2022-11-21 14:30:25 +01:00
Robert Schmidt
bfcf115298 Tpool: use condbroadcast() in case multiple waits on the same signal 2022-11-21 13:47:41 +01:00
francescomani
e487c76260 fix msg4 failing retransmissions 2022-11-21 11:48:46 +01:00
Robert Schmidt
1576f353f3 CI: ran-build image on acamas
OC selected dedale, which is a real-time node. There are two issues:
- build jobs received a KILL signal
- it would not play nicely with real-time loads
We therefore hardcode another node.
2022-11-21 11:15:16 +01:00
francescomani
daf890932c avoid gnb stalling on retransmissions 2022-11-21 11:11:49 +01:00
Robert Schmidt
92e6b5e5be Merge branch 'integration_2022_wk46' into 'develop'
integration_2022_wk46

See merge request oai/openairinterface5g!1822

!1782 NR UE improve RA procedures (pt.1)
!1801 fix in NR PUCCH scheduler when the list is larger than a frame
!1802 workaround issue of N310 with UHD >= 4.2.0 when changing the BW
!1804 Fix for NR MSG4 scheduler
!1805 Pucch2 hotfix
!1808 fix NFAPI_MAX_NUM_UL_PDU according to SCF specifications
!1810 F1 fixes for interoperability with Accelleran CU
!1786 removing PRB at DC to avoid wrong noise level computation for PUSCH
!1813 Fix broken multiple DRBs
!1816 NR ULSCH/DLSCH scheduler fixes
!1660 Add SA test with COTS UE and F1 split
!1795 feat(ci): transition the Slack notification from old pipeline to container-based pipeline
2022-11-20 20:38:46 +00:00
Sagar Arora
8e14982525 Containers should keep running to copy autotests logs 2022-11-18 16:35:24 +01:00
Robert Schmidt
3da7dafd32 Merge remote-tracking branch 'origin/ci-slack-notifications-transition' into integration_2022_wk46 2022-11-18 16:20:36 +01:00
Robert Schmidt
d0edbd7bc0 Merge remote-tracking branch 'origin/ci-ran-sa-tests' into integration_2022_wk46 2022-11-18 16:20:31 +01:00
Robert Schmidt
39cf6006d8 Merge remote-tracking branch 'origin/NR_ULSCH_scheduler_fixes' into integration_2022_wk46 2022-11-18 16:20:24 +01:00
Robert Schmidt
03640f23d0 Merge remote-tracking branch 'origin/fix_multiple_drbs' into integration_2022_wk46 2022-11-18 16:20:15 +01:00
Robert Schmidt
2b7aacd32e Merge remote-tracking branch 'origin/NR_PUSCH_noise_workaround' into integration_2022_wk46 2022-11-18 16:18:23 +01:00
Luis Pereira
2e2246f946 Fix tx Msg.4 after rx Msg.3 through DCCH/DTCH 2022-11-18 16:16:05 +01:00
Raphael Defosseux
e396af8349 fix(ci): proxy push does not follow the same pattern
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-11-18 16:08:47 +01:00
Raphael Defosseux
665b5baeed feat(ci): transition the Slack notification from old pipeline to container-based pipeline.
* Also added a parameter for the registry push pipeline.
   Valid mainly when triggering manually the pipeline when run on develop fails.
 * Nicer message2 construction

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-11-18 16:08:23 +01:00
KARIM BOUTIBA
e469278b0a Fix ASN.1 encoding for multiple DRBs 2022-11-18 15:45:17 +01:00
Sagar Arora
d363a3fb1d Fixing cls_physim
- Un deployment of helm charts at some places
- Added check for completed pods
2022-11-18 10:47:24 +01:00
Robert Schmidt
59c4bb86d8 Check retransmissions for SA F1 test 2022-11-18 09:39:37 +01:00
Robert Schmidt
cb8408e7ff AnalyzeLogFile_eNB: eNBlogFile will implicitly be in current directory 2022-11-18 09:39:23 +01:00
Robert Schmidt
375776d891 Bugfix: retransmission can be up to 100% 2022-11-18 09:31:21 +01:00
Robert Schmidt
ec4632590a Merge remote-tracking branch 'origin/f1-interop-fixes' into integration_2022_wk46 2022-11-17 18:32:30 +01:00
Robert Schmidt
5c11306d76 Merge remote-tracking branch 'origin/fix_fapi_max_ul_pdus' into integration_2022_wk46 2022-11-17 18:32:25 +01:00
Robert Schmidt
ceaacbd60d Merge remote-tracking branch 'origin/pucch2-hotfix' into integration_2022_wk46 2022-11-17 18:32:17 +01:00
Robert Schmidt
99a7a7a747 Merge remote-tracking branch 'origin/fix_NR_msg4_scheduler' into integration_2022_wk46 2022-11-17 18:32:11 +01:00
Robert Schmidt
c0392a8496 Merge remote-tracking branch 'origin/n310_uhd_workaround' into integration_2022_wk46 2022-11-17 18:32:04 +01:00
Robert Schmidt
cbc98579d6 Merge remote-tracking branch 'origin/fix_NR_PUCCH_scheduler' into integration_2022_wk46 2022-11-17 18:31:56 +01:00
Robert Schmidt
f54f1fd61d Merge remote-tracking branch 'origin/NR_UE_improve_RA' into integration_2022_wk46 2022-11-17 18:31:45 +01:00
luis_pereira87
818ca5cfaa Tutorials: upgrade to Ubuntu 22.04, UHD 4.3.0.0, docker-compose v2.12.2 and add more DNNs to docker-compose to avoid duplicated (default) values when parsing the file 2022-11-17 17:18:57 +00:00
Sagar Arora
f8d56cb428 Fixing the chart repository 2022-11-17 18:14:43 +01:00
francescomani
920c866e42 fix for msg4 scheduler in case vrb map for selected slot is occupied 2022-11-17 18:10:36 +01:00
francescomani
623d0e362d further fixes in ulsch (and dlsch) scheduler 2022-11-17 18:01:50 +01:00
luis_pereira87
8a37a2dadb Send RRCReconfiguration when RA with Msg3 through DCCH also when the UE is in the InitialBWP
This commit re-enables SRS when Msg3 through DCCH in InitialBWP that seems to be disabled after the RA (the same behaviour for other configurations may happen, so it is safer to send always the RRCReconfiguration when we have this RA).
2022-11-17 16:02:59 +00:00
Sagar Arora
c1f685dc46 remove unused files and fix typos 2022-11-17 16:39:30 +01:00
Sagar Arora
f44a210d8a Clean the helm-charts and fix cls_physim
- added right pod selector in cls_physim
2022-11-17 14:26:46 +01:00
Robert Schmidt
4591eac556 extend comment on issue with USRP N310 and UHD >= 4.2.0 2022-11-16 09:22:32 +00:00
francescomani
22617b21d4 fixes for 2 bugs in the ULSCH scheduler 2022-11-15 09:32:05 +01:00
luis_pereira87
991de3623a Tutorials: Change PLMN to the 3GPP Test Network 2022-11-14 11:06:02 +00:00
luis_pereira87
a398c5a9f4 Tutorials: add instructions to run OAI UE with B210 and RFsimulator 2022-11-14 10:49:15 +00:00
luis_pereira87
7a664c00fd Tutorials: improvements on "Advanced configurations" section 2022-11-14 10:49:15 +00:00
Thomas Schlichter
9eb1d24504 fix size of arrays n0_subband_power and n0_subband_power_dB 2022-11-11 10:50:09 +01:00
Thomas Schlichter
b257959dd4 fix display of UL signal energy and PUCCH signal energy 2022-11-11 10:48:16 +01:00
Thomas Schlichter
5aa75cb689 fix noise calculation also for odd number of PRBs 2022-11-11 10:43:25 +01:00
Sagar Arora
ff738b7bf9 (fix): Remove sudo privilege from helm-charts
- Change security context to anyuid
- Changed from deployment to job, now the pods will be in completed
2022-11-10 11:20:54 +01:00
laurent
1336a41024 add time measurement in phy sim CI test 2022-11-09 18:58:09 +00:00
laurent
5ee6cf5de7 change the logic in cmake_targets/autotests/run_exec_autotests.bash to run all runs of same test in // 2022-11-09 18:58:09 +00:00
laurent
6ceaf084bc remove usage of /dev/random in case openshit has a problem with this
remove usage of /dev/random in case openshit has a problem with this
2022-11-09 18:58:09 +00:00
laurent
2d46638aa1 fix cpu cost in phy simulation with sanitize addr, some code un-obfuscation 2022-11-09 18:58:09 +00:00
laurent
d9660677c4 start snr closer to the target for nr pbchsim 2022-11-09 18:58:09 +00:00
Roberto Louro Magueta
255ad24410 Replace gaussdouble() by gaussZiggurat() in random_channel() and add_noise() 2022-11-09 18:58:09 +00:00
Cedric Roux
7853673db7 f1 du: little hackish fix to get correct drb
I have a more complex fix that I'll put in a later merge request. That does
the job for the time being.
2022-11-09 17:00:11 +01:00
Cedric Roux
df45820f71 f1 du: get IP address for UL UP GTP tunnel from the right place 2022-11-09 15:43:22 +01:00
Cedric Roux
d2f456e089 bugfix: call nr_rlc_get_available_tx_space() with lcid, not rb id 2022-11-09 15:42:50 +01:00
francescomani
6e789bc275 update NFAPI_MAX_NUM_UL_PDU according to SCF specifications 2022-11-09 15:27:59 +01:00
Cedric Roux
d4356efc70 f1 du: get list of sst/sd from configuration file
may not be the best place to get data from conf file, to be refined later
if needed
2022-11-09 12:40:41 +01:00
Robert Schmidt
0cacf29dbb Merge branch 'integration_2022_wk44' into 'develop'
integration_2022_wk44

See merge request oai/openairinterface5g!1800

!1745 Configurable re-transmission rounds in dlsim and ulsim
!1699 NR RRC pdsch_Config harmonization
!1787 Bugfix in Delta_TF calculation for PHR
!1790 remove unused NR RRC code
!1774 Fix BWP switching to the previous active BWP when there is a RA with Msg3 through DCCH or DTCH
!1772 Add RRC measurement configuration and handling
!1731 replacing call to RRC processing timers for msg3 dcch
!1764 NR_UE: improve timing and initial frequency synchronization
!1777 NR UE move DLSCH PHY memory to stack
!1791 missed to test return code of bind()
2022-11-09 05:40:27 +00:00
francescomani
821e3ad5ce set random payload for pucchsim 2022-11-08 11:25:41 +01:00
Thomas Schlichter
0e520e9456 fix in NR PUCCH scheduler when the list is larger than a frame
based on a patch from Francesco Mani <email@francescomani.it>
2022-11-07 15:33:20 +01:00
Raymond Knopp
bf370cc55d fixed correlation computation in pucch_rx.c 2022-11-05 21:54:23 +01:00
Raymond Knopp
96622f6b80 debugging of pucch2, logging 2022-11-05 13:56:53 +01:00
Thomas Schlichter
21721e967b workaround issue of N310 with UHD >= 4.2.0 when changing the BW
UHD issue was reported here:
https://github.com/EttusResearch/uhd/issues/644
2022-11-04 18:18:35 +01:00
francescomani
159c9b6e4b bugfix in ulsim 2022-11-04 12:37:01 +01:00
Robert Schmidt
5f15662444 Merge remote-tracking branch 'origin/rfsim-bug-multi-listners' into integration_2022_wk44 2022-11-04 11:03:33 +01:00
Robert Schmidt
6b80da0baa Merge remote-tracking branch 'origin/NR_UE_dlsch_local_var' into integration_2022_wk44 2022-11-04 11:00:41 +01:00
Robert Schmidt
408a1c01d7 Merge remote-tracking branch 'origin/NR_RRC_config_cleanup' into integration_2022_wk44 2022-11-04 11:00:12 +01:00
Robert Schmidt
e5eabe203e Merge remote-tracking branch 'origin/NR_DeltaTF_hotfix' into integration_2022_wk44 2022-11-04 10:59:55 +01:00
Robert Schmidt
b89daf68b7 Merge remote-tracking branch 'origin/Fix_BWP_switching_when_Msg3_DCCH' into integration_2022_wk44 2022-11-04 10:59:50 +01:00
Robert Schmidt
bacce39af7 Merge remote-tracking branch 'origin/rrc-meas' into integration_2022_wk44 2022-11-04 10:57:37 +01:00
Robert Schmidt
3e0efbdeb2 Merge remote-tracking branch 'origin/nr_ue_improve_time_and_freq_sync' into integration_2022_wk44 2022-11-04 10:55:56 +01:00
Arash Sahbafard
ec25c623d1 Fix: check RFsim bind() return code 2022-11-04 09:26:46 +01:00
Sakthivel Velumani
662897e0c5 Remove mlock
Modern hardware have large RAM and don't need mlock.
2022-11-03 16:27:25 -04:00
Robert Schmidt
00106a7ec8 Merge remote-tracking branch 'origin/configurable_rounds_in_sim' into integration_2022_wk44 2022-11-03 20:10:00 +01:00
Robert Schmidt
e9126363ea Merge remote-tracking branch 'origin/removing_calltotimers_for_msg3_dcch_dtch' into integration_2022_wk44 2022-11-03 20:09:51 +01:00
Robert Schmidt
4214f3971d Merge remote-tracking branch 'origin/NR_RRC_PDSCH_config_harmonization' into integration_2022_wk44 2022-11-03 20:09:43 +01:00
francescomani
4e80dc4a20 move PL comutation at MAC 2022-11-03 17:56:20 +01:00
Robert Schmidt
1c73dec53f Update FEATURE_SET.md 2022-11-03 17:19:22 +01:00
Robert Schmidt
1ae1b0aa9f Print RRC meas periodically 2022-11-03 17:19:22 +01:00
Robert Schmidt
6762342d25 Add periodic RRC measurements 2022-11-03 17:19:22 +01:00
Robert Schmidt
1c778ef382 Refactor and enable logging in nrRRC_stats.log 2022-11-03 17:18:57 +01:00
francescomani
a962ba8d5b replacing call to RRC processing timers for msg3 dcch 2022-11-03 13:55:07 +01:00
Thomas Schlichter
5063957a16 fix merge artefact in nr_dl_channel_estimation.c 2022-11-03 09:43:03 +01:00
Thomas Schlichter
c5e68e146c NR_UE: increase the accuracy of the filtered peak position value 2022-11-03 09:42:57 +01:00
Thomas Schlichter
39fe985681 NR_UE: slightly improve timing synchronization by minimizing the adjustment of the filtered peak position value 2022-11-03 09:42:47 +01:00
Thomas Schlichter
a7d9f94ef3 NR_UE scope: show complete CIR 2022-11-03 09:42:41 +01:00
Thomas Schlichter
cd8122d24d NR_UE: fix frequency offset estimation/compensation if SSB is in the second captured frame 2022-11-03 09:42:27 +01:00
Thomas Schlichter
f73fcd94ee NR_UE: fix/add some debugging in nr_adjust_synch_ue.c and nr_dl_channel_estimation.c 2022-11-03 09:41:51 +01:00
Thomas Schlichter
a2c6ad42e4 NR_UE: minor improvements in nr_initial_sync() 2022-11-03 09:41:14 +01:00
Thomas Schlichter
b94d6b5b33 remove unsupported "thread_pool_size" parameter from conf files 2022-11-03 09:37:41 +01:00
Thomas Schlichter
9ae6095a78 nr_ulsim: fix calculation of statistics 2022-11-03 09:37:28 +01:00
Thomas Schlichter
54b7fde0aa NR_UE: fix noise in PDCCH scope 2022-11-03 09:31:57 +01:00
Sakthivel Velumani
ea72306c38 Moved DLSCH PHY structure to stack 2022-10-31 18:22:27 -04:00
francescomani
3cd342f74a remove unused RRC code 2022-10-31 10:42:37 +01:00
francescomani
847044a5a6 fix bad merge 2022-10-31 09:48:45 +01:00
luis_pereira87
dbb6182124 Fix BWP switching to the previous active BWP when there is a RA with Msg3 through DCCH or DTCH 2022-10-30 09:38:56 +00:00
francescomani
1304a682fc fix usage of FAPI new data indicator for PUSCH 2022-10-29 14:29:35 +02:00
francescomani
c2e80ffe9f ndi init fix 2022-10-29 14:29:35 +02:00
francescomani
254491481f addressing review and correcting indentation 2022-10-29 14:29:35 +02:00
francescomani
3a8db593d9 removing unnecessary code for re-transmission in ulsch decoding 2022-10-29 14:25:05 +02:00
francescomani
c3d863a6e5 configurable max nb of rounds in dlsim 2022-10-29 14:25:05 +02:00
francescomani
4c21c2d172 configurable max nb of rounds in ulsim 2022-10-29 14:25:05 +02:00
francescomani
3b53d82b26 avoiding to use tx_lev since it was breaking prachsim (also some formatting) 2022-10-29 14:16:12 +02:00
francescomani
21b14dddb4 removing unused code in dummy functions 2022-10-29 14:16:12 +02:00
francescomani
c07cbce037 better handling of PRACH TX power to improve separation between PHY and MAC 2022-10-29 14:16:12 +02:00
francescomani
c9553fe696 moving prach_resources to MAC 2022-10-29 14:16:12 +02:00
francescomani
e0cdf278b5 remove init_msg1 and sync_frame from prach structure 2022-10-29 14:02:23 +02:00
Robert Schmidt
a50a14a9aa CI: Collect all *.log 2022-10-29 12:48:55 +02:00
Robert Schmidt
3ae26431eb Do not require "Bye." to be in last line 2022-10-29 12:48:55 +02:00
Robert Schmidt
e17575f52a SA test monolithic: no timing measurements 2022-10-29 12:48:55 +02:00
Robert Schmidt
68f8914868 Add iperf for Quectel 20MHz SA test 2022-10-29 12:48:55 +02:00
Robert Schmidt
a40baf6957 Add scenario XML for SA F1 with Quectel 2022-10-29 12:48:55 +02:00
Robert Schmidt
3f32164e2c Add docker-compose for SA F1 test with Quectel 2022-10-29 12:48:55 +02:00
Robert Schmidt
c985210668 Update SA b200 Quectel config to 20 MHz 2022-10-29 12:48:55 +02:00
Robert Schmidt
4bc8ef3f80 Make service configurable in DeployObject, UndeployObject stops multiple
Service name can be used to start individual services. Uses only
docker-compose primitives, which can later be used to use the
docker-compose SSH functionality to (un)deploy services.

UndeployObject stops all referenced services
2022-10-29 12:48:55 +02:00
Robert Schmidt
a5e21fd082 Correct env var for DU in entrypoint 2022-10-29 12:45:49 +02:00
Robert Schmidt
b29f0af4b3 Harmonize SA gNB B200 and DU config (used for B200 and RFsim) 2022-10-29 12:45:49 +02:00
Robert Schmidt
408d96adbd Generally disable 256 QAM for F1 2022-10-29 12:45:49 +02:00
Robert Schmidt
10bdf3a2e3 Shorten Tab name 2022-10-29 12:45:49 +02:00
Robert Schmidt
3856a00215 SA Quectel test: tear-down on correct server in case of problems 2022-10-29 12:45:49 +02:00
Robert Schmidt
4940146ff8 Merge branch 'integration_2022_wk43' into 'develop'
integration_2022_wk43

See merge request oai/openairinterface5g!1783

!1679 NR MAC PUCCH rework
!1723 Disabling dualConnectivityPHR
!1759 cleanup NR UE dead code
!1767 Fixes in CSI UE reception and reporting
!1775 Generate SRS sequence for every received SRS signal
!1776 SIMDE fix: Native AVX intrinsic call as macro
!1778 CI: Log pod build statistics
!1779 Tutorials: minor updates and improvements
!1780 feat(ci): migrating all LTE monolithic scenarios w/ docker approach
!1686 TDLA30, TDLB100 and TDLC300 channel models
!1769 PDU decoding workaround when there are issues in UL TB payload
!1753 numactl and thread-pinning in CI
!1784 PSEA - SABOX - fix apn issue
2022-10-29 10:36:11 +00:00
francescomani
f3aac37427 bugfix in delta_tf calculation 2022-10-28 19:01:59 +02:00
Robert Schmidt
7082fcfad3 Merge remote-tracking branch 'origin/psea-sabox-fix-apn' into integration_2022_wk43 2022-10-28 18:15:14 +02:00
Robert Schmidt
4b517de17f Merge remote-tracking branch 'origin/phytest-numactl' into integration_2022_wk43 2022-10-28 18:15:10 +02:00
Robert Schmidt
b5952593ac Merge remote-tracking branch 'origin/gNB_MAC_PDU_decoding_improvements' into integration_2022_wk43 2022-10-28 18:15:06 +02:00
Angelo Athanassopoulos
07abf4329d PSEA - IEI DNN - This is the last IEI in the message.
Before this commit each time the message was captured, it entered the
default switch statement, which is meant to show that  we received an
uknown IEI.

Now after the DNN IEI, we set offset=msg_length, to exit the
switch.
2022-10-28 13:54:13 +02:00
Angelo Athanassopoulos
43f3d03ddb PSEA - IEI DNN - protect code from a bad DNN length received from the network 2022-10-28 13:24:25 +02:00
Angelo Athanassopoulos
8e4ebb078a PSEA - IEI DNN - added macro for min DNN length 2022-10-28 12:55:58 +02:00
Robert Schmidt
31df643909 Add new 60 MHz 2x2 timing stats file 2022-10-28 11:41:42 +02:00
Robert Schmidt
dff94f6b32 Update 1x1 40 and 60 MHz thresholds 2022-10-28 11:41:18 +02:00
Robert Schmidt
27f2bd454e SA N310 test: pin threads, use numactl 2022-10-28 09:31:23 +02:00
Robert Schmidt
49d9d0443b Add new phytest test stage for 60MHz 2x2 2022-10-28 09:31:23 +02:00
Robert Schmidt
ec7e09353f Add numactl for phytest-timing test 2022-10-28 09:31:23 +02:00
Robert Schmidt
40159bdf4d Define cmd_prefix for Initialize_eNB 2022-10-28 09:31:23 +02:00
Robert Schmidt
058c6a4f26 Add Config file for 162PRB phytest 2022-10-28 09:31:23 +02:00
Robert Schmidt
978753d6ac Delete unused 162PRB XML test stages file 2022-10-28 09:23:12 +02:00
Angelo Athanassopoulos
d91cfdc6cf PSEA - Remove of unused ASCII macro definition 2022-10-27 20:05:16 +02:00
Angelo Athanassopoulos
dbd00175a7 PSEA - SABOX fix - Avoid the infinite loop, when not receiving an APN Operator Identifier 2022-10-27 20:01:08 +02:00
Robert Schmidt
01ef8c2f84 Merge remote-tracking branch 'origin/develop-channel-models' into integration_2022_wk43 2022-10-27 18:53:32 +02:00
Robert Schmidt
dd1d80bdc8 Merge remote-tracking branch 'origin/ci-legacy-monolithic' into integration_2022_wk43 2022-10-27 18:53:08 +02:00
Angelo Athanassopoulos
bef72dd747 PSEA - SABOX fix - changed the max accumulated apn length 2022-10-27 18:53:01 +02:00
Robert Schmidt
536bf6affd Merge remote-tracking branch 'origin/NR_SA_Tutorials_v4' into integration_2022_wk43 2022-10-27 18:53:00 +02:00
Robert Schmidt
92178e3e61 Merge remote-tracking branch 'origin/ci-analysis-cluster' into integration_2022_wk43 2022-10-27 18:52:54 +02:00
Robert Schmidt
ae592943d2 Merge remote-tracking branch 'origin/SIMDE_fix_no_optim' into integration_2022_wk43 2022-10-27 18:52:30 +02:00
Robert Schmidt
4f7b2db2f2 Merge remote-tracking branch 'origin/BWP_switching-fix-SRS' into integration_2022_wk43 2022-10-27 18:51:59 +02:00
Robert Schmidt
f3397d0c9b Merge remote-tracking branch 'origin/NR_CSI_UE_fixes' into integration_2022_wk43 2022-10-27 18:51:14 +02:00
Robert Schmidt
652df48a99 Merge remote-tracking branch 'origin/NR_UE_deadcode_cleanup' into integration_2022_wk43 2022-10-27 18:51:03 +02:00
Robert Schmidt
2706b4ff2e Merge remote-tracking branch 'origin/disabling_dualconnectivity_PHR' into integration_2022_wk43 2022-10-27 18:50:54 +02:00
Robert Schmidt
ebd622ac3c Merge remote-tracking branch 'origin/NR_MAC_PUCCH_rework' into integration_2022_wk43 2022-10-27 18:50:46 +02:00
francescomani
3b0cad7bb5 removing middle PRB to avoid wrong noise level computation for PUSCH 2022-10-27 18:48:57 +02:00
Robert Schmidt
f4982ca060 Retrieving pod statistics at the end of physim run 2022-10-27 18:41:34 +02:00
luis_pereira87
559670fd85 Add UL 3GPP tests in CI 2022-10-27 17:23:26 +01:00
Roberto Louro Magueta
d388be80c0 Compute log2_maxh for UL channel estimation using nb_antennas_rx 2022-10-27 17:23:26 +01:00
Roberto Louro Magueta
6b83d9e0f1 Compute normalization channel factor 2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
9b594ff3b6 Fix AWGN channel 2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
abb6fadd19 Implementation of function add_noise() 2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
f8160bd34a Change input command line from -g 2 A l to -g A,l and add channel correlation level as command line option in ulsim 2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
6f51b930c1 Put the correlation level (low, medium or high) as input of new_channel_desc_scm() 2022-10-27 17:07:25 +01:00
Roberto Louro Magueta
3d966b09e8 TDL channel model implementation for low, medium and high correlation scenarios 2022-10-27 17:07:25 +01:00
Roberto Louro Magueta
ac39d3b48c Remove the hardcoded channel matrix H_awgn_mimo from nr_ulsim 2022-10-27 16:54:59 +01:00
Roberto Louro Magueta
c3a51d771c Implementation of tables G.2.1.1-2, G.2.1.1-3 and G.2.1.1-4 of TS 38.104, for TDLA30, TDLB100 and TDLC300 channel models 2022-10-27 16:54:59 +01:00
Roberto Louro Magueta
c14b39b07f Add TDLA30, TDLB100 and TDLC300 in channel model options and improve the help log 2022-10-27 16:54:59 +01:00
francescomani
3247cdd0c3 addressing review 2022-10-27 12:52:10 +02:00
Raphael Defosseux
3e5deb4385 fix(ci): after code review
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-27 12:29:34 +02:00
Raphael Defosseux
187b3915b2 fix(ci): little typos in the scenario HTML tab references
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-27 09:33:47 +02:00
Raphael Defosseux
4bf6ce323e fix(ci): when running the bare-metal pipelines, some files are already on the target side with root ownership. Copy is bypassed
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-27 09:33:01 +02:00
Raphael Defosseux
f3594a663a fix(ci): fixing log collection for xNB run logs and iper operations
* Copying everything back to the python executor workspace
    * For iperf operations, client and server logs are always copied,
      even when successful
    * for xNB run logs, since we could delete completely xNB workspaces
      on the python executor, they are always there
  * Copying back to the xNB server #0 for artifacting

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-26 21:35:18 +02:00
Raphael Defosseux
c447b814c2 feat(ci): triggering LTE Monolithic pipelines
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-26 20:59:19 +02:00
Sagar Arora
decaec0860 (fix): typo in collecting pod resource metrics 2022-10-26 10:27:49 +02:00
Raphael Defosseux
cab10e857e fix(ci): should not return an error
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-25 16:50:34 +02:00
Raphael Defosseux
f8c82e69b9 feat(ci): migrating all LTE monolithic scenarios w/ docker approach
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-25 15:49:42 +02:00
luis_pereira87
c64c3e6182 Tutorials: minor updates and improvements 2022-10-25 14:33:04 +01:00
Sagar Arora
1ed52cb4d2 Changing the cluster node name 2022-10-25 14:09:51 +02:00
Robert Schmidt
2f28b5795f Collect cluster pod metrics during build 2022-10-24 17:23:24 +02:00
francescomani
0df6dfba94 fixing the new PUCCH procedures 2022-10-24 16:30:21 +02:00
Robert Schmidt
a3aead9d9f Assign ran-build and oai-physim build jobs to different nodes 2022-10-24 15:16:29 +02:00
Robert Schmidt
55d13bd19a Log pod build statistics 2022-10-24 12:37:38 +02:00
Sakthivel Velumani
d18813b867 Native AVX intrensic call as macro 2022-10-21 18:47:58 -04:00
Raphael Defosseux
5324e0c18a fix(ci): since we removed images from builder server, we need to pull them back before pushing to Docker-Hub
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-21 18:54:30 +02:00
Raphael Defosseux
3059ad4ebd fix(ci): fix running simulators
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-21 16:22:23 +02:00
francescomani
99a22ba9ed pdsch_Config harmonization 2022-10-21 16:11:57 +02:00
Robert Schmidt
a0fae95c79 Merge branch 'integration_2022_wk42b' into 'develop'
integration_2022_wk42b

See merge request oai/openairinterface5g!1773

MR !1479 [CI] Update for retransmission checkers
MR !1733 pusch_Config harmonization
MR !1748 Fixes for build on centos 7/8, SIMDE, auto-detect AVX2/512 and architecture
MR !1756 feat(ci): adding push / pull images operations to/from a local registry
MR !1760 Add time stamp in the logs
MR !1761 Merge targets/COMMON to executables
MR !1771 Draft: Remove CN_UTIL
MR !1770 (fix): removing the amf fqdn paramter
MR !1768 Rename radio folder
MR !1766 NR UE fix rxdata allocation
MR !1720 NR MIMO 2x2 Support Hooks in L2simulator
2022-10-21 13:09:39 +00:00
Robert Schmidt
925563ba97 Additional removal of '#' in amarisoft prompt 2022-10-21 10:55:04 +02:00
Roberto Louro Magueta
408e7abd2f Generate SRS sequence for every received SRS signal 2022-10-20 14:39:17 +01:00
Robert Schmidt
1acb719b5e Change CI SSHConnection class open() and Amarisoft UE class prompt
The Amarisoft root prompt contained '#' (as usual for root). However, to
integrate this into the UE management logic (cls_module_ue.py), we are
forced to use '$'. We changed the root command prompt to use '$', and
therefore change it here as well.
2022-10-20 15:02:18 +02:00
Robert Schmidt
b9db3044fb Merge remote-tracking branch 'origin/episys-5g-mimo' into integration_2022_wk42b 2022-10-20 15:00:32 +02:00
Robert Schmidt
b1352c9d00 Merge remote-tracking branch 'origin/NR_UE_fix_rxdata' into integration_2022_wk42b 2022-10-20 15:00:25 +02:00
Robert Schmidt
79857ec8e6 Merge remote-tracking branch 'origin/rename_sdr_radio' into integration_2022_wk42b 2022-10-20 15:00:12 +02:00
Robert Schmidt
8a290ece2a Merge remote-tracking branch 'origin/resolve_fqdn' into integration_2022_wk42b 2022-10-20 14:57:52 +02:00
Robert Schmidt
c36a1ef453 Merge remote-tracking branch 'origin/rm_CN_UTILS' into integration_2022_wk42b 2022-10-20 14:57:41 +02:00
Robert Schmidt
b3d4321d77 Merge remote-tracking branch 'origin/common_to_executables' into integration_2022_wk42b 2022-10-20 14:57:29 +02:00
Robert Schmidt
9771036efb Merge remote-tracking branch 'origin/logImp' into integration_2022_wk42b 2022-10-20 14:57:13 +02:00
Robert Schmidt
627b8d92d3 Merge remote-tracking branch 'origin/ci-local-registry' into integration_2022_wk42b 2022-10-20 14:57:01 +02:00
Robert Schmidt
d4536d2064 Merge remote-tracking branch 'origin/centos-and-noavx2' into integration_2022_wk42b 2022-10-20 14:56:47 +02:00
Robert Schmidt
e252115323 Merge remote-tracking branch 'origin/NR_RRC_PUSCH_config_harmonization' into integration_2022_wk42b 2022-10-20 14:56:27 +02:00
Sagar Arora
048c7df304 (fix): Remove the AMF FQDN parameter
- there are extra variables in gnb_entrypoint.sh to resolve FQDN which
  are superfluous
- allowing nrue config to use gnb fqdn and ip-address
- rfsimulator parameter is not used in all docker-compose so it should be optional
- make amf ip-address optional
2022-10-20 14:29:50 +02:00
Robert Schmidt
3462357b3b Do not exit immediately on error in entrypoint scripts 2022-10-20 14:29:50 +02:00
francescomani
e79b926905 rename sdr to radio 2022-10-19 17:42:26 +02:00
mir
d671d8adab Remove CN_UTIL 2022-10-19 14:45:07 +02:00
Raphael Defosseux
1a0d91fd76 feat(ci): changing the XML structure for pulling images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-19 09:16:37 +02:00
luis_pereira87
705c6b76d2 gNB MAC PDU decoding improvements when there are issues in UL TB payload (MAC subPDU overlap) 2022-10-18 15:34:28 +01:00
francescomani
bb28445567 fixes in CSI UE reception and reporting for multiple BWPs 2022-10-18 16:09:42 +02:00
Raphael Defosseux
937be093c1 feat(ci): adding back the 1st FDD monolithic scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 15:34:43 +02:00
Raphael Defosseux
8bd8ae74f3 fix(ci): CoreNetwork operations do not require input parameters from XML
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 15:33:53 +02:00
Raphael Defosseux
a42716d5fb feat(ci): the first tab in HTML report is now open
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 15:33:13 +02:00
Raphael Defosseux
28fb8fbdd4 fix(ci): post-review changes and fix on the HTML reporting
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 15:32:41 +02:00
Robert Schmidt
914d7302b3 Remove deprecated config parameters 2022-10-18 15:26:26 +02:00
Robert Schmidt
798679dcfe Remove redundant file 2022-10-18 15:24:48 +02:00
Robert Schmidt
9155befaf6 Add error messages if a TBS cannot be decoded 2022-10-18 15:24:48 +02:00
Melissa Elkadi
1c7576bdf9 Updating proxy commit # for 4G and 5G L2sim test 2022-10-18 15:24:48 +02:00
Melissa Elkadi
f8efb13b7d NR MIMO 2x2 Support
This commit provides CSI reporting support
which is required for MIMO.  It also updates
the configuration files, provides sample BLER
simualtion files for packet dropping in the
MIMO 2x2 case. It also includes the hooks
and functions (e.g., updating UCI2_3_4 PDU field)
for MIMO 2x2 support. This commit will not include
any channel abstraction code or modelling.
2022-10-18 15:24:48 +02:00
Anurag Asokan
bfbebe2de1 Merge targets/COMMON to executables 2022-10-18 14:22:06 +02:00
francescomani
0de9cf2ec6 fix ofdm_symbol_size in rxdata allocation 2022-10-18 14:17:00 +02:00
Robert Schmidt
b100ec859e Set 5G RFsim and L2sim retx thresholds 2022-10-18 09:53:51 +02:00
Robert Schmidt
848d7f0e4a Retx checkers for Deploy/UndeployObject 2022-10-18 09:53:51 +02:00
Robert Schmidt
5759a2407d Improve code for retx checkers 2022-10-18 09:53:51 +02:00
hardy
0d66711ffe add retx checkers to end-to-end tests 2022-10-18 09:53:51 +02:00
Raphael Defosseux
a1f1d65429 feat(ci): adding used image info to HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 09:32:23 +02:00
francescomani
44ee11be8e cleanup NR UE dead code 2022-10-18 09:03:25 +02:00
Raphael Defosseux
7b3dcc8c49 fix(ci): proper service names for enb
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:51:57 +02:00
Raphael Defosseux
73b1130fef fix(ci): longer timeouts for merge operations
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:50:18 +02:00
Robert Schmidt
c174ba62f3 Remove redundant "git found" message 2022-10-18 08:48:21 +02:00
Robert Schmidt
612e9636cc Autodetect CPU architecture and AVX2/512 in cmake 2022-10-18 08:48:21 +02:00
Bruno Mongazon-Cazavet
392040a842 Fix build error when -g is specified, fix various warnings when -g is specified 2022-10-18 08:48:10 +02:00
Bruno Mongazon-Cazavet
31b51b285a fix build on centos 7 and centos 8, fix non-avx2 host support using simde 2022-10-18 08:45:56 +02:00
Raphael Defosseux
612956d354 feat(ci): adding pull strategy to b200 nsa/sa scenarios
* also removing the Copy_Image_to_Test method, useless now

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux
5480e983d6 feat(ci): the simulation scenarios are now pulling / using images from local registry
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux
4f46622383 fix(ci): forgot to add HTML rows to test-report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux
6da8869ed4 feat(ci): adding push / pull images operations to/from a local registry
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Robert Schmidt
b416d26aa8 Improve LOG documentation 2022-10-18 08:21:59 +02:00
Vijay Chadachan
29bf98cfe2 Add wall_clock option to the log subsystem to get absolute time stamps 2022-10-18 08:21:59 +02:00
Robert Schmidt
3bc86d69c0 Merge branch 'integration_2022_wk42' into 'develop'
integration_2022_wk42

See merge request oai/openairinterface5g!1762

MR !1726 removing pucch-ResourceCommon from dedicated BWP
MR !1736 OAI UE Security Mode Complete bug
MR !1739 NR UE - Capture PduSessionEstablishmentAccept message
MR !1742 Remove EXMIMO
MR !1754 Remove threads_t struct from the code
MR !1758 Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
MR !1678 Update 5G NR SA tutorials
2022-10-18 05:39:10 +00:00
Robert Schmidt
9358f2f274 Merge remote-tracking branch 'origin/NR_SA_Tutorials_v3' into integration_2022_wk42 2022-10-17 12:33:56 +02:00
Robert Schmidt
c25d07c1c5 Merge remote-tracking branch 'origin/Read_pMAX_from_Config_File' into integration_2022_wk42 2022-10-17 12:32:19 +02:00
Robert Schmidt
67c9dccd3e Merge remote-tracking branch 'origin/remove_thread_t' into integration_2022_wk42 2022-10-17 12:32:10 +02:00
Robert Schmidt
e1226d9fd1 Merge remote-tracking branch 'origin/remove-exmimo' into integration_2022_wk42 2022-10-17 12:31:58 +02:00
Robert Schmidt
d32c4985b3 Merge remote-tracking branch 'origin/nr-ue-capture-PSEA-msg' into integration_2022_wk42 2022-10-17 12:31:49 +02:00
Robert Schmidt
4a535dd057 Merge remote-tracking branch 'origin/ue_security_mode_complete_nea_bug' into integration_2022_wk42 2022-10-17 12:31:42 +02:00
Robert Schmidt
39a8c9ab34 Merge remote-tracking branch 'origin/removing_pucchResourceCommon_from_dedicated_bwp' into integration_2022_wk42 2022-10-17 12:31:27 +02:00
Robert Schmidt
9b7972261e Fix regex to recognize physim status 2022-10-14 16:50:53 +02:00
mir
5c86590c17 Dependencies for lte-uesoftmodem removed 2022-10-14 14:59:54 +02:00
Rúben Soares da Silva
39fe287cf0 Use value for pMAX in the configuration file, instead of a hardcoded value 2022-10-14 13:57:02 +01:00
Robert Schmidt
06ccfdfc51 Remove ADRV9371_ZC706 driver leftovers 2022-10-14 09:14:18 +02:00
Robert Schmidt
37e6021955 Fix compilation warnings in oai_irisdevif 2022-10-14 09:14:18 +02:00
Robert Schmidt
634e38bd31 Remove DEADLINE_SCHEDULER and CPU_AFFINITY defines 2022-10-14 09:14:18 +02:00
Robert Schmidt
cc8da80fbc Remove EXMIMO leftover
- Remove all files referencing EXMIMO
- Remove all targets/variables/defines that seem to be related to EXMIMO
2022-10-14 09:14:18 +02:00
mir
94c74012e2 Remove threads_t struct from the code 2022-10-13 16:58:37 +02:00
francescomani
8f0579fc9d pusch_Config harmonization 2022-10-13 13:43:43 +02:00
Robert Schmidt
ade2cf33df Fix after ci-physim-cleanup 2022-10-13 11:00:06 +02:00
luis_pereira87
89d6ddc482 Remove Dedicated BWPs from the 40 MHz configuration file used by the tutorials 2022-10-12 20:17:11 +01:00
luis_pereira87
3839abebe7 Add section with optional advanced configurations 2022-10-12 20:17:11 +01:00
luis_pereira87
e58eb7ac27 Add automatic Table Of Contents 2022-10-12 20:17:11 +01:00
luis_pereira87
18cdef9510 Update SD to 0x1 to get PDUSession with COTS UE 2022-10-12 16:25:39 +01:00
luis_pereira87
a5f95e1907 Tutorials: update OAI CN5G docker-compose-basic-nrf.yaml to the latest develop version 2022-10-12 16:25:39 +01:00
luis_pereira87
a578a5c448 Tutorials: merge all the tutorials for different USRPs into a single page 2022-10-12 16:25:39 +01:00
luis_pereira87
c0afb34902 Tutorials: add instructions to run OAI gNB with USRP X300 2022-10-12 16:25:39 +01:00
luis_pereira87
6c4b468646 Tutorials: updates to use 100 MHz with 2 DL layers MIMO to achieve 640 Mbps downlink throughput with a single UE (820 Mbps with 2 UEs) 2022-10-12 16:25:39 +01:00
Robert Schmidt
5a1b390483 Merge branch 'integration_2022_wk41' into 'develop'
integration_2022_wk41

See merge request oai/openairinterface5g!1746

MR !1727 Reorganize physical simulators and cleanup
MR !1716 Updated values for few parameters in asue config file
MR !1735 NR feature set update
MR !1560 RAN challenge: Timing Advance
MR !1741 ulsim help update
MR !1744 Speedup container build repo clone and other improvements
MR !1747 Fix signed integer overflow in PSS search
MR !1749 hotfix for thread-pool.c
MR !1743 CI AW2S: build images
MR !1717 Entrypoint updated for deployment on cluster
2022-10-12 14:38:26 +00:00
Robert Schmidt
c9b90ed2f5 Slightly increase Sched Response default timing 2022-10-12 10:07:50 +02:00
Robert Schmidt
10dff4ac00 Merge remote-tracking branch 'origin/entrypoint-update' into integration_2022_wk41 2022-10-11 23:33:51 +02:00
Robert Schmidt
c3f48da419 Merge remote-tracking branch 'origin/ci-aw2s-amarisoft' into integration_2022_wk41 2022-10-11 23:33:02 +02:00
Robert Schmidt
44c7ed4550 Merge remote-tracking branch 'origin/threadPool-hotfix' into integration_2022_wk41 2022-10-11 23:32:21 +02:00
Robert Schmidt
343242f188 Merge remote-tracking branch 'origin/pss-signed-int-overflow' into integration_2022_wk41 2022-10-11 23:32:14 +02:00
Robert Schmidt
10411336bb Merge remote-tracking branch 'origin/ci-speedup-clone' into integration_2022_wk41 2022-10-11 23:32:04 +02:00
Robert Schmidt
1d058f4ce7 Merge remote-tracking branch 'origin/ulsimhelp' into integration_2022_wk41 2022-10-11 23:31:56 +02:00
Robert Schmidt
5662fb2177 Merge remote-tracking branch 'origin/develop-ta' into integration_2022_wk41 2022-10-11 23:31:49 +02:00
Raphael Defosseux
98bf50cf33 fix(ci): putting dummy serial nb, ignored in RF sim anyway
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-11 16:40:19 +02:00
Raymond Knopp
3ea36ba0d3 bugfix in use of sizeof in thread-pool.c 2022-10-11 10:58:14 +02:00
Eurecom
50f30cfd83 Merge remote-tracking branch 'origin/develop' into threadPool-hotfix 2022-10-11 09:25:17 +02:00
Eurecom
c25ed520aa added RH9.0 to build_helper 2022-10-11 09:24:55 +02:00
Angelo Athanassopoulos
3f1d515aaf PSEA - Slight cosmetic changes 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
24241e1b97 PSEA - Log - Change the debug to trace 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
99c77d6fc0 Use the new function to capture PSEA message 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
c31b0f8fa0 Use values from PSEA message to set QFI and PDU Session ID from CN 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
5594594c97 PSEA - Handle uknown IE, ommits the rest message length 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
5ebfed3f90 PSEA - Capture - DNN IE 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
844fec61a8 PSEA - Capture - Position of Extended protocol configuration
options (Ommited)
2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
80542f0503 PSEA - Capture - Position of Authorized QoS flow descriptions (Ommited) 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
f001961e4e PSEA - Capture - Position of EAP message (Ommited) 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
ca903df0a8 PSEA - Capture - Position of Mapped EPS bearer contexts (Ommited) 2022-10-10 20:51:54 +02:00
Angelo Athanassopoulos
ff05fed29c PSEA - Capture - Position of Always-on PDU Session Indication (Ommited) 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
1b89529719 PSEA - Capture - Position of S-NSSAI (Ommited) 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
7707669f97 PSEA - Capture - Position of RQ Timer Value (Ommited) 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
d355b1a7f2 PSEA - Capture - PDU Address IE 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
3fee83e05b PSEA - Capture - Position of 5GSM Cause (Ommited) 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
21c4415a37 PSEA - Prepare the Optional Presence IE capture 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
d9958e4e0f PSEA - Capture - Session AMBR (Ommited) 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
352362ac97 PSEA - Capture - Authorized QoS Rules, but Ommit the Packet Filters 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
fbe010420c PSEA - Capture - PduSessionEstablishmentAccept message 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
7a5e383993 PSEA - Capture - Security Protected NAS header & message 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
0f1d68e2e3 PSEA - Include necessary NAS header files 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
4148e5aae6 PSEA - Init capture function 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
e638715dcc PSEA - Include the PSEA header file to NAS 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
9682ba9bf6 PSEA - Message struct definition 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
724164c395 PSEA - Optional Presence IE 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
b3abb8f64f PSEA - Mandatory Presence IE 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
ff059d7607 PSEA - Macro for DNN ASCII 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
92e01d8346 PSEA - Macros for Rule Operation Codes 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
34e50a2fdf PSEA - Macros for PDU Session type values 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
e057c85e60 PSEA - Macros for Optional IE Identifiers 2022-10-10 20:51:53 +02:00
Angelo Athanassopoulos
e50ce393c3 PSEA - Initialization of PduSessionEstablishmentAccept message capture 2022-10-10 20:51:53 +02:00
Arash
e1365cfd1d Improve help of the nr_ulsim 2022-10-10 20:25:03 +02:00
Robert Schmidt
c8832617f9 Fix signed integer overflow in PSS search
Detected through UBSan
2022-10-10 16:57:52 +02:00
Robert Schmidt
f7dc97fe42 Update thresholds after use of SIMDE 2022-10-10 16:22:48 +02:00
Robert Schmidt
10a32d48a8 Merge remote-tracking branch 'origin/NR_UE_featureset_update' into integration_2022_wk41 2022-10-10 16:12:59 +02:00
Robert Schmidt
e3b7704676 Merge remote-tracking branch 'origin/config_change_as-ue' into integration_2022_wk41 2022-10-10 16:12:52 +02:00
Robert Schmidt
767f2e31db Merge remote-tracking branch 'origin/ci-physim-cleanup' into integration_2022_wk41 2022-10-10 16:12:43 +02:00
Robert Schmidt
5b96aa8ee4 Fix error 2022-10-10 14:34:21 +02:00
Robert Schmidt
8fbc15baba Restore original lock in Jenkinsfile-gitlab
Inside a stage{}, the syntax differs and the lock() directive needs to
have a resource: (and not only extra:). Reverting earlier changes, as
this pipeline will soon be out of service anyway.
2022-10-10 13:42:00 +02:00
Robert Schmidt
ca72af724e Build eNB/gNB and UE on cluster in stages 2022-10-10 13:30:59 +02:00
Robert Schmidt
d80d0b5d5a Additional information for deployed physims 2022-10-10 12:10:39 +02:00
Robert Schmidt
551d35bf6f cls_containerize.CreateWorkspace(): make blobless clone to speedup 2022-10-10 12:02:15 +02:00
Robert Schmidt
aae5b3f64a Remove matfiles
All these files' last modified dates is 2013. I don't think anybody uses
them, but they take quite a lot of space.
2022-10-10 11:28:14 +02:00
Robert Schmidt
72233d16f0 Remove useless NR_uE_PHY unit test files and logs 2022-10-10 11:25:23 +02:00
Robert Schmidt
b3cc68b5c4 Build gNB RHEL8 image with AW2S support 2022-10-07 16:39:49 +02:00
Robert Schmidt
5a9fe6d996 Correct use of Jenkins lock in physim Jenkinsfile 2022-10-07 16:12:18 +02:00
francescomani
6887d9a876 further updates of feature set document 2022-10-07 15:39:46 +02:00
francescomani
6d0489326d NR UE feature set update 2022-10-07 15:39:46 +02:00
francescomani
8c5cf09826 addressing review 2022-10-07 15:26:30 +02:00
francescomani
ef701be83d bugfixes for SR 2022-10-07 15:26:30 +02:00
francescomani
86cf5e704d reworking gNB PUCCH scheduling 2022-10-07 15:26:30 +02:00
Robert Schmidt
84611333c8 Merge branch 'integration_2022_wk40' into 'develop'
integration_2022_wk40

See merge request oai/openairinterface5g!1740

MR !1597 Multiple DRB Support
MR !1607 SRS feedback for 1 layer
MR !1644 Add Positioning Reference Signal (PRS) to gNB and nrUE
MR !1665 CI fix for UE ID
MR !1700 fix for DCI bundle size in NR gNB
MR !1701 Change LDPC decoder rate based on round/rv
MR !1712 Ue remove PUCCH global vars
MR !1713 NR improvements for SIB1 detection and RA procedures
MR !1728 Ue remove thread id
MR !1732 CI september cleanup
MR !1737 Changed gnu99 to gnu11 flag
MR !1636 SIMDE
2022-10-07 12:29:14 +00:00
Bruno Mongazon-Cazavet
755fcbbf8c make --noavx512 implicit if host does not have avx512 2022-10-07 14:14:16 +02:00
kharade
91ff939d52 Typo fix for config parameter
Signed-off-by: kharade <rohan.kharade@openairinterface.org>
2022-10-07 12:19:38 +02:00
Robert Schmidt
9d24233430 Create 4G UE SIM info in build dir, restore old build success message 2022-10-07 10:28:24 +02:00
Robert Schmidt
3e7ec35e11 Delete scripts referencing targets/bin 2022-10-06 17:03:17 +02:00
Robert Schmidt
87f4b9e74b Create SIM information in legacy 4G bench infrastructure 2022-10-06 12:44:55 +02:00
Robert Schmidt
6e17a3d769 Correctly replace filenames in physim results 2022-10-06 12:44:41 +02:00
Robert Schmidt
e0a8c82493 CI SA tests: use --tune-offset 2022-10-06 09:25:21 +02:00
Robert Schmidt
4c72732bdc Correct SD value for CI test config 2022-10-06 09:13:50 +02:00
Bruno Mongazon-Cazavet
144e7a34aa essage=Simde - 1636 2022-10-05 17:58:29 +02:00
laurent
d902d76d05 fix performance issue in simde package 2022-10-05 16:23:32 +02:00
Robert Schmidt
d4b51059ea Merge remote-tracking branch 'origin/c11' into integration_2022_wk40 2022-10-05 16:12:38 +02:00
Robert Schmidt
97ecde7b59 Merge remote-tracking branch 'origin/ci-improvements-sep' into integration_2022_wk40 2022-10-05 16:12:11 +02:00
Robert Schmidt
02d69da11d Merge remote-tracking branch 'origin/ue-remove-thread-id' into integration_2022_wk40 2022-10-05 16:11:47 +02:00
Robert Schmidt
3d03a5a95b Fix CI: correctly call conf2uedata 2022-10-05 16:09:33 +02:00
Robert Schmidt
3b39a37443 Merge remote-tracking branch 'origin/NR_multiSSB_initialaccess_fixes' into integration_2022_wk40 2022-10-05 15:32:31 +02:00
Robert Schmidt
7d2281c02e Merge remote-tracking branch 'origin/ue-remove-global-vars' into integration_2022_wk40 2022-10-05 15:32:23 +02:00
Robert Schmidt
ee2b9a32a3 Merge remote-tracking branch 'origin/ldpc-coderate-round-fix' into integration_2022_wk40 2022-10-05 15:32:16 +02:00
Robert Schmidt
626e700c96 Merge remote-tracking branch 'origin/NR_gNB_DCI_bundle_size' into integration_2022_wk40 2022-10-05 15:32:08 +02:00
Robert Schmidt
5c33a982b4 Merge remote-tracking branch 'origin/CI_UE_ID_fix' into integration_2022_wk40 2022-10-05 15:32:00 +02:00
Robert Schmidt
e0d9c0a901 Merge remote-tracking branch 'origin/nr_prs' into integration_2022_wk40 2022-10-05 15:31:28 +02:00
Robert Schmidt
57fbbf53df Merge remote-tracking branch 'origin/develop-SRS-feedback' into integration_2022_wk40 2022-10-05 15:31:19 +02:00
Robert Schmidt
90f9e1d070 Update number of expected files 2022-10-05 14:30:23 +02:00
Robert Schmidt
9112b8fbc4 CI: Match arbitrary number of UEs for HARQ stats 2022-10-05 09:44:29 +02:00
Robert Schmidt
81deaaa0ba CI: Transform string to float list when reading configuration 2022-10-05 09:17:05 +02:00
francescomani
f7116a3354 check for msg3 in CI fixed 2022-10-05 09:17:05 +02:00
laurent
dbee8c6741 fix bug in prs 2022-10-04 20:41:38 +02:00
mir
cc2c6a288b gnu99 to gnu11 flag changed 2022-10-04 18:14:20 +02:00
Robert Schmidt
50615ceeb0 Fix: correct LOG_PATTERN in legacy CI 2022-10-04 18:06:28 +02:00
francescomani
dded67c1f6 another fix for msg3 slot 2022-10-04 17:17:55 +02:00
Robert Schmidt
52af6bc21a Typo 2022-10-04 16:59:43 +02:00
Robert Schmidt
d5cdf6d3d8 Update timing thresholds 2022-10-04 16:40:27 +02:00
Sakthivel Velumani
f3ee87416d Remove old decoder R computations 2022-10-04 16:40:12 +02:00
Sakthivel Velumani
5a7f227513 Change LDPC decoder rate based on round/rv 2022-10-04 16:40:12 +02:00
Robert Schmidt
d044813f02 Delete old, unused Jenkinsfiles 2022-10-04 15:12:37 +02:00
Robert Schmidt
3c5ad79635 Check for correct label, case-insensitively 2022-10-04 15:11:25 +02:00
Robert Schmidt
ab3d6e73e4 Simplify physim1 log copy (while doing the same) 2022-10-04 13:28:55 +02:00
Robert Schmidt
8d9a36e0c7 sshconnection class: copy files recursively 2022-10-04 13:25:08 +02:00
Robert Schmidt
42141d9af9 Bugfix physim: execution log files can have a '+' sign 2022-10-04 13:23:04 +02:00
Angelo Athanassopoulos
4ba950872b DOC - Added instructions for testing SDAP & Multiple DRBs 2022-10-04 13:03:51 +02:00
Angelo Athanassopoulos
68615bc52a Rename of files, because they contain both data radio bearers & signalling radio bearers 2022-10-04 12:34:41 +02:00
Angelo Athanassopoulos
c08540d8de NR RRC - Added function to generate SRB2 Conf list 2022-10-04 12:00:38 +02:00
Angelo Athanassopoulos
248da7ab3e NR RRC - Use the SRB2 generation function for dedicated RRC Configuration 2022-10-04 10:53:02 +02:00
mir
8b3322403a OAI UE Mode complete ciphering bug 2022-10-04 09:25:08 +02:00
Sagar Parsawar
b3bdee53b4 Fixing memory alignment issue of PRS buffers in nrUE 2022-10-03 12:23:19 +02:00
Angelo Athanassopoulos
2944768618 NR RRC - Initialized function for SRB2 generation 2022-09-30 12:59:19 +02:00
Angelo Athanassopoulos
be47347934 NR RRC - Included SRB header file to the c file, which will generate SRB 2022-09-30 12:43:41 +02:00
Angelo Athanassopoulos
23c3c5bf0c NR RLC & RRC - Changed magic numbers with proper Macro 2022-09-30 10:25:37 +02:00
Sakthivel Velumani
8a71877eec Remove thread id and make slot processing in series 2022-09-29 13:43:16 -04:00
Angelo Athanassopoulos
fdd68d2809 NR RRC - Handle all the ngap priority levels from CN 2022-09-29 18:02:11 +02:00
Angelo Athanassopoulos
c0f2ae9c5d NR RRC - Filled all the ngap priority levels from CN 2022-09-29 17:59:29 +02:00
Robert Schmidt
bad1c258e9 USRP phytest build: cleanup, build physims 2022-09-29 11:27:46 +02:00
Robert Schmidt
eea8395e6a Increase timeout for "oc get pods" when waiting for build 2022-09-29 11:03:17 +02:00
Robert Schmidt
f7618a97b8 Introduce documentation step in RAN-Container-Parent, separate 4G and 5G 2022-09-29 10:46:45 +02:00
Robert Schmidt
ffe2202f3b Update TESTBench documentation 2022-09-29 10:46:45 +02:00
Robert Schmidt
6975af96ea Rename test stage names for blue ocean, trigger 'timings' pipeline (copy of ue-mono) 2022-09-29 10:46:45 +02:00
Robert Schmidt
cadaadf816 Use generic lockResources in all pipelines 2022-09-29 10:46:45 +02:00
Robert Schmidt
a4e4bd1f26 Fixup: on deployment fail, copy log file for artifact persistance 2022-09-29 10:06:21 +02:00
Robert Schmidt
c65b5d276c Log sha for docker-compose 2022-09-29 10:06:21 +02:00
Robert Schmidt
d859ef7292 Add trailing .Rel15 of executables 2022-09-29 10:06:20 +02:00
Robert Schmidt
56ba74705f Do not flatten images to retain original SHA 2022-09-29 10:06:12 +02:00
Robert Schmidt
a7e520a522 Lower physim timeout (15min) and match correct number of pods 2022-09-29 10:05:33 +02:00
Robert Schmidt
8dad60ee7b shrink chart definitions 2022-09-29 10:05:33 +02:00
Robert Schmidt
b53b7152a6 Recover correct logs 2022-09-29 10:05:33 +02:00
Robert Schmidt
f2999ef8c9 Helm charts for new physim groups 2022-09-29 10:05:33 +02:00
Robert Schmidt
65c7b68a73 Slice physims to execute in 10min 2022-09-29 10:05:33 +02:00
Robert Schmidt
361d1b40ab Rename testcase groups to make them human-understandable 2022-09-29 10:05:33 +02:00
Robert Schmidt
0333a528ed Simplify physim1 python class 2022-09-29 10:05:33 +02:00
Robert Schmidt
8b0d866157 Simplify run_exec_autotests.bash
- drop "compilation" mode, sudo/password handling, pre-exec stages
- add -c option to provide test configuration file
2022-09-29 10:03:28 +02:00
Robert Schmidt
8aaf474252 No targets/bin/ and cleanup in physim helm charts 2022-09-29 10:03:28 +02:00
Robert Schmidt
6160ab14be Remove targets/bin/ 2022-09-29 10:03:28 +02:00
Robert Schmidt
c863e37bd3 Remove old and unused testing code 2022-09-29 10:03:27 +02:00
Bruno Mongazon-Cazavet
fe1dc24e28 Add Intrinsics usage by SIMDE 2022-09-28 18:21:19 +02:00
francescomani
bf3e5cb7e7 additional fix for msg3 scheduling 2022-09-28 11:42:59 +02:00
francescomani
621c3ce8f1 fix in nr_slot_fep_init_sync for SIB1 2022-09-28 11:42:59 +02:00
francescomani
b3e18641c3 fix for scheduling msg3 without mixed slot and to avoid scheduling SR using pucch-ResourceCommon 2022-09-28 11:42:59 +02:00
francescomani
0002463969 automatic selection of frame and slot for msg4 2022-09-28 11:42:59 +02:00
Roberto Louro Magueta
6c33346d47 Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-09-28 10:26:52 +01:00
francescomani
a0135f7663 fix for RA beam id 2022-09-28 11:20:39 +02:00
francescomani
5631558321 fix SIB1 detection in slot different than 0
moving slot assignment before pdcch functions
2022-09-28 11:20:38 +02:00
francescomani
ae53d823e3 fix for DCI bundle size 2022-09-28 11:19:12 +02:00
Angelo Athanassopoulos
1893d640fd NR RLC - Removed DRB ID limitations 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
6b465c71d0 NR PDCP - Removed DRB ID limitations 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
91143db61e NR RRC - Accept the creation of DRBs from configuration file "
When we add DRBs throught the configuration file, it will create dedicated DRBs, treating them as GBR Flow DRBs. This is useful for testing purposes in RFSIM and noS1
2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
a544ea1d4b NR RRC - Optimize the next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
7adc4d5fd4 NR RRC - Fix wrong index in used_drbs array 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
d8a795dbd5 NR RRC - Remove of unnecessary MACRO 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
c197b81f50 NR RRC - Choose the next available DRB from the 5QI
If it is a GBR flow, assign a dedicated DRB
If is is a NGBR flow, use an existing DRB, from the same PDU Session

Note: the case that we run out of DRBs is not handled yet, it is still a todo
2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
984bf76544 NR RRC - Consider GBR or Non-GBR flow for selecting the next available DRB "
Note: at this point we have a dedicated DRB per 5QI.
2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
ec657819e2 NR RRC - Added GBR argument to function, so it can be considered for selecting next available drb 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
63743349d9 NR RRC - Changed the 5QI to QoS characteristics into groups of GBR and Non-GBR 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
9286f0cd90 NR RRC - Removal of the active drb assignment in next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
999284b2b6 NR RRC - Set DRB of PDUSession to active in RRC_UE_t during drb generation 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
ad9c2c809a NR RRC - Set DRB of UE to active in RRC_UE_t during drb generation 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
9c94001fc8 NR RRC - Match the ARP priority to the Logical Channel Priority 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
bc0b6c2da9 NR RRC - Capture the priority level of the PDU Session 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
06ab3b97c5 NR RRC - Changed drb_priority array size to 32 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
7169e0a342 NR RRC - Moved generateDRB in the loop of 5QIs 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
28b1e9d3c9 NR RRC - Created function to check if DRB is active for a UE 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
0fd71f0973 NR RRC - Moved next_available_drb function outside generateDRB 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
240d45b731 NR RRC - Added break statements to fiveQI switch 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
a53ebcd7b9 NR RRC - Rename gNB_RRC_UE_t pointer of next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
de827a8bdf NR RRC - Remove unnecessary structs 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
1d7a1f69ed NR RRC - Remove unnecessary function nr_ue_get 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
0d89f13a7d NR RRC - Remove unnecessary function nr_ue_new 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
ed058bf477 NR RRC - Remove unused variable rnti from generateDRB function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
2f33f547ca NR RRC - Remove unused variable rnti from next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
123f2eaf84 NR RRC - Use the gNB_RRC_UE_t struct for the next_available_drb procedures 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
ae9764f914 NR RRC - Changed for max DRBs per UE in next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
29e17e3cfc NR RRC - Added member used_drbs to pdusession_t struct 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
ffc65545f5 NR RRC - Changed macros for active and inactive drbs 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
68fe0ad4f2 NR RRC - Pass gNB_RRC_UE_t struct to next_available_drb function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
66a299d902 NR RRC - Pass gNB_RRC_UE_t struct to generateDRB function 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
c1d5bb8efc NR RRC - Added gNB_RRC_UE_t struct to dedicatedRRCReconfiguration funtion 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
5ba192ab69 NR RRC - Removed unused function for deleting drbs 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
0dd759e1b0 NR RRC - Use new macros for DRB_active and pduSessions struct members at gNB_RRC_UE_t 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
3ebec5c6ed NR RRC - Added macro definitions for max. number of PDU Sessions and DRBs per UE 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
4e3d2ec6b9 Multiple DRBs - ASN1 & RRC
1. Added guard for exceeding DRB creation in ASN1 & RRC
2. Created function for finding the next available drb

Note: tested with 2 UEs in RFSIM mode
2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
a0f25ad184 Multiple DRBs - RRC - Transfer of generateDRB func from rrc_gNB.c to rrc_gNB_drbs.c 2022-09-28 11:16:58 +02:00
Angelo Athanassopoulos
625a15b8fd Multiple DRBs - RRC - Creation of DRB control files 2022-09-28 11:16:57 +02:00
Angelo Athanassopoulos
fba46aac0e Multiple DRBs - RRC - generate DRBs from conf file 2022-09-28 11:16:57 +02:00
Angelo Athanassopoulos
d1b1b9e468 Multiple DRBs - gNB app - extra drb establishment from configuration file 2022-09-28 11:16:57 +02:00
Angelo Athanassopoulos
abfa385985 Multiple DRBs - Fix MR Conflicts: 1. RLC - Removed mispositioned conditional. 2. RRC - Replaced arguements in generateDRB func & use bool. 3. RRC - Removed the MAX_DRB_PDUSESSION definition. 4. SDAP - Replaced boolean_t with bool. 5. RRC - Fixed indentation in SDAP Configuration. 6. RRC - Changed var nb_drb_to_setup to 1. 2022-09-28 11:16:57 +02:00
Angelo Athanassopoulos
f59c47c404 Multiple DRBs - RRC - Added function for DRB creation 2022-09-28 11:16:51 +02:00
Angelo
52f52c748a PDCP - Minor Log output change 2022-09-28 11:14:17 +02:00
angeloath
c5b87ef75a SDAP - Log changes & small cleanup 2022-09-28 11:14:17 +02:00
francescomani
e3da2ca252 removing pucch-ResourceCommon from dedicated BWP 2022-09-28 10:56:12 +02:00
laurent
e8be155c08 merge develop 2022-09-28 10:35:47 +02:00
Robert Schmidt
a1de5e3d11 Merge branch 'integration_2022_wk39' into 'develop'
integration_2022_wk39

See merge request oai/openairinterface5g!1730

MR !1653 NR removing semi_static structures
MR !1690 Fix PDCCH when BWPStart is higher than 0
MR !1706 AMF and NGU mode config cleanup
MR !1721 Moving targets/ARCH to sdr/
MR !1724 Updated README for l2-sim, rf-sim
MR !1725 min_rxtxtime=6 added to docs when building the RFSimulator UE
MR !1729 fix(doc): healthchecks are now embedded in CN5G images
2022-09-28 07:23:49 +00:00
Roberto Louro Magueta
fe1d7d93d8 Fix bug in previous commit 2022-09-27 23:41:09 +01:00
Dhanuja Elizabeth Thomas
cf7ca35391 Updated values for few parameters in asue config file
1. ulsch_max_frame_inactivity
2. pusch_TargetSNRx10 and pucch_TargetSNRx10
3. prach_dtx_threshold
4. pdsch_AntennaPorts_XP

Addressing review comments on MR#1716
2022-09-27 21:33:32 +02:00
Robert Schmidt
4d86d8a0db Merge remote-tracking branch 'origin/fix-doc-tutorial' into integration_2022_wk39 2022-09-27 19:13:53 +02:00
Robert Schmidt
e35b454c83 Merge remote-tracking branch 'origin/add_conf_param' into integration_2022_wk39 2022-09-27 19:13:47 +02:00
Robert Schmidt
60f27cbc2e Merge remote-tracking branch 'origin/update_readme_5gcn' into integration_2022_wk39 2022-09-27 19:13:41 +02:00
Robert Schmidt
b2ea7c5f1a Merge remote-tracking branch 'origin/remove_targets_arch' into integration_2022_wk39 2022-09-27 19:13:35 +02:00
Robert Schmidt
d867b4a1c1 Merge remote-tracking branch 'origin/e1-patch-merge2' into integration_2022_wk39 2022-09-27 19:13:28 +02:00
Robert Schmidt
cb1f3ab708 Merge remote-tracking branch 'origin/Fix_PDCCH_when_BWPStart_higher_than_0' into integration_2022_wk39 2022-09-27 19:12:04 +02:00
Raphael Defosseux
bcd4a4bd1b fix(doc): healthchecks are now embedded in CN5G images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-27 14:40:42 +02:00
kharade
17d12fd1b4 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into entrypoint-update 2022-09-27 14:08:53 +02:00
Roberto Louro Magueta
4156f895dd Set nrofSRS_Ports = min(maxNumberSRS_Ports, maxMIMO_Layers) 2022-09-27 13:00:21 +01:00
Raphael Defosseux
edcbff8f58 chore(ci): changes after peer review
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-27 11:34:00 +02:00
kharade
837a6085c2 removed duplicate flag in entrypoint
Signed-off-by: kharade <rohan.kharade@openairinterface.org>
2022-09-27 10:56:52 +02:00
francescomani
69f8b9d9e8 moving includes to the top 2022-09-27 10:31:41 +02:00
francescomani
f87977b1aa addressing review comments 2022-09-26 19:07:33 +02:00
francescomani
19295d0edb fix physical simulators 2022-09-26 18:54:58 +02:00
francescomani
22b25e8095 fix dlsim compilation 2022-09-26 18:54:58 +02:00
francescomani
f4f2b92779 bugfix in phytest mode 2022-09-26 18:54:58 +02:00
francescomani
07a582a639 finalizing deltaMCS implementation 2022-09-26 18:54:58 +02:00
francescomani
bdbd698912 removing pusch semi-static 2022-09-26 18:46:20 +02:00
francescomani
63327ce31a compute pmi at the same time as layers 2022-09-26 18:32:16 +02:00
Roberto Louro Magueta
14d4afe6ca Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-09-26 17:29:59 +01:00
francescomani
caa47c7496 removing pdsch semi-static 2022-09-26 18:27:36 +02:00
Sakthivel Velumani
c6fd2419d4 Remove ue->pucch_vars and scheduler call cleanup 2022-09-26 11:20:32 -04:00
francescomani
4c2185ebcd remove Makefile.inc 2022-09-26 11:19:15 +02:00
francescomani
539563f03e moving targets/ARCH to sdr/ 2022-09-26 11:17:44 +02:00
mir
bf12d48d46 Added command line argument 2022-09-26 08:57:28 +02:00
Sakthivel Velumani
0248bf2ee5 AMF and NGU mode config cleanup 2022-09-25 13:06:58 -04:00
Robert Schmidt
bb396052a2 Merge branch 'integration_2022_wk38' into 'develop'
integration_2022_wk38

See merge request oai/openairinterface5g!1722

MR !1491 E1ap implementation skeletons
MR !1650 added multiple thread support for ECPRI/IF5 interface.and changed old pthread_cond_XXX mechanisms for RU to use thread-pool. New paramters in RU section to control thread CPU pinning and threadpool size.
MR !1675 NR_UE fixes for odd number of PRBs
MR !1694 Fix ulprbbl based on SRS
MR !1697 chore(ci): putting the Legacy LTE CI bench in order
MR !1703 SSB subcarrier offset from command line at UE
MR !1709 fix encoding error in mbms by regrouping the missing barrier at a single level
MR !1711 Increase log buffer: handle large log messages
MR !1715 Correct set gNB_ID, gNB_CU_ID does not exist
2022-09-24 11:16:27 +00:00
mir
227aa922e9 Added the min_rxtxtime variable 2022-09-23 15:04:43 +02:00
Roberto Louro Magueta
9f23e202e0 Update documentation 2022-09-23 11:13:40 +01:00
Roberto Louro Magueta
e5006c5c0e Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback 2022-09-23 11:01:34 +01:00
francescomani
85285a55ea disabling dualConnectivityPHR in attempt to fix NSA PHR report 2022-09-23 10:18:08 +02:00
laurent
e87c3758ef fix compile issue 2022-09-22 20:46:51 +02:00
Robert Schmidt
dc5d5f8d99 Merge remote-tracking branch 'origin/fix-gNB-ID-config' into integration_2022_wk38 2022-09-22 18:58:38 +02:00
Robert Schmidt
0d34d79f72 Merge remote-tracking branch 'origin/fix-log-output-len' into integration_2022_wk38 2022-09-22 18:58:26 +02:00
Robert Schmidt
5bef665b2f Merge remote-tracking branch 'origin/fix-lte-mbms' into integration_2022_wk38 2022-09-22 18:58:18 +02:00
Robert Schmidt
e2d9bfcb78 Merge remote-tracking branch 'origin/SSB_offset_command_line_parameter' into integration_2022_wk38 2022-09-22 18:58:10 +02:00
Robert Schmidt
05242ea626 Merge remote-tracking branch 'origin/ci-legacy-4g-lte-bench-back-on' into integration_2022_wk38 2022-09-22 18:58:03 +02:00
Robert Schmidt
0eed353452 Merge remote-tracking branch 'origin/fix_ulprbbl_based_on_srs' into integration_2022_wk38 2022-09-22 18:57:43 +02:00
Robert Schmidt
678b8a23b2 Merge remote-tracking branch 'origin/nr_ue_odd_prb_fixes' into integration_2022_wk38 2022-09-22 18:57:29 +02:00
Robert Schmidt
1273846ca3 Merge remote-tracking branch 'origin/if5_ECPRI_rework' into integration_2022_wk38 2022-09-22 18:56:59 +02:00
laurent
01dc85f742 fix review comments 2022-09-22 18:53:14 +02:00
laurent
40db42015f Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5G into nr_prs 2022-09-22 16:57:20 +02:00
Robert Schmidt
bfba0c87ed Remove sudo from cls_physim1 class
We move the execution of the physim to a jumphost without sudo rights.
Therefore, remove sudo from this class.
2022-09-22 15:36:17 +02:00
Robert Schmidt
40b33845f7 Fix thresholds, fixup html table ref name to show tabs correctly 2022-09-22 13:58:06 +02:00
Robert Schmidt
1fedf2e508 Update timing thresholds and add 60MHz case 2022-09-22 07:41:53 +02:00
Robert Schmidt
0bf4f01b91 Resolve warnings 2022-09-21 15:16:33 +02:00
Raphael Defosseux
4f29e64749 chore(ci): clarification on why we can/should install UHD from source
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-21 14:37:05 +02:00
Raphael Defosseux
0dff2c9bc3 fix(docker): fixes when generating the templates for gNB conf files
* The '0x' format was forgetting that an hexadecimal value can have a-f chars
  * If someone wants to use a dedicated NSSAI_SD value, it is possible now
  * For experimental purpose in cluster, SDR addresses can be provided for one config
    - could be expended later on other conf files

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-21 10:52:05 +02:00
luis_pereira87
051fa6ec57 Address review comments 2022-09-21 08:49:18 +01:00
luis_pereira87
2931884d07 Fix ulprbbl based on SRS 2022-09-21 08:38:30 +01:00
Rohan
18ead40b84 Entrypoint updated for deployment on cluster 2022-09-20 19:46:44 +00:00
francescomani
f62dc020c8 changing ssb subcarrier offset command line parameter to avoid overlap with SNR 2022-09-20 17:48:48 +02:00
Robert Schmidt
a549bc62a9 Correct set gNB_ID, gNB_CU_ID does not exist 2022-09-20 15:13:59 +02:00
laurent
23f49bd013 merge-develop-and-conflicts 2022-09-20 14:03:25 +02:00
laurent
2822415952 remove unused variables 2022-09-20 13:49:43 +02:00
Laurent Thomas
5087982997 fix encoding error in mbms by regrouping the missing barrier at a single level
tmp
2022-09-20 13:49:43 +02:00
Thomas Schlichter
4e024e1f11 remove unnecessary (void*) casts from files nr_dlsch_demodulation.c and nr_ulsch_ue.c 2022-09-20 11:03:40 +02:00
Robert Schmidt
5bf2626c6e Remove hwlat refs in build_oai: targets don't exist anymore 2022-09-19 17:29:42 +02:00
Robert Schmidt
fb69173857 Add E1AP lib 2022-09-19 17:29:42 +02:00
Robert Schmidt
9aade1e0e1 Add E1AP Grammar and build ASN.1 lib at build time 2022-09-19 17:29:42 +02:00
Robert Schmidt
1b4a81637d Accept higher vers. nums in make_version/MAKE_VERSION 2022-09-19 17:29:42 +02:00
Robert Schmidt
cdb18d38bf Move CMakeLists.txt into root 2022-09-19 17:29:42 +02:00
Roberto Louro Magueta
fd921eaf04 Remove nr_srs_feedback_t srs_feedback from NR_pusch_semi_static_t 2022-09-19 15:59:06 +01:00
Roberto Louro Magueta
4d97a47e8e Add comment and break in get_pusch_nb_antenna_ports() function 2022-09-19 14:08:40 +01:00
Roberto Louro Magueta
a46ac88e5b Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback 2022-09-19 13:41:30 +01:00
Robert Schmidt
40d8235500 Increase log buffer: handle large log messages 2022-09-19 11:39:09 +02:00
Robert Schmidt
af04fa90c1 Merge branch 'integration_2022_wk37' into 'develop'
integration_2022_wk37

See merge request oai/openairinterface5g!1710

MR !1695 fix bug added in MR1609 improve-nr_ul_channel_estimation branch
MR !1704 remove target/SCRIPTS
MR !1708 Repair cluster-build pipeline
2022-09-19 06:07:23 +00:00
Robert Schmidt
198df43ebe Merge remote-tracking branch 'origin/build-cluster-hotfix' into integration_2022_wk37 2022-09-18 22:28:02 +02:00
Robert Schmidt
2715a705bf Merge remote-tracking branch 'origin/remove_targets_SCRIPTS' into integration_2022_wk37 2022-09-18 22:27:37 +02:00
Robert Schmidt
8d8d43fd95 Merge remote-tracking branch 'origin/regression-fix-ul_estimate' into integration_2022_wk37 2022-09-18 22:27:28 +02:00
Robert Schmidt
b6c2dd7820 Update README for OpenShift deployments using helm 2022-09-18 22:21:50 +02:00
Robert Schmidt
7d20568c09 List all OC images in registry in artifact file 2022-09-18 22:21:50 +02:00
Robert Schmidt
5cb85c3f4a Switch to RHEL8-Cluster-Image-Builder in RAN-Container-Parent 2022-09-18 22:21:50 +02:00
Robert Schmidt
28487ee223 Physim: image is already on openshift image registry 2022-09-18 22:21:50 +02:00
Robert Schmidt
ca5a6deb9d Fix timeout in wait_job_end() 2022-09-18 22:21:35 +02:00
Robert Schmidt
edfb7aca1d Recreate imagestreamtags to not lose image registry image association
Previously, the cluster-build code would recreate imagestreams, which
would drop the association of image streams to images previously
created. To avoid this, the code is updated to never delete
imagestreams, and only recreate imagestreamtags.
2022-09-18 22:21:35 +02:00
laurent
b14b9eda29 fix bug added in MR1609 improve-nr_ul_channel_estimation branch 2022-09-17 11:23:53 +02:00
Robert Schmidt
9e3d565c5d Remove tag information from image streams
The tags in the status section simply serves no purpose/is misleading,
as it is not used.
2022-09-16 10:26:24 +02:00
Robert Schmidt
eb15d7332b Remove sudo commands from cluster-related CI scripts 2022-09-16 10:25:24 +02:00
Robert Schmidt
61e65959b0 Correct physim IS filename 2022-09-16 09:17:57 +02:00
Sakthivel Velumani
0fe3a775c4 Remove ue->pdcch_vars 2022-09-15 16:03:10 -04:00
Robert Schmidt
e3a9c880e4 Revert "Physim: image is already on openshift image registry"
This reverts commit ebdbb1fc13.

Same as parent commit.
2022-09-15 12:41:22 +02:00
francescomani
b87e86fd30 remove target/SCRIPTS 2022-09-14 11:38:33 +02:00
Sagar Parsawar
ba1a59f975 Bug fix to initialization of subdev selection string 2022-09-13 20:40:04 +02:00
Robert Schmidt
50dc769827 Revert "Switch to RHEL8-Cluster-Image-Builder in RAN-Container-Parent"
This reverts commit 5008eb4e38.

The RHEL8-Cluster-Image-Builder has problems and is not ready. This
commit reverts the switch, and uses RHEL8-Image-Builder instead.
2022-09-13 17:46:28 +02:00
Roberto Louro Magueta
76c112a8fc Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback 2022-09-13 13:05:10 +01:00
Roberto Louro Magueta
10faa7c558 Fix phy-simulators build 2022-09-13 13:04:58 +01:00
Robert Schmidt
62cea0ef8c Add two file exceptions for suspect license (BSD); remove two GPL'ed files 2022-09-13 05:24:09 +02:00
Robert Schmidt
e3d712f417 Merge branch 'integration_2022_wk36b' into 'develop'
integration_2022_wk36b

See merge request oai/openairinterface5g!1696

MR !1618 update NR MAC/RLC/PDCP stats
MR !1639 NR handling of PHR (preliminary version)
MR !1676 make 5 MHz BW work in SA mode with OAI UE
MR !1687 quick fix for gnb.sa.band41.fr1.106PRB.usrpb210.conf
MR !1688 fix bug gtp-u len and robustify the gtp-u receiver
MR !1691 Fix power calculation based on CSI-RS
MR !1692 nr rlc: fix in process_control_pdu()
MR !1693 Fix to support subscribing event from another thread
MR !1681 Build RHEL8 images on Openshift Cluster
MR !1595 Sanitize NSSAI configuration in the gNB conf file
2022-09-12 20:26:52 +00:00
Roberto Louro Magueta
f71f8b5afc Removing NR_CellGroupConfig_t *cg input from config_uldci() function 2022-09-12 20:03:43 +01:00
Raphael Defosseux
28155091ab fix(ci): little typo
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-12 18:12:34 +02:00
Sagar Parsawar
7261b7d304 Updated NR-PRS documentation in doc/RUN_NR_PRS.md 2022-09-12 15:07:03 +02:00
Robert Schmidt
3dc4736009 Reverting SD changes to make Quectel connect in CI 2022-09-12 14:21:03 +02:00
Raphael Defosseux
11839724ea fix(ci): typos and scenario adaptations for Legacy LTE CI bench after migration to Ubuntu22 and UHD 4.2.0.1
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-09 14:38:15 +02:00
Raphael Defosseux
11315ef602 fix(build): automatically applying UHD TDD patch for LTE
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-09 14:35:54 +02:00
Sagar Parsawar
4baf1879c7 Added PRS documentation and plot_prs_Ttracer_dumps.m script 2022-09-09 10:59:37 +02:00
Dhanuja Elizabeth Thomas
c9147a9ef5 Updated README for l2-sim, rf-sim 2022-09-09 08:36:23 +02:00
Robert Schmidt
0a6075844a Merge remote-tracking branch 'origin/fix-sst-sd' into integration_2022_wk36b 2022-09-08 20:43:37 +02:00
Robert Schmidt
3ac2c5e6f0 Merge remote-tracking branch 'origin/ci-build-cluster' into integration_2022_wk36b 2022-09-08 20:43:25 +02:00
Robert Schmidt
963b8cc2ee Merge remote-tracking branch 'origin/itti-add-event-fix' into integration_2022_wk36b 2022-09-08 20:43:15 +02:00
Robert Schmidt
bbab65f09c Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-09-05' into integration_2022_wk36b 2022-09-08 20:43:06 +02:00
Robert Schmidt
8f5868dccf Merge remote-tracking branch 'origin/fix_calc_power_csirs' into integration_2022_wk36b 2022-09-08 20:42:54 +02:00
Robert Schmidt
2b69a717c1 Merge remote-tracking branch 'origin/fix-gtp-u-len-bug' into integration_2022_wk36b 2022-09-08 20:42:42 +02:00
Robert Schmidt
1d4d22e37e Merge remote-tracking branch 'origin/astro-develop-patch-97937' into integration_2022_wk36b 2022-09-08 20:42:35 +02:00
Robert Schmidt
8e4c7a1115 Merge remote-tracking branch 'origin/sa_conf_and_fixes_for_mu0' into integration_2022_wk36b 2022-09-08 20:42:21 +02:00
Robert Schmidt
5ee0149064 Merge remote-tracking branch 'origin/ul-phr' into integration_2022_wk36b 2022-09-08 20:16:58 +02:00
Robert Schmidt
4f402e6189 Merge remote-tracking branch 'origin/nr-mac-rlc-pdcp-stats' into integration_2022_wk36b 2022-09-08 20:06:27 +02:00
Robert Schmidt
8eaceae023 Add NSSAI_SD in docker-compose for nFAPI nrUE config 2022-09-08 15:18:52 +02:00
Sagar Parsawar
35802ac003 Additional changes to extract_prs_dump script 2022-09-08 14:26:20 +02:00
Raphael Defosseux
c4950f41b9 fix(ci): SMF configuration was incomplete for none-SD NSSAI
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-08 11:19:52 +02:00
Sagar Parsawar
f0692c1580 Renaming PRS gNB configs for multiple gNB scenario 2022-09-07 13:16:12 +02:00
Sagar Parsawar
d85e0ec92a Merge remote-tracking branch 'origin/develop' into nr_prs 2022-09-07 09:15:36 +02:00
Sagar Parsawar
079f9e1bcd Add bash script to extract PRS channel estimates from T tracer raw
file
2022-09-06 23:08:37 +02:00
Sagar Parsawar
d8037583f1 Added case for DFT/IDFT of size 768 2022-09-06 19:17:25 +02:00
Cedric Roux
3b42e46cf0 nr rlc: add enum for rlc mode (am, um, or tm) 2022-09-06 15:58:47 +02:00
laurent
bcba097936 fix nrscope array size len 2022-09-06 13:51:43 +02:00
laurent
bc95466e1e fix check error in config module, for array types 2022-09-06 13:50:38 +02:00
laurent
b36a5b446f fix reject gtp-u incoming with no data 2022-09-06 13:48:00 +02:00
Robert Schmidt
3bb312dce2 Help function for creating repository workspace 2022-09-06 12:05:24 +02:00
Robert Schmidt
d0e5786470 Improve wording in openshift/README.md 2022-09-06 12:05:24 +02:00
Robert Schmidt
c01d846a3a Reintroduce banner in README 2022-09-06 12:05:24 +02:00
Robert Schmidt
68c6a79328 Replace hard-coded (unused) password with a constant
The plan is to migrate the CI to not need any passwords. This constant
can be used to give a dummy password.
2022-09-06 12:05:24 +02:00
luis_pereira87
0cffceddb3 Address review comments and re-formatting the code using clang-format 2022-09-06 10:25:51 +01:00
luis_pereira87
76eaed3bf8 Address review comments by correctly re-formatting a piece of code using clang-format 2022-09-06 10:19:38 +01:00
Roberto Louro Magueta
e4f7733bc5 Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/PHY/TOOLS/tools_defs.h
2022-09-06 10:02:00 +01:00
Robert Schmidt
879d37b2de Enable testing for all files to force ran-base rebuild 2022-09-06 10:21:55 +02:00
Robert Schmidt
c1fb4b6c27 Run oc logout in background to avoid timeout 2022-09-06 09:40:17 +02:00
Robert Schmidt
11d24ff42c Correct copy path for ran-base logs 2022-09-06 09:39:14 +02:00
Sakthivel Velumani
18b3189d4e Fix to support subscribing event from external thread 2022-09-05 15:51:50 -04:00
luis_pereira87
5a32092dc6 Address review comments by re-formatting a piece of code using clang-format 2022-09-05 17:56:33 +01:00
Robert Schmidt
74c639f867 Send NAS NSSAI SD only if configured, show UICC DNN/SST/SD info 2022-09-05 16:30:28 +02:00
Robert Schmidt
015c4265f0 Remove NSSAI_SD from UE conf 2022-09-05 16:30:28 +02:00
Robert Schmidt
b3b4b6dc01 docker-compose files: no SD 2022-09-05 16:30:28 +02:00
Robert Schmidt
09db9c3022 generateTemplate.py: allow multiple replacements in a single line
- especially for plmn_list, will allow to be followed by an MCC/MNC in a
  single line
- tightens regexes to match replacements more accurately, e.g., "val =
  key" (instead of just searching for "key)
- no special rule for SD, which matches SD values (and not the SD
  field). However, currently it is not possible to specify multiple SDs
  (multiple SSTs was already not possible)
2022-09-05 16:30:28 +02:00
Cedric Roux
2c08302c89 nr rlc: fix in process_control_pdu()
the following:

         if (cur_wait_list == entity->wait_end)
           end_wait_list = prev_wait_list;

was done after cur_wait_list is updated to its new value, but the old value
has to be used in this test. So end_wait_list was not set properly.

This was leading to random crashes later on because then entity->wait_list
was NULL but entity->wait_end was not (because of the bug fixed by this
commit).

The new value for cur_wait_list is also now set using prev_wait_list->next
just before the goto, as done in other places in the code.

Also "cur" was removed, for it has no purpose and makes the code harder
to understand.
2022-09-05 16:29:51 +02:00
Robert Schmidt
46bbd3f979 CI: Check that plmn_list matching key has dict type
The loop passes over all keys. For plmn_list, there are subentries mcc,
mnc, mnc_length. The plmn_list if block assumes that the key is a dict,
which was not checked for, leading to a type error.
2022-09-05 16:09:38 +02:00
Robert Schmidt
c859c233f7 Simplify NSSAI configuration in all configuration files 2022-09-05 16:09:38 +02:00
Robert Schmidt
bf853fe3f1 Sanitize NSSAI configuration
Following changes included:
- SD is optional: when value is 0xffffff or not present in config
  (previously: needed to be set to 0)
- Checks SSTs in range [0,255]
- Checks SDs in range [0,0xffffff]
- Correct typo SST defines
2022-09-05 16:09:38 +02:00
Robert Schmidt
6ac9296a12 Update TESTBenches.doc 2022-09-05 15:42:12 +02:00
Robert Schmidt
5008eb4e38 Switch to RHEL8-Cluster-Image-Builder in RAN-Container-Parent 2022-09-05 15:42:12 +02:00
Robert Schmidt
0778367633 Add Jenkinsfile for cluster jobs 2022-09-05 15:42:12 +02:00
Robert Schmidt
41a9ac1119 Python Class for Cluster Building and Deployment 2022-09-05 15:42:12 +02:00
Robert Schmidt
ebdbb1fc13 Physim: image is already on openshift image registry 2022-09-05 15:39:34 +02:00
Robert Schmidt
0e9455b721 Update README.md 2022-09-05 15:39:34 +02:00
Robert Schmidt
01add24bee GetParametersFromXML(): simplify forced_workspace_cleanup reading 2022-09-05 15:29:33 +02:00
Robert Schmidt
668d0865b8 Simplify cls_containerize.BuildImage() and drop allImagesSize class member 2022-09-05 15:29:33 +02:00
Robert Schmidt
d78ccd64ca Help function for analyzing RAN build logs 2022-09-05 15:29:32 +02:00
Robert Schmidt
f77bf44386 Help function for copying RAN build logs to executor 2022-09-05 15:29:32 +02:00
Robert Schmidt
580b2f3263 Create physim BuildConfig and harmonize ImageStream filename 2022-09-05 15:29:32 +02:00
Robert Schmidt
d524bbb0ed Add openshift build-configs and image-streams 2022-09-05 15:29:32 +02:00
Robert Schmidt
02f97a15b4 Drop old OpenShift cluster files 2022-09-05 15:29:32 +02:00
Robert Schmidt
e62662e463 Correct entitlements in base Dockerfile 2022-09-05 15:29:32 +02:00
Robert Schmidt
e2c59441cd Dockerfile: delete artifacts using -c before building 2022-09-05 15:29:32 +02:00
luis_pereira87
4fb78818d2 Fix 16 bit memory alignment on mod_dmrs buffer 2022-09-05 13:48:42 +01:00
francescomani
7a3dea3197 fix at UE for DMRS when there is a bwp start offset 2022-09-05 13:48:42 +01:00
francescomani
0a992c604a Merge remote-tracking branch 'origin/develop' into ul-phr 2022-09-05 14:35:50 +02:00
luis_pereira87
fc10fd3f8c Fix PDCCH decoding when BWPStart is higher than 0 2022-09-05 13:34:29 +01:00
luis_pereira87
6e36b5405a Fix power calculation based on CSI-RS 2022-09-05 13:33:00 +01:00
Robert Schmidt
d1a36c29c2 Limit XML repeatCount to 1 2022-09-05 14:10:04 +02:00
Laurent Thomas
1ef62f5842 fix bug gtp-u len and robustify the gtp-u receiver 2022-09-05 14:10:04 +02:00
Robert Schmidt
474cde3b41 Merge branch 'integration_2022_wk35b' into 'develop'
integration_2022_wk35b

See merge request oai/openairinterface5g!1689

MR !785 Add .clang-format file
MR !1487 LDPC offload on T1 card
MR !1677 NR LBRM for UL
MR !1683 Schedule ULSCH in flexible slots in InitialBWP
MR !1674 Optimize nr_rotation
MR !1685 Fix AssertFatal in Msg3
MR !1684 Implementation of a RA timer to remove UE in the case of Msg4 not be decoded by the UE
MR !1669 Fixes when there is no spCellConfig configured
MR !1648 simplify thread pool configuration
MR !1609 improve-nr_ul_channel_estimation
2022-09-05 12:05:28 +00:00
Sagar Parsawar
3ec5d9ec44 Removing redundant configs changes, and config files 2022-09-05 12:25:25 +02:00
Robert Schmidt
23459a487d Merge remote-tracking branch 'origin/improve-nr_ul_channel_estimation' into integration_2022_wk35b 2022-09-04 21:46:17 +02:00
Robert Schmidt
203ac17833 Merge remote-tracking branch 'origin/by-core-thread-pool' into integration_2022_wk35b 2022-09-04 21:46:04 +02:00
Robert Schmidt
0b970e9e63 Merge remote-tracking branch 'origin/fixes_when_no_spCellConfig' into integration_2022_wk35b 2022-09-04 21:39:51 +02:00
Robert Schmidt
f8cc843aa7 Merge remote-tracking branch 'origin/Remove_UE_when_Msg4_fails_to_be_decoded' into integration_2022_wk35b 2022-09-04 21:39:37 +02:00
Robert Schmidt
ddeaf445f0 Merge remote-tracking branch 'origin/Fix_AssertFatal_in_Msg3' into integration_2022_wk35b 2022-09-04 21:39:23 +02:00
Robert Schmidt
95dad65c9a Merge remote-tracking branch 'origin/nr_rotation_optimization' into integration_2022_wk35b 2022-09-04 21:39:09 +02:00
Robert Schmidt
c87188191d Merge remote-tracking branch 'origin/Schedule_ULSCH_in_flexible_slots_in_InitialBWP' into integration_2022_wk35b 2022-09-04 21:38:55 +02:00
Robert Schmidt
01a3f9d5f9 Merge remote-tracking branch 'origin/NR_UL_LBRM' into integration_2022_wk35b 2022-09-04 21:38:38 +02:00
Robert Schmidt
609c2716c7 Merge remote-tracking branch 'origin/ldpc_offload_t1_mr' into integration_2022_wk35b 2022-09-04 21:37:44 +02:00
Robert Schmidt
392946f0c1 Merge remote-tracking branch 'origin/feature-support-clang-format' into integration_2022_wk35b 2022-09-04 21:37:28 +02:00
Abdelrahman Astro
f06fc314c6 quick fix for gnb.sa.band41.fr1.106PRB.usrpb210.conf 2022-09-03 09:08:48 +00:00
laurent
6f862c0dfe fix a bug in itti external sockets 2022-09-02 14:25:17 +02:00
laurent
bf2b069d96 let more time for docker compose to start the container 2022-09-02 11:36:47 +02:00
laurent
223ae5c307 remove a forgotten printf() 2022-09-02 11:36:47 +02:00
laurent
9b207834e7 merge conflict fix 2022-09-02 11:36:47 +02:00
laurent
5fcd8b6f9f fix direct memory bugs in lte mbms 2022-09-02 11:36:47 +02:00
laurent
9ee917039a fix non reentrant issue in itti 2022-09-02 11:36:47 +02:00
laurent
abf6801094 fix text typos 2022-09-02 11:36:47 +02:00
laurent
aa2a36768c simplify thread pool configuration
fix segv

fix bug redeclaration of same struct in phy sim

Apply 1 suggestion(s) to 1 file(s)

code reveiw comments
2022-09-02 11:36:47 +02:00
Sagar Parsawar
9eed7db8a3 Optimizing PRS buffers, added freeing up in nrUE 2022-09-01 22:17:01 +02:00
Francesco Mani
adea216202 adding a comment 2022-09-01 15:48:31 +00:00
laurent
4c74cc6686 Improve nr_ul_channel_estimation() 2022-09-01 16:35:57 +02:00
Raphael Defosseux
8229f00d0e chore(ci): disable all the 4G Legacy LTE pipelines before we migrate the servers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-09-01 16:25:49 +02:00
Thomas Schlichter
18500674df improve nr_dlsch_decoding 2022-09-01 12:14:19 +02:00
luis_pereira87
9178648902 Address review comments 2022-09-01 08:34:53 +01:00
luis_pereira87
66369a8a4c Prevent ra_timer to be enabled when running in phy-test mode
When running in this mode there is no RA that will succeed to disable the timer
2022-09-01 08:29:57 +01:00
luis_pereira87
00373ed10b Address review comments 2022-09-01 08:12:26 +01:00
luis_pereira87
8a6d09666d Fix AssertFatal in Msg3 to not Assert when there is a PUCCH (CSI report) already scheduled for that slot 2022-08-31 16:03:36 +01:00
luis_pereira87
13bdcb4743 Implementation of a RA timer to remove UE in the case of Msg4 not be decoded by the UE 2022-08-31 08:52:35 +01:00
Roberto Louro Magueta
514adc7594 Merge remote-tracking branch 'origin/develop' into develop-SRS-feedback
# Conflicts:
#	nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
2022-08-30 17:29:14 +01:00
Robert Schmidt
622e14ad4f 5G RFsim: increase PRACH threshold to 20dB to avoid misdetections 2022-08-30 17:07:00 +02:00
luis_pereira87
3ea751c3cb Schedule ULSCH in flexible slots in InitialBWP 2022-08-30 14:37:59 +01:00
Thomas Schlichter
1440807e23 increase prach_dtx_threshold to 20 dB to avoid fake PRACH detections 2022-08-30 11:17:34 +02:00
Sagar Parsawar
73ca6daae9 Updated FEATURE_SET.md with PRS implementation 2022-08-30 09:38:17 +02:00
Robert Schmidt
cb3108f4e5 Merge branch 'integration_2022_wk35' into 'develop'
integration_2022_wk35

See merge request oai/openairinterface5g!1682

MR !1571 PHY procedures for SRS MIMO
MR !1666 gzip optim, links for size
MR !1668 Update core images to latest develop for CI
MR !1670 Fix initial_cyclic_shift for pucch-ConfigCommon
MR !1671 Fix unaligned channel processing with odd number of rb
MR !1672 Enable 2 Downlink layers MIMO and other minor improvements in default configuration files
MR !1680 Fix buffer overflow and division by 0 for SRS
2022-08-30 06:23:42 +00:00
Sagar Parsawar
b2ae550274 Harmonizing abs32, abs64, absF, angle64 functions across LTE/NR 2022-08-29 21:13:26 +02:00
Sagar Parsawar
502b4d5933 Cleaning up scheduling PRS slot in gNB and nrUE 2022-08-29 21:13:07 +02:00
Robert Schmidt
2e7533a068 CI: Fix workspace path in LDPC Test 2022-08-29 18:27:25 +02:00
luis_pereira87
e2faa154e7 Merge remote-tracking branch 'origin/develop-SRS-buffer-overflow' into integration_2022_wk35
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
2022-08-29 16:50:01 +01:00
Robert Schmidt
89a71a10e0 Create oai_rules_result.txt expected by CI 2022-08-29 17:39:37 +02:00
Robert Schmidt
a3543668f3 Merge remote-tracking branch 'origin/Update_configuration_files' into integration_2022_wk35 2022-08-29 17:25:38 +02:00
Robert Schmidt
a085522128 Merge remote-tracking branch 'origin/fix-unaligned-channel-processing-with-odd-number-of-rb' into integration_2022_wk35 2022-08-29 17:25:25 +02:00
Robert Schmidt
256483a25d Merge remote-tracking branch 'origin/BugFix_in_initial_cyclic_shift_for_pucch-ConfigCommon' into integration_2022_wk35 2022-08-29 17:25:08 +02:00
Robert Schmidt
abd5b2cf79 Merge remote-tracking branch 'origin/update_5gcn_aug2022' into integration_2022_wk35 2022-08-29 17:24:49 +02:00
Robert Schmidt
845eeae92b Merge remote-tracking branch 'origin/optimize-ci-time' into integration_2022_wk35 2022-08-29 17:24:35 +02:00
francescomani
9819268412 Merge remote-tracking branch 'origin/develop' into ul-phr 2022-08-29 17:23:43 +02:00
francescomani
cf6ac388fd addressing review comments 2022-08-29 17:10:08 +02:00
francescomani
1e39dd777d fix physical simulators 2022-08-29 16:45:14 +02:00
francescomani
8e56e14df5 phr config harmonization 2022-08-29 16:25:09 +02:00
Robert Schmidt
c3c6aa8e75 Add Cppcheck_Analysis action, make unknown action no fail 2022-08-29 14:50:57 +02:00
Thomas Schlichter
59cb602161 review changes 2022-08-29 12:43:50 +02:00
Robert Schmidt
8de2578be5 Disable T1 Offload pipeline: avra is offline 2022-08-29 11:41:26 +02:00
Robert Schmidt
e2e62e78fe CI: add unhandled action LicenceAndFormattingCheck 2022-08-29 11:41:25 +02:00
francescomani
54ed3eb4fa test NSA 2022-08-29 08:22:09 +02:00
Robert Schmidt
5ec8a11ec9 Add readme for clang-format 2022-08-28 16:21:43 +02:00
Robert Schmidt
91f2453a57 Update documentation on how to get sources 2022-08-28 16:21:43 +02:00
Robert Schmidt
f3cd2c9aca Remove astyle 2022-08-28 16:21:43 +02:00
Robert Schmidt
e87dd85db1 Bitfield colon spacing after the colon 2022-08-26 20:14:41 +02:00
Cedric Roux
af6059d4ab clang-format: open-brace at column one to start the body of a function 2022-08-26 20:14:40 +02:00
Robert Schmidt
d0079ce554 Add clang-format specific pre-commit hook 2022-08-26 20:14:40 +02:00
Robert Schmidt
030e0c40aa Add .clang-format file 2022-08-26 20:14:40 +02:00
laurent
cfeae9560e merge develop 2022-08-26 18:02:50 +02:00
Robert Schmidt
a4eed55cea Detect DPDK using PkgConfig 2022-08-26 13:55:07 +02:00
Robert Schmidt
da5702e3c9 Use variable for T1 Offload detection 2022-08-26 13:55:07 +02:00
Robert Schmidt
4144abcc6e Update T1 Offload scenario file after option change in ulsim 2022-08-26 13:55:07 +02:00
Arash Sahbafard
23e6341237 Logs: initial TA and color != 31, various others 2022-08-26 13:46:09 +02:00
Arash Sahbafard
9c87b3fc01 Better print channel model parameters 2022-08-26 13:44:26 +02:00
Arash Sahbafard
7265feb4e1 Telnetsrv cmd to print TA values in UE 2022-08-26 13:44:26 +02:00
Arash Sahbafard
e494c11b65 Store TA total in UE 2022-08-26 13:44:26 +02:00
Arash Sahbafard
f23f435509 RFsim Telnet command to get current timestamp/vtime 2022-08-26 13:44:26 +02:00
Arash Sahbafard
d9b5c0c817 Implement RFsim setdistance/getdistance telnet cmd 2022-08-26 13:44:26 +02:00
Arash Sahbafard
7f22f1e51e Read offset (* nbTx) antennas in past 2022-08-26 13:44:26 +02:00
Arash Sahbafard
b68057ef2a Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ no parameters 2022-08-26 13:44:26 +02:00
Arash Sahbafard
25bd5fb915 Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ cmds get fifo
Previously, only the first out of multiple telnet commands with
TELNETSRV_CMDFLAG_PUSHINTPOOLQ option would get a pointer to the fifo
queue, which is fixed in this commit.

Further, add_telnetcmd() now checks whether TELNET_MAXCMD is reached,
and prints and error.

Reformatted/simplified the function.
2022-08-26 13:44:26 +02:00
Roberto Louro Magueta
e026e20186 Avoid division by 0 for low noise scenario 2022-08-26 11:41:23 +01:00
Hongzhi Wang
1124b21657 fix warnings 2022-08-26 12:28:26 +02:00
Roberto Louro Magueta
4e434ecf45 Fix buffer overflow for SRS 2022-08-26 11:04:04 +01:00
Dhanuja Elizabeth Thomas
313a63f52a Update 5gcn images for CI
- in ci-scripts for l2-sim, rf-sim
- in epc.py for OTA tests
2022-08-26 11:01:22 +02:00
francescomani
51483a3223 add option for limited buffer rate-matching for UL 2022-08-26 09:01:48 +02:00
Hongzhi Wang
f1df28637a delete conf file 2022-08-25 23:23:18 +02:00
Sagar Parsawar
a292f1a251 Changes in prs config parsing function, added help string 2022-08-25 23:01:30 +02:00
luis_pereira87
f3781c4353 Add band n77 configuration file for N300 with 100 MHz
Band n78 is widely used by mobile network operators, we want to transmit over the air without interfere with them, so we set the allocation in this configuration file outside of band n78
2022-08-25 16:48:08 +01:00
Sagar Parsawar
7bc69f505a Modified PRS FR1 and FR2 configs for gNB and UE with latest
from develop branch, also verified in rfsim
2022-08-25 16:38:07 +02:00
Sagar Parsawar
efb75d4b94 Removing extra gNB and UE configs for used for PRS 2022-08-25 14:52:07 +02:00
Sagar Parsawar
10eedd667a Fixed memory leak issue of nr_gold_prs buffer in gNB 2022-08-25 14:43:21 +02:00
Thomas Schlichter
11693b1672 5G NR: remove hardcoded modulation order 2022-08-25 14:40:36 +02:00
Thomas Schlichter
e5fad77f47 5G NR DCI improvements 2022-08-25 14:40:36 +02:00
Thomas Schlichter
8f6d084c80 small cleanup in get_type0_PDCCH_CSS_config_parameters() 2022-08-25 14:40:36 +02:00
Thomas Schlichter
7129830555 fix Msg2 scheduling
scheduling when frame number wraps was not handled correctly
2022-08-25 14:40:36 +02:00
Thomas Schlichter
ef46fe8ba8 Add and harmonize configuration files for 5, 10, 40 MHz FDD with USRP X300 2022-08-25 14:40:36 +02:00
Thomas Schlichter
c42304a797 nr_dlsim: also dump rxdataF_ext in case of debugging 2022-08-25 14:40:36 +02:00
Thomas Schlichter
ae2e8060ea update band 66 configuration files for USRP X300 and N300 2022-08-25 14:40:36 +02:00
Thomas Schlichter
9e1edf2957 nr_phy_scope: improve x-axis scaling of channel impulse response and PUSCH LLR 2022-08-25 14:40:36 +02:00
Thomas Schlichter
ea085b5fc1 harmonize initialization of symbol- and timeshift-rotation 2022-08-25 14:40:36 +02:00
Thomas Schlichter
1e36c48cf2 fix application of measured SSS fine frequency offset 2022-08-25 14:40:36 +02:00
luis_pereira87
015a4d945b Enable 2 Downlink layers MIMO and other minor improvements in default configuration files 2022-08-25 13:27:29 +01:00
Thomas Schlichter
f8de623286 NR_UE: use improved version of mult-layer dlsch_extract_rbs(), also correctly handling odd number of PRBs 2022-08-25 12:10:48 +02:00
Thomas Schlichter
421eb65a9a NR_UE: fix ulsch precoding for RB crossing DC (odd number of RB) 2022-08-25 12:10:48 +02:00
Roberto Louro Magueta
d39a772436 Remove tabs 2022-08-25 10:33:38 +01:00
Roberto Louro Magueta
432817d1d5 Merge remote-tracking branch 'origin/develop' into develop-SRS-MIMO 2022-08-25 10:26:35 +01:00
Thomas Schlichter
6310606980 fix alignment issues in case of odd number of PRBs 2022-08-25 11:05:48 +02:00
Thomas Schlichter
3c17573f34 apply nr rotation only on used PRBs instead of complete OFDM symbol 2022-08-25 11:05:48 +02:00
Thomas Schlichter
21ea2f2136 pbchsim: apply nr rotation in frequency domain, like in all other places, instead of time domain 2022-08-25 10:17:59 +02:00
Sagar Parsawar
006421d7af Fixed oai_dfts buffer size issue for IDFT65536 and IDFT384 2022-08-24 23:46:43 +02:00
Robert Schmidt
a58b3989d1 Install gdb in RAN images to have stack traces on asserts 2022-08-24 15:51:49 +02:00
Robert Schmidt
4dc26bf575 docker entrypoints: print config, log USRP loader 2022-08-24 15:51:49 +02:00
Robert Schmidt
23cf8059aa Save logs of unhealthy containers during deployment 2022-08-24 15:51:49 +02:00
Robert Schmidt
c1b448cd1a Handle errors in Copy_Image_to_Test_Server() 2022-08-24 15:51:49 +02:00
laurent
3a0a14cf7d gzip optim, links for size 2022-08-24 15:51:49 +02:00
Hongzhi Wang
ea6524c52f update cmakelists and ulsim 2022-08-24 08:27:14 +02:00
Robert Schmidt
0ccb3a2d47 Add T1 Offload test to RAN-Container-Parent 2022-08-23 17:18:07 +02:00
Robert Schmidt
5bd81ae95d Define T1 Offload scenario file 2022-08-23 17:13:03 +02:00
Robert Schmidt
b0e5b6eb9a Add Run_NRulsimTest 2022-08-23 17:13:03 +02:00
Robert Schmidt
aa1cbff597 Improve PhySim build to be shorter 2022-08-23 17:11:51 +02:00
Robert Schmidt
4d85beae73 Rename CI Run_PhySim to Run_LDPCTest 2022-08-23 17:11:48 +02:00
Sagar Parsawar
96a7c4ddac Revert "not calling ue scheduler in phy_test mode"
This reverts commit 4704af4874.
2022-08-23 16:34:13 +02:00
Chieh-Chun Chen
4e4a0b7ba3 use bool and fix indentation 2022-08-23 15:54:03 +02:00
Robert Schmidt
90d4868a43 Isolate PhySim source build XML scenario 2022-08-23 12:45:36 +02:00
Robert Schmidt
e28fccc7fb Hardcode (implicit) physim OC server to use 2022-08-23 10:36:16 +02:00
Hongzhi Wang
1d4ffe42c4 Merge branch 'develop' into ldpc_offload_t1_mr
Conflicts:
	executables/nr-softmodem.h
	executables/softmodem-common.h
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-08-22 20:02:34 +02:00
Sagar Parsawar
bb7a22be0d Merge remote-tracking branch 'origin/develop' into nr_prs 2022-08-22 19:16:55 +02:00
Roberto Louro Magueta
ae7a2f5893 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-08-22 14:47:55 +01:00
Roberto Louro Magueta
c6fda387e0 Fix mem_offset after merge 2022-08-22 14:23:12 +01:00
laurent
0475b78ff4 fix unaligned 2022-08-22 12:55:23 +02:00
Roberto Louro Magueta
df0f756c87 Fix build after merge 2022-08-22 11:30:06 +01:00
Roberto Louro Magueta
d04918eb9b Merge remote-tracking branch 'origin/develop' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_config.c
#	openair2/RRC/NR/nr_rrc_config.h
2022-08-22 10:45:56 +01:00
luis_pereira87
f9f175a6f1 Fix initial_cyclic_shift for pucch-ConfigCommon 2022-08-22 10:31:15 +01:00
luis_pereira87
5ba55a511e Fixes when there is no spCellConfig configured 2022-08-22 10:07:23 +01:00
Robert Schmidt
ad8381a66b Merge branch 'integration_2022_wk33' into 'develop'
integration_2022_wk33

See merge request oai/openairinterface5g!1667

MR !1604 RRC harmonization of multiple BWPs configuration
MR !1657 NR fixes for 100MHz and 2 layers
MR !1646 Add 4G L2simulator test
MR !1662 fix a bug: multi ues in rfsimulator 4G
MR !1559 NR UE multi SSB meas
changes to disable legacy 4G F1 test
MR !1661 fix bugs in config module and config usage
MR !1562 Correctly handle SIGINT/stop signal in nr-softmodem
MR !1659 Fix segFault in SRS for odd number of PRBs
2022-08-21 06:10:51 +00:00
Raymond Knopp
3f790e1504 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-08-20 19:22:31 +02:00
Raymond Knopp
787249fe8a fix for L2 emulator test 2022-08-20 19:20:50 +02:00
Robert Schmidt
2ea9618a8d Limit function name string length for logging output 2022-08-19 18:22:23 +02:00
Robert Schmidt
8aaede906d Do not hard-code default global log level 2022-08-19 18:22:23 +02:00
Robert Schmidt
909b511ed0 Merge remote-tracking branch 'origin/develop-SRS-segFault-51PRBs' into integration_2022_wk33 2022-08-19 18:22:23 +02:00
Robert Schmidt
4674cddb71 Merge remote-tracking branch 'origin/fix-nrsoftmodem-stop' into integration_2022_wk33 2022-08-19 18:22:23 +02:00
Robert Schmidt
5ebe28565e Merge remote-tracking branch 'origin/fix-config-module' into integration_2022_wk33 2022-08-19 18:22:22 +02:00
Robert Schmidt
84f7634874 Disable legacy 4G F1 test and XML scenario files 2022-08-19 18:22:22 +02:00
Roberto Louro Magueta
a0d8009170 Address review comments 2022-08-19 14:31:13 +01:00
Robert Schmidt
f3cdc11269 Merge remote-tracking branch 'origin/NR_UE_multi_SSB_meas' into integration_2022_wk33 2022-08-18 20:53:04 +02:00
Robert Schmidt
db31ddc341 Merge remote-tracking branch 'origin/bug-rfsim-4G-multi-UEs' into integration_2022_wk33 2022-08-18 20:52:21 +02:00
Robert Schmidt
71d0e95f1f Merge remote-tracking branch 'origin/ci-test-4g-l2sim' into integration_2022_wk33 2022-08-18 20:52:04 +02:00
Robert Schmidt
70627a9953 Merge remote-tracking branch 'origin/NR_100MHz_2layers_fixes' into integration_2022_wk33 2022-08-18 20:51:23 +02:00
Robert Schmidt
e0a802df16 Remove irrelevant RU/L1/RFsim config from L2sim gNB config 2022-08-18 20:39:31 +02:00
Robert Schmidt
6c31639522 Only call NR_PHY_config_req when no (n)FAPI 2022-08-18 20:37:06 +02:00
Robert Schmidt
b712e77527 Don't block nr-softmodem in nFAPI mode, not needed 2022-08-18 20:18:18 +02:00
Robert Schmidt
238c8a62b4 Delete dead code in nr-softmodem main() 2022-08-18 20:18:18 +02:00
Robert Schmidt
6bf0f98e7f Skip scheduling of UEs if there are no free HARQs 2022-08-18 19:59:50 +02:00
Roberto Louro Magueta
1638bbba8a Add intermediate variable 2022-08-18 17:00:21 +01:00
Hongzhi Wang
1273ad406c fix compiling issue and removing dead code 2022-08-18 17:44:19 +02:00
Hongzhi Wang
31acfdea58 Merge branch 'develop' into ldpc_offload_t1_mr
Conflicts:
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-08-18 17:38:55 +02:00
Cedric Roux
3e2d88907b use bool, not int 2022-08-18 17:07:04 +02:00
laurent
d6d4d87e0b code review comments 2022-08-18 16:43:26 +02:00
laurent
8b159d6ddc remove unclear function free_configmodule(), as we have end_configmodule() that do the same 2022-08-18 09:47:44 +02:00
Robert Schmidt
a08d78d79d Correctly show proxy build info 2022-08-17 23:50:23 +02:00
Robert Schmidt
c139204ce0 Make one L2sim proxy build scenario file 2022-08-17 23:50:23 +02:00
Robert Schmidt
ab5a67463a Reuse existing files from 4g_rfsimulator_fdd_05MHz 2022-08-17 17:35:44 +02:00
frtabu
983c956b77 Fix config module memory leaks 2022-08-16 17:58:55 +02:00
Cedric Roux
0618812554 T tracer: simplify
- don't call exit() if get_message() fails, simply terminate the thread and
  disable the T tracer
- T_dont_fork disappears, monitor_and_kill() as well, so now it's only 2
  processes: the main (enb/gnb/ue) and the local tracer
2022-08-16 14:44:23 +02:00
Robert Schmidt
5cadafc154 CI: check for final 'Bye.' message 2022-08-16 14:44:23 +02:00
Robert Schmidt
6f40b6190c Stop containers before undeploying 2022-08-16 14:44:23 +02:00
Robert Schmidt
d08ef0490d Correctly call stop functions in nr-softmodem main 2022-08-16 14:44:23 +02:00
Robert Schmidt
1df60139e2 Automatically close GTP sockets at program end 2022-08-16 14:44:22 +02:00
Robert Schmidt
19d83ad21e Make GTPV1U REQ in one allocation to avoid mem leak at GTP 2022-08-16 14:44:22 +02:00
Robert Schmidt
51a7b7bd6e Remove memory leaks in FAPI PUCCH 0-4 PDU handling 2022-08-16 14:44:22 +02:00
Robert Schmidt
2465f1fb51 Don't allocate gNB rxdataF, it is managed at the RU
Removes phy_procedures_gNB_common_RX() (only used in nr_ulsim) + fixes
in pucchsim
2022-08-16 14:44:22 +02:00
Robert Schmidt
9957056f38 Drop empty logging statement 2022-08-16 14:44:22 +02:00
Robert Schmidt
61ead59d13 Check oai_exit in wait_on_condition() and friends, no volatile 2022-08-16 14:44:22 +02:00
Robert Schmidt
fffb2d14de Close rfsimulator sockets 2022-08-16 14:44:22 +02:00
Robert Schmidt
649e059f90 RFsim: Mark FD non-blocking once; show errno on problem 2022-08-16 14:44:22 +02:00
Florian Kaltenberger
7e82f2f4e8 sending small end-of-burst TX packet when exiting softmodem 2022-08-16 14:44:22 +02:00
Robert Schmidt
69cf59f32d Stop USRP write thread if necessary 2022-08-16 14:44:21 +02:00
Robert Schmidt
e28bd9ff2a Free USRP objects in trx_usrp_end() 2022-08-16 14:43:59 +02:00
Robert Schmidt
0ae3d3027d Don't call trx_end_func() at nr-softmodem, is done in ru_thread() 2022-08-16 14:41:02 +02:00
Robert Schmidt
004d6d3bab Correctly stop tx_reorder and L1_stats threads 2022-08-16 14:41:02 +02:00
Robert Schmidt
1512e39e4e Rewrite kill_NR_RU_proc() and reuse functions 2022-08-16 14:41:02 +02:00
Robert Schmidt
9ec3deb5bd Improve thread pool documentation 2022-08-16 14:41:02 +02:00
Robert Schmidt
fafed7d181 Remove unused restrictRNTI variable in Tpool 2022-08-16 14:41:02 +02:00
Robert Schmidt
31dcdf2152 Implement abortNotifiedFIFO() to unlock FIFO waits 2022-08-16 14:41:02 +02:00
Robert Schmidt
dfd9a91b50 Rename abortNotifiedFIFO() to abortNotifiedFIFOJob() 2022-08-16 14:41:02 +02:00
Robert Schmidt
d73e1a4133 Handle NULL return of pullTpool() 2022-08-16 14:41:02 +02:00
Robert Schmidt
178e2773ed Handle abortFIFO in FIFO functions 2022-08-16 14:41:02 +02:00
Robert Schmidt
e63cc03c9d Implement abortTpool()
This stops all ongoing threads (using pthread_join()), and marks FIFOs
to not block anymore. In this case, returned messages will be NULL.
2022-08-16 14:41:02 +02:00
Robert Schmidt
078d6fa15b threadCreate(): don't create detached threads
A detached thread cannot be joined with pthread_join(). However, this
is crucial for correct resetting of the nr-softmodem. Therefore, do not
create threads in detached state.
2022-08-16 14:41:02 +02:00
Robert Schmidt
fc298b77b5 Don't stop nr-softmodem on FEP thread exit cond 2022-08-16 14:41:02 +02:00
Robert Schmidt
76f399cdd6 Threading/memory improvements at nr-softmodem end
- First stop threads then free memory
- Don't call kill_NR_RU_proc() twice (is called in stop_RU())
- Memory allocation optimizations
2022-08-16 14:41:02 +02:00
luis_pereira87
604d52a431 Replace sleep by mutex in itti_wait_tasks_end() 2022-08-16 14:41:01 +02:00
Robert Schmidt
c4a657cc33 Avoid additional malloc() for queues and Tpool 2022-08-16 14:41:01 +02:00
Robert Schmidt
31d5bb6ffd Rename abortTpool() to abortTpoolJob(), fix doc 2022-08-16 14:41:01 +02:00
francescomani
df1f4381a2 fix in sib1 memcpy size 2022-08-16 11:18:00 +02:00
francescomani
166aae35ab fixes to get 100MHz working with 2 layers 2022-08-16 11:18:00 +02:00
Robert Schmidt
70bb1a3858 Add L2sim-4G to RAN-Container-Parent and documentation 2022-08-16 09:59:36 +02:00
laurent
65b399fcd7 fix bugs in config module and config usage
fix bug from this MR

fix bug from this MR

stupid-mistake
2022-08-16 09:22:15 +02:00
laurent
d46a7e40a8 fix a bug: multi ues in rfsimulator 4G 2022-08-16 08:51:37 +02:00
Robert Schmidt
793c8de2ae CI: Add L2sim-4G iperf DL&UL test 2022-08-13 15:17:42 +02:00
Robert Schmidt
71c13d85fc Add 4G L2sim XML scenario files 2022-08-13 15:17:42 +02:00
Robert Schmidt
7f8031f69a Add docker-compose.yml for l2sim-4g 2022-08-13 15:17:42 +02:00
Robert Schmidt
c7f79e71e7 Add more users for dummy CI 4G UE sim configuration 2022-08-13 15:17:42 +02:00
Robert Schmidt
df05475b6b Add eNB L2sim config file for enb container image 2022-08-13 15:17:42 +02:00
francescomani
0289bb5791 SRS for multiple BWPs 2022-08-12 15:39:48 +02:00
francescomani
8403b2c6d5 Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-08-12 13:05:11 +02:00
francescomani
2e4f55f6f1 Merge remote-tracking branch 'origin/develop' into ul-phr 2022-08-12 12:22:48 +02:00
Cedric Roux
1b029be058 nr rlc stats: make avg time to tx optional
Introduce the function nr_rlc_activate_avg_time_to_tx() to
activate/deactivate collection of avg time to tx stats (which
may have an impact on realtime processing, so better not compute
them when not needed).

Fix a little bug in time_average_get_average() for when there is not stat.
2022-08-12 12:19:09 +02:00
Chieh-Chun Chen
c0394bc09c Add avg time to tx an sdu for RLC UM & TM mode 2022-08-12 12:19:09 +02:00
Cedric Roux
fad3f23164 Add RLC stats: avg time to tx for an RLC SDU 2022-08-12 12:19:09 +02:00
Robert Schmidt
6a23bcfb42 Add PDCP stats 2022-08-12 12:19:09 +02:00
Robert Schmidt
ec4df27a75 Add RLC stats 2022-08-12 12:19:09 +02:00
Robert Schmidt
bcbf2b38ee Add more MAC stats 2022-08-12 12:19:09 +02:00
Robert Schmidt
61312ca6e2 Merge branch 'integration_2022_wk32' into 'develop'
integration_2022_wk32

See merge request oai/openairinterface5g!1658

MR !1551 Use F1 internally: RRC Message Transfer
MR !1645 fix(ci): Fixes for the legacy LTE bench
MR !1654 Fix for NDI init at UE
MR !1656 ngap: minor fix: access the array correctly
MR !1635 Fix SDAP in RFSIM mode
MR !1643 add asn1c logs
MR !1647 Function to get sample rate and BW
2022-08-12 05:33:12 +00:00
Robert Schmidt
6a0605b000 Merge remote-tracking branch 'origin/get_samplerate_and_bw' into integration_2022_wk32 2022-08-11 18:11:15 +02:00
Robert Schmidt
9c94f86451 Merge remote-tracking branch 'origin/add-asn1c-codec-logs' into integration_2022_wk32 2022-08-11 18:10:55 +02:00
Robert Schmidt
ef526692b5 Merge remote-tracking branch 'origin/fix_sdap' into integration_2022_wk32 2022-08-11 18:04:47 +02:00
francescomani
63a9cbcc66 fixes to correctly configure and schedule CSI-RS in case of multiple BWPs 2022-08-11 15:41:46 +02:00
laurent
eba7dc5c76 Print asn1c encoding logs using OAI logging system 2022-08-11 14:00:43 +02:00
Angelo Athanassopoulos
17aef213a1 Fix: noS1 with SDAP 2022-08-11 11:19:27 +02:00
Roberto Louro Magueta
5d9f91f6a3 Fix input in fill_srs_channel_matrix() function 2022-08-10 19:53:57 +01:00
Robert Schmidt
44f363c63c Merge remote-tracking branch 'origin/minor-fix-bad-sd-flag' into integration_2022_wk32 2022-08-10 20:40:24 +02:00
Robert Schmidt
c607e5c3d6 Merge remote-tracking branch 'origin/NR_phytest_UE_ndi' into integration_2022_wk32 2022-08-10 20:40:03 +02:00
Robert Schmidt
f065de0811 Merge remote-tracking branch 'origin/ci-fix-legacy-bench' into integration_2022_wk32 2022-08-10 20:39:57 +02:00
Raymond Knopp
3ef063194a small modification for performance tracing of RU procedures 2022-08-10 17:27:57 +02:00
francescomani
c0244ee68e fix for conflicting csi resources for multiple ues 2022-08-10 16:51:03 +02:00
Raphael Defosseux
888c4ead0f fix(ci): Fixes for the legacy LTE bench
- Problem with escaping chars
 - Killing properly tshark process on EPC
 - standalone Terminate eNB was failing

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-08-10 15:08:52 +02:00
francescomani
5d39d8125c addressing review comment 2022-08-10 09:38:21 +02:00
Roberto Louro Magueta
0cb014f463 Fix memory alignment in nr_srs_channel_estimation 2022-08-09 17:11:12 +01:00
Robert Schmidt
f1c5378e3b Shorten 5G RFsim tab names 2022-08-09 15:05:58 +02:00
Robert Schmidt
c21f86421e Test SDAP in 5G FDD RFsim test 2022-08-09 15:05:50 +02:00
Cedric Roux
ee7aca5d05 ngap: minor fix: access the array correctly 2022-08-09 12:22:40 +02:00
francescomani
dc531588e9 addressing review comments 2022-08-09 12:01:54 +02:00
Sagar Parsawar
3301cba159 Resolved seg fault in UE in absence of prs_config file 2022-08-09 11:55:55 +02:00
Raymond Knopp
8530b9c2c2 fixed issue with default CPU cores for RU in CI (now defaults to 2 TP cores and O/S controlled scheduling) 2022-08-09 08:24:37 +02:00
francescomani
5cfa5ad6f6 fixes for multiple BWPs 2022-08-08 18:32:39 +02:00
Angelo Athanassopoulos
5382227866 Fix SDAP, get QFI & PDUSession ID from CN 2022-08-08 18:09:59 +02:00
Roberto Louro Magueta
e5133cf669 Move more variables to nr_srs_channel_estimation() function 2022-08-08 16:25:50 +01:00
francescomani
b749ac12f7 hotfix for UE NDI init 2022-08-08 17:12:12 +02:00
Roberto Louro Magueta
65b56db9ec Move srs_ls_estimated_channel[] to nr_srs_channel_estimation() function 2022-08-08 16:07:58 +01:00
Roberto Louro Magueta
1504e9256b Fix build after merge 2022-08-08 15:11:18 +01:00
Roberto Louro Magueta
12e4619f05 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
2022-08-08 14:28:32 +01:00
Roberto Louro Magueta
49d60500c0 Change array size from MAX_NUM_NR_SRS_AP to 1<<srs_pdu->num_ant_ports 2022-08-08 13:49:33 +01:00
Sagar Parsawar
68f7e1d3ab Removing duplicate file lte_gold_generic.c 2022-08-08 13:40:47 +02:00
Roberto Louro Magueta
7e87265a74 Merge remote-tracking branch 'origin/develop' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-08-08 11:54:43 +01:00
francescomani
032879c0c1 Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-08-08 12:37:40 +02:00
francescomani
154571e10c Merge remote-tracking branch 'origin/develop' into ul-phr 2022-08-08 12:12:29 +02:00
Raymond Knopp
2ed7e89bd2 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-08-08 07:25:13 +02:00
Raymond Knopp
4e9c9c5864 added configurable half-slot parallelization to RU processing (same as original version) 2022-08-07 22:49:11 +02:00
Robert Schmidt
9622a56bf1 gNB RRC: handle F1AP_UL_RRC_MESSAGE 2022-08-07 20:03:05 +02:00
Robert Schmidt
18a68387c4 Transfer Initial UL RRC Message through internal F1 2022-08-07 20:03:04 +02:00
Robert Schmidt
a126cd1220 Delete ITTI-SIM 2022-08-07 19:58:35 +02:00
Robert Schmidt
52dbc6fe75 Refactor linear allocator from LTE/NR; separate LTE/NR headers 2022-08-07 19:49:08 +02:00
Robert Schmidt
0c9006ec66 Do not initialize MAC multiple times 2022-08-07 19:49:08 +02:00
Robert Schmidt
f52809a8fb Add MAC-RRC UL stubs for F1AP and direct 2022-08-07 19:49:08 +02:00
Robert Schmidt
f75cdbcad7 Use F1 DL RRC message transfer internally for RRCSetup 2022-08-07 19:49:08 +02:00
Robert Schmidt
4154e9e9d5 Merge branch 'integration_2022_wk31b' into 'develop'
integration_2022_wk31b

See merge request oai/openairinterface5g!1649

MR !1624 NR PUCCH2 fix
MR !1627 fix for pusch dtx in phytest mode
MR !1634 Minor optimization in function init_symbol_rotation
MR !1637 gtp: small fix: set E if there is an extension header
MR !1641 Resolve AMF ip address using FQDN
delete files rxsigF0.m, txsig0.m, ldpctest_BG_1_Zc_384_rate_1-3_block_length_8448_maxit_5.txt
MR !1593 Reworking of BWP handling at MAC (initial MR)
MR !1652 fix for 3-digit MNC in asn1_msg.c
2022-08-07 17:47:12 +00:00
Robert Schmidt
4f2e97d91c Merge remote-tracking branch 'origin/nr_sib1_mnc_hotfix' into integration_2022_wk31b 2022-08-07 19:39:15 +02:00
Raymond Knopp
087a97f606 fix for 3-digit MNC in asn1_msg.c 2022-08-06 16:30:59 +02:00
Raymond Knopp
ed972fd6c6 changes to documentation ethernet.md and bug introduced through simplification (sectional of nr_feptx in nr-ru.c) 2022-08-06 16:27:41 +02:00
Raymond Knopp
d517c0c5b2 missing definitiona for build of OAI RU 2022-08-06 14:02:28 +02:00
Raymond Knopp
491d97dee9 removal of IF5_tools.x and old NR RU multi-threaded implementation. Fixes for LTE build 2022-08-06 12:13:16 +02:00
francescomani
d793de5700 some fixes in SSB RSRP 2022-08-06 11:27:49 +02:00
Sagar Parsawar
a5eda343ed 1. Fixed pbchsim build failure due to prs source file dependacy
2. Fixed GPS time assert in gNB_scheduler_uci.c
2022-08-05 17:29:51 +02:00
Raymond Knopp
517970a445 warning removal 2022-08-05 07:44:22 +02:00
Raymond Knopp
87a51c9e18 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework
Conflicts:
	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
2022-08-05 07:21:09 +02:00
Raymond Knopp
1b35f0b163 added profiling circular buffer to gNB 2022-08-05 07:18:44 +02:00
Robert Schmidt
ebc55ea206 Merge remote-tracking branch 'origin/NR_BWP_config' into integration_2022_wk31b 2022-08-04 19:13:57 +02:00
Robert Schmidt
ddc6df0bf4 Remove files accidentally added in MR 1382 2022-08-04 18:51:02 +02:00
Robert Schmidt
b0c7a3efe9 Merge remote-tracking branch 'origin/amf-fqdn-support' into integration_2022_wk31b 2022-08-04 18:49:49 +02:00
Robert Schmidt
0c29e5ea5b Merge remote-tracking branch 'origin/gtp-hotfix' into integration_2022_wk31b 2022-08-04 18:49:41 +02:00
Robert Schmidt
cb4e60eed3 Merge remote-tracking branch 'origin/init_symbol_rotation_optimization' into integration_2022_wk31b 2022-08-04 18:49:33 +02:00
Robert Schmidt
0352f98467 Merge remote-tracking branch 'origin/NR_PUSCH_phytest_DTX_fix' into integration_2022_wk31b 2022-08-04 18:49:25 +02:00
francescomani
40442d14cf adding a comment 2022-08-04 18:17:15 +02:00
francescomani
9333f53dc8 adding an assertion in configure_UE_BWP 2022-08-04 17:46:18 +02:00
francescomani
6e2a83856b common function to get sample rate and BW 2022-08-04 17:19:15 +02:00
Sagar Parsawar
260420307f Merge remote-tracking branch 'origin/develop' into nr_prs 2022-08-04 15:12:01 +02:00
Sagar Parsawar
117c8bcc95 Merge remote-tracking branch 'origin/develop' into nr_prs 2022-08-04 14:37:05 +02:00
Sagar Parsawar
ad61b92eb8 Merge remote-tracking branch 'origin/nr_prs_merge' into nr_prs 2022-08-04 13:41:19 +02:00
Sagar Parsawar
f7ae2f0c9f Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-08-04 13:27:29 +02:00
francescomani
d908779c38 lowercase bwp 2022-08-04 11:34:25 +02:00
francescomani
8c81c70de9 Fix AckNack and SR multiplexing in PUCCH2
- correctly reset HARQ structure for HARQ Ack/Nack/PUCCH0
- reduce max PUCCH2 bits to have room for SR
2022-08-04 10:53:41 +02:00
francescomani
3d804db4b3 minor code refactoring 2022-08-04 09:35:45 +02:00
Rohan
b64baf144d Resolve AMF ip address using FQDN 2022-08-03 17:27:08 +02:00
Raymond Knopp
afed0cec34 testing with 20 and 50 MHz 2x2 on Jaguar. Adding simple documentation in ethernet.md file. 2022-08-03 17:15:49 +02:00
francescomani
64568b2a9d Merge remote-tracking branch 'origin/develop' into ul-phr 2022-08-03 14:57:54 +02:00
francescomani
5fc23d5864 Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-08-03 12:11:37 +02:00
francescomani
cbff9df713 Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-08-03 10:59:12 +02:00
Cedric Roux
3155ec6df8 gtp: small fix: set E if there is an extension header 2022-08-03 10:34:12 +02:00
francescomani
3d93d0dfc0 fix for pusch dtx in phytest mode 2022-08-03 09:57:40 +02:00
Robert Schmidt
7f910a2e36 Merge branch 'integration_2022_wk30b' into 'develop'
integration_2022_wk30b

See merge request oai/openairinterface5g!1630

MR !1594 Schedule BWP switching to the first active BWP when RA with Msg3 carrying DCCH or DTCH message
MR !1628 Fix a segmentation fault when there is no spCellConfigDedicated with maxMIMO_Layers parameter
MR !1528 CSI Feedback
MR !1631 Fix floating point for SRS
MR !1632 gtp pgu session header
MR !1633 Improve SIB1 length to support maximum value specified in 3GPP TS 38.331 section 5.2.1
MR !1463 Support arbitrary number of retransmissions (up to 8)
2022-08-03 06:42:38 +00:00
Robert Schmidt
a21c31a6a5 Merge remote-tracking branch 'origin/HARQ_rv_circular_array' into integration_2022_wk30b 2022-08-02 11:04:04 +02:00
Robert Schmidt
f29fe05031 Merge remote-tracking branch 'origin/NR_MAC_SIB1_Improvements' into integration_2022_wk30b 2022-08-02 11:04:04 +02:00
Robert Schmidt
d2a784280d Merge remote-tracking branch 'origin/impl-pdu-session-header' into integration_2022_wk30b 2022-08-02 11:04:04 +02:00
Robert Schmidt
48b045b0b0 Merge remote-tracking branch 'origin/develop-SRS-fix' into integration_2022_wk30b 2022-08-02 11:04:04 +02:00
Robert Schmidt
fc6122759b Merge remote-tracking branch 'origin/develop-CSI-Measurements' into integration_2022_wk30b 2022-08-02 11:04:04 +02:00
Robert Schmidt
eb46f216b1 Upgrade path to AS lteue after simulator upgrade 2022-08-02 11:04:03 +02:00
Robert Schmidt
3e7864eb53 Merge remote-tracking branch 'origin/Fix_segfault_when_no_spCellConfigDedicated' into integration_2022_wk30b 2022-08-02 11:04:03 +02:00
Raymond Knopp
745ef122b8 logging in eth_udp.c to warn about potential missed TX opportunities. 2022-08-02 09:09:07 +02:00
laurent
7a6f9659bc gtp-u pdu session extension header implementation, this extension header is mantadory in 5G 2022-08-01 22:57:52 +02:00
luis_pereira87
fdd79391e9 Call function nr_mac_update_timers when there is a Msg3 carrying a DCCH message 2022-08-01 17:57:50 +01:00
francescomani
840cf403db Make max num of HARQ tx configurable per UL/DL
Contributors
  francescomani <email@francescomani.it>
  Robert Schmidt <robert.schmidt@openairinterface.org>
2022-08-01 16:53:43 +02:00
francescomani
4ad4edb871 Log arbitrary number of HARQ rounds
Contributors
  francescomani <email@francescomani.it>
  Robert Schmidt <robert.schmidt@openairinterface.org>
2022-08-01 16:31:01 +02:00
francescomani
989c22a46c Limit RV to interval of 0..3
Contributors
  francescomani <email@francescomani.it>
  Rodolphe Bertolini <rodolphe.bertolini@cea.fr>
2022-08-01 16:29:58 +02:00
francescomani
9e5a77e6e3 Remove max number of HARQ rounds from L1
Contributors:
  francescomani <email@francescomani.it>
  Rodolphe Bertolini <rodolphe.bertolini@cea.fr>
2022-08-01 15:59:16 +02:00
luis_pereira87
48019c33f4 Minor optimization in function init_symbol_rotation 2022-08-01 11:20:55 +01:00
luis_pereira87
47d604b41f Improve SIB1 length to support maximum value specified in 3GPP TS 38.331 section 5.2.1
The physical layer imposes a limit to the maximum size a SIB can take. The maximum SIB1 or SI message size is 2976 bits.
2022-08-01 10:35:08 +01:00
luis_pereira87
7f38019f7e Remove unused code 2022-08-01 10:26:14 +01:00
Raymond Knopp
cecb9568ad warning removal 2022-08-01 08:51:29 +02:00
Raymond Knopp
10d288e9ab Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-07-31 21:25:02 +02:00
Raymond Knopp
3760ffa4af Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-07-30 19:36:27 +02:00
francescomani
be0fc1a982 Merge remote-tracking branch 'origin/develop' into NR_UE_multi_SSB_meas 2022-07-30 10:21:58 +02:00
francescomani
d0e68a2c88 reworking phr
adding assertion
2022-07-29 18:25:59 +02:00
Roberto Louro Magueta
6f67792993 Variable rename 2022-07-29 10:42:55 +01:00
Roberto Louro Magueta
069bebfa48 Fix floating point 2022-07-29 10:05:34 +01:00
luis_pereira87
b7b6e8a60f Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
2022-07-28 16:50:04 +01:00
francescomani
e8c637cd32 Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-07-28 17:21:04 +02:00
francescomani
d5a086d396 Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-07-28 16:12:27 +02:00
francescomani
f44dd6317b nr_process_mac_pdu formatting 2022-07-28 15:31:13 +02:00
francescomani
478ea7ab6c BG at MAC as part of new FAPI version 2022-07-28 15:10:03 +02:00
luis_pereira87
1a77e9ba37 Schedule BWP switching to the first active BWP (previous active BWP before RA with Msg3 carrying DCCH or DTCH message) 2022-07-28 14:49:17 +02:00
Robert Schmidt
add469e7ca Merge branch 'integration_2022_wk30' into 'develop'
integration_2022_wk30

See merge request oai/openairinterface5g!1626

MR !1616 NR SA tutorials v2
MR !1620 nr_pdcp: nia1 implementation
MR !1622 CI: do not trigger tests if nothing is tagged NSA
MR !1623 Fix for ssb subcarrier offset in case of f<3GHz
MR !1606 code maintenance
MR !1568 Add undefined behavior sanitizer in build_oai, fix some errors
MR !1587 Dynamically build L2sim proxy
2022-07-28 11:59:36 +00:00
Robert Schmidt
08e30bf4ab Merge remote-tracking branch 'origin/l2proxy-build' into integration_2022_wk30 2022-07-28 09:45:24 +02:00
Robert Schmidt
57c545d4b3 Merge remote-tracking branch 'origin/use-ubsan' into integration_2022_wk30 2022-07-28 09:45:10 +02:00
luis_pereira87
970bfc92f0 Fix a segmentation fault when there is no spCellConfigDedicated with maxMIMO_Layers parameter 2022-07-28 07:21:36 +01:00
Roberto Louro Magueta
8cd8799981 Update range for reported RSRP 2022-07-27 18:43:47 +01:00
Robert Schmidt
c663688fb2 Merge remote-tracking branch 'origin/accumulated-fixes-2022june' into integration_2022_wk30 2022-07-26 17:22:00 +02:00
laurent
b4331bf7f4 code maintenance: old errors 2022-07-26 17:20:09 +02:00
Robert Schmidt
878491334f Merge remote-tracking branch 'origin/another_SSB_bugfix' into integration_2022_wk30 2022-07-26 17:15:32 +02:00
Robert Schmidt
8b26160d4d Merge remote-tracking branch 'origin/fix-jenkins-trig-nsa' into integration_2022_wk30 2022-07-26 17:15:16 +02:00
Roberto Louro Magueta
3ca83257cc UE sends the report with the RSRP based on CSI-RS to gNB 2022-07-26 15:45:11 +01:00
Robert Schmidt
c59912d7ee Merge remote-tracking branch 'origin/nr-pdcp-nia1' into integration_2022_wk30 2022-07-26 16:39:11 +02:00
Robert Schmidt
a20a6ba431 Merge remote-tracking branch 'origin/NR_SA_Tutorials_v2' into integration_2022_wk30 2022-07-26 16:38:45 +02:00
Roberto Louro Magueta
1f818b4178 RSRP computation at UE based on CSI-RS 2022-07-26 12:45:30 +01:00
Robert Schmidt
e1798745ef Dynamically build L2sim proxy 2022-07-26 09:54:53 +02:00
francescomani
5427ec25b6 applying config_srs to all the instances 2022-07-25 15:24:58 +02:00
francescomani
56e73266cb Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-07-25 15:02:38 +02:00
Sagar Parsawar
cd7f8333f7 Adding 16x IDFT interpolation for PRS peak estimation 2022-07-25 13:57:56 +02:00
Robert Schmidt
04a09c999c Implement delta MCS in UL Power estimation 2022-07-25 13:35:41 +02:00
Robert Schmidt
83149e5100 Base graph selection: create function in nr_common.c 2022-07-25 13:35:41 +02:00
Robert Schmidt
a840559500 Implement PUSCH RBs according to PHR 2022-07-25 13:35:41 +02:00
francescomani
228bd5f16d fix for ssb subcarrier offset in case of <3GHz 2022-07-22 17:01:47 +02:00
Roberto Louro Magueta
384fad9e8a Align memory in srs_estimated_channel_freq and srs_estimated_channel_time 2022-07-22 12:04:21 +01:00
Robert Schmidt
3c2375eada CI: do not trigger tests if nothing is tagged NSA
The previous version would trigger sub-pipelines (LTE-2x2, ...) if no MR
had the NSA tag (without a commit, etc). Of course, this would make all
pipelines subsequently fail (as not enough arguments, such as the
commit, were given). In this commit, we read the output of `jq` from
JSON, which will result in an empty list if no MR is tagged with the NSA
label (and the output in the console will be nicer as well).
2022-07-21 17:57:26 +02:00
Cedric Roux
667b8e5eed nr_pdcp: nia1 implementation
We reuse existing code from eia1 for actual computation. Maybe not the most
efficient. To be revised if needed.

Some hacks in CMakeLists.txt were introduced to compile
phy simulators. To be removed at some point.
2022-07-21 16:59:38 +02:00
francescomani
2e4e9f6423 Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-07-21 11:35:28 +02:00
Roberto Louro Magueta
8036d9ee7e Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback 2022-07-20 20:32:01 +01:00
Roberto Louro Magueta
2f3f858648 Merge remote-tracking branch 'origin/develop' into develop-SRS-MIMO 2022-07-20 20:16:00 +01:00
Roberto Louro Magueta
6ba60eb181 Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/RRC/NR/nr_rrc_config.h
2022-07-20 19:59:34 +01:00
Robert Schmidt
72bf1b1d3c Merge branch 'integration_2022_wk29' into 'develop'
integration_2022_wk29

See merge request oai/openairinterface5g!1619
2022-07-20 16:30:58 +00:00
luis_pereira87
b1a3cbb068 Fix segmentation fault when changing BWP 2022-07-20 12:55:17 +01:00
laurent
ab36474811 dirty workaround in LTE get_prb(): it is not good, but keep safe in memory instead of writing outside the range 2022-07-20 10:40:32 +02:00
laurent
017fd225bc fix ubsan detected errors 2022-07-20 10:40:32 +02:00
Robert Schmidt
db7f39ba19 Use correct structure in sctp_eNB_accept_associations() 2022-07-20 10:40:32 +02:00
Robert Schmidt
6b757c5320 Correct array sizes in dlsim 2022-07-20 10:40:32 +02:00
Robert Schmidt
b07a167370 Correct indentation in nr_rx_pdsch() 2022-07-20 10:40:32 +02:00
Robert Schmidt
24b651b465 Provide build_oai option UBSan 2022-07-20 10:38:44 +02:00
Robert Schmidt
bc3600a3f9 Merge remote-tracking branch 'origin/f1-undefined' into integration_2022_wk29 2022-07-19 18:12:48 +02:00
Robert Schmidt
fcb07ef5fd Merge remote-tracking branch 'origin/NR_SSB_fix' into integration_2022_wk29 2022-07-19 18:12:40 +02:00
Robert Schmidt
82c62ecd5a Merge remote-tracking branch 'origin/rename_var_to_pusch_DTX' into integration_2022_wk29 2022-07-19 18:12:31 +02:00
Robert Schmidt
05e859b1ef Merge remote-tracking branch 'origin/fix-testbenches-doc' into integration_2022_wk29 2022-07-19 18:12:23 +02:00
Robert Schmidt
6dac7d674c Merge remote-tracking branch 'origin/develop-SRS-Measurements' into integration_2022_wk29 2022-07-19 18:12:14 +02:00
Robert Schmidt
65c9af7d48 Merge branch 'ran-sa-b200-module-sabox-container' into 'develop'
Add basic SA test to RAN-Container-Parent

See merge request oai/openairinterface5g!1615
2022-07-19 07:30:37 +00:00
Robert Schmidt
04251d5b06 Correctly initialize protocol_ctxt in F1 code
In the previous version, not all fields, and in particular the
`eNB_index`, were not initialized, leading to errors when they were used
(e.g., the PDCP code checks that eNB_index == 0).
2022-07-18 17:39:55 +02:00
Robert Schmidt
16c758ae09 CI: Drop IP check when connectiong via SSH and pubkey 2022-07-15 16:00:52 +02:00
luis_pereira87
43298fd02c Address merge request review comments 2022-07-15 13:30:45 +01:00
Robert Schmidt
ae05420c84 CI: log error if oai-amf container is not present for AMF IP addr retrieval 2022-07-15 13:35:19 +02:00
luis_pereira87
0700d5d078 Add 5G SA end-to-end, step-by-step, tutorials for OAI CN5G, OAI gNB and COTS UE 2022-07-15 11:56:44 +01:00
Robert Schmidt
52168e5201 Shut off quectel before running SA tests 2022-07-15 11:05:08 +02:00
Robert Schmidt
63daf5793b Remove useless SA test sleep 2022-07-15 11:05:08 +02:00
Robert Schmidt
0c4aa33939 Trigger SA-B200 test from RAN-Container-Parent 2022-07-14 23:57:52 +02:00
Robert Schmidt
b308cbe101 Add RAN-SA-B200-Module-SABOX-Container test 2022-07-14 23:54:53 +02:00
Robert Schmidt
4b50e4b1f6 CI: decode in getBefore() 2022-07-14 23:54:53 +02:00
Robert Schmidt
87d1a53ca3 CI: Allow publickey authentication in SSHConnection
For pubkey, checks that we are on the right machine
2022-07-14 23:53:52 +02:00
Robert Schmidt
5928d571e7 CI: Fix log message typo in UndeployObject() 2022-07-14 23:53:52 +02:00
Robert Schmidt
f1e3f7fb1f CI: Abort pipeline if DeployObject fails 2022-07-14 23:53:52 +02:00
Roberto Louro Magueta
b0bcff0da2 Fix build warnings in phy simulators 2022-07-08 11:17:28 +01:00
Roberto Louro Magueta
a574c47e9e Fix memory leak 2022-07-08 10:54:37 +01:00
Roberto Louro Magueta
03bea3150a Fix memory leak 2022-07-07 20:16:54 +01:00
Roberto Louro Magueta
70d7a6687b Merge nr_csi_rs_info_t plus nr_csi_im_info_t into nr_csi_info_t 2022-07-07 18:28:05 +01:00
Roberto Louro Magueta
3025627c06 Remove j, koverline and loverline from nr_csi_rs_info_t 2022-07-07 17:23:18 +01:00
Roberto Louro Magueta
36a9139a66 Remove N_cdm_groups, CDM_group_size, kprime and lprime from nr_csi_rs_info_t 2022-07-07 15:51:02 +01:00
Roberto Louro Magueta
e39be3917b Remove csi_rs_ls_estimated_channel and csi_rs_estimated_channel_freq from nr_csi_rs_info_t 2022-07-07 14:33:40 +01:00
Roberto Louro Magueta
acd4e39566 Remove csi_rs_received_signal from nr_csi_rs_info_t 2022-07-07 11:48:37 +01:00
Robert Schmidt
43c980d36b CI: NSA-B200-Container: no Qlog 2022-07-07 09:29:09 +02:00
francescomani
edcb1b2bf5 workaround for pbchsim 2022-07-07 08:57:37 +02:00
francescomani
79586c03f4 fix for pointa and ssboffset 2022-07-07 08:57:37 +02:00
Roberto Louro Magueta
e0e37d8215 To use cast for c16_t 2022-07-06 21:08:08 +01:00
Roberto Louro Magueta
0c2b3a1eeb Remove some variables from nr_csi_rs_info_t 2022-07-06 20:18:44 +01:00
luis_pereira87
24745eafca Rename variable from phy_procedures_errors to pusch_DTX 2022-07-06 08:45:48 +01:00
Roberto Louro Magueta
ca086cd23c Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-07-05 20:39:08 +01:00
Roberto Louro Magueta
93f941ecfc Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
2022-07-05 20:11:03 +01:00
Roberto Louro Magueta
d68f7d6270 Add help string 2022-07-05 17:50:58 +01:00
Roberto Louro Magueta
dadadb7291 To use some casts to c16_t 2022-07-05 17:17:40 +01:00
Roberto Louro Magueta
e8327ffe74 Change k_0_p to stack allocation 2022-07-05 16:47:41 +01:00
Robert Schmidt
805b35643f Updates in TESTBench documentation
- Correct carabe name
- NR freq bands with "nXX"
- add amariue in figure
- minor changes
2022-07-05 16:38:52 +02:00
Roberto Louro Magueta
9a3326b63c Fixes after merge 2022-07-05 15:33:35 +01:00
Sagar Parsawar
daa8484670 Fixing PRS resource scheduling in UE 2022-07-05 15:45:36 +02:00
francescomani
39b5d98c1e Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-07-05 14:42:34 +02:00
Eurecom
128fbebf24 Adding 3 and 4gNB PRS configs for FR1 40/80MHz 2022-07-05 14:30:29 +02:00
Roberto Louro Magueta
06fa8c6a52 Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/PHY/NR_ESTIMATION/nr_ul_estimation.h
#	openair1/PHY/defs_nr_common.h
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-07-05 13:29:04 +01:00
Roberto Louro Magueta
52f6d38a34 Remove more variables from nr_srs_info_t 2022-07-05 12:58:53 +01:00
Roberto Louro Magueta
53f0773624 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements 2022-07-05 11:07:43 +01:00
Roberto Louro Magueta
253e037fb2 Remove some variables from nr_srs_info_t 2022-07-05 11:07:01 +01:00
Roberto Louro Magueta
85802b828f Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2022-07-05 10:19:52 +01:00
Robert Schmidt
5091682551 Merge branch 'integration_2022_wk26' into 'develop'
integration_2022_wk26

See merge request oai/openairinterface5g!1605

MR !1602 Use (std) bool instead of custom bool types
MR !1600 Discard RTX if RI changed
MR !1598 Set correct master clock rate for N320
MR !1584 enablement of statistics
MR !1603 Fix decoding multiple ULSCH in the same slot in the case of a ULSCH fails to be detected
MR !1590 Improvements and AVX2 in cpx_rotate_vector()
2022-07-04 15:03:35 +00:00
Sagar Parsawar
8bc011b76d Fixed USRP lib alignment issue in trx_usrp_read() function 2022-07-04 16:48:55 +02:00
Roberto Louro Magueta
2b36f2d8f2 Move nr_det_A_MF_2x2, nr_squared_matrix_element and nr_numer_2x2 to csi_rx.c 2022-07-04 14:18:04 +01:00
Roberto Louro Magueta
d864cf9457 Fix indentation 2022-07-04 11:31:33 +01:00
Roberto Louro Magueta
7e707eff5a Fix nr_pbchsim build 2022-07-04 11:12:32 +01:00
Roberto Louro Magueta
c2fee0520c Fix variable redefinition 2022-06-30 17:59:11 +01:00
Sagar Parsawar
431d28e00d FR2 64PRBs working configs for 2gNB schenario 2022-06-30 16:41:10 +02:00
Robert Schmidt
2cced7bdb5 Merge remote-tracking branch 'origin/optim-rotate_cpx' into integration_2022_wk26 2022-06-30 15:41:28 +02:00
Robert Schmidt
b7e026fda5 Merge remote-tracking branch 'origin/fix_decoding_multi_ulsch_in_the_same_slot' into integration_2022_wk26 2022-06-29 23:15:15 +02:00
Robert Schmidt
4662ccc46a Merge remote-tracking branch 'origin/stats' into integration_2022_wk26 2022-06-29 23:15:06 +02:00
Robert Schmidt
ae54a1bd05 Merge remote-tracking branch 'origin/fix-n320' into integration_2022_wk26 2022-06-29 23:14:51 +02:00
Robert Schmidt
94ca30e82b Merge remote-tracking branch 'origin/NR_layers_in_harq' into integration_2022_wk26 2022-06-29 23:14:42 +02:00
laurent
df1cffbc7f fix bug introduced by avx2 rotate_cpx change to c16_t 2022-06-29 16:52:47 +02:00
francescomani
38dc925e75 temporary workaround for CQI MCS table 2022-06-29 16:06:58 +02:00
francescomani
605f837eb6 hardcoding the right AL and candidates 2022-06-29 10:00:34 +02:00
Robert Schmidt
2849a81c78 Update NOTICE.md 2022-06-28 17:31:24 +02:00
Robert Schmidt
44ad2fe4ff Correct and update license exception list 2022-06-28 17:31:24 +02:00
Sagar Parsawar
63b94b742a Adding PRS multiple gNB and UE configs 2022-06-28 16:11:58 +02:00
francescomani
f76ec13b89 some fixes 2022-06-28 15:47:18 +02:00
Robert Schmidt
ff5ec94d33 Address review: drop bool defines 2022-06-28 09:38:48 +02:00
luis_pereira87
d6e58c9436 Fix decoding multiple ULSCH in the same slot in the case of a ULSCH fails to be detected 2022-06-28 07:35:06 +01:00
laurent
5894bcac22 rebase develop 2022-06-27 18:48:45 +02:00
laurent
ef469b9b51 code review remarks 2022-06-27 18:35:47 +02:00
Laurent Thomas
980bb2420b fix CI discovered bug in avx2 rotate 2022-06-27 18:35:47 +02:00
Laurent Thomas
bf219fc24f avx2 and better simd algo 2022-06-27 18:35:46 +02:00
francescomani
0196dd6dc2 Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-06-27 14:44:04 +02:00
Roberto Louro Magueta
addd5d1ea9 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback 2022-06-27 12:04:53 +01:00
Roberto Louro Magueta
c1c6e6142d Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-06-27 11:38:28 +01:00
francescomani
e27356500e Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-06-27 12:33:41 +02:00
Roberto Louro Magueta
86755bc495 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-06-27 11:06:55 +01:00
Roberto Louro Magueta
2141d6b5af Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/RRC/NR/nr_rrc_config.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band66.fr1.106PRB.usrpn300.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.24PRB.usrpb210.conf
2022-06-27 10:24:58 +01:00
Robert Schmidt
0b91791f67 Use (std) bool instead of custom bool types
OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as
there is a standard bool type, and could lead to nasty bugs if a
definition of a bool is non-standard (0 == false, true == !false). This
commit removes all non-standard bools in the whole project.
2022-06-27 10:07:48 +02:00
Robert Schmidt
6d030ea2fa Merge branch 'integration_2022_wk25' into 'develop'
integration_2022_wk25

See merge request oai/openairinterface5g!1596

MR !1549: Remove ssb subcarrier offset from config file
MR !1589: Putting all CM code in one file
MR !1592: Support Fedora 36
MR !1492: Harmonization of PUCCH Resources
MR !1581: F1: Interoperability with Accelleran CU
MR !1599: nr rlc: minor: update tests
2022-06-26 15:56:56 +00:00
Roberto Louro Magueta
6056e854e1 Get TPMI up 4 antenna ports and 1 layer 2022-06-25 18:07:09 +01:00
Sagar Parsawar
605a44233b Fixing PRS resource repetition handling 2022-06-25 16:23:43 +02:00
Sagar Parsawar
f2de1eb4eb T tracer dumps per PRS resources 2022-06-25 13:27:36 +02:00
Sagar Parsawar
e4ef9d3ac1 Added same slot scheduling for multiple gNB and PRS resources 2022-06-25 13:25:53 +02:00
luis_pereira87
a9faf533b4 Fix SA with COTS UE in monolithic mode after merge 2022-06-24 14:51:38 +01:00
Ilario FAVERO
c5b8fa5418 New command line arg for disabling stats: --disable-stats 2022-06-24 14:32:39 +02:00
Roberto Louro Magueta
b0f554e230 Fix memory leaks 2022-06-23 20:45:55 +01:00
Roberto Louro Magueta
d5f23af842 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2022-06-23 19:51:44 +01:00
Roberto Louro Magueta
6d7d884881 Merge branch 'develop-SRS-Measurements' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/defs_nr_common.h
2022-06-23 18:30:31 +01:00
Roberto Louro Magueta
07a3634e45 Change some heap allocations to stack allocations 2022-06-23 18:23:23 +01:00
francescomani
1565667908 remove rtx from list 2022-06-23 17:42:55 +02:00
Robert Schmidt
0e04fba03d Fix build warnings 2022-06-23 16:18:50 +02:00
Roberto Louro Magueta
1a4686b021 Remove UE->Msg4_ACKed from condition in nr_schedule_srs 2022-06-23 14:52:05 +01:00
Robert Schmidt
5cebe354c5 Merge remote-tracking branch 'origin/bugfix-minor-update-nr-rlc-tests' into integration_2022_wk25 2022-06-23 14:14:37 +02:00
Robert Schmidt
b37050ac6e Merge remote-tracking branch 'origin/F1_interop_ACC_n78' into integration_2022_wk25 2022-06-23 14:09:33 +02:00
Robert Schmidt
304c92c639 Fixes in conversions.h 2022-06-23 13:51:36 +02:00
Cedric Roux
4505e780c5 nr rlc: minor: update tests
Behavior for ack/nack generation has changed not too long ago but the tests
were not checked and updated.
2022-06-23 11:44:01 +02:00
Roberto Louro Magueta
05dde0a30d Compute CQI using CSI-IM 2022-06-22 20:59:19 +01:00
Roberto Louro Magueta
a1806c92a2 Interference plus noise power computation based on CSI-IM 2022-06-22 20:41:57 +01:00
Roberto Louro Magueta
b9a207a6b4 Call nr_slot_fep for CSI-IM symbols 2022-06-22 18:38:05 +01:00
Roberto Louro Magueta
32ec53baa5 Get CSI-IM pdu at phy layer and add debug logs 2022-06-22 18:10:28 +01:00
Roberto Louro Magueta
420ce60800 Fix flag related to received CSI-IM FAPI pdu at UE 2022-06-22 17:54:34 +01:00
Hongzhi Wang
33fac86bb4 adding license exception 2022-06-22 17:46:04 +02:00
Hongzhi Wang
e8fc4da2b6 update offload decoder license and notes 2022-06-22 17:26:30 +02:00
Robert Schmidt
644422ebec Merge remote-tracking branch 'origin/NR_PUCCH_RRC_Resources' into integration_2022_wk25 2022-06-22 17:20:38 +02:00
Robert Schmidt
586aa46c2c Set correct master clock rate for N320 2022-06-22 16:54:35 +02:00
francescomani
6f481e09f6 abort rtx if RI decreased 2022-06-22 16:15:31 +02:00
Hongzhi Wang
fb9be23057 adding bbdev license 2022-06-22 10:03:55 +02:00
Hongzhi Wang
445f1d42a0 Merge branch 'develop' into ldpc_offload_t1_mr
Conflicts:
	openair1/SIMULATION/NR_PHY/ulsim.c
2022-06-22 09:26:58 +02:00
Roberto Louro Magueta
a51e8332cf TPMI computation for single-layer transmission using two antenna ports 2022-06-21 21:12:01 +01:00
Robert Schmidt
f6fe86c653 Fix macros to avoid warnings 2022-06-21 19:24:49 +02:00
Robert Schmidt
fe7228daee Merge remote-tracking branch 'origin/support-fedora36' into integration_2022_wk25 2022-06-21 19:11:17 +02:00
Robert Schmidt
2c226b08f4 Merge remote-tracking branch 'origin/episys-channel-model-org' into integration_2022_wk25 2022-06-21 19:11:00 +02:00
Cedric Roux
2802418c34 remove debug printf 2022-06-21 16:43:54 +02:00
francescomani
2659dce8b8 removing flag init_UL_tti_req_ahead 2022-06-21 13:49:31 +02:00
francescomani
a24be04929 initializing nrofcandidates in dlsim 2022-06-21 09:52:12 +02:00
Robert Schmidt
9c02189e64 Remove nr_bler_data from physims 2022-06-21 08:54:41 +02:00
francescomani
83a9414258 srs and csi in BWP structures 2022-06-20 18:03:40 +02:00
Cedric Roux
d0fa56b1de compilation fix 2022-06-20 15:15:11 +02:00
Robert Schmidt
0fe98c25a2 Avoid RHEL_RELEASE_VERSION: not defined in Ubuntu 2022-06-20 13:34:54 +02:00
francescomani
a4e2c2b799 addressing review 2022-06-20 11:58:06 +02:00
francescomani
4e69a10cbc change BWP when Msg3_dcch_dtch 2022-06-20 11:41:19 +02:00
Robert Schmidt
2124e43d3a Correctly use RHEL_RELEASE_CODE for Fedora and RHEL
This reverts commit 4f44a1026b.
2022-06-20 11:33:29 +02:00
francescomani
d71658d373 Merge remote-tracking branch 'origin/develop' into NR_BWP_config 2022-06-20 11:20:19 +02:00
francescomani
fb6fa64bc7 Merge remote-tracking branch 'origin/develop' into NR_remove_ssb_offset_from_configfile 2022-06-20 09:33:50 +02:00
Roberto Louro Magueta
4a8cc3490c Sending channel matrix to MAC to allow TPMI calculation 2022-06-20 02:20:03 +01:00
Cedric Roux
5cd674483b Merge remote-tracking branch 'origin/develop' into F1_interop_ACC_n78 2022-06-19 18:41:27 +02:00
Cedric Roux
2bed0352fd f1: remove hardcoded value, set to what is in develop 2022-06-19 18:33:57 +02:00
Robert Schmidt
4f44a1026b Remove RHEL_RELEASE_CODE define 2022-06-19 18:02:08 +02:00
Robert Schmidt
dab905519b Remove nscd from additional packages
nscd (Name service cache daemon) is not needed for running OAI
2022-06-19 18:02:08 +02:00
Robert Schmidt
2b38c78588 Add fedora36 to supported distros 2022-06-19 18:02:08 +02:00
Roberto Louro Magueta
a721c658c8 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-06-19 03:09:32 +01:00
Roberto Louro Magueta
ad5a3e8d94 Fix warning after merge 2022-06-19 03:02:19 +01:00
Roberto Louro Magueta
f4bd7c7529 Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/PHY/NR_ESTIMATION/nr_ul_estimation.h
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/RRC/NR/nr_rrc_config.c
#	openair2/RRC/NR/nr_rrc_config.h
2022-06-19 02:44:03 +01:00
Roberto Louro Magueta
8fee72e81f Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements 2022-06-19 02:16:41 +01:00
Roberto Louro Magueta
504ce6d793 Fix after merge 2022-06-19 02:13:33 +01:00
Roberto Louro Magueta
63e30e29cc Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
2022-06-19 01:59:50 +01:00
Robert Schmidt
12a23fb1ef Merge branch 'integration_2022_wk24' into 'develop'
integration_2022_wk24

See merge request oai/openairinterface5g!1591

MR !1382: Semi-automatic code generator for LDPC decoder for AVX2 and AVX512
MR !1521: 5G NR performance improvements for low SNR conditions
MR !1579: pthread_create, RT scheduler, and address sanitizer are incompatible in Ubuntu 18.04
MR !1588: small fix in csi configuration
MR !1583: Encoding/decoding CellGroup at MAC and fix RA with Msg3 carrying DCCH or DTCH messages
2022-06-18 13:57:58 +00:00
Robert Schmidt
ee71b0dd9b Lower error threshold for low SNR test in dlsim 2022-06-17 19:04:08 +02:00
francescomani
633370ffc3 further MAC cleanup with BWPs 2022-06-17 18:50:06 +02:00
luis_pereira87
78267db68b Revert "Update downlink MCS table" block of code to function nr_set_pdsch_semi_static to get downlink working again in NSA 2022-06-17 16:17:15 +01:00
francescomani
3cd49db442 removing ul active_bwp 2022-06-17 16:34:01 +02:00
Hongzhi Wang
81c402d7ff bug fix after merge 2022-06-17 15:29:53 +02:00
Hongzhi Wang
b7295ab45f Merge branch 'develop' into ldpc_offload_t1_mr
Conflicts:
	executables/nr-gnb.c
	openair1/PHY/CODING/nrLDPC_defs.h
	openair1/PHY/INIT/nr_init.c
	openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair1/SIMULATION/NR_PHY/ulsim.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-06-17 14:49:54 +02:00
francescomani
66e2810940 moving few parameters from pusch_semistatic to BWP 2022-06-17 12:18:29 +02:00
Robert Schmidt
0c0d88b201 Better formatting for Consolidated Test Results 2022-06-17 12:17:54 +02:00
Robert Schmidt
7194a720c9 Increase 'low SNR' test's upper SNR threshold 2022-06-17 12:16:12 +02:00
Robert Schmidt
9ff4630071 Merge remote-tracking branch 'origin/NR_RRC_MAC_CellGroup' into integration_2022_wk24 2022-06-17 12:11:37 +02:00
luis_pereira87
9e27394ecc Reset feedback_slot and round values when resetting HARQ processes 2022-06-17 10:35:01 +01:00
Robert Schmidt
2399da33cb Merge remote-tracking branch 'origin/csi-multi-ues-fix' into integration_2022_wk24 2022-06-16 22:26:00 +02:00
Robert Schmidt
348ff98762 Merge remote-tracking branch 'origin/ubuntu_18_rt_add_san_incompatibility' into integration_2022_wk24 2022-06-16 22:25:46 +02:00
Robert Schmidt
032d477481 Merge remote-tracking branch 'origin/5g-nr-low-snr-performance' into integration_2022_wk24 2022-06-16 22:25:38 +02:00
Laurent Thomas
a73e500ded Add a warning for ubuntu 18.04 in build_oai 2022-06-16 21:42:46 +02:00
Melissa Elkadi
7b75305e3c pthread_create, RT scheduler, and address sanitizer are incompatible in Ubuntu 18.04
When we run with the RT scheduler and the address sanitizer in Ubuntu
18.04, pthread_create will hang and never create threads.  This adds
some explanatory text in CMakeLists.txt to explain about this issue.
2022-06-16 21:42:26 +02:00
Roberto Louro Magueta
61e42ce9c6 Consider the invalid timing advance value case for SRS estimation 2022-06-16 13:29:30 +01:00
Robert Schmidt
5761164a09 Build without AVX512 on asterix machine 2022-06-16 14:25:18 +02:00
Roberto Louro Magueta
f6cbde5343 Add const qualifier in some variables 2022-06-16 12:49:13 +01:00
Roberto Louro Magueta
4053c0c3b2 Revert log2_maxh in pusch_vars 2022-06-15 19:54:12 +01:00
francescomani
40049db9c9 separate dl and ul bwp structures 2022-06-15 18:41:36 +02:00
luis_pereira87
cc33856ba8 Reset HARQ processes after RA when Msg3 carries a DCCH or DTCH message.
Reset ul_failure flag only after sending Msg4 otherwise gNB starts scheduling too early
2022-06-15 17:24:47 +01:00
Roberto Louro Magueta
14d3a9c0e5 Fixes after merge 2022-06-15 12:53:36 +01:00
Robert Schmidt
e62119bea5 Reintroduce nr_ulsim -I option after wrong merge 2022-06-15 13:53:22 +02:00
Roberto Louro Magueta
7f21567f83 Merge remote-tracking branch 'origin/develop' into 5g-nr-low-snr-performance
# Conflicts:
#	cmake_targets/autotests/test_case_list.xml
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
2022-06-15 11:17:06 +01:00
Cedric Roux
2521e46593 Merge remote-tracking branch 'origin/F1C_extensions_develop' into F1_interop_ACC_n78
Conflicts:
	openair2/F1AP/f1ap_du_interface_management.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/main.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/MESSAGES/asn1_msg.h
	openair2/RRC/NR/rrc_gNB.c
	openair3/ocp-gtpu/gtp_itf.cpp
2022-06-15 11:28:37 +02:00
luis_pereira87
527003492d Revert call to process_CellGroup function in rrc_mac_config_req_gNB to fix F1 user plane working 2022-06-15 09:34:55 +01:00
Robert Schmidt
d835f3387d Build without AVX512 on caracal to avoid compilation fail 2022-06-15 08:49:10 +02:00
Melissa Elkadi
630f8ac2b1 Putting all CM code in one file
This commit includes reorganization of
all of the SISO/MIMO channel modelling
support being moved into a single CM
file. Furthermore, it includes a bug
fix for the number of MCS simulation
tables (29 total, 0-28).
2022-06-14 12:52:01 -07:00
francescomani
1be8caaf69 removing dl active_bwp 2022-06-14 18:15:42 +02:00
Karim Boutiba
079ad360e0 solve the conflict between cri-RSRP and cri-RI-PMI-CQI in the case of multiple UEs 2022-06-14 13:38:12 +00:00
Robert Schmidt
bb15360a55 Revert "CI: phySim container build: add SYS_PTRACE"
This reverts commit 0122749406.
2022-06-14 12:35:48 +02:00
Robert Schmidt
0a74c23c8a Disable Asan in LDPC decoder generator executables
The CI compiles the physims using Asan. This in turn compiles Asan into
the LDPC decoder generator files. Since they are run during build, there
are two options:

1) trigger the build using capability SYS_PTRACE to allow running asan
   when executing the generators.
2) disable asan in the generators.

The first option seems not feasible, as the compilation of the ldpctest
does not succeed (in fact, for a reason I don't understand, ninja seems
to trigger linking and is then blocked indefinitely). Therefore, this
commit simple disables asan in the generators.
2022-06-14 12:30:12 +02:00
luis_pereira87
ed74875025 Call rrc_mac_config_req_gNB function only when running nr-softmodem as a DU or in monolithic mode 2022-06-14 11:29:56 +01:00
Sagar Parsawar
7a8c977eaf Added PRS resource repetition capability in OAI gNB and UE 2022-06-14 10:48:00 +02:00
luis_pereira87
7cee46777f Cosmetic changes 2022-06-13 23:20:37 +01:00
Cedric Roux
33b69bdf30 nr rlc: bugfix: use hard-coded mapping between drb ID and mac lcid
This will probably impact negatively the Accelleran interoperability
but the previous version is not correct and breaks the oai nr ue.

To be checked in a CU/DU scenario with Accelleran.
2022-06-13 18:28:07 +02:00
Cedric Roux
1ad8f254c2 Merge remote-tracking branch 'origin/develop' into F1_interop_ACC_n78 2022-06-13 16:59:59 +02:00
Sagar Parsawar
de65d0bdd6 Fixed prs_vars initialization issue in OAI UE 2022-06-13 16:36:07 +02:00
Sagar Parsawar
0c14b5fc75 Added NPRS-ID based PRS sequence generation for OAI gNB and UE 2022-06-13 15:45:56 +02:00
rmagueta
0a71e520d6 Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/main.c
2022-06-13 13:43:33 +01:00
rmagueta
8c08e2d3ee Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-06-13 12:52:56 +01:00
rmagueta
7b770042ad Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/main.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-06-13 12:00:11 +01:00
rmagueta
e32d55dff9 Update the feature set for the UE 2022-06-13 11:30:37 +01:00
rmagueta
607561af6c Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-06-13 10:32:21 +01:00
francescomani
045de837ab Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-06-13 10:25:05 +02:00
Raymond Knopp
a119e84f92 Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen 2022-06-13 09:44:51 +02:00
luis_pereira87
983760e9a4 Fix after merge with develop 2022-06-13 08:21:05 +01:00
luis_pereira87
131db89dfc Merge remote-tracking branch 'origin/develop' into NR_RRC_MAC_CellGroup
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
2022-06-13 08:19:39 +01:00
Robert Schmidt
5944b212b2 Merge branch 'integration_2022_wk23' into 'develop'
integration_2022_wk23

See merge request oai/openairinterface5g!1585

MR !1558: Add 5G SA end-to-end, step-by-step, tutorials for OAI CN5G, OAI gNB and COTS UE
MR !1578: Adding required LOG_As for EpiSci CI testing. (Proxy)
MR !1575: Fix msg3 retransmissions with OAI UE
MR !1577: Fix ULSCH timing measurements in RAN-gNB-nrUE-MONO-TDD-Band78-N300 and logging improvements
MR !1544: NR CORESET harmonization
MR !1287: PUSCH performance improvement
MR !1580: Aligning some internal memory to avoid segfaults
2022-06-13 07:02:11 +00:00
Raymond Knopp
7387721ecf Merge branch 'ldpc-decoder-codegen' of https://gitlab.eurecom.fr/oai/openairinterface5g into ldpc-decoder-codegen 2022-06-12 23:24:11 +02:00
Raymond Knopp
f6bb869c0b fixed AVX2 issue for cnProc code generator. Some cleanup in formatting and deleting unused files. 2022-06-12 23:23:07 +02:00
Robert Schmidt
169f42a365 Prevent #define name clash
The files openair1/PHY/CODING/nrLDPC_cnProc.h and
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_cnProc.h have the same name,
and also the same include guard/define. This commit renames the define
in the latter to prevent this name clash.
2022-06-12 16:32:46 +02:00
Robert Schmidt
6900f2bc88 Add License to LDPC decoder generator files 2022-06-12 16:29:49 +02:00
Raymond Knopp
6236fe8e77 changes for thread-core pinning 2022-06-11 08:08:03 +02:00
luis_pereira87
e850a8ece7 Fix initial connection setup when there is Msg4 retransmissions and UE comes with a new RA with Msg3 carrying DCCH or DTCH message 2022-06-10 23:18:18 +01:00
Roberto Louro Magueta
5df658141b Implementation of pack and unpack functions for nfapi_nr_srs_normalized_channel_iq_matrix_t 2022-06-10 20:41:22 +01:00
francescomani
e592045d8f improvements in using genericParameters and other stuff 2022-06-10 18:18:57 +02:00
Roberto Louro Magueta
cc52682bc2 Fix SRS stats depending on SRS usage 2022-06-10 16:16:10 +01:00
Robert Schmidt
aabd9c6c4e nr_ulsim: Change thread-count command-line option to -C 2022-06-10 15:45:32 +02:00
Roberto Louro Magueta
51c95d2747 Send correct FAPI SRS indication PDU depending on SRS usage 2022-06-10 14:27:56 +01:00
francescomani
c1c5c68e70 calling get_searchspace/coreset inside BWP function 2022-06-10 13:55:57 +02:00
Robert Schmidt
b69fa39577 Merge remote-tracking branch 'origin/alignment_fixes' into integration_2022_wk23 2022-06-10 13:52:50 +02:00
Robert Schmidt
b193ccf6ee Merge remote-tracking branch 'origin/develop' into 5g-nr-low-snr-performance 2022-06-10 13:50:47 +02:00
Robert Schmidt
0122749406 CI: phySim container build: add SYS_PTRACE
Physical simulators are built using address sanitizer. During the build
process, we use generators that are themselves built during the build
process. They are also asan, and we therefore need to give the
SYS_PTRACE capability during the build process to have them run
correctly.
2022-06-10 13:37:30 +02:00
Robert Schmidt
ae23942020 Compile container images without AVX512 for relocatability 2022-06-10 13:37:30 +02:00
francescomani
5fa3be8091 Merge remote-tracking branch 'origin/NR_RRC_MAC_CellGroup' into NR_BWP_config 2022-06-10 10:17:00 +02:00
Robert Schmidt
dc4f610245 Merge remote-tracking branch 'origin/ulsim-perf-testing' into integration_2022_wk23 2022-06-09 17:47:57 +02:00
Robert Schmidt
3793edf686 Merge remote-tracking branch 'origin/NR_coreset_harmonization' into integration_2022_wk23 2022-06-09 17:47:37 +02:00
Robert Schmidt
4b0d4e38c4 Merge remote-tracking branch 'origin/fix-test-caracal' into integration_2022_wk23 2022-06-09 17:46:54 +02:00
Robert Schmidt
28ad0eaacb Merge remote-tracking branch 'origin/NR_fix_msg3_rtx' into integration_2022_wk23 2022-06-09 17:46:45 +02:00
Robert Schmidt
9127577bf3 Merge remote-tracking branch 'origin/fixing_removed_LOG_As' into integration_2022_wk23 2022-06-09 17:46:36 +02:00
Robert Schmidt
2e6fea604d Merge remote-tracking branch 'origin/NR_SA_tutorials' into integration_2022_wk23 2022-06-09 17:46:27 +02:00
Sakthivel Velumani
f95c636a6b Improved help for ulsim 2022-06-09 20:07:23 +05:30
Robert Schmidt
f7ab71763d Remove old way of generating LDPC decoders 2022-06-09 15:03:13 +02:00
Robert Schmidt
dde6d61dd4 Dynamically create LDPC decoder headers when building ldpc libs 2022-06-09 15:03:13 +02:00
Robert Schmidt
7b68c48618 Make LDPC generator output directory prefix configurable 2022-06-09 15:03:13 +02:00
Robert Schmidt
250043655a Remove some variables from LDPC generated code to avoid warnings 2022-06-09 15:03:13 +02:00
Laurent THOMAS
97b3d1a5cd fix mutex not initialised in ul decoder 2022-06-09 15:03:13 +02:00
francescomani
8adcf8368a reverting activation of timer at transmission 2022-06-09 14:48:42 +02:00
francescomani
f5e9c4ec36 applying Robert's patch 2022-06-09 13:26:04 +02:00
luis_pereira87
e7a491415c Improvements on RRC passing CellGroup to MAC to get COTS UE working 2022-06-09 10:08:28 +01:00
francescomani
0aec0d91c6 temporary workaround for RRC passing CG to MAC (forced encoding of message at MAC) 2022-06-09 09:35:42 +01:00
Robert Schmidt
894c45eae5 Add comment to fix fill_mastercellGroupConfig() 2022-06-09 10:20:39 +02:00
Laurent THOMAS
e3747ea06b Fix small bugs in nrLDPC_tools, remain some warnings to fix 2022-06-09 10:01:45 +02:00
Robert Schmidt
aed83c91de Create header for LDPC bnProc BG2 files 2022-06-09 09:25:57 +02:00
Roberto Louro Magueta
a333dddeaa Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback 2022-06-09 01:29:01 +01:00
Roberto Louro Magueta
87d69126af Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-06-09 01:13:44 +01:00
Roberto Louro Magueta
8c577ff253 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2022-06-09 00:56:55 +01:00
Roberto Louro Magueta
55e943c347 Remove obsolete code after merge 2022-06-09 00:48:39 +01:00
Roberto Louro Magueta
d11705260f Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-06-09 00:33:12 +01:00
Robert Schmidt
12c0f52fea Merge remote-tracking branch 'origin/develop' into F1_interop_ACC_n78 2022-06-08 19:45:17 +02:00
Sakthivel Velumani
0d9e548f39 Minor fixes in ulsim and dlsim 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
80ad5df367 Removed unused 256QAM table option 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
933ad3dcf4 Removed duplicate definition and other errors
left during rebase
2022-06-08 21:32:07 +05:30
Sakthivel Velumani
8a8bacead9 Set default cmd values in UE
It looked like the default command line option were not set in case the options were not passed. The right function was not called.
2022-06-08 21:32:07 +05:30
Sakthivel Velumani
e8d91d642e fixed nr_dlsim -q parameter bug 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
0cea80c8fa changing PUSCH dmrs symbol pos to 0 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
1afdc298e9 Interpolation chest default in UE 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
7c47420da7 Making interpolation ch estimation as default 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
b2b84caeb5 Made PRB averaging channel est as default
fixed indendation
updated ulsim CI test parameters
2022-06-08 21:32:07 +05:30
Sakthivel Velumani
93e6bd26da Made channel estimation techniques configurable 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
0960aa3d00 Updating ulsim CI test parameters 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
ab899c3a08 fix CI test parameters 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
da8d3037df fixed bugs in phy sims 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
8f79ae0ea7 A bug fix in DMRS averaging 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
689ecf5ae1 Enable additional DMRS symbol in UL 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
e36a2b483a Added 3GPP TS 38104 8.2.1.2-13 16QAM CI test cases 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
1d99c8e695 LDPC iterations as command line parameter 2022-06-08 21:32:07 +05:30
Sakthivel Velumani
b29f92c1d6 Add MCS table option to ulsim 2022-06-08 21:31:17 +05:30
Sakthivel Velumani
36190b1c7d Logging changes to ulsim 2022-06-08 21:31:17 +05:30
Sakthivel Velumani
ac58460b6e Time averaging PUSCH channel estimates 2022-06-08 21:31:17 +05:30
Sakthivel Velumani
382b2c41e3 Fixed ulsim to test 8 Rx antennas 2022-06-08 21:31:17 +05:30
Robert Schmidt
2d3f4f7310 Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen 2022-06-08 17:17:11 +02:00
Robert Schmidt
9eccd6c11d Correct caracal IP address 2022-06-08 17:06:47 +02:00
francescomani
85b48193d4 fix msg3 retransmissions with OAI UE 2022-06-08 16:45:30 +02:00
Cedric Roux
f71766c3ee Merge remote-tracking branch 'origin/develop' into F1_interop_ACC_n78
Conflicts:
	openair2/F1AP/f1ap_du_ue_context_management.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/RRC/NR/MESSAGES/asn1_msg.h
	openair2/RRC/NR/rrc_gNB.c
	openair3/ocp-gtpu/gtp_itf.cpp

There were some important conflicts in openair3/ocp-gtpu/gtp_itf.cpp
I rewrote a bit the function Gtpv1uHandleGpdu(). It might have been
done wrongly.
To be tested and fixed if needed.

To redo the merge, if needed:
git checkout 9b2a163ebb
git merge 5ea828e149
2022-06-08 15:48:24 +02:00
francescomani
e24edde2fd remove commented code 2022-06-08 15:09:53 +02:00
francescomani
bc1227f9a0 Merge remote-tracking branch 'origin/develop' into NR_remove_ssb_offset_from_configfile 2022-06-08 14:52:47 +02:00
francescomani
539e5e89f3 Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-06-08 14:45:33 +02:00
francescomani
9f4153b55b Merge remote-tracking branch 'origin/develop' into NR_UE_multi_SSB_meas 2022-06-08 14:10:54 +02:00
francescomani
4ffef42472 Merge remote-tracking branch 'origin/develop' into NR_coreset_harmonization 2022-06-08 13:39:39 +02:00
Roberto Louro Magueta
fa94c338a8 Updates in FAPI so in the future to be able to have a TPMI on MAC at gNB based on SRS 2022-06-08 11:37:03 +01:00
francescomani
6c69393eda genericParameters in the new structure 2022-06-08 12:22:16 +02:00
Florian Kaltenberger
bb17287089 aligning some internal memory to avoid segfaults 2022-06-08 12:09:07 +02:00
Robert Schmidt
d7dae8fa91 Merge branch 'integration_2022_wk22' into 'develop'
integration_2022_wk22

See merge request oai/openairinterface5g!1576

MR !1501 fixes to support multiple pdu sessions (tested with 2 pdu sessions)
MR !1566 issue 545
MR !1569 bugfix in fill_searchSpaceZero
MR !1574 Repair LTE-M: Add missing parameter preambleTransMax_CE_rel13
MR !1496 PHY procedures at UE for CSI-RS
Increase LTE-2x2 ping thresholds to 60 ms to make tests pass (throughput seems to be fine)
2022-06-08 08:38:10 +00:00
Robert Schmidt
b1d07fb3e0 print_meas_log(): do not write beyond memory end 2022-06-07 17:41:21 +02:00
francescomani
4d4f7dd616 initial commit for MAC UE BWP structure (bwp id) 2022-06-07 12:11:37 +02:00
francescomani
7546b8ca1b fix dlsim compilation 2022-06-06 17:37:40 +02:00
francescomani
0b55910c48 possible fix in type setting of Y for coreset 2022-06-06 16:40:09 +02:00
luis_pereira87
308cae752a Update download link for the latest version of Open Cells SIM card programing tool uicc-v2.6 2022-06-06 14:13:58 +01:00
francescomani
b5583d47de temporary workaround for RRC passing CG to MAC (forced encoding of message at MAC) 2022-06-06 11:52:12 +02:00
Robert Schmidt
45522ae86c [CI] Increase LTE-2x2 test ping thresholds to make test pass 2022-06-04 10:10:47 +02:00
Robert Schmidt
5f37ab35b4 Merge remote-tracking branch 'origin/develop-CSI' into integration_2022_wk22 2022-06-04 10:08:38 +02:00
Robert Schmidt
4e34462488 Merge remote-tracking branch 'origin/preambleTransMax_CE_rel13-in-configuration' into integration_2022_wk22 2022-06-04 10:08:31 +02:00
Robert Schmidt
7b3191d1a6 Merge remote-tracking branch 'origin/NR_SS0_config_fix' into integration_2022_wk22 2022-06-04 10:08:25 +02:00
Robert Schmidt
1215444cae Merge remote-tracking branch 'origin/fix-bug-545' into integration_2022_wk22 2022-06-04 10:08:17 +02:00
Robert Schmidt
6e7160ac03 Merge remote-tracking branch 'origin/multiple_pdu_MR' into integration_2022_wk22 2022-06-04 10:08:10 +02:00
Robert Schmidt
bea2ec5c3b Use snprintf() in dump_mac_stats() 2022-06-04 09:33:18 +02:00
Robert Schmidt
f8f20827e9 Rename DL&UL scheduling timing stats 2022-06-04 09:32:00 +02:00
Robert Schmidt
59e10dc8da Clean up MAC stats: don't show timing stats in console log, only file 2022-06-04 09:31:54 +02:00
Robert Schmidt
f2bc364b50 Drop periodic "Number of bad PUCCH" output 2022-06-04 09:29:20 +02:00
Melissa Elkadi
cc2c3b9123 Adding required LOG_As for EpiSci CI testing. (Proxy)
In commit 05c07c401f,
four of the LOG_A logs were demoted. These are required
for the L2 simulator proxy CI testbed.
2022-06-03 16:40:46 -07:00
Robert Schmidt
43701ddbd6 Phy-test scheduler: update MCS so it is shown in logs 2022-06-03 17:11:05 +02:00
Robert Schmidt
dd801325d4 Terminate LOG with newline 2022-06-03 17:10:03 +02:00
Robert Schmidt
db2c03d31d Do not abort ULSCH decoding in phy-test mode
For the RAN-gNB-nrUE-MONO-TDD-Band78-N300 test, in order to measure ULSCH
decoding times, we cannot abort ULSCH decoding on DTX.
2022-06-03 17:06:24 +02:00
Robert Schmidt
d5165ae2bd B210 tutorial: mention USB3 2022-06-03 12:50:44 +02:00
Robert Schmidt
9b317eacef Add instructions on how to tune Ethernet connection 2022-06-03 12:50:44 +02:00
Roberto Louro Magueta
0a496f44c4 Add comment about 3GPP TS 38.133 - Section 8 - Table 8.2.1.2.7-2 2022-06-02 19:41:53 +01:00
Roberto Louro Magueta
319bef7c87 Use UE capability to select the the number of SRS ports 2022-06-02 19:28:48 +01:00
KARIM BOUTIBA
cd4bc84bd8 small fix in nr_sdap_get_entity 2022-06-02 08:05:21 +00:00
Roberto Louro Magueta
17ed513a60 Fix after merge 2022-06-01 19:09:22 +01:00
Roberto Louro Magueta
c0a1c0d11d Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback 2022-06-01 17:54:18 +01:00
Roberto Louro Magueta
b8f68c81fb Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-06-01 17:30:33 +01:00
Roberto Louro Magueta
616927c04d Fixes after merge 2022-06-01 17:22:59 +01:00
francescomani
b96df49e15 postpone initialization of UL_tti_req_ahead to when sl_ahead is available 2022-06-01 17:09:08 +02:00
Roberto Louro Magueta
1bb0ce90cc Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_srs.c
#	openair2/LAYER2/NR_MAC_gNB/main.c
2022-06-01 15:46:37 +01:00
Roberto Louro Magueta
91189bd4f8 Fixes after merge 2022-06-01 14:30:45 +01:00
Sagar Parsawar
c62ddbe231 Updated NRPRS UE config for 106PRB, 2gNBs 2022-06-01 14:37:35 +02:00
Sagar Parsawar
1f788f0ebe Merge branch 'nr_prs_merge' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs_merge 2022-06-01 14:16:14 +02:00
Sagar Parsawar
2a3414725a NR PRS scheduling for generalised slot periodicity 2022-06-01 14:15:40 +02:00
Roberto Louro Magueta
98f5478f7d Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
2022-06-01 12:29:34 +01:00
francescomani
a531342054 update ss and coreset after updating bwp 2022-06-01 12:35:31 +02:00
Roberto Louro Magueta
2c3eb996a4 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2022-06-01 11:06:49 +01:00
Florian Kaltenberger
fdb0f4cd35 Merge branch 'nr_prs_merge' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs_merge 2022-06-01 09:20:18 +02:00
Florian Kaltenberger
4d44eef9f3 fixing time domain signal in T tracer 2022-06-01 09:19:44 +02:00
francescomani
9a43678ed0 Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-06-01 09:06:57 +02:00
francescomani
13ed1200b4 Merge remote-tracking branch 'origin/develop' into NR_coreset_harmonization 2022-06-01 08:45:35 +02:00
Robert Schmidt
5ea828e149 Merge branch 'integration_2022_wk21b' into 'develop'
integration_2022_wk21b

See merge request oai/openairinterface5g!1572

MR !1490 add support for 15 kHz SCS
MR !1525 Make USRP tune-offset configurable
MR !1550 remove UEid in MAC
2022-06-01 06:12:20 +00:00
Roberto Louro Magueta
8759eae05e Fix in get_pusch_nb_antenna_ports 2022-05-31 17:44:18 +01:00
Sagar Parsawar
e8451eb892 Added 2gNB PRS working config 106PRBs 2022-05-31 16:52:25 +02:00
Francesco Mani
426bc2f088 fix in get_ul_tda call for rtx 2022-05-31 09:36:39 +00:00
Florian Kaltenberger
4704af4874 not calling ue scheduler in phy_test mode 2022-05-31 11:26:03 +02:00
Florian Kaltenberger
fab75b4af8 aligning some internal memory to avoid segfaults 2022-05-31 11:25:06 +02:00
Roberto Louro Magueta
d6e960e4d7 Implementation of tables and get values to precoding information 2022-05-30 20:50:00 +01:00
francescomani
6f7889d162 bugfix in mod_dmrs declaration 2022-05-30 18:02:08 +02:00
Roberto Louro Magueta
762eba239e Implementation of tables and get values to SRS resource indicator 2022-05-30 15:28:03 +01:00
Raymond Knopp
83d40a9b7c Add missing parameter preambleTransMax_CE_rel13
To SIB2 and its passing to RRC. Parameter was read but not transfered
before. Basic LTE-M functionality should ok on develop branch with this
fix. Tested with uBlox SARA-R4 (QCOM chipset)
2022-05-30 16:19:35 +02:00
Robert Schmidt
df8f632ae3 Make sched_csirs common to all UEs 2022-05-30 14:52:50 +02:00
Robert Schmidt
23c8336a37 Fix warning 2022-05-30 14:50:55 +02:00
Robert Schmidt
ac9e47ba68 Merge remote-tracking branch 'origin/cleanup-2022-mai-UEid-management' into integration_2022_wk21b 2022-05-30 12:02:58 +02:00
Raymond Knopp
7b8f776246 Merge branch 'if5_ECPRI_rework' of https://gitlab.eurecom.fr/oai/openairinterface5g into if5_ECPRI_rework 2022-05-30 11:49:04 +02:00
Raymond Knopp
c353d47329 removed CBPF rule regarding CPU selection 2022-05-30 11:48:32 +02:00
Raymond Knopp
514462f1df Merge branch 'if5_ECPRI_rework' of https://gitlab.eurecom.fr/oai/openairinterface5g into if5_ECPRI_rework
Conflicts:
	targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
2022-05-30 11:47:58 +02:00
Raymond Knopp
29f84b815e commit before merge 2022-05-30 10:35:04 +02:00
Raymond Knopp
ca782ef2cb added threadPool to RU entity (FEP and FEP TX) 2022-05-30 07:21:39 +02:00
Florian Kaltenberger
e141b20836 GPS sync improvements 2022-05-29 21:41:18 +02:00
Laurent THOMAS
43033e20b6 Avoid SEGV in nr_decode_pucch0() 2022-05-28 16:44:50 +02:00
Laurent THOMAS
16e8154d71 Handle full UL TTI Req list more gracefully 2022-05-28 16:44:50 +02:00
Laurent THOMAS
9ba33d4dec Correctly format code to avoid warnings/ambiguities 2022-05-28 16:44:49 +02:00
Laurent THOMAS
a51c1f93b5 Remove unused code 2022-05-28 16:37:47 +02:00
Robert Schmidt
b6adb32989 Delete commented code 2022-05-28 16:37:47 +02:00
Laurent THOMAS
236f7d56e5 Remove UEid in the MAC
After this commit, only the RNTI is used as an identifier in the MAC.
Further, it removes some module_id, but a lot of them remain (the goal
to remove all is still far from us)
2022-05-28 16:37:26 +02:00
Raymond Knopp
2b426c0cc9 added threadPool for IF5 TX path 2022-05-28 07:47:41 +02:00
rmagueta
82ef4b3dfc Merge remote-tracking branch 'origin/develop-SRS-MIMO' into develop-SRS-feedback 2022-05-27 12:04:35 +01:00
rmagueta
e6446392b2 Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-05-27 11:55:31 +01:00
rmagueta
264eebfb3f Fix build after merge 2022-05-27 11:54:53 +01:00
rmagueta
628a11cde5 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/GNB_APP/MACRLC_nr_paramdef.h
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
2022-05-27 11:38:32 +01:00
rmagueta
2f3079b808 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/nr_rrc_config.c
2022-05-27 11:13:02 +01:00
rmagueta
6bca31c7e3 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
2022-05-27 10:18:13 +01:00
francescomani
92ba8cb9d0 Merge remote-tracking branch 'origin/develop' into NR_coreset_harmonization 2022-05-27 10:46:15 +02:00
Robert Schmidt
daad3da6eb Merge remote-tracking branch 'origin/usrp-tune-offset' into integration_2022_wk21b 2022-05-27 10:06:20 +02:00
Robert Schmidt
21a820b061 Merge remote-tracking branch 'origin/support-15-kHz-SCS' into integration_2022_wk21b 2022-05-27 10:05:57 +02:00
Robert Schmidt
72d0a4ff05 Merge branch 'integration_2022_wk21' into 'develop'
integration_2022_wk21

See merge request oai/openairinterface5g!1564
2022-05-27 07:49:38 +00:00
Roberto Louro Magueta
8c517c6779 Add debug logs 2022-05-26 20:18:10 +01:00
Roberto Louro Magueta
ed917dbdd6 Fixes in compute_srs_resource_indicator function 2022-05-26 19:39:05 +01:00
Roberto Louro Magueta
37b63f32c0 Implementation of compute_srs_resource_indicator function to be improved in future commits 2022-05-26 17:50:56 +01:00
francescomani
9228f12d92 bugfix 2022-05-26 13:47:17 +02:00
Raymond Knopp
c5fc94a3cb Merge branch 'if5_ECPRI_rework' of https://gitlab.eurecom.fr/oai/openairinterface5g into if5_ECPRI_rework 2022-05-25 21:41:56 +02:00
Roberto Louro Magueta
e1198b3d96 Add debug logs and comment update for nrofSRS_Ports 2022-05-25 17:30:17 +01:00
Roberto Louro Magueta
17a3a796b8 Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO 2022-05-25 11:07:59 +01:00
Roberto Louro Magueta
8d02c2c0fc Fix scheduling SRS transmission at UE when there is Dedicated BWPs 2022-05-25 11:06:55 +01:00
Roberto Louro Magueta
af95f834f1 Fix scheduling SRS reception at gNB when there is Dedicated BWPs 2022-05-25 10:36:30 +01:00
francescomani
09ecb8a33c bugfix in fill_searchSpaceZero 2022-05-25 10:35:26 +02:00
Roberto Louro Magueta
40f2f54339 Fix memory allocation for SRS 2022-05-24 17:40:55 +01:00
Robert Schmidt
36a02913de Merge remote-tracking branch 'origin/usrp_x400_fixup' into integration_2022_wk21 2022-05-24 17:58:47 +02:00
Robert Schmidt
360d4b3a81 Merge remote-tracking branch 'origin/k2-slot0-fix' into integration_2022_wk21 2022-05-24 17:57:58 +02:00
Robert Schmidt
103e21a05c Merge remote-tracking branch 'origin/NR_removing_calculate_preferred_tda' into integration_2022_wk21 2022-05-24 17:56:38 +02:00
Roberto Louro Magueta
6e5b77baf3 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-05-24 14:55:22 +01:00
francescomani
cf7c2fd373 commenting out further call to decode sib1 after initial access 2022-05-24 15:10:53 +02:00
Roberto Louro Magueta
ab1df8bbc4 Revert CSI configuration from update_cellGroupConfig to fill_initial_SpCellConfig 2022-05-24 13:45:35 +01:00
laurent
1450e2fb9f issue 545 2022-05-24 13:29:05 +02:00
Florian Kaltenberger
38f7d772e6 small fix for USRP X410 2022-05-24 10:55:50 +02:00
Raymond Knopp
d0be523f6c corrections for 20 and 40 MHz n38. Some assertions were wrong. 2022-05-23 22:06:23 +02:00
Roberto Louro Magueta
58102d24d8 Configuration of nrofSRS_Ports based on UE capability 2022-05-23 20:33:12 +01:00
francescomani
3c753aec71 fix in calling get_ul_tda 2022-05-23 18:41:10 +02:00
Robert Schmidt
3b28264374 Merge remote-tracking branch 'origin/fix-ra-on-frame-1023' into integration_2022_wk21 2022-05-23 17:18:39 +02:00
Robert Schmidt
ba73075ccd Merge remote-tracking branch 'origin/ul-dl-bler' into integration_2022_wk21 2022-05-23 17:17:47 +02:00
Sagar Parsawar
b30e673348 Added T trader dump for Tx signal in gNB 2022-05-23 16:38:42 +02:00
francescomani
3a0bccde30 fix for msg2 tda 2022-05-23 16:13:20 +02:00
francescomani
fac44b15e8 adding option for CSI slot 2022-05-23 16:13:20 +02:00
francescomani
25086576e5 simplyfying tda functions according to review 2022-05-23 16:07:10 +02:00
francescomani
c6498ccf58 addressing review 2022-05-23 16:07:10 +02:00
francescomani
d3f90a90fe removing calculate_preferred_ul_tda 2022-05-23 15:57:27 +02:00
francescomani
276b2d5e0c removing calculate_preferred_dl_tda 2022-05-23 15:48:29 +02:00
Robert Schmidt
e1b090cfaa Improve logging 2022-05-23 15:20:03 +02:00
Robert Schmidt
9f6b7dc6b9 Make USRP tune_offset configurable
UHD documentation: "A tune request instructs the implementation how to
tune the RF chain."

This commit makes this configurable, from nr-softmodem, nr-uesoftmodem,
lte-softmodem, and lte-uesoftmodem.
2022-05-23 15:20:03 +02:00
Robert Schmidt
9354d4305b Set k2=2 also in 5ms TDD periods
In the past, setting k2=2 for 5ms TDD periods resulted in increased ping
RTT and/or reestablishment requests. These problems do not appear
anymore, and we can allow k2=2.
2022-05-23 15:11:27 +02:00
Roberto Louro Magueta
d8dbd2159c Merge remote-tracking branch 'origin/develop-SRS-Measurements' into develop-SRS-MIMO
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/srs_rx.c
2022-05-23 13:40:35 +01:00
Robert Schmidt
00d021c66b In TDD: enable slot 0
In the past, activation of slot 0 (i.e., after the switch UL->DL)
resulted in many retransmissions. This does not seem to be the case
anymore, and we can therefore activate slot 0 also in TDD.
2022-05-23 14:33:08 +02:00
Roberto Louro Magueta
5092eca8cb Some robustness improvements 2022-05-23 13:30:38 +01:00
francescomani
2ba71e748d using bwp id to configure coreset id 2022-05-23 13:39:56 +02:00
Roberto Louro Magueta
0eeb174253 Add wideband SNR based on SRS in MAC stats 2022-05-23 11:43:32 +01:00
Roberto Louro Magueta
9e2086c77c Fix warning after merge 2022-05-23 11:29:59 +01:00
Roberto Louro Magueta
01c6129ee1 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-05-23 10:43:50 +01:00
Raymond Knopp
44a3a60183 commented useless call to function which creates an assert with band n38 2022-05-23 10:57:22 +02:00
Roberto Louro Magueta
8bc5f273bd Improve log 2022-05-21 01:24:02 +01:00
Roberto Louro Magueta
23dab34e7c Fix CSI bitlen for rank = 2 2022-05-21 01:15:26 +01:00
Roberto Louro Magueta
c67d3659f1 Fix precoded_sinr_dB computation for rank = 2 2022-05-20 21:12:06 +01:00
Roberto Louro Magueta
4eac17e1c8 Fix in RI computation 2022-05-20 20:51:22 +01:00
francescomani
a724c1febc starting timer for msg4 at transmission 2022-05-20 15:09:25 +02:00
francescomani
fcfc7a90e8 fix for asan assertion 2022-05-20 13:56:12 +02:00
rakesh mundlamuri
09f50edc88 adding subdev selection for nrUE 2022-05-20 09:59:46 +02:00
Robert Schmidt
7bf5f018a1 Refactor DRB configuration in function 2022-05-19 18:40:54 +02:00
Robert Schmidt
a5d0615048 Harmonize SRB configuration in function 2022-05-19 18:28:55 +02:00
KARIM BOUTIBA
b46077c22d add multiple pdu session support (tested with 2 pdu sessions) 2022-05-19 18:28:55 +02:00
francescomani
b57a8622c0 fixes for RRC configuration in SA 2022-05-19 17:41:58 +02:00
Sagar Parsawar
f2e1a4a1a8 bug fix for subdev selection 2022-05-19 16:28:50 +02:00
francescomani
9150dc8c50 applying review comment 2022-05-19 14:48:45 +02:00
Roberto Louro Magueta
7018b7c841 Fixes after merge 2022-05-19 13:38:22 +01:00
Roberto Louro Magueta
9887982e00 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-05-19 13:21:00 +01:00
rakesh mundlamuri
68dd4fa20b introducing the selection of tx and rx subdev 2022-05-19 12:41:20 +02:00
Roberto Louro Magueta
3d5cfb6642 Update the spatialRelationInfoToAddModList for dedicated UL-BWPs 2022-05-18 17:00:05 +01:00
francescomani
d56f2c8e12 addressing review comments 2022-05-18 17:36:32 +02:00
francescomani
6d736db22d applying PUCCH harmonization to multiple BWP 2022-05-18 17:23:55 +02:00
Roberto Louro Magueta
436eb2d5a9 Fix PUCCH config in fill_default_uplinkBWP to consider the enabled CSI-RS 2022-05-18 16:05:38 +01:00
Sagar Parsawar
b6e2f0e0c9 gps time sync improvements 2022-05-18 16:50:35 +02:00
Robert Schmidt
3ca4cb708c Select UL MCS from BLER 2022-05-18 16:44:54 +02:00
Robert Schmidt
34b821433b Add UL BLER options and read from config 2022-05-18 16:44:54 +02:00
Robert Schmidt
17cbc4dbf4 Generalize get_mcs_from_bler() 2022-05-18 16:44:54 +02:00
Robert Schmidt
26c2c0add8 MAC stats: group UL&DL common stats 2022-05-18 16:44:54 +02:00
Robert Schmidt
61d434339e DL MCS: switch back to 9 on inactivity 2022-05-18 16:44:54 +02:00
Robert Schmidt
1fbf968676 Set DL MCS when receiving CQI report
- Introduce generic get_mcs_from_cqi() that gets MCS for a particular
  CQI
- Set MCS after receiving CQI
- Distinguish "global" max MCS from UE-measured max MCS
2022-05-18 16:44:53 +02:00
Roberto Louro Magueta
2d96262d7c Fix channel estimation based on CSI-RS 2022-05-18 14:31:13 +01:00
francescomani
0c5d6a59e7 Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-05-18 15:19:00 +02:00
Roberto Louro Magueta
e5c4e0f3d3 Address review comments 2022-05-18 12:59:24 +01:00
Roberto Louro Magueta
f94a479829 Fix warning after merge 2022-05-18 12:51:18 +01:00
francescomani
03e869ee36 applying harmonization function also to multiple BWP option 2022-05-18 11:54:15 +02:00
francescomani
1e4f509805 Merge remote-tracking branch 'origin/develop' into NR_coreset_harmonization 2022-05-18 11:41:07 +02:00
Sagar Parsawar
78e9666481 Merge remote-tracking branch 'origin/nr_prs' into nr_prs_merge 2022-05-18 10:56:17 +02:00
Thomas Schlichter
e639e79220 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-05-18 10:51:19 +02:00
francescomani
085014f601 Merge remote-tracking branch 'origin/develop' into NR_remove_ssb_offset_from_configfile 2022-05-18 10:25:47 +02:00
Thomas Schlichter
3934f2020e slightly increase the target SNR for the nr_dlsim low SNR test to make the test more reliable 2022-05-18 09:54:59 +02:00
Thomas Schlichter
6f8b13c2ad fix nr_ulsim option "-i" has no further parameters 2022-05-18 09:50:37 +02:00
Thomas Schlichter
c97d5d04ed fixes from review 2022-05-18 09:35:01 +02:00
francescomani
1f49b73eac Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-05-18 08:55:40 +02:00
Roberto Louro Magueta
8ac68929bc Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/defs_nr_common.h
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.162PRB.2x2.usrpn300.conf
2022-05-17 19:13:38 +01:00
Roberto Louro Magueta
e6e6fdedf9 Free allocated variables for SRS 2022-05-17 18:53:05 +01:00
Roberto Louro Magueta
2ef5edd17c Remove sc_list_length and sc_list variables 2022-05-17 18:16:54 +01:00
Roberto Louro Magueta
86874047ac Channel estimation, channel interpolation and SNR per RB computation based on SRS up to 4 antenna ports 2022-05-17 17:42:48 +01:00
francescomani
7a26d75634 other changes required for multiple BWP CSI config 2022-05-17 18:18:15 +02:00
Thomas Schlichter
44a98a85c5 Merge remote-tracking branch 'origin/develop' into 5g-nr-low-snr-performance 2022-05-17 17:38:59 +02:00
francescomani
075e8c6d8f Merge remote-tracking branch 'origin/develop' into NR_RRC_harmonization_after_BWP 2022-05-17 15:27:12 +02:00
Robert Schmidt
5bf454c78b Merge branch 'integration_2022_wk19b' into 'develop'
integration_2022_wk19b

See merge request oai/openairinterface5g!1555

MR !1357: Bupt UL-MIMO
MR !1516: NR handling 2-port PMI report
MR !1454: Implementation of multiple dedicated BWPs
MR !1556: Fix RAN-gNB-nrUE-MONO-TDD-Band78-N300 pipeline
2022-05-17 12:03:56 +00:00
Robert Schmidt
22944fb8c0 Merge remote-tracking branch 'origin/repair-test-caracal' into integration_2022_wk19b 2022-05-16 21:41:39 +02:00
Robert Schmidt
6c43cdf4dc Hack to prevent segfault 2022-05-16 21:39:06 +02:00
francescomani
a67791d18e init ssb rsrp vector 2022-05-16 19:37:16 +02:00
Roberto Louro Magueta
997d52b71d Improvements in nr_get_srs_signal to consider multi-ports and multi-symbols 2022-05-16 18:11:01 +01:00
francescomani
ef20a5c3b2 additional fixes in multi-ssb report at UE 2022-05-16 18:09:29 +02:00
francescomani
2f81e507d7 fixes for pbch detection and measurements on multiple SSBs 2022-05-16 15:11:09 +02:00
luis_pereira87
bdc4a664ac Add 5G SA end-to-end, step-by-step, tutorials for OAI CN5G, OAI gNB and COTS UE 2022-05-16 11:49:42 +01:00
francescomani
9277afe327 measureing RSRP on all SSBs 2022-05-16 11:59:39 +02:00
laurent
a254545b7c fix ra bug 2022-05-16 09:31:29 +02:00
Roberto Louro Magueta
52bc76d904 Fixes and improvements in generate_srs_nr function 2022-05-14 21:01:42 +01:00
Raymond Knopp
bad9c5969f Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-05-14 09:27:39 +02:00
Roberto Louro Magueta
f6bc787d1e Add comments in nfapi_nr_srs_pdu_t 2022-05-14 00:38:00 +01:00
luis_pereira87
486e9e2381 Merge remote-tracking branch 'origin/Dedicated-BWPs' into integration_2022_wk19b
# Conflicts:
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-05-13 15:58:56 +01:00
luis_pereira87
cc238a91e4 Compute TDA startSymbolIndex and nrOfSymbols everytime function nr_set_pdsch_semi_static is called 2022-05-13 15:13:21 +01:00
Robert Schmidt
9b2fa3ca63 Increase PUSCH decoding defaults 2022-05-13 14:14:47 +02:00
Robert Schmidt
50d9c1f2bf Merge branch 'ci-enable-amarisoft' into 'develop'
Ci enable amarisoft

See merge request oai/openairinterface5g!1554
2022-05-13 12:08:40 +00:00
Robert Schmidt
1c4bf40248 Fix caracal perf test: add option for N300, run only once (is consistent) 2022-05-13 11:57:31 +02:00
Robert Schmidt
7c5a82bf1c Format Hdashboard Gitlab post using Markdown 2022-05-13 08:25:23 +02:00
rmagueta
64f4d34c25 Fix tda in dlsim considering the new configuration for NSA in fill_default_nsa_downlinkBWP 2022-05-12 20:40:22 +01:00
Robert Schmidt
a9dcdcbbcb Fix name of html module 2022-05-12 20:54:02 +02:00
Robert Schmidt
09c3597b46 Only check T tracer if EPC has been defined 2022-05-12 18:47:47 +02:00
luis_pereira87
54f49fd253 Remove duplicated code for bwp common validation 2022-05-12 17:33:35 +01:00
luis_pereira87
2f3ce42d3b Improve code readability in fix_scd function 2022-05-12 17:04:09 +01:00
Robert Schmidt
851291ddc4 Merge remote-tracking branch 'origin/NR_handling_PMI_report' into integration_2022_wk19b 2022-05-12 17:45:59 +02:00
luis_pereira87
9f51b3f8b1 Harmonize and reuse the nr_rrc_config_dl_tda function to prepare PDSCH-TimeDomainResourceAllocation list 2022-05-12 14:42:47 +01:00
luis_pereira87
7d1f693ba1 Revert rbSize validation with target_dl_bw to previous version 2022-05-12 13:28:18 +01:00
luis_pereira87
af377945c3 Fix hardcoded coreset and assignment from wrong array position 2022-05-12 13:12:45 +01:00
luis_pereira87
9aa7d1c88f Remove redundant change of active bwp (it changes after RRC processing timer elapsed) 2022-05-12 10:57:03 +01:00
luis_pereira87
0217cd50de Update in documentation 2022-05-12 10:06:00 +01:00
luis_pereira87
270c540c3c Minor clean up in function mac_rrc_nr_data_req 2022-05-12 10:06:00 +01:00
Robert Schmidt
a582ac99e5 Trigger Amarisoft in NSA tests 2022-05-12 09:19:27 +02:00
francescomani
c4c93cc498 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-05-12 08:56:45 +02:00
Roberto Louro Magueta
32de221553 Fix SRS mapping for multiple ports 2022-05-11 19:54:35 +01:00
Roberto Louro Magueta
ccb1e64a38 Merge branch 'bupt-ulmimo-4' into develop-SRS-MIMO 2022-05-11 18:36:50 +01:00
luis_pereira87
3c4ba50281 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-05-11 14:49:59 +01:00
Roberto Louro Magueta
0ddd8c2586 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_config.h
2022-05-11 14:36:21 +01:00
francescomani
340531038c bugfix: n1 and n2 for 2 ports 2022-05-11 15:21:08 +02:00
Roberto Louro Magueta
5c754f2300 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-05-11 14:19:33 +01:00
francescomani
6ded64f86d Merge remote-tracking branch 'origin/develop' into NR_handling_PMI_report 2022-05-11 15:14:56 +02:00
Roberto Louro Magueta
4c1b432718 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4
# Conflicts:
#	openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
2022-05-11 13:45:56 +01:00
Roberto Louro Magueta
1c9ef67384 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_config.c
#	openair2/RRC/NR/nr_rrc_config.h
2022-05-11 13:27:21 +01:00
Robert Schmidt
f3241cd419 Merge branch 'integration_2022_wk19' into 'develop'
integration_2022_wk19

See merge request oai/openairinterface5g!1553

MR !1456 TBSLBRM for DL computed ad MAC
MR !1532 CSI-IM harmonization
MR !1538 April 2022: some last CI fixes
MR !1540 Documentation Update
MR !1541 [CI] amarisoft UE server IP address update
MR !1546 ci-harmonization-and-cleanup
MR !1547 CI architecture description and RFsim updates
MR !1548 Fix Ubuntu 22 build_helper
2022-05-11 12:14:04 +00:00
francescomani
1fbc7e080b addressing review 2022-05-11 08:50:29 +02:00
Robert Schmidt
f2c60f446e Remove assert for frame/slot checking in future_ul_tti_req 2022-05-11 05:23:11 +02:00
Florian Kaltenberger
f67a38473a reverting init of future_ul_tti_req to develop version 2022-05-11 05:20:12 +02:00
Robert Schmidt
bfb7713f3e Merge remote-tracking branch 'origin/fix-u22' into integration_2022_wk19 2022-05-10 22:45:24 +02:00
Robert Schmidt
8dcea72a4b Merge remote-tracking branch 'origin/ci-doc' into integration_2022_wk19 2022-05-10 22:45:14 +02:00
Robert Schmidt
20595d6ac0 Merge remote-tracking branch 'origin/ci-harmonization-and-cleanup' into integration_2022_wk19 2022-05-10 22:45:02 +02:00
Robert Schmidt
a136173ae5 Merge remote-tracking branch 'origin/ci_support_amarisoft_ue' into integration_2022_wk19 2022-05-10 22:44:54 +02:00
Robert Schmidt
c8094576ec Merge remote-tracking branch 'origin/develop_doc_update' into integration_2022_wk19 2022-05-10 22:44:35 +02:00
Robert Schmidt
8d4b46c13a Merge remote-tracking branch 'origin/ci-fix-cn5g-deploy' into integration_2022_wk19 2022-05-10 22:44:12 +02:00
Robert Schmidt
df506e968e Merge remote-tracking branch 'origin/NR_CSI_IM_harmonization' into integration_2022_wk19 2022-05-10 22:42:38 +02:00
Roberto Louro Magueta
ba5bda5c6e Fix bw_scaling 2022-05-10 15:00:43 +01:00
Roberto Louro Magueta
08975e451f Update the ul_prbblacklist based on SRS measurements and an ul_prbblack_SNR_threshold 2022-05-10 14:03:24 +01:00
Robert Schmidt
68be6f83e6 randominit(): show used seed when using time() 2022-05-10 14:22:50 +02:00
Roberto Louro Magueta
5ed67b85a7 Free allocated memory 2022-05-10 13:03:41 +01:00
Sagar Parsawar
0ef771a6c2 Merge remote-tracking branch 'origin/develop' into nr_prs_merge
not fixed: pbchsim.c
2022-05-10 13:14:45 +02:00
francescomani
c7e8002d8d adding CI test with subcarrier offset in pbchsim 2022-05-10 11:43:44 +02:00
Roberto Louro Magueta
61a2f398db Add LOGs of SRS indication in handle_nr_srs_measurements 2022-05-10 10:43:24 +01:00
francescomani
3b16547374 fix in pbchsim 2022-05-10 09:13:52 +02:00
Manish
e804f58ce7 Merge branch 'develop_doc_update' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop_doc_update 2022-05-10 02:57:30 +00:00
Manish
d6f79071ab gNB Build Section Updated 2022-05-10 02:53:42 +00:00
Manish
b37e5e552b help menu updated in document for native architecture.
Compilation steps corrected on Ubuntu 20.

Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-05-10 02:53:42 +00:00
Roberto Louro Magueta
99b262d764 Compute and fill timing_advance field for SRS indication 2022-05-09 19:25:33 +01:00
Roberto Louro Magueta
bdff42cf77 Compute and fill wide_band_snr field for SRS indication 2022-05-09 18:21:04 +01:00
Roberto Louro Magueta
d914817806 Fill srs_reported_symbol_list in SRS indication 2022-05-09 17:58:42 +01:00
francescomani
a037987b47 remove ssb subcarrier offset from config file 2022-05-09 18:28:56 +02:00
Roberto Louro Magueta
ab6d7afd09 Compute the SNR per RB using the SRS 2022-05-09 15:54:20 +01:00
Florian Kaltenberger
e7671506d1 config files for 273PRB for 2gNBs 2022-05-09 15:38:33 +02:00
Robert Schmidt
3e3d73ef93 Install UHD 4.2 for U18/20/22 2022-05-09 15:14:16 +02:00
Sagar Parsawar
6b08c43ae8 Added 2gNB config for PRS 2022-05-09 14:46:24 +02:00
Florian Kaltenberger
0bc6b0bdce revisiting the initialization of the future_ul_tti_request when gps sync is used 2022-05-09 14:20:18 +02:00
Raymond Knopp
0f207da28a initial changes for multi-threaded TX for IF5 2022-05-08 18:36:42 +02:00
luis_pereira87
ad8f99dc03 Increase iPerf packet loss and bitrate thresholds to make RAN-NSA-B200-Module-LTEBOX-Container test green (due to UE host performance) 2022-05-08 02:22:52 +01:00
Sagar Parsawar
9418fa84ce updated FR1 and FR2 PRS config files 2022-05-07 14:12:47 +02:00
Sagar Parsawar
9af7987e75 OAI UE: Cleaned up PRS buffer handling 2022-05-07 12:48:08 +02:00
Raymond Knopp
6bb14205b0 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-05-07 07:36:36 +02:00
Roberto Louro Magueta
dcf4fd1db2 Compute the noise power per RB 2022-05-06 19:07:59 +01:00
Sagar Parsawar
4e86919060 gNB & nrUE: Added multiple PRS resources scheduling 2022-05-06 18:03:48 +02:00
luis_pereira87
c6bedb6c27 Increase iPerf packet loss and bitrate thresholds to make RAN-NSA-B200-Module-LTEBOX test green (due to UE host performance) 2022-05-06 16:54:56 +01:00
luis_pereira87
421ca8aed5 Clean up of unused test cases in NSA with B210 2022-05-06 16:54:56 +01:00
rmagueta
d7795c9dff Fix build after merge 2022-05-06 16:15:43 +01:00
luis_pereira87
c587fe366d Improve log and cosmetic changes 2022-05-06 16:06:31 +01:00
luis_pereira87
5031649c47 Improvements on BWP switch procedures and harmonize it with RRC processing timer 2022-05-06 16:06:31 +01:00
francescomani
59ced82104 Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-05-06 17:02:22 +02:00
rmagueta
b8cd9ef167 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2022-05-06 15:41:10 +01:00
francescomani
020c4c52ec Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-05-06 15:27:20 +02:00
Robert Schmidt
04db6ef536 Update CI bench images 2022-05-06 14:44:21 +02:00
Roberto Louro Magueta
05fffa4916 Merge remote-tracking branch 'origin/develop' into develop-SRS-Measurements
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.band78.tm1.106PRB.usrpn300.gtp-itti.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2022-05-06 13:39:45 +01:00
Roberto Louro Magueta
fc5632eeb9 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
#	openair1/PHY/NR_TRANSPORT/nr_dci.c
#	openair1/PHY/NR_TRANSPORT/pucch_rx.c
#	openair2/GNB_APP/gnb_config.c
#	openair2/GNB_APP/gnb_paramdef.h
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/cu_gnb.conf
2022-05-06 13:16:48 +01:00
luis_pereira87
02d49ed3b6 Fixes after merge 2022-05-06 11:56:11 +01:00
Roberto Louro Magueta
87e79e5eb8 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
#	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/cu_gnb.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.band78.tm1.106PRB.usrpn300.gtp-itti.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band66.fr1.106PRB.usrpn300.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2022-05-06 11:32:36 +01:00
luis_pereira87
a8e6bf9bd5 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/GNB_APP/gnb_config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
#	openair2/RRC/NR/nr_rrc_defs.h
#	openair2/RRC/NR/nr_rrc_proto.h
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-05-06 11:29:55 +01:00
francescomani
68fc56ad74 calling config_csiim also in sa 2022-05-06 12:17:18 +02:00
francescomani
b4abb204bd Merge remote-tracking branch 'origin/develop' into NR_CSI_IM_harmonization 2022-05-06 12:07:30 +02:00
francescomani
2bbfe501c2 Merge remote-tracking branch 'origin/develop' into NR_coreset_harmonization 2022-05-06 12:02:00 +02:00
francescomani
1750f45708 additional fix for dmrs 2022-05-06 11:46:07 +02:00
Robert Schmidt
d0de678f56 Update CI documentation 2022-05-06 11:20:25 +02:00
Robert Schmidt
eef8cf510b Improve RFsim documentation 2022-05-06 11:20:24 +02:00
francescomani
acc6fb8508 fixes for multi-symbol pdcch 2022-05-06 11:17:19 +02:00
Robert Schmidt
d11350c08a Merge branch 'integration_2022_wk18' into 'develop'
integration_2022_wk18

See merge request oai/openairinterface5g!1545

Merged MRs:
- MR !1484 NR 20 MHz with LTE raster on AW2S Jaguar
- MR !1499 Handle RRC processing time at gNB
- MR !1511 NR UE memory leak fixes
- MR !1523 Avoid gNB to exit when UE release or becomes out of coverage
- MR !1533 Code and CI fixes
- MR !1536 feat(ci): add script to properly flatten the target images
- MR !1537 Fix for OAI UE AUTH_REQ processing additional check for RAND value
- MR !1543 x2 nsa bug at socket establishment
2022-05-06 08:59:03 +00:00
Raymond Knopp
8e57947067 Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into if5_ECPRI_rework 2022-05-06 09:36:07 +02:00
Roberto Louro Magueta
dce83a0508 Add comments in FAPI for SRS indication 2022-05-05 19:49:06 +01:00
Raymond Knopp
fe3f513a9d Merge remote-tracking branch 'origin/tdd25period_for_MR' into if5_ECPRI_rework 2022-05-05 20:07:59 +02:00
Roberto Louro Magueta
b106913dc0 Send SRS measurements (still empty) from PHY to MAC 2022-05-05 18:10:08 +01:00
Robert Schmidt
e1e8a49b76 Fix UP traffic in NSA 2022-05-05 19:06:29 +02:00
francescomani
edea5c5f65 some more fixes for larger coresets 2022-05-05 17:23:12 +02:00
luis_pereira87
602fb11339 Avoid usage of preferred_dl_tda and preferred_ul_tda before their computation and improve code readability 2022-05-05 13:39:04 +01:00
Manish
30051320c9 Merge branch 'develop_doc_update' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop_doc_update 2022-05-05 08:29:46 +00:00
Manish
65263a09ac help menu updated in document for native architecture.
Compilation steps corrected on Ubuntu 20.

Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-05-05 08:25:07 +00:00
francescomani
40fcfdea8b additional fixes 2022-05-04 18:20:12 +02:00
Roberto Louro Magueta
2fb8d96f11 Move SRS config to update_cellGroupConfig() 2022-05-04 16:25:15 +01:00
francescomani
4045874d74 memory fixes 2022-05-04 16:56:23 +02:00
Roberto Louro Magueta
70cfd057ec Add do_SRS flag in gnb.sa.band78.fr1.106PRB.usrpb210.conf 2022-05-04 15:09:59 +01:00
Roberto Louro Magueta
39ea2c936f Creation of config_srs() function 2022-05-04 15:05:23 +01:00
Robert Schmidt
edd749ec36 Merge remote-tracking branch 'origin/fix-x2-sctp-nsa' into integration_2022_wk18 2022-05-04 15:16:47 +02:00
Robert Schmidt
9dae4a94bb Merge remote-tracking branch 'origin/oaiUe_AuthReq_Fix' into integration_2022_wk18 2022-05-04 15:16:36 +02:00
Robert Schmidt
0221499cea Merge remote-tracking branch 'origin/try-flattening-images' into integration_2022_wk18 2022-05-04 15:16:28 +02:00
Robert Schmidt
aebabbcc0c Merge remote-tracking branch 'origin/fixes-code-ci' into integration_2022_wk18 2022-05-04 15:16:14 +02:00
Robert Schmidt
f99f2be7bd Merge remote-tracking branch 'origin/Avoid_gNB_exit_when_UE_release' into integration_2022_wk18 2022-05-04 15:11:43 +02:00
Robert Schmidt
506f4b5456 Merge remote-tracking branch 'origin/ue-memleak-fix' into integration_2022_wk18 2022-05-04 15:11:30 +02:00
luis_pereira87
952a216b92 Remove sib1_tda from configuration files to use default value 2022-05-04 12:49:23 +01:00
Robert Schmidt
94aeb43847 Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into integration_2022_wk18 2022-05-04 12:26:01 +02:00
francescomani
999f5d67e3 bugfixes and improvements in handling dci candidates 2022-05-04 11:03:26 +02:00
Robert Schmidt
ada4be081c Remove clock_gettime() introduced in this branch 2022-05-04 10:48:25 +02:00
Robert Schmidt
6d35883b2a Add help strings for new config options 2022-05-04 10:47:31 +02:00
Robert Schmidt
cc6469c77d Upgrade SA test USRP IP address after CI migration 2022-05-04 10:47:31 +02:00
Robert Schmidt
400b52b46f Do not separately install python for UHD, is done in general packages 2022-05-04 10:00:48 +02:00
Raymond Knopp
bf5389936d added deletion/creation of ldpc_gen_files directory and subdirectories 2022-05-03 22:09:46 +02:00
Raymond Knopp
3ecfead572 added script to generate ldpc decoder files 2022-05-03 22:03:19 +02:00
Raymond Knopp
63b28d3610 clean up (removal) of ldpc generated files on repository 2022-05-03 21:26:18 +02:00
Roberto Louro Magueta
f2974b431b Revert transformPrecoder to transform_precoding 2022-05-03 19:25:14 +01:00
Roberto Louro Magueta
7aa3bfaa54 Revert deleted rfdevice.trx_end_func() 2022-05-03 18:25:57 +01:00
luis_pereira87
d059c71754 Clean up and minor improvements in configuration files 2022-05-03 16:08:18 +01:00
luis_pereira87
8641d54f4d Fix build after merge 2022-05-03 15:56:18 +01:00
luis_pereira87
1e38cead39 Increase MAX_NUM_NR_DLSCH_SEGMENTS_PER_LAYER to allow gNB to work with 273PRBs and 256QAM at MCS 27 2022-05-03 15:40:47 +01:00
luis_pereira87
7597a582f9 Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/GNB_APP/gnb_config.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2022-05-03 14:00:57 +01:00
Roberto Louro Magueta
73a1e92249 Fix memory leaks 2022-05-03 12:09:19 +01:00
francescomani
cfa37e7213 cosmetic changes 2022-05-03 12:21:47 +02:00
Vijay Chadachan
139d20a9ba Removing unused variables 2022-05-03 11:58:15 +02:00
Roberto Louro Magueta
2162ba6d82 Fix sigma in ulsim 2022-05-03 10:03:56 +01:00
luis_pereira87
114dcc6a08 Remove irrelevant comment 2022-05-03 08:57:02 +01:00
luis_pereira87
6db761692d Remove update_pdsch_ps and update_pusch_ps flags to use_rrc_processing_timer instead 2022-05-03 08:55:25 +01:00
Roberto Louro Magueta
e3fd9f7f8c To use the channel generated by multipath_channel() for single-layer case in ulsim 2022-05-03 00:29:44 +01:00
Roberto Louro Magueta
b6a018089b Fix in nr_ulsch_extract_rbs 2022-05-02 23:53:13 +01:00
Raymond Knopp
8506307ef0 Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen
Conflicts:
	cmake_targets/build_oai
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_cnProc.h
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_init_mem.h
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_types.h
	openair1/PHY/NR_REFSIG/ptrs_nr.c
2022-05-02 22:41:48 +02:00
Roberto Louro Magueta
3d5fa54a48 Fix logs in help of ulsim 2022-05-02 19:07:07 +01:00
francescomani
299642344a fix for ssb offset scaling issue 2022-05-02 19:08:10 +02:00
Roberto Louro Magueta
5de85671d8 Fix heap buffer overflow 2022-05-02 16:58:08 +01:00
luis_pereira87
be3498ddd2 Update documentation to be able to run OAI gNB with OAI UE and COTS UE with the same configuration file 2022-05-02 14:26:17 +01:00
luis_pereira87
305347af9a Fix indentation and improve function nr_mac_enable_ue_rrc_processing_timer 2022-05-02 14:19:52 +01:00
luis_pereira87
79d9c2e8dc Address review comments 2022-05-02 12:03:55 +01:00
luis_pereira87
4b7b621f00 Minor improvements and cleanup in 5G NR SA configuration files 2022-05-02 12:03:55 +01:00
luis_pereira87
8569a47bc6 Remove sib1_tda from configuration files to use default value 2022-05-02 12:03:55 +01:00
luis_pereira87
d8a127810c Fix mcs table update during RRCReconfiguration 2022-05-02 12:03:55 +01:00
luis_pereira87
ca06668682 Handle RRC processing time at gNB 2022-05-02 12:03:55 +01:00
francescomani
6b6528cc94 revert H_awgn_mimo in simulator 2022-05-02 10:41:42 +02:00
Roberto Louro Magueta
4f2854f92c Fix UL channel estimation for 4 layers 2022-05-02 01:55:03 +01:00
Raymond Knopp
f4fc8e3682 Merge remote-tracking branch 'origin/tdd25period_for_MR' into if5_ECPRI_rework 2022-05-02 00:06:08 +02:00
Raymond Knopp
f0e8032b29 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-05-01 14:51:27 +02:00
Raymond Knopp
fc0396f9f4 2x2 20 and 50 MHz tested with AW2S Jaguar with new FW and NR configurations 2022-05-01 13:10:04 +02:00
rmagueta
0e2a00655e Fix build after merge 2022-04-30 17:07:14 +01:00
rmagueta
d01cd03ad3 Merge branch 'NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-04-30 16:40:58 +01:00
rmagueta
2ddb68754e Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-04-30 16:22:09 +01:00
rmagueta
2f753873bc Fix warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2022-04-30 16:12:27 +01:00
rmagueta
751335765f Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
#	openair1/PHY/NR_TRANSPORT/pucch_rx.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/nr_rrc_config.c
2022-04-30 15:52:48 +01:00
rmagueta
4b3aa7233e Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-04-30 15:14:20 +01:00
Roberto Louro Magueta
1694e1b061 Fix b_shift 2022-04-29 19:08:41 +01:00
Roberto Louro Magueta
523f8f2139 Put pilot_cnt++ in the right place 2022-04-29 18:19:49 +01:00
Roberto Louro Magueta
8ba0f2f086 Fix high MCS test fail for UL (it do not fix the degradation yet) 2022-04-29 11:00:40 +01:00
Thomas Schlichter
7815293443 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-04-29 10:15:15 +02:00
Roberto Louro Magueta
e236794310 Put in ulsim a channel matrix H_awgn_mimo different from identity (it is a matrix equal to matrix used in dlsim) 2022-04-29 01:22:33 +01:00
Roberto Louro Magueta
c128a5d9e2 Remove SUPPORT_PMI_MATRIC flag 2022-04-29 01:11:27 +01:00
Roberto Louro Magueta
719d7fb8be Improvements in UL channel estimation to consider multiple antennas for dmrs type 1 2022-04-29 00:51:55 +01:00
Roberto Louro Magueta
724e155a3a Move UL delta computation for a function 2022-04-28 23:57:19 +01:00
Roberto Louro Magueta
927e219553 UL channel estimation with a formulation closer to 3GPP, because this will be useful next 2022-04-28 21:04:41 +01:00
Vijay Chadachan
a8f879ea12 Update for the code review comment.
Instead of NULL RAND value check, added the flag to indicate if the
AUTH process started. The flag is used manage the timer handling
for authentication process when stored RAND values is same as received
RAND value in AUTH_REQ.
2022-04-28 18:08:20 +02:00
francescomani
3ec401f2f6 Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR 2022-04-28 17:26:33 +02:00
Roberto Louro Magueta
badb6cb590 Improve debug log 2022-04-28 16:24:21 +01:00
Roberto Louro Magueta
735b51a06b Third code simplification in UL channel estimation 2022-04-28 15:03:26 +01:00
Roberto Louro Magueta
4ecb0401e0 Second code simplification in UL channel estimation 2022-04-28 14:34:43 +01:00
Sakthivel Velumani
454dc0cfab Fixed memory leaks identified by address san
There is still a leak that needs to be fixed in rrc_UE.c
Should properly free NR_BCCH_BCH_Message_t *bcch_message after asn decoder using ASN_STRUCT_FREE()
2022-04-28 18:53:42 +05:30
Roberto Louro Magueta
65f09fecb8 First code simplification in UL channel estimation 2022-04-28 14:18:05 +01:00
Laurent Thomas
85eb5926dd x2 nsa bug 2022-04-28 14:36:03 +02:00
francescomani
3547940e3f Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-04-28 14:26:24 +02:00
francescomani
b6016cfc49 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-04-28 14:12:11 +02:00
Robert Schmidt
00609ed15a Enable UDP traffic test in 5G FDD RFsim test 2022-04-28 14:04:16 +02:00
Robert Schmidt
d5419a27f2 Correct check for free symbols for PUSCH/PDSCH allocation 2022-04-28 14:04:15 +02:00
Robert Schmidt
9fcc94313c Make variables in nr_acknack_scheduling() const 2022-04-28 14:01:20 +02:00
Robert Schmidt
db0a9f60c1 Correct slot calculation in nr_acknack_scheduling() 2022-04-28 14:01:20 +02:00
Robert Schmidt
1060de4c32 Correct frame calculation in UL scheduler 2022-04-28 14:01:20 +02:00
Robert Schmidt
4be054b8ba Fix band66 CI config file locationAndBandwidth 2022-04-28 14:01:20 +02:00
francescomani
40b0ce9978 vrb map fixes 2022-04-28 14:01:20 +02:00
francescomani
3054102200 targets config file cleanup 2022-04-28 14:01:20 +02:00
Robert Schmidt
e4e08925ec Speed up random TB filling in phy-test mode 2022-04-28 14:01:19 +02:00
francescomani
5e1364f19d Merge remote-tracking branch 'origin/develop' into NR_handling_PMI_report 2022-04-28 13:57:17 +02:00
Robert Schmidt
3571769bef Correctly initialize RLC when using phy-test mode
When using phy-test mode, the RNTI for PDCP/RLC initialization would be
0, incorrectly initializing these layers, fixed in this commit.

Additionally, in this commit, we only trigger the initialization in
cases where the UE context is initialized (before, the RNTI might be 0
in other cases as well).
2022-04-28 13:42:19 +02:00
Roberto Louro Magueta
99fde7f7cb Fix some needed debug logs considering the multi-layer case 2022-04-28 11:50:27 +01:00
Roberto Louro Magueta
b56494855e Merge remote-tracking branch 'origin/bupt-ulmimo-4' into bupt-ulmimo-4 2022-04-28 11:24:08 +01:00
francescomani
d05f2b3add Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-28 11:54:51 +02:00
francescomani
6af3d0a364 change in ulsim test to show degradation in performances for 2rx scenario 2022-04-28 11:27:27 +02:00
hardy
264599a071 update AS UE IP address after IT migration 2022-04-28 11:16:19 +02:00
luis_pereira87
3bdc709243 Fix build of phy_simulators 2022-04-28 09:04:14 +01:00
luis_pereira87
dda9077708 Remove all GTPU tunnels for a specific RNTI after UEContextRelease 2022-04-28 09:04:14 +01:00
luis_pereira87
4df04fc48c Avoid gNB to exit when UE release or becomes out of coverage 2022-04-28 09:04:14 +01:00
Robert Schmidt
720af7a41e Merge branch 'integration_2022_wk17' into 'develop'
integration_2022_wk17

See merge request oai/openairinterface5g!1539
2022-04-28 07:51:04 +00:00
Robert Schmidt
8d43b9c477 NSA 2x2: Set bitrate threshold to mark test green (setup problem) 2022-04-28 09:47:57 +02:00
Eurecom
e946ddbe47 bugfix in if5_tools.c 2022-04-27 21:34:06 +02:00
francescomani
7733ac1857 bwp-based csi configuration (to be verified) 2022-04-27 19:28:22 +02:00
Raphael Defosseux
ced2a66f6e fix(ci): changing the Docker Hub account to push to
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-27 18:36:01 +02:00
Robert Schmidt
b089469935 Reduce nr_dlsim 256QAM MCS 27 test case to MCS 26, see #543 2022-04-27 18:15:46 +02:00
Robert Schmidt
730fa472ae NSA-2x2 test: increase DL traffic requirements 2022-04-27 18:09:21 +02:00
Robert Schmidt
e98afec567 NSA-2x2 test: improve gNB configuration 2022-04-27 18:09:21 +02:00
francescomani
f902e27c43 updates on coreset harmonization 2022-04-27 16:24:05 +02:00
Raphael Defosseux
629b04dc80 fix(ci): typo when printing
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-27 15:26:05 +02:00
Robert Schmidt
c265cbda8a NSA-B200(-Container) test: increase UL traffic requirements 2022-04-27 16:36:16 +02:00
Robert Schmidt
a4f3d431f5 Further improve B210/NSA gNB configuration file 2022-04-27 16:31:35 +02:00
Roberto Louro Magueta
7e172e348b Fix from frame_parms->nb_antennas_tx to UE->frame_parms.nb_antennas_tx in ulsim 2022-04-27 11:51:29 +01:00
Manish
e168c0f33b help menu updated in document for native architecture.
Compilation steps corrected on Ubuntu 20.

Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-04-27 05:37:42 +00:00
Roberto Louro Magueta
cb456a23cc Fix in atxlev computation in ulsim (the loop should be over nb_antennas_tx and not nb_antennas_rx) and remove wrong sigma_dB computation 2022-04-26 20:25:53 +01:00
Roberto Louro Magueta
ac5444afd9 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-26 19:18:08 +01:00
Robert Schmidt
89e7923652 Increase NSA B210 throughput requirements 2022-04-26 18:26:09 +02:00
Robert Schmidt
4389fdea4e Harmonize NSA DMRS AdditionalPosition with SA 2022-04-26 18:26:09 +02:00
Robert Schmidt
57d1b22ca4 Improve B210 gNB configuration 2022-04-26 17:48:23 +02:00
Robert Schmidt
b805e6db47 Use --continuous-tx for B210-based gNB (TDD) 2022-04-26 17:40:42 +02:00
Raphael Defosseux
275522eae3 feat(ci): reporting in HTML of formatting and licences checks
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-26 16:54:42 +02:00
Robert Schmidt
48cb251044 Merge remote-tracking branch 'origin/NR_SR_fixes' into integration_2022_wk17 2022-04-26 16:29:25 +02:00
Robert Schmidt
5dc87bdcad Merge remote-tracking branch 'origin/rename_frame_type' into integration_2022_wk17 2022-04-26 15:16:24 +02:00
Robert Schmidt
28c3205f22 Merge remote-tracking branch 'origin/fix-rfsim-ue4G-sync' into integration_2022_wk17
Conflicts:
	targets/ARCH/rfsimulator/simulator.c
2022-04-26 15:16:09 +02:00
Robert Schmidt
327ccc0895 Merge remote-tracking branch 'origin/fix-ue-dlsch' into integration_2022_wk17 2022-04-26 15:12:26 +02:00
Robert Schmidt
df3674c129 Merge remote-tracking branch 'origin/bugfix-nr-rlc-status-generation' into develop
Conflicts:
	openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
2022-04-26 14:13:51 +02:00
Robert Schmidt
917c0bfc10 Merge remote-tracking branch 'origin/nr-rlc-speedup-ack-nack-reception' into develop 2022-04-26 14:11:54 +02:00
Raphael Defosseux
5761f24eb0 fix(ci): 1st step to migrate the formatting / license check to the new pipeline env
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-26 14:02:06 +02:00
Raphael Defosseux
8d2e5fd7aa fix(ci): CN5G does not keep PCAP in artifacts
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-26 12:07:56 +02:00
Vijay Chadachan
05567b59f1 Fix for OAI UE AUTH_REQ processing additional check for RAND value
It was observed in simulation test the OAI UE always sends the sucessful
AUTH_RES when the AUTH_REQ has the RAND value "0". This opens a back door
in the authentication process.

The code is modified to fix this issue in OAI UE.
2022-04-26 10:59:42 +02:00
francescomani
7e6f8ecfb3 fixing bugs and cleaning up ulsim 2022-04-26 10:59:25 +02:00
Raphael Defosseux
50612fdcc2 fix(ci): when deploy CN5G, health detection fixed to display the image tag/date in HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-26 10:40:45 +02:00
Laurent Thomas
3c6a628b74 fix 2 bugs: one new introduced by merge develop, one introduced by extra change asked in code review 2022-04-25 23:34:48 +02:00
francescomani
697d72cd01 adding missing parameter in ulsim 2022-04-22 18:51:53 +02:00
Robert Schmidt
532bb0da96 Remove useless comments 2022-04-22 17:54:41 +02:00
Raphael Defosseux
998452e679 feat(ci): add script to properly flatten the target images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-22 16:53:34 +02:00
Raphael Defosseux
4c4cbc963b fix(ci): little fixes after migration to new infra:
- Better mechanism for qlog cleaning
 - Faster attachment check
 - html.py is confusing for some python3 installation -- renaming it

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-22 12:28:09 +02:00
francescomani
f57f4ce3fe bugfix in channel compensation 2022-04-22 09:56:54 +02:00
Cedric Roux
4b4e419aba nr rlc: fix NR RLC AM status generation
Several problems were found and fixed.
2022-04-21 16:47:27 +02:00
francescomani
9327e99152 additional fixes for SR 2022-04-21 16:29:22 +02:00
Raphael Defosseux
b8ac9d5db9 fix(ci): fix helm charts for phy-sim testing on cluster new infra
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-21 15:04:45 +02:00
luis_pereira87
aeaf4c87b5 Fix delay of CU for a very large cellGroupConfig 2022-04-20 20:19:56 +01:00
francescomani
f49df05456 fix for ulschsim antenna ports 2022-04-20 18:55:38 +02:00
luis_pereira87
5887541538 Fix segmentation fault when using multiple Dedicated-BWPs and F1 2022-04-20 17:16:49 +01:00
Raphael Defosseux
d592b1ff5b fix(ci): dummy commit to re-trigger
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-20 17:56:25 +02:00
francescomani
15777bbf0e fix for ulsim antenna ports 2022-04-20 17:05:03 +02:00
luis_pereira87
efd99acacc Fix read SSpace array index at -1 2022-04-20 15:51:02 +01:00
Raphael Defosseux
32b2f76c57 fix(ci): first port to the new Eurecom infrastructure:
* Proxy no longer required for git cloning
* Most of the IP addresses have been changed
  - Remaining --> 192.168.18.89 for amariue

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-20 14:30:24 +02:00
francescomani
f1a38dbc98 CSI-IM harmonization 2022-04-20 13:47:51 +02:00
luis_pereira87
709db95112 Fix DL/UL failure due to wrong dedicated BWP when an RA fails on Msg4 and then succeeds 2022-04-19 18:59:56 +01:00
luis_pereira87
e59ac44c94 Merge branch 'NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/nr_rrc_defs.h
#	openair2/RRC/NR/rrc_gNB.c
2022-04-19 18:34:42 +01:00
luis_pereira87
8e4c513805 Fix RRC processing time when using F1 split 2022-04-19 18:07:45 +01:00
francescomani
33663e68b0 rename frame_type 2022-04-19 18:37:14 +02:00
luis_pereira87
55f1a6b4da Stop the scheduling of CSI-RS, of CSI measurement report reception on PUCCH2 and of reception of SRS 2022-04-19 17:28:48 +01:00
luis_pereira87
72f40e6fb1 Add definition for some rrc processing delays 2022-04-19 17:04:05 +01:00
luis_pereira87
7508205f90 Move nr_mac_update_timers function to gNB_scheduler_primitives 2022-04-19 16:39:49 +01:00
luis_pereira87
5c176c454a Fix mcs table update during RRCReconfiguration 2022-04-19 16:34:10 +01:00
luis_pereira87
bd7f837f18 Fix after merge 2022-04-19 13:23:17 +01:00
luis_pereira87
44c0c8d321 Merge branch 'NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/rrc_gNB.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf
2022-04-19 12:39:28 +01:00
Thomas Schlichter
795c057d8c nr_dlsim: fix low-SNR performance by using DCI aggregation level 8 2022-04-19 11:32:47 +02:00
luis_pereira87
a39c310bd4 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-04-19 10:21:57 +01:00
rmagueta
eb12cb8f10 Fix CI test for FR2 RA 2022-04-18 15:19:29 +01:00
francescomani
10b8e1b34c harmonization of uplink BWPs configuration 2022-04-18 11:59:40 +02:00
rmagueta
a4a5c6ae22 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements 2022-04-18 10:42:04 +01:00
rmagueta
6b873e0f41 Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-04-18 10:26:46 +01:00
francescomani
28f3997ea6 Merge remote-tracking branch 'origin/NR_PUCCH_RRC_Resources' into NR_RRC_harmonization_after_BWP 2022-04-18 10:06:02 +02:00
francescomani
c791b45adc harmonization of downlink BWPs configuration 2022-04-16 14:34:00 +02:00
francescomani
b62e7be276 adding harmonization of coreset configuration to multiple BWPs 2022-04-16 10:13:02 +02:00
francescomani
6989d4ecba harmonization of coreset configuration 2022-04-16 09:53:06 +02:00
francescomani
a71552d55d harmonization of coreset configuration 2022-04-15 19:21:34 +02:00
francescomani
3a0cb80469 Merge remote-tracking branch 'origin/nr_csirs_rrc_harmonization' into NR_RRC_harmonization_after_BWP 2022-04-15 13:54:25 +02:00
Cedric Roux
8b0be9cf87 nr rlc: speedup ack/nack reception
The code completely changed, expect problems.
2022-04-15 12:20:02 +02:00
matzakos
9b2a163ebb Add true reporting of RLC buffer availability in first DDD report from DU to CU 2022-04-15 10:36:31 +02:00
matzakos
3feb0f472f Add more proper parsing of NR-RAN gtp-u extension header 2022-04-15 10:35:39 +02:00
matzakos
b216c58526 Remove xml prints of F1AP messages 2022-04-15 10:34:53 +02:00
Robert Schmidt
803864d4ed Merge branch 'develop-2x2-segFault' into 'develop'
Fix segmentation fault at UE for 2x2

See merge request oai/openairinterface5g!1527
2022-04-15 08:13:33 +00:00
francescomani
ca51ba7d3f ignoring PUCCH2 TPC for now 2022-04-14 19:30:22 +02:00
francescomani
815a15e544 fixes for SR in pucch0 2022-04-14 17:43:02 +02:00
luis_pereira87
7b5d8de65f Remove sib1_tda from configuration files to use the default value 2022-04-14 15:52:54 +01:00
luis_pereira87
0270b7b1fb Move RRC processing timer implementation from RRC to MAC 2022-04-14 15:49:29 +01:00
luis_pereira87
ada380d9fd Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer 2022-04-14 11:46:52 +01:00
Raymond Knopp
e721f6af04 Merge remote-tracking branch 'origin/tdd25period_for_MR' into F1_interop_ACC_n78
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2022-04-14 11:14:36 +02:00
rmagueta
ad3253fef6 Move CSI-RS configuration from fill_initial_SpCellConfig to update_cellGroupConfig 2022-04-13 19:45:10 +01:00
rmagueta
9def6e815d Merge remote-tracking branch 'origin/develop-2x2-segFault' into develop-CSI-Measurements 2022-04-13 17:55:40 +01:00
rmagueta
31319e8063 Fix pdcch_est_size 2022-04-13 16:54:09 +01:00
rmagueta
27bac2f2c4 The RI, PMI and CQI estimated at the UE are sent by the UE and correctly received by the gNB 2022-04-13 15:33:37 +01:00
Laurent THOMAS
b2560daa3d merge develop and fix one double free bug in nr_dlschsim 2022-04-13 15:15:11 +02:00
matzakos
f9e5c987a6 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-04-13 14:22:19 +02:00
matzakos
0c05e283e2 Remove warnings and unused code 2022-04-13 13:19:04 +02:00
rmagueta
cd6ee6a01e Fix build after merge 2022-04-13 11:12:49 +01:00
rmagueta
9b1db62f38 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements 2022-04-13 10:40:58 +01:00
rmagueta
a81640a6df Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
2022-04-13 10:21:09 +01:00
francescomani
cfda6c7b1d renaming SR config function 2022-04-13 10:58:28 +02:00
rmagueta
40279dddf3 Get cri_bitlen, ri_bitlen, pmi_bitlen and cqi_bitlen at UE 2022-04-13 01:07:01 +01:00
Laurent THOMAS
2373b02150 review remarks 2022-04-12 20:52:40 +02:00
rmagueta
04b234c878 Send CSI-RS measurements from PHY to MAC at UE 2022-04-12 19:06:02 +01:00
francescomani
1745ffa10f adapting nr_rrc_config_dl_tda for multiple BWPs 2022-04-12 17:36:52 +02:00
rmagueta
1d86347587 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/NR_TRANSPORT/nr_dci.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-04-12 14:48:08 +01:00
rmagueta
d6072cb5d2 Fix build after merge 2022-04-12 14:31:39 +01:00
rmagueta
d5421a9c87 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/NR_REFSIG/nr_refsig.h
#	openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
#	openair1/PHY/NR_TRANSPORT/nr_transport_proto.h
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
2022-04-12 14:02:43 +01:00
francescomani
d642c74b66 reintroducing RA logs to avoid CI test failure 2022-04-12 11:26:20 +02:00
francescomani
e6913e5d33 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-04-12 10:41:20 +02:00
francescomani
11ced194cd Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-04-12 10:28:32 +02:00
francescomani
02b66061b1 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-12 10:14:21 +02:00
francescomani
8927c648d4 Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-04-12 09:55:57 +02:00
Thomas Schlichter
94e5aaff88 Merge remote-tracking branch 'origin/develop' into 5g-nr-low-snr-performance 2022-04-12 09:51:47 +02:00
francescomani
4452308184 Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR 2022-04-12 09:40:52 +02:00
matzakos
47c9ded007 Use higher data type to store the length of UE capability RAT container 2022-04-11 19:53:36 +02:00
matzakos
bfc7c1b361 Remove bad return before unlocking mutex in pdcp UL indication 2022-04-11 19:35:05 +02:00
Laurent THOMAS
4ad71064b8 review comments 2022-04-11 19:29:45 +02:00
Sagar Parsawar
2d47bde708 Resolved merge conflict 2022-04-11 18:08:12 +02:00
Laurent THOMAS
b738f8a6a9 tackle code review remarks 2022-04-11 17:27:11 +02:00
luis_pereira87
0689040770 Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into Dedicated-BWPs 2022-04-11 13:50:32 +01:00
luis_pereira87
940abc3587 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-04-11 13:49:40 +01:00
Laurent THOMAS
421603534c fix regression 2022-04-11 10:52:53 +02:00
Laurent THOMAS
b860d76cd6 fix lte-ue.c main loop with 5G common vars 2022-04-11 09:39:16 +02:00
Laurent Thomas
95a58d646a merge develop, no test 2022-04-10 22:22:52 +02:00
Laurent Thomas
f2e6537195 roolback regression 2022-04-10 22:11:37 +02:00
Raymond Knopp
86b5b9db3d Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair2/GNB_APP/gnb_config.c
	openair2/GNB_APP/gnb_paramdef.h
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-04-09 19:44:26 +02:00
Raymond Knopp
05cdd1b4da temporary commit 2022-04-09 15:56:30 +02:00
rmagueta
3969079fcd Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/GNB_APP/gnb_paramdef.h
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
2022-04-08 19:49:40 +01:00
rmagueta
8c056ceefc Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-04-08 18:19:06 +01:00
francescomani
680c605e32 Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-04-08 17:02:35 +02:00
francescomani
1ab64d26aa Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-08 16:50:02 +02:00
rmagueta
8ffecf4bdf CQI computation 2022-04-07 19:58:56 +01:00
rmagueta
d6a155a803 SINR in dB 2022-04-07 19:30:33 +01:00
rmagueta
7286552aa5 Improvements in PMI computation to allow computation CQI more easily 2022-04-07 18:58:18 +01:00
Raymond Knopp
5962824038 Integrate true reporting of buffer availability of RLC(DU) towards the CU 2022-04-07 16:34:16 +02:00
Thomas Schlichter
4035bdb71d add autotest test case for nr_dlsim low SNR performance
performance is ~1.0dB worse than nr_ulsim because of unexpected bad PDCCH performance...
2022-04-07 12:20:33 +02:00
Thomas Schlichter
298740b06c add autotest test case for nr_ulsim low SNR performance 2022-04-07 12:12:20 +02:00
Thomas Schlichter
c7055b2cf9 nr_ulsim: set PUSCH detection threshold to -2.0 dB SNR 2022-04-07 12:08:26 +02:00
rakesh mundlamuri
8b9c76be88 revert the config files 106 and 273 for usrp n310 2022-04-07 11:53:44 +02:00
rakesh mundlamuri
df67fd02a9 renamed config files to use it with usrp x310 2022-04-07 11:48:56 +02:00
Thomas Schlichter
23bdf1e32c remove unused perfect_ce 2022-04-07 11:45:26 +02:00
Thomas Schlichter
dd374c7e03 add more detailed statistics to nr_dlsim output 2022-04-07 11:45:26 +02:00
rakesh mundlamuri
3ab0c2bae8 ue prs config for 217 PRB 2022-04-07 11:30:08 +02:00
rakesh mundlamuri
7b34a49de0 centered fr1 config to 3.75 GHz 2022-04-07 11:22:28 +02:00
Sagar Parsawar
272dcd40b2 updated FR1/FR2 gNB and UE configs for PRS 2022-04-07 10:51:59 +02:00
Bo Zhao
7f074bcc22 Implement PDCCH channel estimation averaging over PRB (no interpolation) 2022-04-07 10:42:03 +02:00
Bo Zhao
fe7ee4d2fe Scaling LLR for different QAM schemes 2022-04-07 10:40:53 +02:00
Thomas Schlichter
e297ccfa26 Add nr_prachsim test case for 15 kHz SCS 2022-04-07 10:34:37 +02:00
Florian Kaltenberger
dd6abd66dd adding FR2 PRS config file 2022-04-07 10:18:18 +02:00
Laurent THOMAS
2cdc7304f1 merge develop 2022-04-07 10:00:41 +02:00
Florian Kaltenberger
ca638ef710 adding config files for PRS FR1 2022-04-07 09:33:01 +02:00
Robert Schmidt
bcdeac0a23 Correct include directories for oai_usrpdevif 2022-04-07 09:33:01 +02:00
rmagueta
bf56e881b2 Fix log 2022-04-06 18:43:56 +01:00
rmagueta
6e4bbe8f49 PMI computation for rank=2 case 2022-04-06 18:42:00 +01:00
luis_pereira87
2b1cafb509 Do not create a Dedicated BWP when it is not configured in the configuration file 2022-04-06 18:06:02 +01:00
rmagueta
66b3fffbf0 Minor improvements 2022-04-06 17:44:47 +01:00
luis_pereira87
e4536a093f Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into Dedicated-BWPs 2022-04-06 17:26:38 +01:00
Florian Kaltenberger
367ad780a4 fixing "making SFN dependent on GPS time"
in fact it syncs the USRP time to GPS time when available and then derives the SFN from the USRP time.
a side effect is that now SFN does not necessarily start at 0 and this also required other changes
 - initialization of the future_ul_tti_request.
 - fixing a bug in get_samples_per_slot
2022-04-06 17:40:14 +02:00
Florian Kaltenberger
5b22d94d37 adding special PRB configs 2022-04-06 17:38:35 +02:00
Laurent THOMAS
293a53e373 code review remarks, cannot perform full test (develop bugged) 2022-04-06 17:07:25 +02:00
rmagueta
8e58e83be6 Remove log 2022-04-06 14:52:34 +01:00
rmagueta
4ee6005a50 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-04-06 13:30:04 +01:00
rmagueta
eb03322545 Change LOG level 2022-04-06 13:18:46 +01:00
luis_pereira87
1a3c8e5440 Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
2022-04-06 11:52:55 +01:00
rmagueta
c65593d088 Fix build after merge 2022-04-06 11:06:55 +01:00
rmagueta
345f3056ff Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
#	openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
#	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
2022-04-06 10:51:43 +01:00
rmagueta
4f29c73bb6 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-04-06 10:11:49 +01:00
francescomani
4f486ce66b Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-06 11:02:53 +02:00
matzakos
693d687d3f Restore nr_l1_helpers.h and dependencies 2022-04-06 10:57:36 +02:00
matzakos
0eb2acb00b F1 code cleanup before merge
-Remove commented out code, debug logs, some hardcodings, fix indentation
2022-04-06 10:43:09 +02:00
francescomani
f0ea21476a Merge remote-tracking branch 'origin/develop' into NR_handling_PMI_report 2022-04-06 10:04:20 +02:00
rmagueta
886b580fac PMI computation for rank=1 case 2022-04-05 19:56:13 +01:00
Sagar Parsawar
f5587fcdca OAI UE: Added SNR measurements and averaging PRS channel estimates over NumPRSSymbols 2022-04-05 15:02:47 +02:00
luis_pereira87
6ccaaacaf0 Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer
# Conflicts:
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2022-04-05 12:46:14 +01:00
luis_pereira87
4d257e1a99 Fix build after merge 2022-04-05 12:03:22 +01:00
luis_pereira87
f8af4c8b72 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-04-05 11:47:23 +01:00
rmagueta
4254d59a96 Create nr_csi_rs_pmi_estimation function for PMI computation (still almost empty) 2022-04-04 20:13:33 +01:00
rmagueta
f12c6ea65b Add log2_maxh for nr_conjch0_mult_ch1 in nr_csi_rs_ri_estimation 2022-04-04 15:55:16 +01:00
rmagueta
03f7bd3468 Remove unused input in nr_csi_rs_ri_estimation 2022-04-04 14:44:22 +01:00
rmagueta
c37e0af9b0 Change LOG levels 2022-04-04 14:42:37 +01:00
rmagueta
ef63aa45e6 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements 2022-04-04 13:51:52 +01:00
rmagueta
a772400ffa Fix memory leak 2022-04-04 13:14:18 +01:00
rmagueta
2d434033e0 Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-04-04 12:35:25 +01:00
Raymond Knopp
8fdf4af6aa added multiple thread support for ECPRI/IF5 interface. Uses SO_REUSEPORT for listening with multiple sockets in different threads 2022-04-03 22:23:33 +02:00
francescomani
0152e8ce38 fix dlsim compilation error 2022-04-03 20:26:05 +02:00
francescomani
4c17c9c62a change SR slot in FDD to avoid assertion 2022-04-03 18:15:17 +02:00
francescomani
7901ff998d Merge remote-tracking branch 'origin/develop' into NR_handling_PMI_report 2022-04-03 16:38:32 +02:00
francescomani
ed9c35a170 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-04-03 16:20:59 +02:00
rmagueta
e628c8c2c4 Fix build after merge 2022-04-01 20:13:06 +01:00
rmagueta
2deec7fa09 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/INIT/nr_init_ue.c
#	openair2/GNB_APP/gnb_config.c
#	openair2/GNB_APP/gnb_paramdef.h
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-04-01 19:36:57 +01:00
francescomani
e1e8c167de Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-04-01 19:21:45 +02:00
rmagueta
25614263ba Fix build after merge 2022-04-01 16:15:58 +01:00
rmagueta
c83df1b677 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/INIT/nr_init_ue.c
#	openair2/GNB_APP/gnb_config.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.162PRB.2x2.usrpn300.conf
2022-04-01 15:56:47 +01:00
Sagar Parsawar
7bedc74d6e Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-04-01 13:01:56 +02:00
Thomas Schlichter
729cf143e0 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-04-01 10:28:11 +02:00
rmagueta
bc2ea375c8 Replace nr_construct_HhH_elements by nr_a_sum_b function in nr_csi_rs_ri_estimation 2022-03-31 20:30:00 +01:00
francescomani
6e6f9a53a1 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-03-31 10:46:02 +02:00
rmagueta
da1e542a31 Fix dl_antenna_ports after merge 2022-03-30 20:14:57 +01:00
rmagueta
fba2df7557 Fix config files after merge 2022-03-30 19:27:24 +01:00
rmagueta
4c0427ea6c Merge remote-tracking branch 'origin/nr_mimo_precoding_codebook_I' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/INIT/nr_init_ue.c
#	openair2/GNB_APP/gnb_config.c
#	openair2/GNB_APP/gnb_paramdef.h
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.162PRB.2x2.usrpn300.conf
2022-03-30 19:23:22 +01:00
francescomani
cb32c7505e tabulated values * 10 to simplify the code 2022-03-30 19:08:20 +02:00
rmagueta
38d0dca0bf Minor fixes 2022-03-30 17:00:25 +01:00
Robert Schmidt
665db19ed6 Change first SA test to DDSUU 2.5ms TDD period + ping to 10ms 2022-03-30 17:25:37 +02:00
rmagueta
ef4d8ab0c7 Merge remote-tracking branch 'origin/develop' into develop-CSI-Measurements 2022-03-30 16:17:17 +01:00
rmagueta
c7a54269de First version of rank indicator computation at UE 2022-03-30 16:16:58 +01:00
rakesh mundlamuri
a907d3d220 beam switching logic for sivers 2022-03-30 08:43:53 +02:00
Raymond Knopp
10b4f4331e CQI report in slots 7/27 2022-03-29 23:10:08 +02:00
Raymond Knopp
b7389ab3d1 Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-03-29 22:57:56 +02:00
Sagar Parsawar
0d2fb97492 Merge branch 'nr_prs' of https://gitlab.eurecom.fr/florian.kaltenberger/openairinterface5g into nr_prs 2022-03-29 17:34:10 +02:00
Sagar Parsawar
a618b97a35 Added MQTT client libraries to publish message 2022-03-29 17:32:02 +02:00
Raymond Knopp
a77c1d3202 Trigger first DL Data Delivery status from DU to report the buffer availability to the CU
-After that no DL traffic is getting blocked at the Accelleran CU for low values of throughput
-Remaining to remove the hardcoded value of buffer availability and report the actual value from the DU.
2022-03-29 12:17:37 +02:00
Raymond Knopp
65bea43111 Merge branch 'tdd25period_for_MR' of https://gitlab.eurecom.fr/oai/openairinterface5g into tdd25period_for_MR
Conflicts:
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
2022-03-28 21:55:24 +02:00
matzakos
038e70b0c6 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-03-28 21:55:21 +02:00
Raymond Knopp
9bd16f3c66 - fix for CSI-RS allocation (slot slot 0 in symbol 13, SIB1 10 symbols instead of 12 by default)
- extra logging for CRNTI procedure (to catch bug in nr_free_list
2022-03-28 21:45:50 +02:00
matzakos
90c64f4cf8 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-03-28 21:20:49 +02:00
rmagueta
1d1aaa30e7 Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-03-28 15:06:23 +01:00
rmagueta
139a33d644 Remove multiple nr_gold_csi_rs initializations 2022-03-28 14:36:01 +01:00
rmagueta
e322bdb289 Fix warning after merge 2022-03-28 14:10:39 +01:00
rmagueta
181e576698 Fix warning after merge 2022-03-28 13:53:35 +01:00
rmagueta
0abcf3d9c4 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/NR_REFSIG/nr_gold.c
#	openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
#	openair1/PHY/defs_nr_common.h
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-28 13:32:46 +01:00
rmagueta
8e5ea001b1 Fix warning after merge 2022-03-28 11:57:29 +01:00
rmagueta
c11f6082a6 Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
2022-03-28 11:57:07 +01:00
Florian Kaltenberger
f85ccaa007 Revert "making SFN dependent on GPS time (when available)"
This reverts commit 5679e4a3b3.
2022-03-28 12:22:11 +02:00
rmagueta
3b3866feee Fix warning after merge 2022-03-28 11:17:59 +01:00
rmagueta
9daef4e587 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
2022-03-28 11:17:00 +01:00
Florian Kaltenberger
24594d993a adding case for 8 bit alignment in usrp rx 2022-03-28 12:08:48 +02:00
Laurent THOMAS
c0568a997a fix bugs, delete dead code 2022-03-28 12:05:18 +02:00
Sagar Parsawar
984830505b 256-bit alignment fix in trx_usrp_write/trx_usrp_write_thread functions 2022-03-28 10:58:41 +02:00
francescomani
c6b4f97d19 coderate according to SCF and get tbs,qm,R only at MAC 2022-03-26 13:37:34 +01:00
Laurent THOMAS
a79ccb9992 fix nr_deinterleaving_ldpc() again, we are now too short in the buffer 2022-03-25 21:45:37 +01:00
Laurent THOMAS
9be58373bc fix regression on harq in UE 2022-03-25 18:20:05 +01:00
francescomani
65d0318504 using tbslbrm at mac also for ulsch as in scf spec 2022-03-25 17:52:44 +01:00
rmagueta
6c1f1a02bb Avoid CU from trying to access RC.nrmac 2022-03-25 16:11:34 +00:00
Laurent THOMAS
73053aa712 fix bug introduced in this branch 2022-03-25 16:32:07 +01:00
rmagueta
d5f431a1fd Move nr_bwp_switch and schedule_nr_bwp_switch functions to gNB_scheduler_primitives.c 2022-03-25 15:29:41 +00:00
rmagueta
94a296d79c Fix selected BWP for SRS at UE 2022-03-25 15:07:16 +00:00
rmagueta
5f64d2a1db Avoid CU from trying to access RC.nrmac 2022-03-25 01:51:04 +00:00
rmagueta
11577f6b0b Fix DU to CU RRC message encode 2022-03-25 01:01:29 +00:00
rmagueta
a1739a1175 Avoid segmentation fault 2022-03-25 00:59:43 +00:00
Laurent THOMAS
b153d2d1ee fix bug in nr_rate_matching 2022-03-24 21:10:23 +01:00
rmagueta
6d4bd11903 Merge remote-tracking branch 'origin/fix_rballoc_mask_type' into Dedicated-BWPs 2022-03-24 14:25:19 +00:00
Robert Schmidt
288c29da84 Apply review suggestions 2022-03-24 14:39:16 +01:00
Laurent THOMAS
a7e7d05da3 fix difficult to read code 2022-03-24 14:38:17 +01:00
Laurent THOMAS
42c1679545 remove one global 2022-03-24 14:05:31 +01:00
Laurent THOMAS
ed1c87b598 commit before rebase 2022-03-24 14:05:30 +01:00
francescomani
8fbe727b32 Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-03-24 12:31:38 +01:00
Thomas Schlichter
88c0028757 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-03-24 11:39:22 +01:00
luis_pereira87
5d6d25c972 Fix RIV value for 162 PRBs, update and synchronization of configuration files 2022-03-23 22:34:32 +00:00
luis_pereira87
9c45ee05bb Fix RIV value for 162 PRBs 2022-03-23 22:27:48 +00:00
luis_pereira87
7ba2517334 Improve nr_rrc_processing_timer to support BWP switching 2022-03-23 20:20:12 +00:00
francescomani
d36549f80a fix memory issues 2022-03-23 19:15:02 +01:00
luis_pereira87
345b66c77f Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
2022-03-23 17:21:34 +00:00
luis_pereira87
4510041aa6 Fix RRC processing time to match RRC ticks (at 1 ms) and add implementation for RRCSetup processing time 2022-03-23 17:08:36 +00:00
francescomani
3387a94ae3 fix for fr2 sl_ahead 2022-03-23 15:47:07 +01:00
luis_pereira87
d0f6174fea Remove obsolete code 2022-03-23 14:15:16 +00:00
luis_pereira87
2706b1641e Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
2022-03-23 14:01:37 +00:00
luis_pereira87
e95b40a997 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-03-23 13:57:27 +00:00
luis_pereira87
daf3fb0e2c Enable nr_rrc_processing_timer for RRCSetup 2022-03-23 13:29:07 +00:00
luis_pereira87
6f5ea27e09 Improve nr_rrc_processing_timer procedures 2022-03-23 13:11:04 +00:00
luis_pereira87
726cebaa9d Create function to enable nr_rrc_processing_timer 2022-03-23 11:17:52 +00:00
francescomani
07d20ba121 fix for memory issues 2022-03-23 09:58:55 +01:00
rmagueta
bc7a404629 Move rrc_processing_timer from MAC to RRC 2022-03-22 20:18:23 +00:00
luis_pereira87
f5c4ccf479 Merge remote-tracking branch 'origin/develop' into NR_RRC_processing_timer 2022-03-22 18:51:48 +00:00
rmagueta
3e664b5eb7 Fix warning 2022-03-22 18:28:49 +00:00
rmagueta
e834acfaf2 Temporary commit to test CSI-RS without core 2022-03-22 18:25:29 +00:00
rmagueta
17504695f8 Fix updated configurations that was reverted in merge 2022-03-22 18:02:12 +00:00
rmagueta
184e151fde Fix build after merge 2022-03-22 17:40:06 +00:00
rmagueta
a47861628b Merge remote-tracking branch 'origin/develop-CSI' into develop-CSI-Measurements
# Conflicts:
#	openair1/PHY/INIT/nr_init.c
#	openair1/PHY/INIT/nr_init_ue.c
#	openair1/PHY/NR_REFSIG/nr_gold.c
#	openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
#	openair1/PHY/defs_nr_common.h
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_proto.h
#	openair2/RRC/NR/rrc_gNB_reconfig.c
#	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
2022-03-22 17:18:22 +00:00
francescomani
fb118a76a8 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-03-22 13:21:43 +01:00
rmagueta
7ae5abfbeb Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-22 12:07:14 +00:00
Florian Kaltenberger
5679e4a3b3 making SFN dependent on GPS time (when available) 2022-03-22 11:10:07 +01:00
Raymond Knopp
d840ca0dee Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-22 07:03:40 +01:00
rmagueta
199680d24d Address reviewer comments 2022-03-21 17:37:29 +00:00
rmagueta
a9bbf18d9f Simplification of rrc_processing_delay computation 2022-03-21 17:14:50 +00:00
luis_pereira87
65e47c882f Handle RRC processing time at gNB 2022-03-21 14:35:41 +00:00
rmagueta
4ce795186b Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-03-21 11:23:08 +00:00
francescomani
4d289b92cc fix xp=1 option and added RUNMODEM description for MIMO configuration 2022-03-21 11:59:31 +01:00
francescomani
7b9f53e9db option for identity matrix if xp is 1 2022-03-21 10:01:13 +01:00
francescomani
3dc7da3b22 fix for bad merge issues 2022-03-20 15:08:56 +01:00
rmagueta
7ecd593f6b Fix memory leaks 2022-03-18 17:55:53 +00:00
Raymond Knopp
05c07c401f removal of some logs. Temporary suppression of QAM256 for 5G Records testing 2022-03-18 18:51:22 +01:00
luis_pereira87
f439095c6e Fix bug after merge 2022-03-17 18:19:42 +00:00
rmagueta
190eaa1e42 Move CSI-RS configuration from fill_initial_SpCellConfig() to update_cellGroupConfig() 2022-03-17 16:36:50 +00:00
rmagueta
8704f81025 Remove duplicated code 2022-03-17 16:35:06 +00:00
matzakos
4e73ef0c3b Avoid exiting in case of PDPC receiving UL user-plane traffic before the DRB is established
-Happened occasionally in the CU/DU split scenario
2022-03-17 17:01:50 +01:00
matzakos
aba5098e30 Remove hardcoding of port numbers in handling of F1 UE context modification request 2022-03-17 17:01:01 +01:00
Sagar Parsawar
828387c512 OAI UE: Added prs measurements in structure 2022-03-17 15:11:59 +01:00
rmagueta
b59b84e904 Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-03-17 01:03:35 +00:00
rmagueta
ea22da6e7a Noise power estimation based on CSI-RS 2022-03-17 00:50:35 +00:00
Eurecom
1d920ee1a7 Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-03-16 19:34:42 +01:00
Sagar Parsawar
cd3525772a OAI UE: PRS mutliple gNB fixes 2022-03-16 19:34:06 +01:00
rmagueta
2f2bc2a5e8 Merge remote-tracking branch 'origin/nr_csirs_rrc_harmonization' into develop-CSI
# Conflicts:
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_config.c
#	openair2/RRC/NR/nr_rrc_config.h
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-03-16 17:45:39 +00:00
rmagueta
3f88cc1fb1 Intermediate commit: move CSI configuration to a separate function 2022-03-16 17:19:36 +00:00
Sagar Parsawar
d196529cf8 OAI UE: PRS mutliple gNB fixes 2022-03-16 17:27:50 +01:00
rmagueta
2f9d8e759d Memory optimization for procedures related to CSI-RS channel estimation 2022-03-16 15:21:55 +00:00
francescomani
f40b579a78 fix for phy-simulator issues 2022-03-16 15:13:50 +01:00
rmagueta
f1eb2e15d4 Channel estimation based on CSI-RS and interpolation at UE working for a gNB with 4 antenna ports 2022-03-16 13:03:31 +00:00
rmagueta
8b0409d349 Channel estimation based on CSI-RS and interpolation working for a gNB with 2 antenna ports 2022-03-16 01:34:23 +00:00
rmagueta
e07f32f131 Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-03-15 18:56:46 +00:00
rmagueta
ce1613ad7c Improvement in nr_get_csi_rs_signal() and nr_csi_rs_channel_estimation() to later be easier to extend to multiple ports 2022-03-15 18:55:50 +00:00
Thomas Schlichter
9ef3fdbc49 add autotests for nr_dlsim and nr_ulsim with 15 kHz SCS and 5 MHz BW 2022-03-15 09:45:36 +01:00
Raymond Knopp
b880e449c7 Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-03-14 18:07:15 +01:00
Raymond Knopp
27c16382bf changes to support 768-point DFT/IDFT, renaming of 768-point DFT for DFT-precoding (4 DFTs per call) 2022-03-14 18:06:14 +01:00
francescomani
8edcd41a8d fix for pucch0 that straddles DC carrier 2022-03-14 17:35:04 +01:00
Thomas Schlichter
6569ea1a20 fix use of uninitialized memory
found by valdgrind in nr_dlsim
2022-03-14 16:39:17 +01:00
Thomas Schlichter
1616ed7727 gNB: generalize rx_nr_prach_ru() and add support for mu==0 2022-03-14 16:39:17 +01:00
Thomas Schlichter
8f632a7c69 NR_UE: generalize generate_nr_prach() and add support for mu==0 2022-03-14 16:39:17 +01:00
Thomas Schlichter
15e82e4811 add support for mu==0 to nr_prachsim 2022-03-14 16:39:17 +01:00
Thomas Schlichter
31cd31826d move get_dft() and get_idft() from pss_nr.c to tools_defs.h 2022-03-14 16:39:17 +01:00
Thomas Schlichter
d104ef73b7 gNB: fix memory allocations for PUSCH in phy_init_nr_gNB() 2022-03-14 16:39:17 +01:00
Thomas Schlichter
9e90b8f22c remove unneeded global arrays ul_ch_ptrs_estimates, ul_ch_ptrs_estimates_ext, dl_ch_ptrs_estimates and dl_ch_ptrs_estimates_ext 2022-03-14 16:39:17 +01:00
Thomas Schlichter
4fd78ce1e0 small fixes for 15 kHz SCS 2022-03-14 16:39:17 +01:00
Thomas Schlichter
cbf57d7b3c Add configuration file for 15 kHz SCS, 5 MHz BW, band 66, FDD 2022-03-14 16:39:17 +01:00
Thomas Schlichter
47148e3f7d add NO_INTERP to nr_pdsch_channel_estimation() as it is in nr_pusch_channel_estimation() 2022-03-14 16:39:17 +01:00
Thomas Schlichter
4a90091095 fix init_timeshift_rotation() 2022-03-14 16:39:17 +01:00
Thomas Schlichter
baa2e92562 add support for 5 MHz (15 kHz SCS) and 10 MHz (30 kHz SCS) to nr_dlsim and nr_ulsim 2022-03-14 16:39:17 +01:00
rmagueta
e56f284347 Perform the channel interpolation for CSI-RS row 1 2022-03-14 15:29:10 +00:00
Raymond Knopp
070b663a54 intermediate commit 2022-03-14 13:29:16 +01:00
matzakos
12eed23f63 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-03-14 11:39:13 +01:00
francescomani
03617b9165 more general SR config for period and offset 2022-03-14 10:43:59 +01:00
luis_pereira87
e23e863e0f Merge remote-tracking branch 'origin/Dedicated-BWPs' into Dedicated-BWPs 2022-03-14 09:33:20 +00:00
luis_pereira87
3114060a38 Add configuration files for 217 PRBs (80 MHz) and 273 PRBs (100 MHz) BW in a Dedicated BWP 2022-03-14 09:32:33 +00:00
Thomas Schlichter
7e17f8bd6a make nr_ulsim PASS condition depend on eff_tp_check, just as nr_dlsim already does 2022-03-14 09:45:38 +01:00
Thomas Schlichter
a82d897478 Merge remote-tracking branch 'origin/nr-ue-fixes' into support-15-kHz-SCS 2022-03-14 09:36:29 +01:00
Thomas Schlichter
1e5c3c5707 Merge remote-tracking branch 'origin/develop' into fix_nr_odd_prb 2022-03-14 09:35:17 +01:00
Raymond Knopp
e71578e7d0 Merge branch 'tdd25period_for_MR' into tdd2_5period_withRLCupdate
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	targets/ARCH/AW2SORI/oaiori.c
2022-03-13 07:30:44 +01:00
francescomani
1ab1fde7b8 fix for fdd and other warnings 2022-03-11 14:00:30 +01:00
francescomani
a88a8dae8e config of pucch2 in rrcsetup 2022-03-11 12:27:00 +01:00
Hongzhi Wang
a39c972611 revert commented stats 2022-03-11 11:36:51 +01:00
Hongzhi Wang
89ac71ef25 fix warnings and revert commented logs 2022-03-11 11:31:33 +01:00
Sagar Parsawar
2f46d68a64 OAI UE: fixes for multiple rx antenna processing and T tracer dumps in PRS channel estimation 2022-03-11 11:22:24 +01:00
Hongzhi Wang
a289d6e2ab Revert "setting reordering to infinity and max rb 50"
This reverts commit 168edeaf73.

Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-11 10:21:44 +01:00
Raymond Knopp
d24068a33b some bugfixes for CSI reporting with PUCCH2. Configuration of cqi_Table 2 for CSI reporting when 256-QAM is enabled. 2022-03-11 01:23:39 +01:00
Hongzhi Wang
91e9f930f4 revert max_rbsize and tpc default value 2022-03-11 00:33:12 +01:00
Hongzhi Wang
457ee6c049 bugfix build issue 2022-03-10 21:43:28 +01:00
Hongzhi Wang
bf889968f7 set default ul mcs to 9 2022-03-10 19:18:59 +01:00
francescomani
63ebfff4d3 Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-03-10 15:21:47 +01:00
luis_pereira87
b04957b57c Add configuration files for 217 PRBs (80 MHz) and 273 PRBs (100 MHz) BW in a Dedicated BWP 2022-03-10 13:19:40 +00:00
Hongzhi Wang
22d387e25f bugfix dtx for offload 2022-03-10 11:55:59 +01:00
Hongzhi Wang
51251fe055 fix for loading ldpc_offload 2022-03-10 11:55:17 +01:00
Hongzhi Wang
5c1ab827f4 bugfix after cherry-pick 2022-03-10 11:34:24 +01:00
rmagueta
670f979f97 Perform the average of LS estimates over time for CSI-RS at UE 2022-03-09 20:00:41 +00:00
rmagueta
0126bd849b Remove redundant info from nr_csi_rs_info_t 2022-03-09 19:18:30 +00:00
Raymond Knopp
6abb1e362d Merge remote-tracking branch 'origin/tdd25period_for_MR' into F1_interop_ACC
Conflicts:
	cmake_targets/CMakeLists.txt
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SIMULATION/NR_PHY/dlschsim.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
	openair2/LAYER2/NR_MAC_gNB/main.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/MESSAGES/asn1_msg.h
	openair2/RRC/NR/nr_rrc_proto.h
	openair2/RRC/NR/rrc_gNB.c
	openair3/ocp-gtpu/gtp_itf.cpp
	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf
2022-03-09 19:16:23 +01:00
matzakos
14ec3e505d Fix decoding of UE-capabilities-RAT-container-list at the DU after receiving it from the CU 2022-03-09 19:08:15 +01:00
rmagueta
19d8ea2742 Minor optimizations 2022-03-09 17:59:32 +00:00
francescomani
06d488bb23 ulsch memory optimization 2022-03-09 17:35:38 +01:00
Hongzhi Wang
168edeaf73 setting reordering to infinity and max rb 50 2022-03-09 16:16:07 +01:00
Hongzhi Wang
c4cfbfc845 config file working for mwc 2022-03-09 16:15:54 +01:00
Hongzhi Wang
fc78d01508 adding sa n310 config file 2022-03-09 16:15:14 +01:00
Hongzhi Wang
5254d1d91d update offload harq buffer offset 2022-03-09 16:15:01 +01:00
Hongzhi Wang
a95ffb87de bug fix offload harq round 2022-03-09 16:14:38 +01:00
Hongzhi Wang
380a2a555f bug fix for dtx detected 2022-03-09 16:14:09 +01:00
Hongzhi Wang
1d0a7b3860 removing some log prints 2022-03-09 16:13:52 +01:00
Hongzhi Wang
638b5f7f2a adding ulsch id to offload harq buffer offset for multiple users 2022-03-09 16:13:17 +01:00
Hongzhi Wang
3df0b89525 re-activating HARQ for UL. break loop when one segment is in error 2022-03-09 16:09:50 +01:00
Hongzhi Wang
65b0e7a8ea reducing some logs and fixing some vcd traces 2022-03-09 16:09:35 +01:00
rmagueta
51a72b8479 LS channel estimation at UE based on CSI-RS 2022-03-09 15:07:23 +00:00
Hongzhi Wang
fe4e1bdb93 adding harq pid to harq buffer offset 2022-03-09 16:07:14 +01:00
Hongzhi Wang
6e3a87a60a Temporiraly fix for centos 2022-03-09 16:05:59 +01:00
Hongzhi Wang
e20df48b02 bug fix on calling nr_fill_indications 2022-03-09 16:03:44 +01:00
Hongzhi Wang
02048ff3c4 using one l1tx thread and changing ul parameters for testing 2022-03-09 16:00:39 +01:00
Hongzhi Wang
6cd313f545 add missing dependency condition 2022-03-09 15:37:00 +01:00
Hongzhi Wang
4f68b5aeb6 Adding a dependency condition for offload 2022-03-09 15:35:58 +01:00
Hongzhi Wang
b6b7bbbdd7 adding dependency condition for ldpc offload 2022-03-09 15:35:50 +01:00
Hongzhi Wang
1749595217 bug fixes and removing warnings 2022-03-09 15:30:54 +01:00
Hongzhi Wang
aeb987bb0a using temporarily one l1tx thread and soft ldpc for small mcs 2022-03-09 15:25:39 +01:00
Hongzhi Wang
637ca97566 add ldpc offload cmdline option for softmodem and remove crc drop flag 2022-03-09 15:17:33 +01:00
Hongzhi Wang
1216eb2e4d adding segment buffer offset and updates 2022-03-09 15:10:21 +01:00
Hongzhi Wang
8c09af6291 Split fill queue function and move mbuf allocation to init step 2022-03-09 15:01:14 +01:00
Florian Kaltenberger
bd2a27f6cc some more error checks + data collection 2022-03-09 14:53:59 +01:00
Hongzhi Wang
d91226f07f Load ldpc_offload lib in softmodem 2022-03-09 14:45:58 +01:00
Hongzhi Wang
8af206c644 adding allocation free function for offload 2022-03-09 14:39:03 +01:00
Florian Kaltenberger
2423996bba adding some error checks 2022-03-09 14:38:41 +01:00
Hongzhi Wang
00ba6b6bb1 add offload on cmdline and bugfix 2022-03-09 14:38:25 +01:00
Hongzhi Wang
a96aeff279 adding post decoding for offload 2022-03-09 14:38:08 +01:00
Hongzhi Wang
1247a02f6d Initializing the device in lib load function 2022-03-09 14:37:45 +01:00
Hongzhi Wang
7b88c36ba6 moving more init functions to device initialization 2022-03-09 14:37:27 +01:00
Hongzhi Wang
6532db1233 moving device init functions out from decoding 2022-03-09 14:36:56 +01:00
Hongzhi Wang
c739337e66 adding offload multiple segments 2022-03-09 14:36:01 +01:00
Hongzhi Wang
52450c449f code cleanup ldpc offload 2022-03-09 14:35:40 +01:00
Hongzhi Wang
4238ff04c5 moving ldpc offload to ulsch decoding function 2022-03-09 14:35:16 +01:00
Hongzhi Wang
aed61728dc removing hardcoded parameters 2022-03-09 14:34:31 +01:00
Hongzhi Wang
6639ad24fc removing test vector config file 2022-03-09 14:34:06 +01:00
Hongzhi Wang
a8bee7ae21 Update ldpc offload decoder input and output 2022-03-09 14:32:49 +01:00
Hongzhi Wang
030aa253e8 adding temporarily bbdev testsuite in ldpc_decoder_offload to check t1 card connection 2022-03-09 14:32:26 +01:00
Hongzhi Wang
ec25a03fbb adding dpdk library and ldpc offload library 2022-03-09 14:25:02 +01:00
luis_pereira87
00c6a4bce5 Avoid segmentation fault 2022-03-08 19:14:42 +00:00
luis_pereira87
d058e2a6ed Increase RRC_BUF_SIZE to 1024 to solve encoding failure 2022-03-08 18:13:25 +00:00
luis_pereira87
19f532d450 Fix build after merge 2022-03-08 14:54:16 +00:00
luis_pereira87
a87e99ad69 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair1/PHY/TOOLS/lte_ue_scope.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-03-08 14:21:00 +00:00
rmagueta
db0ce84aa5 Fix FAPI for CSI-RS pdu and associated procedures 2022-03-08 13:18:17 +00:00
Raymond Knopp
f2e21b7381 removed AssertFatal in nr_sch_dmrs.c which prevented using type B configuration (e.g. for 10 MHz test in CI) 2022-03-08 07:47:46 +01:00
rmagueta
bbe806a870 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
#	openair2/RRC/NR/nr_rrc_config.c
#	openair2/RRC/NR/nr_rrc_config.h
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2022-03-07 13:10:40 +00:00
francescomani
b8935b7761 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-03-07 10:37:48 +01:00
Raymond Knopp
2bd90d5b49 Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair2/RRC/NR/MESSAGES/asn1_msg.h
2022-03-07 07:38:03 +01:00
Raymond Knopp
fcd88de2ab SR/CSI multiplexing fix. default sl_head=6 instead of 4 to check if RF simulator behaves better 2022-03-07 00:08:12 +01:00
Raymond Knopp
3402ea00cc build for NR UE 2022-03-06 09:40:36 +01:00
Raymond Knopp
091386174e bugfix for new sf_ahead parameter 2022-03-05 23:20:35 +01:00
Raymond Knopp
4ca985858f to trigger CI 2022-03-05 22:24:34 +01:00
Raymond Knopp
f99754a5ea Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
	openair1/PHY/NR_TRANSPORT/nr_sch_dmrs.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair1/SIMULATION/NR_PHY/ulsim.c
	openair2/GNB_APP/gnb_config.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-03-05 21:12:32 +01:00
Raymond Knopp
79a5249a72 for testing 2022-03-05 16:18:06 +01:00
rmagueta
a77769d45b Fix build after merge 2022-03-05 02:32:34 +00:00
rmagueta
a634f14f74 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/nr_sch_dmrs.c
#	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
2022-03-05 01:58:51 +00:00
luis_pereira87
bb89ae3aca Delete duplicated prototype function (update to develop implementation) 2022-03-05 01:42:26 +00:00
rmagueta
de8aa24de5 Get CSI-RS symbols from received signal at UE 2022-03-05 01:37:38 +00:00
Raymond Knopp
401d981584 optimizations for IF5 fronthaul with AW2S 4x4 RU 2022-03-04 19:17:34 +01:00
francescomani
26d8766d27 Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-03-04 18:08:09 +01:00
Sagar Parsawar
9542973fde OAI UE: Cleanup of prints in PRS channel estimation function 2022-03-04 17:39:57 +01:00
Sagar Parsawar
76ba0aaa1d PRS config file changes for multiple gNB handling 2022-03-04 16:23:20 +01:00
Sagar Parsawar
fbef10996b OAI UE: PRS support for multiple Rx antenna and multiple gNB IDs 2022-03-03 17:55:52 +01:00
Sagar Parsawar
51df66257f OAI dft/idft support for 768 and 384 2022-03-03 17:54:00 +01:00
Raymond Knopp
2776ec78b0 Add initial support for DL Data Delivery status reporting over NR-User plane protocol in gtp-u 2022-03-03 17:21:59 +01:00
Raymond Knopp
d4b566ceb8 Update ori.h for AW2S RU 2022-03-03 17:21:23 +01:00
rmagueta
35324cfa12 Call nr_generate_csi_rs at UE side too 2022-03-02 18:30:02 +00:00
Sagar Parsawar
865fdb98e3 Adding DFT & IDFT for 768 size 2022-03-02 17:59:00 +01:00
rmagueta
6c27a40f09 Creation of nr_csi_rs_info_t 2022-03-02 16:30:54 +00:00
rmagueta
c272bb2f7c Generalization of the nr_generate_csi_rs function to be able to call it in gNB and UE 2022-03-02 15:23:15 +00:00
rmagueta
7fdd7547be Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-03-02 13:14:09 +00:00
francescomani
eec513ab4f Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-03-01 16:05:30 +01:00
francescomani
9e26621d4b Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-03-01 15:54:31 +01:00
francescomani
7bda635e03 handling 2-port CSI report at MAC gNB 2022-03-01 10:57:54 +01:00
matzakos
e5c6ee599c Merge with latest updates of develop and fixes for F1
-Problem when parsing UE_RAT_container_list at the DU through UE context setup request
-Some debug logs added to be removed once this is fixed
2022-02-28 21:51:41 +01:00
matzakos
55d59e5f2a Merge remote-tracking branch 'origin/repair-f1-5g' into F1C_extensions_develop 2022-02-28 14:44:01 +01:00
Sagar Parsawar
0286752f33 Adding FR2 66PRB working config, tested in RFSim 2022-02-24 16:10:52 +01:00
rmagueta
3eaebbca93 CSI PDU received at PHY layer in new function nr_ue_csi_rs_procedures at UE 2022-02-23 20:23:34 +00:00
rmagueta
853776ef2f Implementation of FAPI procedures for CSI at UE 2022-02-23 19:32:20 +00:00
rmagueta
05a9c0e264 Fix in nr_ue_scheduler for CSI 2022-02-23 18:12:36 +00:00
rmagueta
fdce62f799 Add cyclic_prefix in csirs_config_pdu at UE 2022-02-23 18:05:45 +00:00
rmagueta
5bae6dd6f3 Add missing fiels in fapi_nr_dl_config_csirs_pdu_rel15_t 2022-02-23 16:11:13 +00:00
rmagueta
3ae8f393f4 Add logs in nr_generate_csi_rs 2022-02-23 15:05:02 +00:00
rmagueta
4d17364142 Fix build warnings 2022-02-23 14:16:58 +00:00
rmagueta
0e0526e367 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2022-02-23 13:51:31 +00:00
francescomani
faf38c7e56 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-02-23 14:20:39 +01:00
luis_pereira87
08e97aa9c8 Fix warnings after merge 2022-02-23 11:09:55 +00:00
luis_pereira87
8238c40ce9 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-23 10:48:49 +00:00
Raymond Knopp
963ffe67c1 Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-w08' into tdd2_5period_withRLCupdate
Conflicts:
	openair2/GNB_APP/gnb_config.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
2022-02-22 22:23:23 +01:00
rmagueta
ed6aa9f505 Replace AssertFatal with a LOG in nr_get_csi_payload at UE 2022-02-22 20:09:58 +00:00
rmagueta
0ced14a56d Fix in nr_set_pdsch_semi_static 2022-02-22 20:02:15 +00:00
rmagueta
bb82697819 Fix segmentation fault at UE in nr_schedule_csi_for_im and nr_schedule_csirs_reception 2022-02-22 19:14:17 +00:00
rmagueta
cf284d76f0 Fix build after merge 2022-02-22 17:49:59 +00:00
Raymond Knopp
1976f433dc changes for Panther 2022-02-22 16:15:29 +01:00
rmagueta
6f19524e95 Merge remote-tracking branch 'origin/CSI-SA' into develop-CSI
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
#	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_proto.h
#	openair2/RRC/NR/rrc_gNB_nsa.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-22 15:10:20 +00:00
rmagueta
628726caae Fix build after merge 2022-02-22 13:33:36 +00:00
rmagueta
4f58d66972 Merge remote-tracking branch 'origin/nr_csirs_rrc_harmonization' into develop-CSI
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-22 13:14:12 +00:00
rmagueta
2b108cdded Merge remote-tracking branch 'origin/NR_UE_CSIRS_scheduling' into develop-CSI 2022-02-22 10:09:51 +00:00
rmagueta
580f56c869 Revert "Implementation of fill_default_csi_MeasConfig"
This reverts commit 777074ff79.
2022-02-22 10:08:39 +00:00
rmagueta
777074ff79 Implementation of fill_default_csi_MeasConfig 2022-02-21 20:23:27 +00:00
rmagueta
d820051397 Update config files 2022-02-21 17:46:02 +00:00
Sagar Parsawar
eb1595098d Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-02-21 15:25:57 +01:00
Sagar Parsawar
0fcf8d9c20 Adding usage of PRS RBOffset in the PRS Generation at gNB and Channel estimation at UE 2022-02-21 15:25:32 +01:00
luis_pereira87
5b1dfb8bc9 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-21 10:20:42 +00:00
francescomani
ec539fc6a5 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-02-21 10:02:30 +01:00
Raymond Knopp
c02650826d SIMD alignment of stack arrays in ptrs channel estimation. 2022-02-19 17:17:09 +01:00
Raymond Knopp
9790eb1adc Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen
Conflicts:
	cmake_targets/CMakeLists.txt
	cmake_targets/build_oai
	cmake_targets/phy_simulators
	cmake_targets/phy_simulators/CMakeLists.txt
2022-02-19 13:14:53 +01:00
Raymond Knopp
6d9d1f0b94 changes for 2.5ms TDD period 2022-02-19 13:07:20 +01:00
Florian Kaltenberger
c4caff79e8 fixes for FR2 3/4 sampling, adding config file for FR2 132 PRB 2022-02-18 12:55:29 +01:00
francescomani
9eb1137b54 fix for scc/scc_SIB at UE 2022-02-18 10:14:52 +01:00
rmagueta
35d6c4af98 Fix ra_SearchSpace for NSA 2022-02-18 02:09:59 +00:00
rmagueta
da251e00b3 Fix firstActiveBWP and defaultBWP for NSA 2022-02-18 01:59:33 +00:00
rmagueta
cce425baf7 Fix searchSpaceId and controlResourceSetId for NSA 2022-02-18 01:43:09 +00:00
rmagueta
87c69d2fe4 To use initialBWP when there are no dedicated BWPs in config file 2022-02-18 01:22:26 +00:00
rmagueta
589cb2f43e Fix segmentation fault for do-ra 2022-02-18 00:39:34 +00:00
rmagueta
99d1588670 Fix phy-test 2022-02-18 00:28:44 +00:00
rmagueta
0789759b85 Fix dedicated BWPs configuration for NSA 2022-02-17 20:09:39 +00:00
Sagar Parsawar
43461149b3 OAI UE: Created new Ttracer ID for PRS Channel estimates 2022-02-17 19:25:10 +01:00
francescomani
7b4b7b9619 fix for dlschsim 2022-02-17 18:13:57 +01:00
rmagueta
d1e7dead00 Fix the removal of unused BWPs 2022-02-17 14:14:50 +00:00
rmagueta
95a0271779 Fix warning 2022-02-17 10:22:28 +00:00
francescomani
77153fbf5f TBSLBRM for DL computed ad MAC (added fapi parameter) 2022-02-17 10:16:22 +01:00
luis_pereira87
bddcfc512f Implementation of functions required for the BWP switching based on RRC method 2022-02-16 19:23:53 +00:00
luis_pereira87
6b69e67f71 Fix number of search spaces 2022-02-16 16:43:49 +00:00
Sagar Parsawar
476e9f62d9 Added PRS parameters to config file for OAI gNB and nrUE 2022-02-16 16:29:10 +01:00
matzakos
fb153cc792 Merge remote-tracking branch 'origin/NR_SA_UID' into F1C_extensions_develop 2022-02-16 16:08:58 +01:00
matzakos
d3d9325081 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-02-16 16:08:34 +01:00
luis_pereira87
405edc8bd3 Fix RRC state and sub-state 2022-02-16 12:43:04 +00:00
luis_pereira87
1cd71d1742 Change LOG level 2022-02-16 11:51:20 +00:00
luis_pereira87
acdbb5bb8d Fix segmentation fault in phy-test 2022-02-16 11:28:04 +00:00
luis_pereira87
47592d53aa Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.h
2022-02-16 11:17:24 +00:00
francescomani
c4f1812cc9 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-02-14 18:14:19 +01:00
Raymond Knopp
4756c5a167 added configurable "sf_ahead" for NR/LTE in RU section. Tested in NR with sf_ahead=2 (normally 3) 2022-02-13 22:15:48 +01:00
Raymond Knopp
5ba8b83856 Merge remote-tracking branch 'origin/aw2s-n41' into harq_latency_control
Conflicts:
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/nr_rrc_proto.h
	openair2/RRC/NR/rrc_gNB_nsa.c
	openair2/RRC/NR/rrc_gNB_reconfig.c
	targets/ARCH/AW2SORI/oaiori.c
2022-02-13 12:24:45 +01:00
Raymond Knopp
da54df5bb2 Merge remote-tracking branch 'origin/develop' into harq_latency_control
Conflicts:
	cmake_targets/phy_simulators
	openair1/PHY/CODING/crc_byte.c
	openair2/GNB_APP/gnb_paramdef.h
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/RRC/NR/rrc_gNB.c
2022-02-13 09:55:01 +01:00
Raymond Knopp
74fd3f029a changes for AW2S NR support in ORI library 2022-02-13 09:44:15 +01:00
Raymond Knopp
b9b24588af Merge remote-tracking branch 'origin/develop' into aw2s-n41
Conflicts:
	cmake_targets/phy_simulators
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2022-02-11 12:21:29 +01:00
luis_pereira87
5d488fcbfe Merge remote-tracking branch 'origin/multiple-ues-min-prbs-bug-fix' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
2022-02-11 10:06:39 +00:00
Raymond Knopp
99f0177b3f Merge branch 'aw2s-n41' of https://gitlab.eurecom.fr/oai/openairinterface5g into aw2s-n41 2022-02-11 08:12:17 +01:00
Raymond Knopp
2b96909960 update to ori.h (with NR extensions) 2022-02-11 08:11:45 +01:00
Robert Schmidt
0a6322103c Reduce max_num_ue after successful PUCCH alloc 2022-02-10 12:44:26 +01:00
Robert Schmidt
571677b948 Make nr_find_nb_rb() take minimum RBsize 2022-02-10 12:43:54 +01:00
luis_pereira87
c1931a60e7 Bug fix in min num of PRBs to schedule to a UE when there is multiple UEs 2022-02-09 20:14:05 +00:00
Sagar Parsawar
106ff68a95 OAI UE: Peak estimator added for PRS TD impulse response 2022-02-09 21:13:31 +01:00
luis_pereira87
06d07e3a4c Bug fix in min num of PRBs to schedule to a UE when there is multiple UEs 2022-02-09 20:09:51 +00:00
Cedric Roux
e5a3bcdc33 nr-ue: fix T tracer
T tracer was not functional anymore. because init_tpools() was called
before T_Config_Init().

The problem was that init_tpools() creates some threads and T_Config_Init()
does call fork() and the child process (which is the one running the
softmodem, the parent process is used to monitor it, this is the design
of the T tracer, maybe to change at some point, it's too complicated) has
no thread after the fork(). The threads created by init_tpools() are gone.
Game over.

In conclusion: T_Config_Init() has to be called very early in the life of
the softmodem, at least before init_tpools().
2022-02-09 14:07:41 +01:00
Raymond Knopp
dccbd9279a Some hardcoded values in F1AP for testing with Accelleran to be removed later 2022-02-09 11:05:23 +01:00
luis_pereira87
9c72064883 Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	ci-scripts/conf_files/gnb.band78.sa.fr1.162PRB.2x2.usrpn310.conf
#	openair2/GNB_APP/L1_nr_paramdef.h
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf
2022-02-08 15:12:32 +00:00
francescomani
8d7df8d164 rrc configuration for pucch power control 2022-02-07 19:28:51 +01:00
luis_pereira87
7c747e5ccd Merge remote-tracking branch 'origin/NR_pdcch_improvements' into Dedicated-BWPs 2022-02-07 13:36:42 +00:00
luis_pereira87
4973424468 Merge remote-tracking branch 'origin/NR_pdcch_improvements' into Dedicated-BWPs 2022-02-07 13:09:10 +00:00
Florian Kaltenberger
1b0d699dca Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-02-04 16:47:28 +01:00
Florian Kaltenberger
12b668e9cb fixing a bug in ue-scan-carrier 2022-02-04 16:46:57 +01:00
luis_pereira87
719aec8b9a Merge remote-tracking branch 'origin/NR_pdcch_improvements' into Dedicated-BWPs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
2022-02-04 13:28:09 +00:00
Sagar Parsawar
457ed5807e Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2022-02-02 17:11:46 +01:00
Sagar Parsawar
3f2eaefc47 OAI UE: PRS channel estimation bug fix for prschestF rearranging in FFT format 2022-02-02 17:11:14 +01:00
luis_pereira87
5b875ab25d Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-02-02 15:06:42 +00:00
Raymond Knopp
7c40c74883 Merge branch 'aw2s-n41' of https://gitlab.eurecom.fr/oai/openairinterface5g into aw2s-n41
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
2022-02-01 21:59:44 +01:00
Raymond Knopp
86560439e7 nr-softmodem fixed after merge` 2022-02-01 21:55:49 +01:00
francescomani
8ecef89ab4 Merge remote-tracking branch 'origin/NR_pdcch_improvements' into aw2s-n41 2022-02-01 16:16:45 +01:00
Sagar Parsawar
9b52620fbe Merging from develop branch 2022-02-01 14:52:17 +01:00
Raymond Knopp
2e0823a7ae Change mapping between DRB id and channel id for interoperability with Accelleran CU
-Some hardcodings also added to be removed later
2022-02-01 14:03:42 +01:00
Raymond Knopp
495f0150da Merge branch 'NR_pdcch_improvements' into aw2s-n41
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
2022-02-01 10:56:20 +01:00
Raymond Knopp
23350deba2 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-02-01 10:49:07 +01:00
Raymond Knopp
7d4bdfb566 Merge remote-tracking branch 'origin/develop' into aw2s-n41 2022-02-01 10:46:13 +01:00
Sagar Parsawar
1c57a8618c bug fix for PRS DL channel estimation in OAI UE, added more debug prints 2022-01-31 12:25:52 +01:00
Florian Kaltenberger
cfd3164113 redoing changes to add channel model to pbchsim 2022-01-27 14:47:25 +01:00
Sagar Parsawar
e4767dbd5b fixed compilation error on OAI UE 2022-01-27 12:23:27 +01:00
Sagar Parsawar
c846f16ee0 Changing printf to LOG_I 2022-01-27 12:05:50 +01:00
francescomani
d29b17a211 function to configure SR 2022-01-26 17:46:26 +01:00
Sagar Parsawar
ea8d27a241 OAI UE: PRS Time domain IR and UE procedures function call 2022-01-26 14:46:26 +01:00
francescomani
9408c3c0b0 function to set dl_DataToUL_ACK 2022-01-26 13:58:57 +01:00
Rakesh Mundlamuri
d79a38bf5e fix merge conflicts 2022-01-25 13:42:30 +01:00
Rakesh Mundlamuri
edfe8c55cf bugfix 2022-01-25 13:40:38 +01:00
Sagar Parsawar
55c644838a Added PRS TD impulse response for Comb size 2 and 4 2022-01-25 12:02:05 +01:00
matzakos
a19f2e3254 Merge remote-tracking branch 'origin/aw2s-n41' into F1_interop_ACC 2022-01-24 15:11:50 +01:00
Raymond Knopp
cd5e07b67c minor change after merge with develop 2022-01-24 15:06:02 +01:00
Sagar Parsawar
8b4d21d911 OAI UE: CombSize 2 support for PRS channel estimation and interpolation 2022-01-24 12:57:13 +01:00
luis_pereira87
729c4ef1de Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	ci-scripts/conf_files/gNB_SA_n78_106PRB.2x2_usrpn310.conf
#	ci-scripts/conf_files/gNB_SA_n78_133PRB.2x2_usrpn310.conf
#	openair2/GNB_APP/L1_nr_paramdef.h
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf
2022-01-24 11:46:27 +00:00
Raymond Knopp
90c66bb7b1 Merge remote-tracking branch 'origin/develop' into aw2s-n41
Conflicts:
	executables/nr-softmodem.c
	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair1/SIMULATION/NR_PHY/ulsim.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
2022-01-24 11:11:46 +01:00
Sagar Parsawar
e3fa219204 Merge confict 2022-01-24 10:00:28 +01:00
Sagar Parsawar
d42fa41055 Fixed re_offset issue in PRS channel estimation for combSize 4 2022-01-24 09:54:34 +01:00
francescomani
975f7e868a function to configure pucch resource set 1 (format2) 2022-01-21 19:15:50 +01:00
francescomani
dd6dac1392 function to configure pucch resource set 0 2022-01-21 16:16:02 +01:00
Florian Kaltenberger
4d18f56139 adding channel models to pbchsim 2022-01-21 11:44:10 +01:00
francescomani
299ba03b84 passing UECAP structure to RRC reconfiguration functions 2022-01-21 09:29:49 +01:00
francescomani
0d86181a58 using uid also in SA 2022-01-20 18:56:44 +01:00
Raymond Knopp
a3aae0dd9e made default nr_ulsim configuration not require root privileges (single-thread) 2022-01-20 12:35:13 +01:00
Raymond Knopp
6afebc0e41 Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen
Conflicts:
	openair1/SIMULATION/LTE_PHY/dlsim.c
	openair1/SIMULATION/LTE_PHY/ulsim.c
2022-01-20 07:51:29 +01:00
Raymond Knopp
1f9900ba61 LDPC decoder generator cleanup 2022-01-19 23:01:27 +01:00
Raymond Knopp
8d164fe2aa Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen 2022-01-19 20:06:08 +01:00
francescomani
4bdc6ac59f minor changes 2022-01-19 18:11:43 +01:00
luis_pereira87
9daebabe60 Handling SIB1 decode at UE when the searchSpaceSIB1 in BWP is NULL 2022-01-19 11:56:41 +00:00
francescomani
3377f91b62 fix free pusch_vars->rho 2022-01-19 11:48:51 +01:00
Raymond Knopp
4caafc7292 removal of lingering .o files in LDPC decoder generator directories. Merge conflict in CMakelists.txt 2022-01-19 11:25:34 +01:00
Sagar Parsawar
6fc416797c Initial NR PRS UE Channel estimation changes integrated to NR_PBCHSim 2022-01-19 10:21:30 +01:00
luis_pereira87
a6bf3f4cb2 Fix search space loop in ue_dci_configuration 2022-01-19 00:29:37 +00:00
luis_pereira87
8df429224b Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-01-18 17:50:20 +00:00
luis_pereira87
6f7b434c49 Update config files and fix bwp selection 2022-01-18 17:49:24 +00:00
luis_pereira87
754a39def5 Dedicated BWPs working with COTS UE in SA mode 2022-01-18 15:54:32 +00:00
luis_pereira87
e7d11fab4b Fix segmentation fault when exporting packets to wireshark with high MCS 2022-01-18 15:44:24 +00:00
luis_pereira87
10ef3751d7 Fix rbStart in pf_ul 2022-01-18 15:23:01 +00:00
francescomani
79cc85a265 Merge remote-tracking branch 'origin/clean-shutdown' into bupt-ulmimo-4 2022-01-18 15:48:38 +01:00
luis_pereira87
2a610cfef4 Handle config file without servingcellconfigdedicated 2022-01-18 13:49:22 +00:00
Robert Schmidt
18fd38fa08 Don't call trx_end_func() at nr-softmodem, is done in ru_thread() 2022-01-18 14:23:54 +01:00
Robert Schmidt
a2244ab32d Stop RU threads at end of nr-softmodem 2022-01-18 14:21:58 +01:00
luis_pereira87
b608e326ef Derive each Coreset or SearchSpace IDs from the BWPId to uniquely identify each one 2022-01-18 13:00:58 +00:00
Robert Schmidt
8c5524e455 Shutdown nr-softmodem cleanly 2022-01-18 11:53:57 +01:00
francescomani
f05c195751 bugfix for nl index 2022-01-18 09:15:05 +01:00
luis_pereira87
1bd68ef261 Fixes when handling with multiple Coresets 2022-01-18 00:12:56 +00:00
luis_pereira87
2b6c64c98c Backup improvements in servingcellconfigdedicated 2022-01-18 00:12:56 +00:00
francescomani
c1d157dc42 fixing compilation issues 2022-01-17 19:28:17 +01:00
francescomani
65698f6a8f some improvements in ul-mimo code 2022-01-17 15:15:47 +01:00
matzakos
e5899e2f74 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-01-17 13:19:45 +01:00
luis_pereira87
370b1f4d79 Fix build warning after merge with develop 2022-01-17 10:30:35 +00:00
luis_pereira87
c9b8bf475b Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
#	openair1/PHY/TOOLS/lte_enb_scope.c
2022-01-17 10:21:22 +00:00
luis_pereira87
1a6b464331 Avoid segmentation fault in the BWP selection 2022-01-14 12:07:26 +00:00
luis_pereira87
96ae9a915f InitialContextSetupResponse with COTS UE 2022-01-13 19:51:48 +00:00
luis_pereira87
a8e7927cde Fix scope build warnings 2022-01-13 17:40:17 +00:00
luis_pereira87
46181eca7d Dedicated BWPs working for SA in RFsim 2022-01-13 17:22:37 +00:00
luis_pereira87
c1f6dbfb2f Fix Msg4 for mac subheader long, RB calculation improvement, and fix variable types to support bigger payload lengths 2022-01-13 11:16:11 +00:00
Raymond Knopp
7090db60bc Merge remote-tracking branch 'origin/physim-hotfix' into ldpc-decoder-codegen 2022-01-13 10:35:32 +01:00
Raymond Knopp
08100357f7 Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen 2022-01-13 09:51:08 +01:00
luis_pereira87
b15f1f1830 Fix number of RRCSetup encoded bytes 2022-01-12 17:51:32 +00:00
luis_pereira87
4f50fcce2a Add dedicated BWPs in fill_initial_SpCellConfig 2022-01-12 17:21:20 +00:00
luis_pereira87
6e4ff32cc5 Add Dedicated Serving Cell Configuration to config files 2022-01-12 14:40:50 +00:00
luis_pereira87
981f46039f Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2022-01-12 14:28:43 +00:00
Raymond Knopp
f44d1ccfeb reduced memory requirements of dlsim,ulsim 2022-01-12 14:21:47 +01:00
luis_pereira87
212f00fce7 Fix segmentation faults for SA 2022-01-11 19:03:35 +00:00
luis_pereira87
4f6938839a Remove hardcoded controlResourceSetId 2022-01-11 18:24:52 +00:00
luis_pereira87
2bab005799 Remove unused BWPs 2022-01-11 17:59:30 +00:00
luis_pereira87
296357fe1b BWP fixes 2022-01-11 14:27:07 +00:00
luis_pereira87
20b6ee70eb Fix build warning after merge with develop 2022-01-11 10:57:16 +00:00
luis_pereira87
68d4daf7d9 Fix variable wrongly replaced during the merge with develop 2022-01-11 10:56:34 +00:00
luis_pereira87
87c75ebccd Merge remote-tracking branch 'origin/develop' into scs_60_iisc
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	ci-scripts/conf_files/gnb.band78.sa.fr1.162PRB.2x2.usrpn310.conf
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
2022-01-11 10:20:20 +00:00
ahadi
800a8268a3 "update" 2022-01-10 16:02:32 +01:00
francescomani
d36079c914 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-01-10 10:46:15 +01:00
ahadi
b48ffa73e4 adding first_carrier_offset to subcarrier ind 2022-01-10 09:51:49 +01:00
ahadi
d9b4089f80 "minor fixes in nr_prs.c" 2022-01-10 08:52:24 +01:00
francescomani
882c4b34a2 cleanup 2022-01-07 18:03:35 +01:00
ahadi
aa73030ecc "update prs start symbol" 2022-01-07 16:10:50 +01:00
ahadi
5339b35290 "update" 2022-01-07 11:13:32 +01:00
Raymond Knopp
7d9b3464a8 Merge branch 'ldpc-decoder-codegen' of https://gitlab.eurecom.fr/oai/openairinterface5g into ldpc-decoder-codegen
Conflicts:
	cmake_targets/CMakeLists.txt
	cmake_targets/ldpctest_BG_1_Zc_384_rate_1-3_block_length_8448_maxit_5.txt
	openair1/PHY/CODING/nrLDPC_decoder.c
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_mPass.h_native_memcpy
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc/bnProc_gen_avx2
	openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc_avx512/bnProc_gen_avx512
2022-01-05 14:55:13 +01:00
Raymond Knopp
74ce2cf4be to trigger CI 2022-01-05 01:27:42 +01:00
rmagueta
7f6e5c6fff Fix warnings after merge with develop 2021-12-27 11:35:49 +00:00
luis_pereira87
35ebb0e045 Update min_rxtxtime in config file after merge 2021-12-27 11:26:21 +00:00
luis_pereira87
2a4c789ba9 Merge remote-tracking branch 'origin/thread_pool_size' into scs_60_iisc 2021-12-27 11:23:32 +00:00
luis_pereira87
4549104238 Merge remote-tracking branch 'origin/develop' into scs_60_iisc
# Conflicts:
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
#	openair1/SIMULATION/NR_PHY/dlsim.c
2021-12-27 11:13:27 +00:00
Raymond Knopp
40a9792fef build_oai flag to turn off AVX512 generation on machines that have it. Needed for caracal at EURECOM because of CUDA compiler which doesn't like the flag. Added creation of threadpool in nr_ulsim to test channel decoding parallelization on different high CPU count machines 2021-12-24 21:36:06 +01:00
Raymond Knopp
13b8abc310 Merge branch 'develop' into ldpc-decoder-codegen
Conflicts:
	cmake_targets/CMakeLists.txt
	cmake_targets/build_oai
	openair1/PHY/TOOLS/time_meas.h
2021-12-24 18:19:13 +01:00
francescomani
ff56eb3a5d Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2021-12-24 09:58:15 +01:00
Sy
cd2b80e6c2 some cleanup 2021-12-22 22:36:42 +01:00
Raymond Knopp
50629a83a2 first set of changes to AW2S ORI/eCPRI driver for n78 2021-12-20 21:24:52 +01:00
Raymond Knopp
2d4453648f Correct how gtp-u extension header is parsed 2021-12-15 18:38:25 +01:00
Raymond Knopp
99e006f750 testing with UM/No Harq 2021-12-15 13:38:00 +01:00
Raymond Knopp
171408bc4d pucch DTX threshold modification 2021-12-13 21:25:38 +01:00
ahadi
c63960c0f2 update debugger 2021-12-13 14:04:57 +01:00
Raymond Knopp
e9e5dd4c1a Merge branch 'CSI-SA' into aw2s-n41
Conflicts:
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair2/LAYER2/NR_MAC_gNB/config.c
2021-12-12 22:47:46 +01:00
Raymond Knopp
34866293c1 minor changes 2021-12-11 17:32:09 +01:00
Florian Kaltenberger
b1cb0c463c Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2021-12-10 16:16:19 +01:00
Florian Kaltenberger
cd80a89daa fixing a bug in the modulation 2021-12-10 16:15:23 +01:00
ahadi
c40b433a26 update 2021-12-10 16:04:08 +01:00
ahadi
ab586bcf3b debug modulation 2021-12-10 15:30:16 +01:00
ahadi
910912a443 adding prs structure 2021-12-10 11:14:09 +01:00
francescomani
2f7e7b9823 remove some more logs 2021-12-10 10:54:10 +01:00
francescomani
dbdf38133e reducing log levels 2021-12-09 17:37:55 +01:00
francescomani
79002c1190 phy-sim test cases for UL-MIMO 2021-12-09 17:37:16 +01:00
Raymond Knopp
9b0d2384ea minor changes after merge 2021-12-09 12:34:08 +01:00
francescomani
9fd889dc3e Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2021-12-09 09:59:07 +01:00
Florian Kaltenberger
464509e324 adding LPP ASN1 message definitions and code generation 2021-12-07 15:28:27 +01:00
Fang
2aa8a438f2 add mimo doc 2021-12-07 13:47:15 +08:00
yihz
e4a7eda968 base on 2021.w48, diff_1206_2.diff, UL_NR_MIMO 4*4 2021-12-07 10:43:28 +08:00
Luis Pereira
e6ae92ea17 Revert "Temporary fix to avoid QUECTEL to reject the RRCReconfiguration in NSA mode"
This reverts commit 1302b48b92
2021-12-03 12:56:01 +00:00
Florian Kaltenberger
54c5bb1d48 some bugfixing 2021-12-02 16:03:41 +01:00
luis_pereira87
aa653af57f Merge remote-tracking branch 'origin/develop' into scs_60_iisc
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
2021-12-02 11:24:07 +00:00
luis_pereira87
0f63e94861 Update Dedicated Serving Cell Configuration section in configuration file 2021-12-01 23:17:20 +00:00
luis_pereira87
1302b48b92 Temporary fix to avoid QUECTEL to reject the RRCReconfiguration in NSA mode
For now, QUECTEL rejects the RRCReconfiguration with more than 1 BWP Dedicated, need to understand why...
2021-12-01 22:28:06 +00:00
luis_pereira87
8cc8ef123b Add ServingCellConfigDedicated to RRCReconfiguration message in NSA 2021-12-01 22:02:41 +00:00
luis_pereira87
6edd0bb2ca Change LOG levels 2021-12-01 22:02:35 +00:00
luis_pereira87
ee054770c4 Fix Segmentation Fault and avoid multiple calloc for the same pointers 2021-12-01 22:02:28 +00:00
Raymond Knopp
6fb731ea5d Merge remote-tracking branch 'origin/NR_2port_CSIRS' into CSI-SA
Conflicts:
	ci-scripts/xml_files/fr1_sa_quectel.xml
	executables/nr-gnb.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair2/GNB_APP/gnb_paramdef.h
	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
	openair2/LAYER2/NR_MAC_gNB/main.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
2021-12-01 14:51:10 +01:00
ahadi
a6fd470772 prs resource mapping 2021-11-30 20:08:40 +01:00
luis_pereira87
b4f8857da3 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-29 17:35:13 +00:00
ahadi
f136f047c0 update 2021-11-28 18:37:01 +01:00
ahadi
289c9c9469 modulating prs 2021-11-26 11:33:52 +01:00
ahadi
cf9adcab96 modulating prs 2021-11-26 11:30:12 +01:00
Sy
5521e34360 my Internship project 2021-11-25 17:34:02 +01:00
Raymond Knopp
12792eece7 Modifications in the cellGroupConfig container content of F1 UE context response messages 2021-11-19 18:52:51 +01:00
matzakos
e8d92cbddd Merge remote-tracking branch 'origin/NR_F1C_F1U_extensions' into F1C_extensions_develop 2021-11-19 16:47:47 +01:00
francescomani
7f392cdb24 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-15 11:33:46 +01:00
Raymond Knopp
e51cd863fe Merge branch 'bler_txoptim' into F1C_extensions_develop
Conflicts:
	cmake_targets/CMakeLists.txt
	common/utils/nr/nr_common.c
	openair1/PHY/INIT/nr_parms.c
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
	openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
	openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
	openair1/SIMULATION/NR_PHY/dlschsim.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair2/GNB_APP/gnb_config.c
	openair2/LAYER2/NR_MAC_UE/config_ue.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/LAYER2/NR_MAC_gNB/main.c
	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
	openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
	openair2/RRC/NR/L2_nr_interface.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/MESSAGES/asn1_msg.h
	openair2/RRC/NR/rrc_gNB_NGAP.c
	openair3/NAS/NR_UE/nr_nas_msg_sim.c
	openair3/NAS/NR_UE/nr_nas_msg_sim.h
	openair3/ocp-gtpu/gtp_itf.cpp
	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2021-11-14 21:18:50 +01:00
matzakos
40263348f9 Merge with NR_F1C_F1U_extensions and resolve conflicts 2021-11-12 17:01:27 +01:00
matzakos
188a99ca51 Temporary dirty fix to not block SRB1 traffic once SRB2 is added
-This function will change completely after update with develop
2021-11-10 18:35:52 +01:00
matzakos
cd16d7ce03 Make the call to send DCCH SDU to RLC from RRC instead of F1AP 2021-11-10 18:35:05 +01:00
matzakos
f1455f15a3 Check whether RRC Setup is available before sending CBRA Msg4
-Required for the CU/DU split case if the RRC Setup arrives later than the first opportunity to transmit Msg4
-Next extension is to decouple RRCSetup from Msg4
2021-11-10 18:33:48 +01:00
matzakos
6a1ac14447 Include mandatory transaction ID field in F1 initial UL RRC message transfer 2021-11-10 18:31:08 +01:00
francescomani
1396004ccc Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-09 10:44:34 +01:00
matzakos
e2b4f80ac2 Add sNSSAI configuration in F1 Setup request message to the CU
-Required for interoperability with Accelleran CU and OAI CN
-Currently hardcoded values, to be modified so that they are parsed from the DU config file
-After this modification Accelleran CU sends gNBCU configuration update
2021-11-05 10:38:46 +01:00
francescomani
5bfd507915 some more fixes for RA at gNB 2021-11-04 09:19:29 +01:00
ahadi
6b8f83b849 update 2021-11-03 15:24:24 +01:00
ahadi
1a6610ee3f adding nr_prs.c to cmakelist and headers 2021-11-03 15:16:57 +01:00
francescomani
ebaabde8c6 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-03 14:06:58 +01:00
ahadi
70889ee949 fix nr_gold.c 2021-11-03 10:46:58 +01:00
ahadi
154850754c Merge branch 'nr_prs' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr_prs 2021-11-03 10:31:41 +01:00
Mohsen Ahadi
177e07d7cb Update nr_gold.c 2021-11-03 09:27:40 +00:00
ahadi
59cf14a021 fixing nr_gold.c 2021-11-03 10:19:05 +01:00
francescomani
f1992a58f8 fixes in bwp ss and coreset configuration at ue 2021-11-01 18:14:39 +01:00
francescomani
1e6c36d877 fix segfault in SA rfsim 2021-11-01 12:03:25 +01:00
Eurecom
a0f6545733 added 133/162 PRBs to nr_dlsim 2021-10-31 21:14:53 +01:00
Eurecom
6d6dd8f177 small modification in UE RX for handling DMRS configuration 2021-10-31 21:00:50 +01:00
ahadi
de272c7b2f print 2021-10-28 22:17:35 +02:00
Mohsen Ahadi
3e6ad5f0ee Update nr_gold.c 2021-10-28 14:38:17 +00:00
Mohsen Ahadi
85aac0f5c4 Update nr_gold.c 2021-10-28 14:30:52 +00:00
Mohsen Ahadi
37c2181034 Update nr_gold.c 2021-10-27 15:21:11 +00:00
Mohsen Ahadi
7715db28f0 Update nr_gold.c 2021-10-27 15:20:33 +00:00
ahadi
3d0c941d2c adding nr_init_prs() to nr_gold.c 2021-10-27 17:15:54 +02:00
Mohsen Ahadi
1f86c34f0a Update nr_init.c 2021-10-27 14:15:43 +00:00
francescomani
3186d45e71 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-10-27 15:00:50 +02:00
matzakos
b103ada542 Fix decoding of SIB1 RRC container at the processing function of F1 setup request at the CU
after modifications done at the encoded SIB1 message type included in the RRC container of F1 setup request at the DU
-Some cleanup required
2021-10-26 18:30:51 +02:00
ahadi
98994a0ba6 Update nr_init.c 2021-10-26 16:01:16 +00:00
ahadi
c9439857d7 Update nr_gold.c 2021-10-26 15:52:22 +00:00
matzakos
e7f8b56b65 Include NR_SIB1_t type in F1 setup req container instead of the whole NR_BCCH_DL_SCH_Message_t message
-Wireshark is not complaining after that
-Issue at decoding F1 Setup req at the CU due to the new encoding
-Keep the previous encoding as the default for now until the CU issue is fixed
-Fix PUCCH allocation for ACK/NAK issue appearing when DU runs without OAI CU
2021-10-26 13:11:50 +02:00
matzakos
96efe9c03b Enable rrc mac config from init NR SI for the DU case 2021-10-26 12:56:32 +02:00
francescomani
0e0be91aa3 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-10-21 15:07:38 +02:00
matzakos
11cdf1610e Update F1AP UE context release command handling function for NR
-Include ITTI message to RRC to do the actual processing at RRC layer,
 as done for the other F1AP messages. Leave LTE processing as it was for now.
2021-10-20 19:00:51 +02:00
matzakos
85faedfcbe Add triggering of F1 UE Context release command
-Add also a temporary artificial trigger just to be able to test with OAI UE
-Comment out most of the part of the UE context release command handler function at the DU in order to separate properly the RRC from F1AP functionality later.
2021-10-18 18:32:57 +02:00
Eurecom
4496b05423 testing CSI reporting and MIMO DL 2021-10-17 18:03:55 +02:00
Eurecom
f83c02d981 Merge branch 'NR_2port_CSIRS' into CSI-SA
Conflicts:
	openair1/PHY/NR_TRANSPORT/nr_ulsch.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
2021-10-17 02:13:11 +02:00
Eurecom
52af089e2d Merge remote-tracking branch 'origin/integration_2021_wk41' into CSI-SA
Conflicts:
	ci-scripts/xml_files/fr1_sa_quectel.xml
	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair2/GNB_APP/gnb_config.c
	openair2/GNB_APP/gnb_paramdef.h
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
2021-10-16 16:04:54 +02:00
Eurecom
8b441a19d6 Merge remote-tracking branch 'origin/integration_2021_wk41' into NR_2port_CSIRS 2021-10-16 15:55:59 +02:00
Eurecom
e1eebbad19 CSI RSRP reporting ok. 2021-10-16 11:11:05 +02:00
Eurecom
85d54ac9df logging 2021-10-14 15:46:50 +02:00
matzakos
40b131be13 Small corrections in F1AP UE context management messages and indentation fixes 2021-10-13 16:45:42 +02:00
matzakos
b37195ad1f Few updates on handling master cell group configuration updates coming from the DU 2021-10-13 14:36:38 +02:00
matzakos
1a40b36193 Use correct SCTP port number for F1AP according to standards 2021-10-12 19:38:19 +02:00
matzakos
39aaf63a4e Merge with branch NR_F1C_F1U_extensions 2021-10-11 17:56:28 +02:00
Eurecom
71d933d2f4 Merge remote-tracking branch 'origin/bandwidth-testing-abs' into bandwidth-testing
Conflicts:
	executables/nr-ru.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
2021-10-11 13:46:15 +02:00
Eurecom
a28c6e7c9f MAC support for prb blacklisting 2021-10-08 21:21:28 +02:00
matzakos
e2c88f91af Trigger dedicated RRC Reconfiguration after processing F1 UE context modification response at RRC layer of the CU
-Successful user-plane traffic over F1-U upon completion of UE context modification procedures
2021-10-08 18:29:39 +02:00
Eurecom
7b1d84df74 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-10-08 15:46:15 +02:00
Raymond Knopp
7d7dd29514 blacklisting of PRBs in configuration file 2021-10-08 15:44:57 +02:00
matzakos
d3899a21a6 Add implementation of UE context modification response handler at F1AP layer of the CU 2021-10-08 13:37:46 +02:00
matzakos
a1b2d222dd Generation of UE context modification response at F1AP layer of the DU
-Fix some indentations
2021-10-08 10:31:53 +02:00
Eurecom
a0eddabbbd log reduction 2021-10-06 22:44:22 +02:00
Raymond Knopp
3549168347 removal of mean signal level 2021-10-06 22:43:06 +02:00
matzakos
f068fb4ef3 Add handling of UE context modification request at RRC layer of the DU and trigger UE context modification response
-Next step: Proper generation of UE context modification response at F1AP layer
2021-10-06 18:43:10 +02:00
matzakos
b3c0095f07 Add handler function for UE context modification request message at F1AP layer of the DU
-Fix indentation in UE context modification request message generation function at the CU
2021-10-05 17:24:16 +02:00
matzakos
36b8bb1b5b Trigger UE context modification request at the CU upon reception of PDU Session Resource setup request from the AMF
-F1 message successfully encoded at the CU (including SRB2, DRB and F1-U tunnel configuration) and received from the DU.
-Next steps: handling of UE context modification request at the DU and triggering the UE context setup response towards the CU.
2021-10-05 13:43:19 +02:00
Raymond Knopp
33371f226a initial changes for n41 support with aw2s RRU 2021-10-05 11:37:34 +02:00
Eurecom
95478f1937 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-29 21:34:51 +02:00
Raymond Knopp
d9235268b4 MAC statistics in separate thread 2021-09-29 21:32:22 +02:00
Eurecom
bc03e8c13d Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-29 14:46:05 +02:00
matzakos
a84ecd1468 Merge with branch NR_F1C_F1U_extensions 2021-09-29 13:59:06 +02:00
matzakos
55476b175f Handle UE capabilities info at the DU received through UE context setup request
-Trigger UE context setup response at the DU and RRC Reconfiguration at the CU upon reception of UE context setup response.
-Pending: The DU should generate some updates on the master cell groupconfig based also on the received UE capabilities and add them in
 the UE context setup response message so that they can be included in the RRC Reconfiguration message sent from the CU. For the moment the
 corresponding function is empty.
-Next steps: trigger UE context modification procedures
2021-09-27 18:02:13 +02:00
Eurecom
5392b1f13f Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-27 07:22:13 +02:00
Eurecom
286893a1ed commit before merge 2021-09-27 07:21:00 +02:00
matzakos
5e506bfab0 Trigger F1 UE context setup request from CU after reception of NR UE capabilities
-Include UE_Capability_RAT_container_list in UE context setup request so that it gets processed at the DU
-Next steps: DU should store and process the UE capabilities and generate updates in master cell group config
to be included in UE context setup response. Then upon reception of UE context setup response, the first RRC Reconfiguration
can be triggered at the CU with the updates on master cell group config.
2021-09-24 16:36:02 +02:00
Florian Kaltenberger
de8d4f4318 adding pseudo code to start prs development 2021-09-13 09:59:47 +02:00
francescomani
c5feda8613 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-09-10 14:59:10 +02:00
francescomani
503eba46ce fix compilation issue 2021-09-10 13:39:50 +02:00
Abhijith
28394b96af Merge branch 'scs_60_iisc' of gitlab.eurecom.fr:oai/openairinterface5g into scs_60_iisc 2021-08-30 17:27:25 +05:30
Abhijith
f03b309bc0 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-08-30 17:21:34 +05:30
Abhijith
1c60147e86 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-08-30 16:54:57 +05:30
Abhijith
ad9e0f5db0 Fixed error in fill_default_reconfig() 2021-08-27 11:36:15 +05:30
Abhijith
208a682152 Added documentation 2021-08-20 11:50:41 +05:30
Abhijith
f2a1023d8e Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-08-16 23:01:31 +05:30
Abhijith
8b1138c89f Hardcoding of bwp_id at UE removed 2021-08-16 14:12:04 +05:30
Abhijith
274ea107ff Reverted number of BWPs error at gNB 2021-08-09 17:38:09 +05:30
Abhijith
bd0c5f6030 Reverted no. of BWPs to 4 2021-08-05 11:07:39 +05:30
Abhijith
94808d4326 Added switching delay requirements 2021-07-30 15:57:36 +05:30
Abhijith
000142c3e3 Cosmetic changes 2021-07-29 16:00:23 +05:30
Shruthi
104e532731 Review comments on SA mode addressed 2021-07-23 13:42:14 +05:30
Shruthi
6fa460dd2d Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-07-23 13:06:12 +05:30
Abhijith
f34c9131d9 Fixed SA mode Error 2021-07-13 14:45:32 +05:30
Abhijith
1a089a0d67 Fixed errors with initialBWP and SA 2021-07-06 16:37:46 +05:30
Abhijith
115a6d0384 Merge conflicts resolved 2021-07-05 11:49:41 +05:30
Abhijith
92298de507 Merge remote-tracking branch 'origin/develop' into HEAD 2021-07-05 11:25:06 +05:30
Abhijith
1f94285040 Rebased to develop after SA merge 2021-07-02 17:03:20 +05:30
Abhijith
8507a3d281 Log level changed 2021-06-25 14:04:32 +05:30
Abhijith
076a8264c2 Merge branch 'scs_60_iisc' of https://gitlab.eurecom.fr/oai/openairinterface5g into scs_60_iisc 2021-06-25 13:39:20 +05:30
Abhijith
c623d90453 Review comments incorporated 2021-06-25 13:38:40 +05:30
Abhijith Atreya
039442c1d4 Fixed warnings and extra Log messages removed 2021-06-25 13:38:40 +05:30
Shruthi
6602bdeed8 PTRS paramaters removed 2021-06-25 13:38:40 +05:30
Abhijith Atreya
d3674a25e1 Fixed PTRS errors 2021-06-25 13:38:40 +05:30
Abhijith
ea1b995a75 Fixed error with BWP_Id 4 2021-06-25 13:38:40 +05:30
Abhijith
24acc0e8b0 scs and bwp location error fixed 2021-06-25 13:38:40 +05:30
Abhijith
4f9aaa927e Access SCD parameters from config file 2021-06-25 13:38:40 +05:30
Abhijith
af6807d30b pucch errors fixed 2021-06-25 13:38:40 +05:30
Abhijith
1fe40f312e bugfix : pdcch and BWP switch capability 2021-06-25 13:38:40 +05:30
Abhijith
bca775a594 Fixed compilation issues 2021-06-25 13:38:40 +05:30
Abhijith
91765a2c4d Initial commit for addition of dedicated BWPs 2021-06-25 13:38:40 +05:30
Abhijith
4a6f8a7dc7 Review comments incorporated 2021-06-25 13:18:52 +05:30
Abhijith Atreya
698917bf1c Fixed warnings and extra Log messages removed 2021-06-02 14:32:32 +00:00
Shruthi
e9a6efc9c9 PTRS paramaters removed 2021-06-02 12:17:08 +05:30
Abhijith Atreya
82ba9b96f4 Fixed PTRS errors 2021-06-01 11:35:03 +00:00
Abhijith
b2fedd793c Fixed error with BWP_Id 4 2021-06-01 15:50:16 +05:30
Abhijith
0628d54480 scs and bwp location error fixed 2021-05-27 20:49:55 +05:30
Abhijith
0afec1e3dd Access SCD parameters from config file 2021-05-27 18:10:46 +05:30
Abhijith
1ce9f1fccb pucch errors fixed 2021-05-26 21:20:02 +05:30
Abhijith
0ec806f5fe bugfix : pdcch and BWP switch capability 2021-05-25 20:16:31 +05:30
Abhijith
8e79241cbe Fixed compilation issues 2021-05-24 14:18:26 +05:30
Abhijith
1042db7317 Initial commit for addition of dedicated BWPs 2021-05-24 13:41:27 +05:30
Raymond Knopp
c64362f8ec Merge remote-tracking branch 'origin/develop' into ldpc-decoder-codegen
Conflicts:
	cmake_targets/CMakeLists.txt
	cmake_targets/build_oai
2020-08-27 07:22:10 +02:00
Raymond Knopp
3bc433a5f8 bugfix from type in last commit 2020-08-27 07:18:49 +02:00
Sy
845a226410 optimized 5G NR LDPC decoder 2020-07-06 02:34:12 +02:00
Sy
c8a787d22c optimized 5G NR LDPC decoder 2020-07-03 14:21:00 +02:00
Sy
559e8fdcd2 degradation of performance in BLER fixed | bnProc & bnProcPc unrolled | small improvement in times 2020-07-01 18:37:52 +02:00
Sy
0f704894f4 degradation of performance in BLER corrected | bnProc & bnProcPc unrolled 2020-07-01 14:12:53 +02:00
Sy
5e5bc1a9e3 Effective management of all values ​​of Z (lifting size) and all R (coding rate) for BG1 & BG2 |
some improvement in decoding time | (bnProcPc reduces 2x)
2020-06-27 02:07:13 +02:00
Sy
c912762144 bnProcPc and bnProc unrolled | BN Processing, small improvement in times at the expense of degraded performance in BLER , reordering of generated files 2020-06-19 23:45:02 +02:00
Sy
394f0deb1b bnProcPc and bnProc unrolled | BN treatment, small improvement in times at the expense of degraded performance in BLER , reordering of generated files 2020-06-19 23:38:37 +02:00
Raymond Knopp
55e32f6e8c removed unnecessary include files 2020-06-06 10:57:33 +02:00
Raymond Knopp
0d65f76d46 removed system includes that were put in the repository 2020-06-06 09:32:41 +02:00
Sy
119be5d45b Re-implementation of memcpy--> more faster | llr2cnProcBuf, cn2bnProcbuf, bn2cnProcBuf are optimized 2020-06-04 02:52:35 +02:00
Sy
cb8760a44d full version of the optimized 5NR LDPC decoder | AVX2 && AVX512 options 2020-06-03 22:57:13 +02:00
Sy
9b11d0b593 full version of the optimized 5NR LDPC decoder 2020-06-03 22:51:05 +02:00
Sy
301317eca6 full version of the optimized 5NR LDPC decoder 2020-06-03 19:04:20 +02:00
Raymond Knopp
a6af0d99ce minor fix for AVX2/AVX512 switch 2020-06-02 13:19:35 +02:00
matzakos
956d9aa1d8 added selection between AVX2 and AVX512 2020-06-02 12:06:38 +02:00
Raymond Knopp
8663ee697e chages in AVX512 code generator. Yields small improvement compared to AVX2, BLER performance is still degraded. 2020-06-01 14:40:11 +02:00
Sy
c67550e531 Test for AVX512 2020-05-29 15:23:22 +02:00
Sy
265b5c4d1b Test for AVX512 2020-05-29 15:19:52 +02:00
Sy
4542322bb4 TEST AVX512 2020-05-29 15:13:56 +02:00
Sy
558fccbba7 TEST AVX512 2020-05-29 15:07:54 +02:00
Sy
b85b5fe47a Test for avx512 2020-05-29 14:57:15 +02:00
Sy
6d9ceaa712 Test for AVX512 2020-05-29 13:51:38 +02:00
Sy
5e5e487e4c Test for avx512 2020-05-29 11:58:55 +02:00
Raymond Knopp
3e27bed4f7 updates to CMakelist.txt for AVX512 options 2020-05-28 12:23:33 +02:00
Sy
bdd12a3396 Testing for avx512 2020-05-27 13:41:57 +02:00
Sy
bfad636369 Testing for avx512 2020-05-26 16:50:32 +02:00
Sy
00a8df6f8f generated CN processing files according to the values of Z | version for AVX2 and AVX512| BG1 & BG2 2020-05-25 14:34:07 +02:00
Sy
a1b81d9475 generated files for CN processing according to the values of Z | version for AVX2 and AVX512 2020-05-23 22:07:22 +02:00
Sy
140fa111c4 file generated for CN processing according to the values of Z | version for AVX2 and AVX512 2020-05-23 21:39:17 +02:00
Sy
ad32b6108e use of avx2 & avx512 at CN processing level 2020-05-19 11:49:10 +02:00
Sy
d3af4c4b8b use of avx2 & avx512 at CN processinf level 2020-05-19 11:46:09 +02:00
Sy
22fe32645b use of avx512 & avx2 at CN processing level 2020-05-18 17:05:50 +02:00
Sy
71a8d19b7d use of avx2 & avx512 at CN Processing level 2020-05-18 13:58:44 +02:00
Sy
3ed622afbd use of avx512 at CN processing level 2020-05-18 11:50:12 +02:00
Raymond Knopp
a7e6137408 unrolled 2 BNs case in generator 2020-05-09 09:14:59 +02:00
Raymond Knopp
581a9731d8 removed one-level of unrolling in cnProc generator 2020-05-08 23:24:04 +02:00
Sy
732b98d1ae adding >> 5 to all lut_startAddrCnGroups 2020-05-08 17:40:45 +02:00
Sy
fe27b81703 adding >> 5 to all lut_startAddrCnGroups 2020-05-08 17:38:44 +02:00
Sy
66c30b9e1d adding >> 5 to all lut_startAddrCnGroups 2020-05-08 17:15:50 +02:00
Raymond Knopp
9db8db256a LUT memory access fix for code generator 2020-05-08 15:26:52 +02:00
Sy
e785891fb1 integration of the generated file (nrLDPC_cnProc_BG1_Z384_13 with the LDPC decoder at the base 2020-05-07 16:28:01 +02:00
Raymond Knopp
f8fbd26b57 more cleanup and testing 2020-05-04 13:18:47 +02:00
Raymond Knopp
fa3a637b72 cleanup of generator, added directory/file creation for output 2020-05-04 11:25:09 +02:00
Raymond Knopp
550ab5009b fixed compilation of generator 2020-05-04 10:19:37 +02:00
Raymond Knopp
cabbb72c0f modifications to Makefile to include OPENAIR_HOME path and activate debugging symbols 2020-05-04 09:45:11 +02:00
Sy
0ee70df312 first commit 2020-05-02 23:35:18 +02:00
2996 changed files with 371638 additions and 1176859 deletions

190
.clang-format Normal file
View File

@@ -0,0 +1,190 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BitFieldColonSpacing: After
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: true
ColumnLimit: 132
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
- RB_FOREACH
- UE_iterator
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 1
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 1
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
UseTab: Never
---
Language: JavaScript
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: true
ColumnLimit: 200
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DisableFormat: false
FixNamespaceComments: true
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
ReflowComments: true
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
DeriveLineEnding: true
TabWidth: 2
JavaScriptQuotes: Double
UseTab: Never
...

View File

@@ -5,4 +5,3 @@ common/utils/T/T_IDs.h
common/utils/T/T_messages.txt.h
common/utils/T/genids
common/utils/T/genids.o
targets/bin/

6
.gitignore vendored
View File

@@ -8,10 +8,12 @@ cmake_targets/ran_build/
cmake_targets/nas_sim_tools/build/
log/
lte_build_oai/
targets/bin/
# vscode
# IDE files
.vscode
.cproject
.project
.settings
# Tags for vim/global
GPATH

4
.gitmodules vendored Normal file
View File

@@ -0,0 +1,4 @@
[submodule "openair2/E2AP/flexric"]
path = openair2/E2AP/flexric
url = https://gitlab.eurecom.fr/mosaic5g/flexric.git
branch = remotes/origin/service-models-integration

31
.vscode/launch.json vendored
View File

@@ -1,31 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/cmake_targets/ran_build/build/lte-softmodem",
"args": [
"-O", "../ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf",
"--noS1"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/cmake_targets",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "${workspaceFolder}/cmake_targets/sudo-gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

View File

@@ -1,5 +1,34 @@
# RELEASE NOTES: #
## [v2.0.0](https://gitlab.eurecom.fr/oai/openairinterface5g/-/tags/v2.0.0) -> August 2023. ##
This release adds support for 5G and maintains previous features:
* 5G SA in gNB
- PHY, MAC, RLC, PDCP, SDAP, RRC layers
- 2x2 MIMO and 256-QAM for UL/DL
- 15 and 30 kHz subcarrier spacings; 10-100 MHz bandwidths
- Up to 800Mbps throughput or 5ms latency
- F1, basic E1, 5G FAPI (SCF 222.10.02), split 8 split options
- Handling of up to 16 UEs
- RRC procedures for connection setup, multiple PDU sessions, reestablishment
* 5G SA in UE
- PHY, MAC, RLC, PDCP, SDAP, RRC layers
- 2x2 MIMO and 256-QAM for UL/DL
- 15 and 30 kHz subcarrier spacings; 10-100 MHz bandwidths
- Custom FAPI-like MAC/PHY interface
- RRC procedures for connection setup and cell measurement
* Basic 5G NSA in gNB
- X2 sgNB Addition Request between OAI eNB and gNB
* 4G eNB and UE
- Bugfixes in fairRR scheduler (eNB)
- Non-standard F1 midhaul removed (eNB)
- FlexRAN removed (eNB)
- Sync fixes (UE)
* LTE-M supported
* Support for AW2S devices, RFsimulator channel emulation support
For more information on supported features, please refer to the [feature set](doc/FEATURE_SET.md).
## [v1.2.1](https://gitlab.eurecom.fr/oai/openairinterface5g/-/tags/v1.2.1) -> February 2020. ##
* Bug fix for mutex lock for wake-up signal

File diff suppressed because it is too large Load Diff

View File

@@ -2,11 +2,15 @@
We want to make contributing to this project as easy and transparent as possible.
Please refer to the steps described on our website: [How to contribute to OAI](https://www.openairinterface.org/?page_id=112).
1. Sign and return a Contributor License Agreement to OAI team.
2. We recommend that you provide us with a professional or student email address
2. Register on [Eurecom GitLab Server](https://gitlab.eurecom.fr/users/sign_in)
2. Register on [Eurecom GitLab Server](https://gitlab.eurecom.fr/users/sign_up) if you do not have any.
- We recommend that you register with a professional or student email address.
- If your email domain (`@domain.com`) is not whitelisted, please contact us (mailto:contact@openairinterface.org).
- Eurecom GitLab does NOT accept public email domains.
3. Provide the OAI team with the **username** of this account to (mailto:contact@openairinterface.org) ; we will give you the developer rights on this repository.
4. The policies are described in these wiki pages: [OAI Policies](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/oai-policies-home)
4. The policies are described in these wiki pages: [OAI Policies](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/oai-policies-home).
- PLEASE DO NOT FORK the OAI repository on your own Eurecom GitLab account. It just eats up space on our servers.
- You can fork onto another hosting system. But we will NOT accept a merge request from a forked repository.
* This decision was made for the license reasons.
@@ -15,7 +19,7 @@ We want to make contributing to this project as easy and transparent as possible
## Coding Styles ##
There are described [here](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/guidelines/guidelines-home)
There are described [here](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/guidelines/guidelines-home).
## License ##

View File

@@ -21,7 +21,6 @@ The Regents of the University of California: BSD 3-Clause Licence.
Niels Provos <provos@citi.umich.edu>: BSD 2-Clause Licence.
## Credits for source code openair3/GTPV1-U/nw-gtpv1u: ##
Amit Chawre <http://www.amitchawre.net/contact.html>: BSD 2-Clause Licence.
## Credits for source code openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c and nrLDPC_offload.h: ##
Intel Corporation SPDX-License-Identifier: BSD-3-Clause Licence

View File

@@ -4,8 +4,16 @@
<p align="center">
<a href="https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-OAI--Public--V1.1-blue" alt="License"></a>
<a href="https://releases.ubuntu.com/18.04/"><img src="https://img.shields.io/badge/OS-Ubuntu18-Green" alt="Supported OS"></a>
<a href="https://www.redhat.com/en/enterprise-linux-8"><img src="https://img.shields.io/badge/OS-RHEL8-Green" alt="Supported OS"></a>
<a href="https://releases.ubuntu.com/18.04/"><img src="https://img.shields.io/badge/OS-Ubuntu18-Green" alt="Supported OS Ubuntu 18"></a>
<a href="https://releases.ubuntu.com/20.04/"><img src="https://img.shields.io/badge/OS-Ubuntu20-Green" alt="Supported OS Ubuntu 20"></a>
<a href="https://releases.ubuntu.com/22.04/"><img src="https://img.shields.io/badge/OS-Ubuntu22-Green" alt="Supported OS Ubuntu 22"></a>
<a href="https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux"><img src="https://img.shields.io/badge/OS-RHEL8-Green" alt="Supported OS RHEL8"></a>
<a href="https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux"><img src="https://img.shields.io/badge/OS-RHEL9-Green" alt="Supported OS RELH9"></a>
<a href="https://getfedora.org/en/workstation/"><img src="https://img.shields.io/badge/OS-Fedore37-Green" alt="Supported OS Fedora 37"></a>
</p>
<p align="center">
<a href="https://gitlab.eurecom.fr/oai/openairinterface5g/-/releases"><img alt="GitLab Release (custom instance)" src="https://img.shields.io/gitlab/v/release/oai/openairinterface5g?gitlab_url=https%3A%2F%2Fgitlab.eurecom.fr&include_prereleases&sort=semver"></a>
</p>
<p align="center">
@@ -13,10 +21,10 @@
</p>
<p align="center">
<a href="https://hub.docker.com/r/rdefosseoai/oai-enb"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/rdefosseoai/oai-enb?label=eNB%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/rdefosseoai/oai-lte-ue"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/rdefosseoai/oai-lte-ue?label=LTE-UE%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/rdefosseoai/oai-gnb"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/rdefosseoai/oai-gnb?label=gNB%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/rdefosseoai/oai-nr-ue"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/rdefosseoai/oai-nr-ue?label=NR-UE%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/oaisoftwarealliance/oai-gnb"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/oaisoftwarealliance/oai-gnb?label=gNB%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/oaisoftwarealliance/oai-nr-ue"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/oaisoftwarealliance/oai-nr-ue?label=NR-UE%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/oaisoftwarealliance/oai-enb"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/oaisoftwarealliance/oai-enb?label=eNB%20docker%20pulls"></a>
<a href="https://hub.docker.com/r/oaisoftwarealliance/oai-lte-ue"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/oaisoftwarealliance/oai-lte-ue?label=LTE-UE%20docker%20pulls"></a>
</p>
# OpenAirInterface License #
@@ -32,61 +40,39 @@ Please see [NOTICE](NOTICE.md) file for third party software that is included in
# Where to Start #
* [General overview of documentation](./doc/README.md)
* [The implemented features](./doc/FEATURE_SET.md)
* [How to build](./doc/BUILD.md)
* [How to run the modems](./doc/RUNMODEM.md)
Not all information is available in a central place, and information for
specific sub-systems might be available in the corresponding sub-directories.
To find all READMEs, this command might be handy:
```
find . -iname "readme*"
```
# RAN repository structure #
The OpenAirInterface (OAI) software is composed of the following parts:
<pre>
```
openairinterface5g
├── charts
├── ci-scripts : Meta-scripts used by the OSA CI process. Contains also configuration files used day-to-day by CI.
├── CMakeLists.txt : Top-level CMakeLists.txt for building
├── cmake_targets : Build utilities to compile (simulation, emulation and real-time platforms), and generated build files.
├── common : Some common OAI utilities, other tools can be found at openair2/UTILS.
├── doc : Contains an up-to-date feature set list and starting tutorials.
├── executables : Top-level executable source files.
├── LICENSE : License file.
├── common : Some common OAI utilities, some other tools can be found at openair2/UTILS.
├── doc : Documentation
├── docker : Dockerfiles to build for Ubuntu and RHEL
├── executables : Top-level executable source files (gNB, eNB, ...)
├── maketags : Script to generate emacs tags.
├── nfapi : Contains the NFAPI code. A local Readme file provides more details.
├── nfapi : (n)FAPI code for MAC-PHY interface
├── openair1 : 3GPP LTE Rel-10/12 PHY layer / 3GPP NR Rel-15 layer. A local Readme file provides more details.
│   ├── PHY
│   ├── SCHED
│   ├── SCHED_NBIOT
│   ├── SCHED_NR
│   ├── SCHED_NR_UE
│   ├── SCHED_UE
│   └── SIMULATION : PHY RF simulation.
├── openair2 : 3GPP LTE Rel-10 RLC/MAC/PDCP/RRC/X2AP + LTE Rel-14 M2AP implementation. Also 3GPP NR Rel-15 RLC/MAC/PDCP/RRC/X2AP.
│   ├── COMMON
│   ├── DOCS
│   ├── ENB_APP
│   ├── F1AP
│   ├── GNB_APP
│   ├── LAYER2/RLC/ : with the following subdirectories: UM_v9.3.0, TM_v9.3.0, and AM_v9.3.0.
│   ├── LAYER2/PDCP/PDCP_v10.1.0
│   ├── M2AP
│   ├── MCE_APP
│   ├── NETWORK_DRIVER
│   ├── NR_PHY_INTERFACE
│   ├── NR_UE_PHY_INTERFACE
│   ├── PHY_INTERFACE
│   ├── RRC
│   ├── UTIL
│   └── X2AP
├── openair3 : 3GPP LTE Rel10 for S1AP, NAS GTPV1-U for both ENB and UE.
│   ├── COMMON
│   ├── DOCS
│   ├── GTPV1-U
│   ├── M3AP
│   ├── MME_APP
│   ├── NAS
│   ├── S1AP
│   ├── SCTP
│   ├── SECU
│   ├── TEST
│   ├── UDP
│   └── UTILS
└── targets : Top-level wrappers for unitary simulation for PHY channels, system-level emulation (eNB-UE with and without S1), and realtime eNB and UE and RRH GW.
</pre>
├── openshift : OpenShift helm charts for some deployment options of OAI
├── radio : Drivers for various radios such as USRP, AW2S, RFsim, ...
└── targets : Some configuration files; only historical relevance, and might be deleted in the future
```

View File

@@ -16,7 +16,7 @@ icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_fin
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
version: 1.0.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-dlsim-100rb-tm2
description: A Helm subchart for dlsim network function ("100rb+tm2" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- dlsim
- RAN
- 4G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-dlsim-100rb-tm2.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-dlsim-100rb-tm2.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-dlsim-100rb-tm2.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-dlsim-100rb-tm2.labels" -}}
helm.sh/chart: {{ include "oai-dlsim-100rb-tm2.chart" . }}
{{ include "oai-dlsim-100rb-tm2.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-dlsim-100rb-tm2.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-dlsim-100rb-tm2.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-dlsim-100rb-tm2.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-dlsim-100rb-tm2.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -1,20 +1,12 @@
apiVersion: apps/v1
kind: Deployment
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-dlsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-dlsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-dlsim.selectorLabels" . | nindent 8 }}
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -28,22 +20,23 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-dlsim
# volumeMounts:
# - mountPath: /opt/oai-dlsim/certs
# name: certs
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015100" -q -np -b &&
echo "FINISHED" &&
sleep infinity
- >
cmake_targets/autotests/run_exec_autotests.bash -g "dlsim.100rb+tm2" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.dlsim100rbtm2}}
nodeName: {{ .Values.global.nodeName.dlsim100rbtm2 }}
{{- end }}

View File

@@ -1,15 +1,10 @@
# Default values for oai-dlsim.
# Default values for oai-dlsim-100rb+tm2
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -25,26 +20,14 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-dlsim-sa"
name: "oai-dlsim-100rb-tm2"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: oai-dlsim
description: A Helm subchart for dlsim network function
name: oai-dlsim-basic
description: A Helm subchart for dlsim network function ("basic" tests)
# A chart can be either an 'application' or a 'library' chart.
#

View File

@@ -2,7 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-pbchsim.name" -}}
{{- define "oai-dlsim-basic.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -11,7 +11,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-pbchsim.fullname" -}}
{{- define "oai-dlsim-basic.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
@@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-pbchsim.chart" -}}
{{- define "oai-dlsim-basic.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-pbchsim.labels" -}}
helm.sh/chart: {{ include "oai-nr-pbchsim.chart" . }}
{{ include "oai-nr-pbchsim.selectorLabels" . }}
{{- define "oai-dlsim-basic.labels" -}}
helm.sh/chart: {{ include "oai-dlsim-basic.chart" . }}
{{ include "oai-dlsim-basic.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
@@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "oai-nr-pbchsim.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-pbchsim.name" . }}
{{- define "oai-dlsim-basic.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-dlsim-basic.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-pbchsim.serviceAccountName" -}}
{{- define "oai-dlsim-basic.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-pbchsim.fullname" .) .Values.serviceAccount.name }}
{{ default (include "oai-dlsim-basic.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "dlsim.basic" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.dlsimbasic}}
nodeName: {{ .Values.global.nodeName.dlsimbasic }}
{{- end }}

View File

@@ -0,0 +1,44 @@
# Default values for oai-dlsim-basic
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-dlsim-basic"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-dlsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-dlsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-dlsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-dlsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-dlsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-dlsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-dlsim.selectorLabels" . | nindent 4 }}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-ldpctest.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-ldpctest.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-ldpctest.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-ldpctest.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,20 +1,12 @@
apiVersion: apps/v1
kind: Deployment
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-ldpctest.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-ldpctest.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-ldpctest.selectorLabels" . | nindent 8 }}
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -28,22 +20,23 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-ldpctest
# volumeMounts:
# - mountPath: /opt/oai-ldpctest/certs
# name: certs
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015102" -q -np -b &&
echo "FINISHED" &&
sleep infinity
- >
cmake_targets/autotests/run_exec_autotests.bash -g "ldpctest" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.ldpctest}}
nodeName: {{ .Values.global.nodeName.ldpctest }}
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-ldpctest.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-ldpctest
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-ldpctest.selectorLabels" . | nindent 4 }}

View File

@@ -4,12 +4,7 @@
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -32,19 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-dlschsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-dlschsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-dlschsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-dlschsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-dlschsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-dlschsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-dlschsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-dlschsim
# volumeMounts:
# - mountPath: /opt/oai-nr-dlschsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015106" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -1,20 +1,12 @@
apiVersion: apps/v1
kind: Deployment
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-ulsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-ulsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-ulsim.selectorLabels" . | nindent 8 }}
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -28,22 +20,23 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-ulsim
# volumeMounts:
# - mountPath: /opt/oai-nr-ulsim/certs
# name: certs
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015111" -q -np -b &&
echo "FINISHED" &&
sleep infinity
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlschsim" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrdlschsim}}
nodeName: {{ .Values.global.nodeName.nrdlschsim }}
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-dlschsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-dlschsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-dlschsim.selectorLabels" . | nindent 4 }}

View File

@@ -4,12 +4,7 @@
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -32,19 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: oai-nr-dlsim
description: A Helm subchart for nr-dlsim network function
name: oai-nr-dlsim-basic
description: A Helm subchart for nr-dlsim network function ("basic" tests)
# A chart can be either an 'application' or a 'library' chart.
#

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-dlsim-basic.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-dlsim-basic.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-dlsim-basic.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-dlsim-basic.labels" -}}
helm.sh/chart: {{ include "oai-nr-dlsim-basic.chart" . }}
{{ include "oai-nr-dlsim-basic.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-dlsim-basic.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-dlsim-basic.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-dlsim-basic.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-dlsim-basic.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.basic" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrdlsimbasic}}
nodeName: {{ .Values.global.nodeName.nrdlsimbasic }}
{{- end }}

View File

@@ -1,15 +1,10 @@
# Default values for oai-nr-ulsim.
# Default values for oai-nr-dlsim-basic
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -25,26 +20,14 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-ulsim-sa"
name: "oai-nr-dlsim-basic"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-dlsim-dmrs-ptrs
description: A Helm subchart for nr-dlsim network function ("dmrs+ptrs" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-dlsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.labels" -}}
helm.sh/chart: {{ include "oai-nr-dlsim-dmrs-ptrs.chart" . }}
{{ include "oai-nr-dlsim-dmrs-ptrs.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-dlsim-dmrs-ptrs.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-dlsim-dmrs-ptrs.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-dlsim-dmrs-ptrs.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.dmrs+ptrs" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrdlsimdmrsptrs}}
nodeName: {{ .Values.global.nodeName.nrdlsimdmrsptrs }}
{{- end }}

View File

@@ -1,15 +1,10 @@
# Default values for oai-nr-dlsim.
# Default values for oai-nr-dlsim-dmrs+ptrs
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -25,26 +20,14 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-dlsim-sa"
name: "oai-nr-dlsim-dmrs-ptrs"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-dlsim-mcs-mimo
description: A Helm subchart for nr-dlsim network function ("mcs+mimo" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-dlsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.labels" -}}
helm.sh/chart: {{ include "oai-nr-dlsim-mcs-mimo.chart" . }}
{{ include "oai-nr-dlsim-mcs-mimo.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-dlsim-mcs-mimo.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-dlsim-mcs-mimo.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-dlsim-mcs-mimo.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.mcs+mimo" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrdlsimmcsmimo}}
nodeName: {{ .Values.global.nodeName.nrdlsimmcsmimo }}
{{- end }}

View File

@@ -1,15 +1,10 @@
# Default values for oai-nr-pbchsim.
# Default values for oai-nr-dlsim-mcs-mimo
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -25,26 +20,14 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-pbchsim-sa"
name: "oai-nr-dlsim-mcs-mimo"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-dlsim-offset
description: A Helm subchart for nr-dlsim network function ("offset" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-dlsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-dlsim-offset.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-dlsim-offset.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-dlsim-offset.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-dlsim-offset.labels" -}}
helm.sh/chart: {{ include "oai-nr-dlsim-offset.chart" . }}
{{ include "oai-nr-dlsim-offset.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-dlsim-offset.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-dlsim-offset.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-dlsim-offset.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-dlsim-offset.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.offset" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrdlsimoffset}}
nodeName: {{ .Values.global.nodeName.nrdlsimoffset }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-dlsim-offset
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-dlsim-offset"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-dlsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-dlsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-dlsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-dlsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-dlsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-dlsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-dlsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-dlsim
# volumeMounts:
# - mountPath: /opt/oai-nr-dlsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015105" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-dlsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-dlsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-dlsim.selectorLabels" . | nindent 4 }}

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: oai-nr-pbchsim
description: A Helm subchart for nr-pbchsim network function
name: oai-nr-pbchsim-106rb
description: A Helm subchart for nr-pbchsim network function ("106rb" tests)
# A chart can be either an 'application' or a 'library' chart.
#

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-pbchsim-106rb.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-pbchsim-106rb.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-pbchsim-106rb.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-pbchsim-106rb.labels" -}}
helm.sh/chart: {{ include "oai-nr-pbchsim-106rb.chart" . }}
{{ include "oai-nr-pbchsim-106rb.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-pbchsim-106rb.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-pbchsim-106rb.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-pbchsim-106rb.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-pbchsim-106rb.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.106rb" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrpbschsim106rb}}
nodeName: {{ .Values.global.nodeName.nrpbschsim106rb }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-pbchsim-106rb
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-pbchsim-106rb"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-pbchsim-217rb
description: A Helm subchart for nr-pbchsim network function ("217rb" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-pbchsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-pbchsim-217rb.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-pbchsim-217rb.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-pbchsim-217rb.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-pbchsim-217rb.labels" -}}
helm.sh/chart: {{ include "oai-nr-pbchsim-217rb.chart" . }}
{{ include "oai-nr-pbchsim-217rb.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-pbchsim-217rb.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-pbchsim-217rb.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-pbchsim-217rb.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-pbchsim-217rb.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.217rb" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrpbchsim217rb}}
nodeName: {{ .Values.global.nodeName.nrpbchsim217rb }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-pbchsim-217rb
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-pbchsim-217rb"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-pbchsim-273rb
description: A Helm subchart for nr-pbchsim network function ("273rb" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-pbchsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-pbchsim-273rb.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-pbchsim-273rb.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-pbchsim-273rb.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-pbchsim-273rb.labels" -}}
helm.sh/chart: {{ include "oai-nr-pbchsim-273rb.chart" . }}
{{ include "oai-nr-pbchsim-273rb.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-pbchsim-273rb.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-pbchsim-273rb.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-pbchsim-273rb.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-pbchsim-273rb.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.273rb" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrpbchsim273rb}}
nodeName: {{ .Values.global.nodeName.nrpbchsim273rb }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-pbchsim-273rb
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-pbchsim-273rb"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-pbchsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-pbchsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-pbchsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-pbchsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-pbchsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-pbchsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-pbchsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-pbchsim
# volumeMounts:
# - mountPath: /opt/oai-nr-pbchsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015104" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-pbchsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-pbchsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-pbchsim.selectorLabels" . | nindent 4 }}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-prachsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-prachsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-prachsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-prachsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-prachsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-prachsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-prachsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-prachsim
# volumeMounts:
# - mountPath: /opt/oai-nr-prachsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015112" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_prachsim" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrprachsim}}
nodeName: {{ .Values.global.nodeName.nrprachsim }}
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-prachsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-prachsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-prachsim.selectorLabels" . | nindent 4 }}

View File

@@ -4,12 +4,7 @@
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -32,19 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-pucchsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-pucchsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-pucchsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-pucchsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-pucchsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-pucchsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-pucchsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-pucchsim
# volumeMounts:
# - mountPath: /opt/oai-nr-pucchsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015109" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_pucchsim" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrpucchsim}}
nodeName: {{ .Values.global.nodeName.nrpucchsim }}
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-pucchsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-pucchsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-pucchsim.selectorLabels" . | nindent 4 }}

View File

@@ -4,12 +4,7 @@
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -32,15 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
privileged: false
service:
type: ClusterIP

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-ulschsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-ulschsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-ulschsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-ulschsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-ulschsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-nr-ulschsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-nr-ulschsim.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-nr-ulschsim
# volumeMounts:
# - mountPath: /opt/oai-nr-ulschsim/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015108" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulschsim" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrulschsim}}
nodeName: {{ .Values.global.nodeName.nrulschsim }}
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-ulschsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-ulschsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-ulschsim.selectorLabels" . | nindent 4 }}

View File

@@ -4,12 +4,7 @@
replicaCount: 1
namespace: "oaicicd-ran-tmp"
image:
registry: local
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
version: temp
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
@@ -32,19 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
capabilities:
add:
- SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: oai-nr-ulsim
description: A Helm subchart for nr-ulsim network function
name: oai-nr-ulsim-3gpp
description: A Helm subchart for nr-ulsim network function ("3gpp" tests)
# A chart can be either an 'application' or a 'library' chart.
#

View File

@@ -2,7 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-ulsim.name" -}}
{{- define "oai-nr-ulsim-3gpp.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -11,7 +11,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-ulsim.fullname" -}}
{{- define "oai-nr-ulsim-3gpp.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
@@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-ulsim.chart" -}}
{{- define "oai-nr-ulsim-3gpp.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-ulsim.labels" -}}
helm.sh/chart: {{ include "oai-nr-ulsim.chart" . }}
{{ include "oai-nr-ulsim.selectorLabels" . }}
{{- define "oai-nr-ulsim-3gpp.labels" -}}
helm.sh/chart: {{ include "oai-nr-ulsim-3gpp.chart" . }}
{{ include "oai-nr-ulsim-3gpp.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
@@ -46,15 +46,15 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "oai-nr-ulsim.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-ulsim.name" . }}
{{- define "oai-nr-ulsim-3gpp.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-ulsim-3gpp.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-ulsim.serviceAccountName" -}}
{{- define "oai-nr-ulsim-3gpp.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }}
{{- else -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.3gpp" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrulsim3gpp}}
nodeName: {{ .Values.global.nodeName.nrulsim3gpp }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-ulsim-3gpp
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-ulsim-3gpp"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-ulsim-mimo
description: A Helm subchart for nr-ulsim network function ("mimo" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-ulsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -2,7 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-dlsim.name" -}}
{{- define "oai-nr-ulsim-mimo.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -11,7 +11,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-dlsim.fullname" -}}
{{- define "oai-nr-ulsim-mimo.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
@@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-dlsim.chart" -}}
{{- define "oai-nr-ulsim-mimo.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-dlsim.labels" -}}
helm.sh/chart: {{ include "oai-nr-dlsim.chart" . }}
{{ include "oai-nr-dlsim.selectorLabels" . }}
{{- define "oai-nr-ulsim-mimo.labels" -}}
helm.sh/chart: {{ include "oai-nr-ulsim-mimo.chart" . }}
{{ include "oai-nr-ulsim-mimo.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
@@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "oai-nr-dlsim.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-dlsim.name" . }}
{{- define "oai-nr-ulsim-mimo.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-ulsim-mimo.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-dlsim.serviceAccountName" -}}
{{- define "oai-nr-ulsim-mimo.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-dlsim.fullname" .) .Values.serviceAccount.name }}
{{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.mimo" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrulsimmimo}}
nodeName: {{ .Values.global.nodeName.nrulsimmimo }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-ulsim-mimo
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-ulsim-mimo"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-ulsim-misc
description: A Helm subchart for nr-ulsim network function ("misc" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-ulsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -2,7 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-dlsim.name" -}}
{{- define "oai-nr-ulsim-misc.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@@ -11,7 +11,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-dlsim.fullname" -}}
{{- define "oai-nr-ulsim-misc.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
@@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-dlsim.chart" -}}
{{- define "oai-nr-ulsim-misc.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-dlsim.labels" -}}
helm.sh/chart: {{ include "oai-dlsim.chart" . }}
{{ include "oai-dlsim.selectorLabels" . }}
{{- define "oai-nr-ulsim-misc.labels" -}}
helm.sh/chart: {{ include "oai-nr-ulsim-misc.chart" . }}
{{ include "oai-nr-ulsim-misc.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
@@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "oai-dlsim.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-dlsim.name" . }}
{{- define "oai-nr-ulsim-misc.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-ulsim-misc.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-dlsim.serviceAccountName" -}}
{{- define "oai-nr-ulsim-misc.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-dlsim.fullname" .) .Values.serviceAccount.name }}
{{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.misc" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrulsimmisc}}
nodeName: {{ .Values.global.nodeName.nrulsimmisc }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-ulsim-misc
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-ulsim-misc"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,36 @@
apiVersion: v1
name: oai-nr-ulsim-sc-fdma
description: A Helm subchart for nr-ulsim network function ("sc-fdma" tests)
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1
keywords:
- Physical Simulator
- nr-ulsim
- RAN
- 5G
sources:
- https://gitlab.eurecom.fr/oai/openairinterface5g
maintainers:
- name: OPENAIRINTERFACE
email: contact@openairinterface.org

View File

@@ -0,0 +1,63 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "oai-nr-ulsim-sc-fdma.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "oai-nr-ulsim-sc-fdma.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "oai-nr-ulsim-sc-fdma.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "oai-nr-ulsim-sc-fdma.labels" -}}
helm.sh/chart: {{ include "oai-nr-ulsim-sc-fdma.chart" . }}
{{ include "oai-nr-ulsim-sc-fdma.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
{{/*
Selector labels
*/}}
{{- define "oai-nr-ulsim-sc-fdma.selectorLabels" -}}
app.kubernetes.io/name: {{ include "oai-nr-ulsim-sc-fdma.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{/*
Create the name of the service account to use
*/}}
{{- define "oai-nr-ulsim-sc-fdma.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

View File

@@ -1,20 +1,12 @@
apiVersion: apps/v1
kind: Deployment
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-ulsim.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-ulsim.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-ulsim.selectorLabels" . | nindent 8 }}
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -30,20 +22,23 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-ulsim
# volumeMounts:
# - mountPath: /opt/oai-ulsim/certs
# name: certs
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015101" -q -np -b &&
echo "FINISHED" &&
sleep infinity
- >
cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.sc-fdma" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.nrulsimscfdma}}
nodeName: {{ .Values.global.nodeName.nrulsimscfdma }}
{{- end }}

View File

@@ -0,0 +1,48 @@
# Default values for oai-nr-ulsim-sc-fdma
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-nr-ulsim-sc-fdma"
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
privileged: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-nr-ulsim.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-nr-ulsim.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-nr-ulsim.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-nr-ulsim.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-nr-ulsim.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-nr-ulsim
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-nr-ulsim.selectorLabels" . | nindent 4 }}

View File

@@ -1,15 +0,0 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "oai-polartest.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "oai-polartest.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-polartest.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "oai-polartest.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@@ -1,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-polartest.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "oai-polartest.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
labels:
{{- include "oai-polartest.selectorLabels" . | nindent 8 }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
ports:
- containerPort: 80
name: oai-polartest
# volumeMounts:
# - mountPath: /opt/oai-polartest/certs
# name: certs
command: ["/bin/sh", "-c"]
args:
- >
export OPENAIR_DIR=/opt/oai-physim &&
cd cmake_targets/autotests &&
./run_exec_autotests.bash -g "015103" -q -np -b &&
echo "FINISHED" &&
sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30

View File

@@ -0,0 +1,42 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
- name: OPENAIR_DIR
value: /opt/oai-physim
command: ["/bin/sh", "-c"]
args:
- >
cmake_targets/autotests/run_exec_autotests.bash -g "polartest" -d bin/ &&
echo "FINISHED" && sleep infinity
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.polartest}}
nodeName: {{ .Values.global.nodeName.polartest }}
{{- end }}

Some files were not shown because too many files have changed in this diff Show More