Compare commits

..

5841 Commits

Author SHA1 Message Date
Cedric Roux
6c9a0dea27 LDPC processing: bugfix: clear d[] if first transmission is DTX
If first transmission (round == 0) is DTX then d[] will not be cleared
for following transmissions (those that are not DTX) in
nr_rate_matching_ldpc_rx() because new_rx will not be 1, leading
to potential wrong decoding.
2022-12-27 23:24:59 +01:00
Cedric Roux
b038ee0af8 NR LDPC processing: do not redo LDPC decoding on retransmission if not needed
Adding crc_ok[] so that we don't redo LDPC decoding of a segment on
retransmissions if the CRC was correct for the segment in a previous
transmission.

We have to be careful with DTX of round 0, because in this case
nr_ulsch_decoding() will never be called with new_rx == 1, so we
would not reset crc_ok[]. (Hopefully I understand things correctly
here...)
2022-12-27 23:24:59 +01:00
Cedric Roux
7fc31d9ca9 NR LDPC processing: check CRC of the full transport block
And reject data in case of failure.
2022-12-27 23:24:55 +01:00
Cedric Roux
6d66049e1f NR LDPC processing: do not stop processing too early
It's important to feed data to the d[] array (and clear it first in case
of new_rx) so the logic to cancel the other LDPC processing threads when
a decoding failure happens has to be changed.

This commit introduces a new cancellation point possible only after
calling nr_rate_matching_ldpc_rx(), thus the d[] array receives data
for all the LDPC segments.
2022-12-27 23:19:56 +01: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
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
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
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
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
Robert Schmidt
9a330b3d96 Merge branch 'integration_2022_wk15b' into 'develop'
integration_2022_wk15b

See merge request oai/openairinterface5g!1524

MR !1508 Remove NR UE PDCCH
2022-04-13 08:28:11 +00: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
Mario Hudon
06b637c1cf Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_UE_thread_improvement_IDCC 2022-04-12 12:59:27 -04: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
Florian Kaltenberger
ef6ea331cf Update TESTING_5GSA_setup.md 2022-04-12 11:48:42 +00: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
Robert Schmidt
37eb845b66 Merge branch 'integration_2022_wk15' into 'develop'
integration_2022_wk15

See merge request oai/openairinterface5g!1522
2022-04-11 22:06:50 +00: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
francescomani
9bf8c0e009 config file cleanup 2022-04-11 10:00:49 +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
Robert Schmidt
cae952e1f3 Merge remote-tracking branch 'origin/ci_add_2nd_ue' into integration_2022_wk15 2022-04-09 13:11:04 +02:00
Robert Schmidt
3e6e9f449c Merge remote-tracking branch 'origin/fix-develop-segvs' into integration_2022_wk15 2022-04-09 13:10:00 +02:00
Robert Schmidt
9151666960 Merge remote-tracking branch 'origin/nr_gold_init_improv' into integration_2022_wk15 2022-04-09 13:09:50 +02:00
Robert Schmidt
d2053ec378 Merge remote-tracking branch 'origin/nr_csirs_rrc_harmonization' into integration_2022_wk15 2022-04-09 13:09:40 +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
Laurent Thomas
8623bc6690 a small out of buffer access, likely only santize addr detection 2022-04-08 18:22:40 +02:00
Laurent THOMAS
1a2be8fc89 fix dft modifications related to alignment 2022-04-08 18:22:40 +02:00
Laurent THOMAS
f46240ca2b fix code review remarks 2022-04-08 18:22:38 +02:00
Laurent THOMAS
e1b9881c78 fix memory errors 2022-04-08 17:56:03 +02: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
Raphael Defosseux
dc4feae780 Merge remote-tracking branch 'origin/develop' into ci_add_2nd_ue 2022-04-08 16:45:59 +02:00
Raphael Defosseux
9547cb4f6b Merge branch 'integration_2022_wk14' into 'develop'
integration_2022_wk14

See merge request oai/openairinterface5g!1519

MR 1471 : L2 sim fixes and 5G SA L2SIM CI integration  
MR 1325 : SDAP  
Cherry-picks on MR 1517 : correct gNB fail detection  
MR 1464 : LDPC decoder memory optim  
MR 1514 : Amarisoft UE automation
2022-04-08 13:18:25 +00:00
Robert Schmidt
6ad71e290a Comment unused function that have been introduced in this integration branch 2022-04-08 11:30:19 +02:00
Raphael Defosseux
5e1e27699d fix(ci): the PCAP file was getting too big
-- Excluded the 2nd UE container IP address from capture
 -- Also added support for multiple UEs for dlsch_ulsch_stats

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-08 10:59:24 +02:00
Manish
4869b10984 Second OAI UE added in CI docker validation
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-04-08 10:57:37 +02:00
Robert Schmidt
86a704caa9 Merge remote-tracking branch 'origin/ci_support_amarisoft_ue' into integration_2022_wk14 2022-04-07 21:44:45 +02:00
Robert Schmidt
5669269ca9 Harmonize NSA 2x2 and LTE 2x2 eNB configs 2022-04-07 21:12:31 +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
francescomani
1485caa97e cleanup of episci config files 2022-04-07 14:00:19 +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
Robert Schmidt
810e62e13b Merge remote-tracking branch 'origin/ldpc-decoder-memory' into integration_2022_wk14 2022-04-06 23:45:44 +02:00
hardy
276c7be575 fix SYNC_STATUS flag mgt to get the final status correct 2022-04-06 23:45:25 +02:00
Robert Schmidt
0a03755f9d Correct gNB fail detection when running in VM 2022-04-06 23:45:19 +02:00
Robert Schmidt
054688ade4 Merge remote-tracking branch 'origin/nr_sdap' into integration_2022_wk14 2022-04-06 23:45:07 +02:00
Robert Schmidt
d8d3106baf Merge remote-tracking branch 'origin/episys-throughput-updates-and-downlink-siso-cm' into integration_2022_wk14 2022-04-06 23:44:59 +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
Robert Schmidt
baa76323d2 Merge branch 'integration_2022_wk13b' into 'develop'
integration_2022_wk13b

See merge request oai/openairinterface5g!1515
2022-04-06 05:53:24 +00:00
rmagueta
886b580fac PMI computation for rank=1 case 2022-04-05 19:56:13 +01:00
hardy
402b9abb8c change ping stage description in xml 2022-04-05 19:00:48 +02:00
Robert Schmidt
906b4b9c1e Tune configs LTE-2x2, NSA-2x2 2022-04-05 18:36:26 +02:00
hardy
b245b3b1b6 more logging, copy logs, create HTML row 2022-04-05 15:18:55 +02: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
Sakthivel Velumani
2c23b28ba6 Merge branch 'develop' into ldpc-decoder-memory 2022-04-05 16:02:35 +05:30
Sakthivel Velumani
a4c8fe029a Fixing bad memory allocation and initialization
This (sometimes) corrupts PBCH channel estimates leading to false time synchronization of received samples.
2022-04-05 15:28:23 +05:30
hardy
76c0335a8b initial work for amarisoft ue 2022-04-05 09:11:45 +02:00
Mario Hudon
2e99d33f27 Fixed compile warning 2022-04-04 15:41:36 -04:00
rmagueta
4254d59a96 Create nr_csi_rs_pmi_estimation function for PMI computation (still almost empty) 2022-04-04 20:13:33 +01:00
Mario Hudon
147efc44e1 Merge remote-tracking branch 'oai-eurecom/develop' into NR_UE_thread_improvement_IDCC 2022-04-04 14:51:15 -04:00
Mario Hudon
b98f10b736 - Fixed failing CI tests
- Memory leak
  - Seg fault in dlsim tests
2022-04-04 14:32:27 -04:00
Robert Schmidt
0c431d969f Further tune LTE 2x2 gains 2022-04-04 17:26:00 +02: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
luis_pereira87
29f47c49c1 Fix segmentation fault for NSA 2022-04-04 11:05:52 +01:00
Raphael Defosseux
b7360eee04 fix(ci): when running modems, forcing fast write to stdout and files
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-04 11:47:49 +02: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
Robert Schmidt
ec82ddea38 Don't call calculate_preferred_dl_tda() in do-ra mode
In --do-ra mode, calculate_preferred_dl_tda() would be called without a
BWP. Then, get_searchspace() would search in the scc, leading to a
segfault. Therefore, don't call calculate_preferred_dl_tda() in do-ra
mode.
2022-04-03 19:25:14 +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
francescomani
03510c83b7 Merge remote-tracking branch 'origin/develop' into nr_gold_init_improv 2022-04-03 15:33:30 +02:00
Robert Schmidt
db00707e66 CI scripts: correct asterix USRP IP address 2022-04-02 20:45:43 +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
33d153f132 Merge remote-tracking branch 'origin/develop' into nr_csirs_rrc_harmonization 2022-04-01 19:42:28 +02:00
francescomani
e1e8c167de Merge remote-tracking branch 'origin/develop' into NR_PUCCH_RRC_Resources 2022-04-01 19:21:45 +02:00
Robert Schmidt
bca61ec634 Merge remote-tracking branch 'origin/build_oai_support_on_ubuntu20' into integration_2022_wk13b 2022-04-01 18:40:36 +02:00
Robert Schmidt
5d63a756e6 Merge remote-tracking branch 'origin/fix-initialBWP-procedures' into integration_2022_wk13b 2022-04-01 18:40:30 +02:00
rmagueta
25614263ba Fix build after merge 2022-04-01 16:15:58 +01:00
athanassopoulos
cf30f61e65 Changes to SDAP code
1. Removed SDAP struct from protocol context.
2. Added configuration for the SDAP.
3. SDAP doesn't use pdcp_entities, the values come from function arguements.
4. Make nr_pdcp_ue_manager accessible from SDAP.
5. Avoid using the PDCP locking mechanism in SDAP.
6. Removed nr_pdcp_find_entity_sdap function.
7. Rename dummy eNB function to make GTP compile (no SDAP).
8. Fix: Regression issues with LTE
9. Fix: Regression issues with NR CU/DU
2022-04-01 17:04:08 +02: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
Robert Schmidt
1d4cefb183 Merge remote-tracking branch 'origin/includes-oai_usrpdevif' into integration_2022_wk13b 2022-04-01 13:36:52 +02:00
Robert Schmidt
e8463bd610 Merge remote-tracking branch 'origin/fix-running-modem-in-generic-fedora-container' into integration_2022_wk13b 2022-04-01 13:36:43 +02:00
Robert Schmidt
30f14c7e55 Rename dummy eNB function to make GTP compile in 4G (no SDAP) 2022-04-01 13:35:40 +02:00
athanassopoulos
a826af5839 SDAP Initial Implementation 2022-04-01 13:35:40 +02: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
Robert Schmidt
8eb22e7262 Remove duplicate statements 2022-04-01 11:44:33 +02:00
Thomas Schlichter
729cf143e0 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-04-01 10:28:11 +02:00
Robert Schmidt
e15002c86c Shift correct number of params for build_oai --build-dir 2022-04-01 10:22:48 +02:00
Robert Schmidt
cb5e9d90e4 Create build_oai option to pass cmake params; add boost include dir caracal 2022-04-01 10:22:30 +02:00
Robert Schmidt
5a3eeac5e4 Merge branch 'integration_2022_wk13' into 'develop'
integration_2022_wk13

See merge request oai/openairinterface5g!1510
2022-04-01 07:47:46 +00:00
Robert Schmidt
42a6136683 Correct caracal's USRP IP addresses 2022-04-01 08:28:29 +02:00
Robert Schmidt
1472830d09 Correct include directories for oai_usrpdevif 2022-04-01 08:27:50 +02:00
Manish
790f2802f7 Help Menu and Argument Flag Aligned
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-04-01 03:48:44 +00: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
Raphael Defosseux
87c5007970 fix(container): when running in fedora-generic-kerner container, no setting of priority
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-31 16:26:59 +02:00
Robert Schmidt
d91ed6fa80 Update USRP IP address in CI XML file 2022-03-31 15:10:42 +02:00
Robert Schmidt
120194e5e6 Fix caracal USRP address 2022-03-31 14:16:28 +02:00
francescomani
6e6f9a53a1 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-03-31 10:46:02 +02:00
Raphael Defosseux
2c64a0d757 fix(ci): fix little typo
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-31 10:24:39 +02:00
Raphael Defosseux
c832d42eb4 doc(l2sim): adding a light tutorial for L2 sim + proxy using containers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-31 10:23:43 +02:00
Raphael Defosseux
e0befd2a8f fix(ci): 2 little typos
- The GitLab pipeline reporting for the 5G RF sim container was the same as 4G RF
  - Calling a sudo command without providing password

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-31 10:15:47 +02:00
hardy
100832b111 fix nrmodule2 network interface 2022-03-31 09:26:15 +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
Robert Schmidt
3fd8b17e1a Merge remote-tracking branch 'origin/ci-fixes-mar-2022' into integration_2022_wk13 2022-03-30 18:02:03 +02:00
rmagueta
38d0dca0bf Minor fixes 2022-03-30 17:00:25 +01:00
Mario Hudon
1985393d51 - Fixed NR UE Scope build
- Added a double data buffer in the NR UE Scope to reduce the risk of race condition/data corruption between the Scope thread and the Rx thread
2022-03-30 11:38:53 -04: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
hardy
aca240e9e3 fix ttyUSBx for quectel nrmodule2 2022-03-30 16:56:49 +02:00
Raphael Defosseux
426ded6e31 fix(build): fix warnings on circular dependency
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 16:42:12 +02:00
Raphael Defosseux
a02adbdcb4 feat(ci): mechanism to create multiple unique tags per week
-- In case we do multiple merges per week
  -- Also use the proper week numbering (ISO week number, with Monday as first day of week (01..53))

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 14:09:45 +02:00
Raphael Defosseux
dab954d71d feat(ci): cppcheck stage updates
* using focal instead of xenial (new cppcheck version)
  * detecting the difference in stats with latest develop stats

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 14:09:45 +02:00
Raphael Defosseux
52ead754c0 fix(ci): some little cosmetics fixes
* The quectel CM program output is now redirected to a file. Easier to follow when running
* I added `-i 1` option to all server iperf commands to have details
* module-based iperf logs are also copied to the RAN enb log folder so they are artifacted
* iperf3 console output was badly formatted
* `docker kill --signal INT` does not stop the container

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 14:09:45 +02:00
Raphael Defosseux
4a51762a83 feat(ci): adding automation for 5G NR SA L2 simulator with Proxy
- Adding new templates for nFAPI in gNB and NR-UE images
  - Better entrypoint for NR-UE (alignment on others)
  - New Test method: StatsFromGenObject
  - At deployment, image name, size and date are printed
  - Initial scenario with 1 NR-UE and just ping operations
  - Trigger new child sub-pipeline for L2-sim-5G tests

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 13:57:22 +02:00
Robert Schmidt
73277172f6 Update build_oai -h 2022-03-30 10:52:04 +02:00
Manish
8df0cc3aa9 Compile time flag added for native architecture compilation
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-30 10:52:04 +02: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
Melissa Elkadi
8e90e7415a Merge branch 'eurecom-develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-29 13:41:35 -07:00
Robert Schmidt
69fcab9243 Merge remote-tracking branch 'origin/nr_mimo_precoding_codebook_I' into integration_2022_wk13 2022-03-29 22:09:34 +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
Robert Schmidt
ee9ec777e6 Update libprotobuf-c docker file paths (now installed from package) 2022-03-29 04:22:54 +00:00
Robert Schmidt
8c8f3f8678 Compiling protobuf-c requires protobuf, so add it 2022-03-29 04:22:54 +00:00
Robert Schmidt
df93c43ec4 Add support for Ubuntu 22 2022-03-29 04:22:54 +00:00
Robert Schmidt
255f4f1f40 Fix additional packages for Fedora 35 2022-03-29 04:22:54 +00:00
Robert Schmidt
1fc659331f Stop build_oai after dep installation if no compilation requested 2022-03-29 04:22:54 +00:00
Robert Schmidt
51e3b6c790 Add support for Fedora 35 and add missing gcc/g++ packages (both required) 2022-03-29 04:22:54 +00:00
Robert Schmidt
38e0bacf26 Install protobuf from repository if available 2022-03-29 04:22:54 +00:00
Robert Schmidt
951682821c Remove old Ubuntu releases 2022-03-29 04:22:54 +00:00
Robert Schmidt
a2e7a770c0 Remove unused ssh repository 2022-03-29 04:22:54 +00:00
Robert Schmidt
686bacabbe Do not trap ^C in build_oai, and remove unused bash function 2022-03-29 04:22:54 +00:00
Manish
08c06b96ad install_external_packages.ubuntu20 file removed
native architecture flag removed as compilation happen on diffrent server in CI

Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-29 04:22:54 +00:00
Manish
8f64e6414c Build document updated for compilation on Ubuntu 20 using buil-oai
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-29 04:22:54 +00:00
Manish
a87741ceda Ubuntu 20.04 compilation support added in buil-oai
Compilation flag updated for native architecture

Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-29 04:22:54 +00: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
francescomani
6e48ec9266 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-03-28 18:32:59 +02:00
Robert Schmidt
ab654ac15c Merge remote-tracking branch 'origin/force-256qam-off' into integration_2022_wk13 2022-03-28 17:48:22 +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
Robert Schmidt
404bcf7880 Merge remote-tracking branch 'origin/Bug_Fix_RIV_162_PRBs' into integration_2022_wk13 2022-03-28 14:11:28 +02:00
Robert Schmidt
9070e4a1a1 Merge remote-tracking branch 'origin/develop-2oaiue-doc-update' into integration_2022_wk13 2022-03-28 14:09:19 +02: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
rmagueta
a020c51772 Fix warning after merge 2022-03-28 10:31:50 +01:00
rmagueta
495b3f39c5 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
2022-03-28 10:12:29 +01: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
Robert Schmidt
2c86b745fd Merge branch 'integration_2022_wk12_a' into 'develop'
integration_2022_wk12_a

See merge request oai/openairinterface5g!1503
2022-03-28 08:09:38 +00: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
Robert Schmidt
2a88c61533 Merge remote-tracking branch 'origin/fix_nr_odd_prb' into integration_2022_wk12_a 2022-03-25 19:35:48 +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
Mario Hudon
9ee29c5bfc Merge remote-tracking branch 'oai-eurecom/develop' into NR_UE_thread_improvement_IDCC 2022-03-25 09:53:00 -04:00
Robert Schmidt
bf58c6b475 Merge remote-tracking branch 'origin/fix_rballoc_mask_type' into integration_2022_wk12_a 2022-03-25 08:29:52 +01:00
francescomani
53ae20354d removing wrong sib1_tda in config files 2022-03-25 08:21:25 +01: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
luis_pereira87
ed4cc7c257 Fix segmentation fault when using CU-DU split 2022-03-24 15:37:26 +00:00
rmagueta
6d4bd11903 Merge remote-tracking branch 'origin/fix_rballoc_mask_type' into Dedicated-BWPs 2022-03-24 14:25:19 +00:00
luis_pereira87
9a884af00a Fix rballoc_mask variable type from uint8_t to uint16_t 2022-03-24 14:19:02 +00:00
Robert Schmidt
3d564fb94a Merge remote-tracking branch 'origin/develop-2oaiue-doc-update' into integration_2022_wk12_a 2022-03-24 14:47:27 +01: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
Manish
128bd86f67 OAI UE IP Address Aligned in Readme with New IP Series for OAI UEs
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-24 11:33:19 +00:00
Sakthivel Velumani
f305b486dd Merge branch 'develop' into ldpc-decoder-memory 2022-03-24 17:02:46 +05:30
francescomani
8fbe727b32 Merge remote-tracking branch 'origin/develop' into NR_DL_TBSLBRM 2022-03-24 12:31:38 +01:00
Manish
f6fc820d52 Merge branch 'develop-2oaiue-doc-update' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop-2oaiue-doc-update 2022-03-24 11:13:59 +00:00
Manish
7bdf4f19a7 OAI Database Updated for IMSI and OAI UE Added in Docker Compose.
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-24 11:09:35 +00:00
Manish
154c5d587c Updating the 5G RF simulator tutorial for registration of 2 OAI UE with 5GC
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-24 10:59:19 +00:00
Robert Schmidt
447aeeabea Merge remote-tracking branch 'origin/ci_fix_Ttracer_NSA' into integration_2022_wk12_a 2022-03-24 11:45:03 +01:00
Thomas Schlichter
88c0028757 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-03-24 11:39:22 +01:00
Robert Schmidt
7684803c64 Merge remote-tracking branch 'origin/nr-lc-sched' into integration_2022_wk12_a 2022-03-24 11:34:26 +01:00
Manish
1a60377c56 Updating the 5G RF simulator tutorial for registration of 2 OAI UE with 5GC
Signed-off-by: Manish <Manish1.Kumar@amd.com>
2022-03-24 08:05:53 +00: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
408c9ec7c2 Fix RIV value for 162 PRBs 2022-03-23 22:17:03 +00:00
Mario Hudon
4a00c99ab0 Fixed rebaseline to develop 2022-03-23 17:11:02 -04: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
Melissa Elkadi
3e6f957a63 Several nfapi bug fixes for RX ind and SR ind
The SR ind was not properly being packed and unpacked.
The RX inidcation was not properly being allocated
prior to unpacking.
The freq_shift field was declared as a uint16_t but
push/pulled as a uint8_t.
Added MSG_TRUNC in the nfapi VNF recvfrom.
2022-03-23 10:03:08 -07:00
francescomani
548315ff64 fix memory leaks after merge 2022-03-23 16:22:51 +01: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
af0f4a08ea Merge remote-tracking branch 'origin/develop' into nr_gold_init_improv 2022-03-23 11:02:34 +01:00
francescomani
07d20ba121 fix for memory issues 2022-03-23 09:58:55 +01:00
Melissa Elkadi
f5e143ec78 Removing multiple conf files when running multiple NRUEs 2022-03-22 14:49:23 -07:00
rmagueta
bc7a404629 Move rrc_processing_timer from MAC to RRC 2022-03-22 20:18:23 +00:00
Melissa Elkadi
0df18854fc Merge branch 'eurecom-develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-22 11:52:34 -07: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
Robert Schmidt
de824b7b19 Merge remote-tracking branch 'origin/remove-basic-sim' into integration_2022_wk12_a 2022-03-22 17:42:15 +01:00
Robert Schmidt
3be77c09b5 Change asterix's N310 USRP
Replace the N310. Thus, the management IP address works, and the second
SFP connector can be used.
2022-03-22 17:33:48 +01:00
Mario Hudon
5ec4a94094 Merge remote-tracking branch 'oai-eurecom/develop' into NR_UE_thread_improvement_IDCC 2022-03-22 11:35:22 -04: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
francescomani
12f9dd95eb Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-03-22 09:44:40 +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
luis_pereira87
eb8e4b4999 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	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-03-22 05:47:56 +00:00
Robert Schmidt
35a668740c Merge branch 'integration_2022_wk11' into 'develop'
integration_2022_wk11

See merge request oai/openairinterface5g!1495
2022-03-21 23:39:50 +00: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
Robert Schmidt
937f593028 Merge remote-tracking branch 'origin/develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-21 13:36:38 +01: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
rmagueta
f0f8acb06a Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2022-03-21 10:10:21 +00: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
Robert Schmidt
70265d9c64 Refactor fill_default_secondaryCellGroup(): less parameters 2022-03-18 18:54:57 +01:00
Raymond Knopp
05c07c401f removal of some logs. Temporary suppression of QAM256 for 5G Records testing 2022-03-18 18:51:22 +01:00
Robert Schmidt
e89dfc0243 Refactor RRC: do not duplicate configuration in rrc_gNB_carrier_t 2022-03-18 18:49:09 +01:00
Robert Schmidt
f646b9a57c Add parameter to disable 256 QAM activation 2022-03-18 18:49:09 +01:00
Raphael Defosseux
663ad7df5c fix(ci): typo on bash variable setting
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-18 17:57:53 +01:00
Robert Schmidt
ca303c9fd5 Merge remote-tracking branch 'origin/continuous-tx' into integration_2022_wk11 2022-03-18 16:51:50 +01:00
Robert Schmidt
d3b80b4785 Merge remote-tracking branch 'origin/nr-ue-fixes' into integration_2022_wk11 2022-03-18 16:48:43 +01:00
Robert Schmidt
a530166b45 Merge remote-tracking branch 'origin/fix-legacy-errors-lte' into integration_2022_wk11 2022-03-18 16:43:25 +01:00
Raphael Defosseux
94f8e5b213 fix(ci): tcp_bridge_oai.Rel15.txt is no longer built. That's one less report file
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-18 11:20:17 +01:00
francescomani
256a00af77 default SIB TDA = 1 (and chech to avoid csi-rs overlapping) 2022-03-18 11:10:21 +01:00
Raphael Defosseux
4d4f946a10 fix(ci): properly disabling basic-sim build and test and also the obsolete flexran-rtc
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-18 10:39:58 +01:00
francescomani
85e879b1ea remove call to csirs configuration in SA (not working yet, asn1 encoding fails) 2022-03-18 10:30:12 +01:00
Melissa Elkadi
a5e4cbb971 Merge branch 'episys-throughput-updates-and-downlink-siso-cm' of https://gitlab.eurecom.fr/oai/openairinterface5g into episys-throughput-updates-and-downlink-siso-cm 2022-03-17 12:48:14 -07:00
Melissa Elkadi
91d42fd5ec Fixing memory leaks and hoping to fix num_dci_option bug 2022-03-17 12:44:30 -07:00
luis_pereira87
f439095c6e Fix bug after merge 2022-03-17 18:19:42 +00:00
francescomani
eefc779817 Merge remote-tracking branch 'origin/develop' into nr_gold_init_improv 2022-03-17 18:33:45 +01:00
Robert Schmidt
b1eaa6606b Merge remote-tracking branch 'origin/NR_MIMO_memory' into integration_2022_wk11 2022-03-17 17:45:00 +01: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
Robert Schmidt
57cfd7bc32 Remove basic simulator
The basic simulator can be replaced with the RF simulator. Use option
--rfsim.
2022-03-17 08:25:16 +01:00
francescomani
8ef72fb939 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-03-17 07:51:35 +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
Robert Schmidt
7cbca077e0 Merge remote-tracking branch 'origin/NR_UL_VRB_MAP_improv' into integration_2022_wk11 2022-03-16 23:26:59 +01:00
Robert Schmidt
5be1825361 Merge branch 'integration_2022_wk10' into 'develop'
Integration 2022 wk10

See merge request oai/openairinterface5g!1485
2022-03-16 22:23:07 +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
Robert Schmidt
5a8b235ab4 Fix: make simulators compile 2022-03-16 10:00:43 +01: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
Melissa Elkadi
22f4b083c2 Merge branch 'eurecom-develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-15 08:57:50 -07:00
Melissa Elkadi
2e0d8fd753 Removing TimeDomainAllocationList from conf file
Also updating pdcch_config for SIB1
2022-03-15 08:56:21 -07: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
Robert Schmidt
b0dd17f938 Merge remote-tracking branch 'origin/NR_SR_bugfix' into integration_2022_wk10 2022-03-14 19:11:17 +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
luis_pereira87
9b737d0985 Move ternary operators to outside of functions input parameters 2022-03-14 11:48:09 +00: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
Robert Schmidt
0c5242ea85 Apply review comment 2022-03-11 11:36:07 +00: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
Robert Schmidt
595dd27ab0 Configure only one address for asterix's N310
Deletes the second_addr parameter in all files that also use the
mgmt_addr=192.168.18.240 (asterix's N310).
2022-03-11 09:43:37 +01:00
Sakthivel Velumani
91426a08bd Merge branch 'develop' into ldpc-decoder-memory 2022-03-11 12:39:26 +05:30
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
48cd851cab SA SR bugfix 2022-03-10 18:31:46 +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
Sakthivel Velumani
0c28328986 Fixed merge errors 2022-03-10 15:19:42 +05:30
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
francescomani
ddbc306246 Merge branch 'NR_UL_VRB_MAP_improv' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_UL_VRB_MAP_improv 2022-03-09 14:57:33 +01:00
francescomani
e7508533b6 review fix 2022-03-09 14:57:26 +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
Robert Schmidt
73bd9034aa Use strtok_r() to split strings in gnb_config.c 2022-03-09 14:39:38 +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
Robert Schmidt
b63c7b0e54 Merge remote-tracking branch 'origin/usrp_x400-rebase' into integration_2022_wk10 2022-03-09 10:24:35 +01:00
Robert Schmidt
fd7c9b8819 Merge remote-tracking branch 'origin/doc-fixes' into integration_2022_wk10 2022-03-09 10:23:48 +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
Melissa Elkadi
d1cd5b771b Clean up to nFAPI and error checking UL_TTI_REQ n_pdus
We seprarated out the large if block in the push/pull
of the UL_TTI_REQ fields to make it easier to read
and debug. Furthermore, we add in AsserFatals before
indexing in UL_TTI_REQ PDU list to ensure we are not
indexing past the end of the array.
2022-03-08 07:47:44 -08: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
francescomani
afb4cab5e1 fix dl retransmissions 2022-03-08 14:30:16 +01:00
rmagueta
db0ce84aa5 Fix FAPI for CSI-RS pdu and associated procedures 2022-03-08 13:18:17 +00:00
Raphael Defosseux
05a63b60e5 fix(doc): README does not have anymore the license info
* Also added obsolence messages for the old L2 simulator since 2022.w01 EpiSci merge
  * Added link to their new tutorial

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-08 10:58:31 +01:00
francescomani
deee2a9ca1 Merge remote-tracking branch 'origin/develop' into NR_MIMO_memory 2022-03-08 09:16:18 +01: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
Robert Schmidt
d8209228e7 Hide warning of unused variable
From the comment above the line with the warning:
> This asn1cCalloc leaks memory but also masks a bug.
> If we delete this asn1cCalloc statement, eNB will crash in NSA mode.
> Please don't delete the following line unless the bug has been found
2022-03-07 23:24:50 +01:00
Robert Schmidt
9714877ee0 Merge remote-tracking branch 'origin/remove-NR_UE_PBCH' into integration_2022_wk10 2022-03-07 23:12:49 +01:00
Robert Schmidt
e285b003dc Merge remote-tracking branch 'origin/isolate-lfds' into integration_2022_wk10 2022-03-07 23:11:55 +01:00
Robert Schmidt
ca5f4755ee Merge remote-tracking branch 'origin/F1_sync_configuration' into integration_2022_wk10 2022-03-07 23:08:40 +01:00
Melissa Elkadi
b66d187477 Including more UE conf files for multi-UE tests 2022-03-07 12:00:10 -08:00
Melissa Elkadi
a6049bcddf Relying on mac->ra.ra_state instead of RRC state. 2022-03-07 11:59:23 -08:00
Robert Schmidt
d03a8b387f Set kernel parameters when loading N300 2022-03-07 18:01:03 +01:00
Robert Schmidt
4d9ee5d11c Add X400 to devtype_names, make char* array 2022-03-07 18:01:03 +01:00
Florian Kaltenberger
473328a057 Add support for USRP X400 2022-03-07 18:00:57 +01:00
Thomas Schlichter
e3901a499b call process_CellGroup() after add_new_nr_ue() in gNB_scheduler_ulsch.c
In case of do-ra mode (NSA) the OAI UE needs this, so the gNB correctly establishes the DRB.
2022-03-07 16:22:50 +01:00
Thomas Schlichter
e7500354c1 harmonize RLC and PDCP configurations in nr_DRB_preconfiguration() and fill_default_secondaryCellGroup()
nr_DRB_preconfiguration() is used in phy-test mode by both, OAI UE and gNB, and in all other modes by OAI UE.
Because of inconsistencies, data transfer with OAI UE was only reliably working in phy-test mode.
Ultimately, OAI UE should use nr_DRB_preconfiguration() only in phy-test mode and do proper DRB configuration instead in all other modes!
2022-03-07 16:02:01 +01:00
francescomani
ea984f8c4c using a global definition for the number of nscid for dmrs 2022-03-07 15:51:33 +01:00
Melissa Elkadi
79cc21f6f5 Merge branch 'eurecom-develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-07 06:33:51 -08: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
Thomas Schlichter
05daeb66b4 Merge remote-tracking branch 'origin/develop' into fix_nr_odd_prb 2022-03-07 10:09:51 +01:00
francescomani
1dac24844b Merge remote-tracking branch 'origin/develop' into NR_UL_VRB_MAP_improv 2022-03-07 09:47:19 +01:00
Thomas Schlichter
9378a076ee Merge remote-tracking branch 'origin/develop' into continuous-tx 2022-03-07 09:44:49 +01:00
francescomani
8dfc5d59b4 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-03-07 09:26:08 +01:00
francescomani
4e76491f79 Merge remote-tracking branch 'origin/develop' into nr_csirs_rrc_harmonization 2022-03-07 09:09:17 +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
luis_pereira87
b2316f045e Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-07 01:19:20 +00: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
Robert Schmidt
a981291ba8 Merge branch 'integration_2022_wk09_b' into 'develop'
Integration 2022 wk09 b

See merge request oai/openairinterface5g!1483
2022-03-06 18:14:42 +00:00
Laurent Thomas
939b249ba8 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into remove-NR_UE_PBCH 2022-03-06 15:53:09 +01:00
Laurent Thomas
aa910f52b6 debug after develop merge 2022-03-06 15:52:42 +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
Robert Schmidt
07e6ea7edd Merge remote-tracking branch 'origin/fix-nrofHARQ' into integration_2022_wk09_b 2022-03-05 13:35:06 +01:00
Robert Schmidt
cadbf67f67 Merge remote-tracking branch 'origin/tx-thread-stats-fix' into integration_2022_wk09_b 2022-03-05 13:34:15 +01:00
Robert Schmidt
0220f4a6e9 Merge remote-tracking branch 'origin/NR_RRC_256QAM_DL' into integration_2022_wk09_b 2022-03-05 13:33:18 +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
Robert Schmidt
9ea4b3cdb0 Merge remote-tracking branch 'origin/ci_fix_log_rotation' into integration_2022_wk09_b 2022-03-04 17:55:15 +01:00
francescomani
4fcbdc24a3 Merge remote-tracking branch 'origin/develop' into nr_csirs_rrc_harmonization 2022-03-04 17:50:43 +01:00
Sagar Parsawar
9542973fde OAI UE: Cleanup of prints in PRS channel estimation function 2022-03-04 17:39:57 +01:00
francescomani
d7b117ba25 Merge remote-tracking branch 'origin/develop' into nr_gold_init_improv 2022-03-04 17:24:53 +01:00
luis_pereira87
9f88fe18a3 Creation of get_pdsch_TimeDomainAllocationList function to avoid replicated code 2022-03-04 16:10:45 +00:00
luis_pereira87
078dff03b1 Revert do_SRS to develop version in config files (re-enable SRS) 2022-03-04 15:43:52 +00:00
luis_pereira87
3f0eee5019 Replace module_id by sib1 as input parameter in some functions where only sib1 is required 2022-03-04 15:38:48 +00:00
Sagar Parsawar
76ba0aaa1d PRS config file changes for multiple gNB handling 2022-03-04 16:23:20 +01:00
luis_pereira87
11334aa45f Delete duplicated prototype function (update to develop implementation) 2022-03-04 14:34:26 +00:00
luis_pereira87
0e85b51f76 Creation of get_dl_bwp_genericParameters and get_ul_bwp_genericParameters functions to avoid replicated code 2022-03-04 14:15:58 +00:00
hardy
ce9229a1d2 change log rotation concept for module UE 2022-03-04 14:58:57 +01:00
luis_pereira87
0d92901787 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures 2022-03-04 13:09:44 +00:00
Robert Schmidt
a45bbd4022 Merge branch 'integration_2022_wk09' into 'develop'
Integration 2022 wk09

See merge request oai/openairinterface5g!1477
2022-03-04 12:57:53 +00:00
matzakos
41635fafd7 Remove redundant BWP conf. parameters in CU/DU configuration files 2022-03-04 13:09:06 +01:00
Robert Schmidt
bc2246a566 Remove usage of MSC library after last merge 2022-03-04 09:21:02 +01:00
Melissa Elkadi
7e0757fb48 Addressing MR review comments
- OPENAIR_DIR replaced with AWGN_RESULTS_DIR
- Copying UCI_2_3_4 PDU with rx'd PDU from proxy
- Reverting hacks/whitespace changes
2022-03-03 15:46:54 -08:00
francescomani
f9cebbdebb bugfix for dl_dmrs_config in SA 2022-03-03 18:34:09 +01:00
Robert Schmidt
807e5dd71c Merge remote-tracking branch 'origin/NR_SA_pdu_session_modify_release' into integration_2022_wk09 2022-03-03 18:05:27 +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
francescomani
38ad123714 fix for VRB map occupation for PRACH 2022-03-03 17:50:57 +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
Robert Schmidt
29fa474673 Correctly reconfigure nrofHARQ processes 2022-03-03 16:38:16 +01:00
francescomani
dcb414c38f bugfix for pusch 2022-03-03 13:55:02 +01:00
francescomani
f2314ff6a7 logs 2022-03-03 11:29:06 +01:00
francescomani
e0acdf6d67 missing condition on free nr_mimo_precoding_matrix 2022-03-03 08:59:13 +01:00
rmagueta
35324cfa12 Call nr_generate_csi_rs at UE side too 2022-03-02 18:30:02 +00:00
francescomani
c36c8ccae0 addressing additional review and some wrong allocation 2022-03-02 18:54:35 +01: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
francescomani
647adcd6ce more leaks fixed 2022-03-02 15:48:40 +01:00
hardy
3a55cff770 bugfix indexing for rt stats detection 2022-03-02 15:14:23 +01:00
rmagueta
7fdd7547be Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-03-02 13:14:09 +00:00
francescomani
dcbc60df6b cleanup nr ue phy init 2022-03-02 11:57:01 +01:00
Laurent Thomas
4c62aef755 rebase on develop 2022-03-02 11:26:16 +01:00
francescomani
bc158e4ce4 fixing asan leaks after merge 2022-03-02 11:00:17 +01:00
Thomas Schlichter
d09366c503 NR_UE: correctly scale UL frequency offset (relevant for FDD) 2022-03-02 09:27:16 +01:00
Thomas Schlichter
bf4429196a NR_UE: fix UL retransmission 2022-03-02 09:27:03 +01:00
Robert Schmidt
48f26086d3 Merge remote-tracking branch 'origin/x2-release-req-no-sctp' into integration_2022_wk09 2022-03-01 18:52:52 +01:00
Robert Schmidt
7857522d95 Merge remote-tracking branch 'origin/ci_improve_reporting_xnb' into integration_2022_wk09 2022-03-01 18:52:42 +01:00
Robert Schmidt
d6dc279439 Merge remote-tracking branch 'origin/NR_UE_CSIRS_scheduling' into integration_2022_wk09 2022-03-01 18:52:33 +01:00
Robert Schmidt
6146f44b80 CI: log to see why RT stats checking fails 2022-03-01 18:50:53 +01:00
Robert Schmidt
7683014c80 Fix nr_dlsim 2022-03-01 18:29:46 +01:00
Melissa Elkadi
241f00d170 Adding min_rxtxtime = 6; to NSA gNB conf file 2022-03-01 08:29:27 -08:00
Melissa Elkadi
bf153a2306 Merge branch 'eurecom-develop' into episys-throughput-updates-and-downlink-siso-cm 2022-03-01 07:23:54 -08:00
Melissa Elkadi
7681feee07 Removing "included fixes" from root dir README 2022-03-01 07:23:14 -08: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
43ea92bf8f Merge remote-tracking branch 'origin/develop' into NR_MIMO_memory 2022-03-01 15:08:30 +01:00
francescomani
62f23df256 Merge remote-tracking branch 'origin/develop' into nr_gold_init_improv 2022-03-01 12:15:57 +01:00
francescomani
e443f75d47 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-03-01 11:20:14 +01:00
francescomani
7bda635e03 handling 2-port CSI report at MAC gNB 2022-03-01 10:57:54 +01:00
Robert Schmidt
98a684d157 Tpool: no measurements (no trials) if not measured 2022-03-01 08:57:32 +01:00
Robert Schmidt
261c80d659 Tpool: don't override positive performanceFlag 2022-03-01 08:49:38 +01:00
Robert Schmidt
17a956067a Fix HTML 2022-03-01 08:33:28 +01:00
Robert Schmidt
37e09d1ca8 Merge remote-tracking branch 'origin/NR_SA_10MHz' into integration_2022_wk09 2022-02-28 23:43:10 +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
Robert Schmidt
bf70a3bfb4 Merge branch 'integration_2022_wk08_b' into 'develop'
integration_2022_wk08_b

See merge request oai/openairinterface5g!1469
2022-02-28 20:39:22 +00:00
Laurent Thomas
c8abd3c0bf remove lfds v6, lfds v7 for flexran only 2022-02-28 20:47:27 +01:00
Robert Schmidt
f2ffe3f9b0 Fix CI code 2022-02-28 16:58:11 +01:00
hardy
1fc6d12aef Add retx checkers to make CI test fail on retx thresholds 2022-02-28 16:44:08 +01:00
hardy
8d871c3c3b add Detected UL Failure marker 2022-02-28 16:42:19 +01:00
matzakos
55d59e5f2a Merge remote-tracking branch 'origin/repair-f1-5g' into F1C_extensions_develop 2022-02-28 14:44:01 +01:00
Robert Schmidt
63dea20c64 Address review comments 2022-02-28 14:35:18 +01:00
Thomas Schlichter
cf5dafe74e use only one memcpy() in case "start_re + nb_re == ofdm_symbol_size" in nr_ulsch_demodulation.c and nr_dlsch_demodulation.c 2022-02-28 14:14:01 +01:00
Robert Schmidt
d90f9d8d6f CI: show correct Tx Processing in HTML, add processing count number 2022-02-28 14:13:01 +01:00
Thomas Schlichter
49196f3c91 NR_UE: fix nr_dlsch_extract_rbs_single() for start_rb > nb_rb_pdsch/2 2022-02-28 14:08:45 +01:00
matzakos
368819310d Synchronize config files of CU/DU with the ones of the CI 2022-02-28 10:14:29 +01:00
Robert Schmidt
2adf56b08a Lower logging in handle_nr_ulsch() 2022-02-26 16:10:03 +01:00
Robert Schmidt
6d165912f5 Merge remote-tracking branch 'origin/episys-ul-info-cleanup' into integration_2022_wk08_b 2022-02-26 16:10:03 +01:00
Robert Schmidt
b8511d511d fix 2022-02-26 00:05:36 +01:00
Robert Schmidt
2736d0fe16 Merge remote-tracking branch 'origin/repair-f1-5g' into integration_2022_wk08_b 2022-02-25 23:54:04 +01:00
Robert Schmidt
48df6e0ebb Merge remote-tracking branch 'origin/ci_run_sanitize_and_debug' into integration_2022_wk08_b 2022-02-25 23:53:40 +01:00
Robert Schmidt
17675e5989 Merge remote-tracking branch 'origin/fix-Nid_cell-different_from_0' into integration_2022_wk08_b 2022-02-25 23:37:38 +01:00
Robert Schmidt
af0048c86c Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-w08' into integration_2022_wk08_b 2022-02-25 23:37:29 +01:00
francescomani
588e013d2d fix physim compilation 2022-02-25 18:23:39 +01:00
Robert Schmidt
823aaa70dd Fix warning in lte UE scope and ocp-enb 2022-02-25 18:06:04 +01:00
Robert Schmidt
26d0d65747 get execution time_stats_t from Tpool job 2022-02-25 17:55:27 +01:00
Robert Schmidt
211b6feadf Use (portable) rdtsc_oai() in tpool 2022-02-25 17:55:27 +01:00
Robert Schmidt
c6ac88ffa6 Remove deprecated ocp-gnb 2022-02-25 17:55:27 +01:00
Robert Schmidt
cf815ffbce Fix compilation error in ocp-enb 2022-02-25 17:55:27 +01:00
Robert Schmidt
7d70d45d13 Remove dead code 2022-02-25 17:27:02 +01:00
Robert Schmidt
8419166fc4 Move time_meas.{c,h} to common/utils/ 2022-02-25 17:27:02 +01:00
Robert Schmidt
9ead3d7ad2 Clean up CMakeLists.txt (no functional changes) 2022-02-25 17:27:02 +01:00
Robert Schmidt
76d609f7fa Delete unused code 2022-02-25 17:27:02 +01:00
Robert Schmidt
d20ff45fc6 Remove logging module dependency from Tpool 2022-02-25 17:22:02 +01:00
Robert Schmidt
b742717fb8 Remove timing functions from logging module 2022-02-25 17:22:01 +01:00
Robert Schmidt
a0ac75a45b Delete unused files 2022-02-25 17:21:17 +01:00
Robert Schmidt
8a43a0306f fix nr_ulsim 2022-02-25 17:21:17 +01:00
Robert Schmidt
b9b2eb007a Fix for nr_dlsim 2022-02-25 17:21:17 +01:00
Sakthivel Velumani
57c480a8a3 Merged the two thread stats into a global one 2022-02-25 17:21:17 +01:00
Sakthivel Velumani
866311ac15 enabled second tx thread stats 2022-02-25 17:21:17 +01:00
francescomani
15565c9659 gold init improvement at ue for pusch 2022-02-25 14:49:31 +01:00
Thomas Schlichter
34ab52b6c3 fix scrambling initialization in nr_dlsim and nr_ulsim 2022-02-25 13:35:50 +01:00
Thomas Schlichter
05d61a0828 fix scrambling initialization in nr_dlsim and nr_ulsim 2022-02-25 12:57:17 +01:00
Thomas Schlichter
8cfb8b6a3b Fix correlation calculation in nr_dlsch_channel_compensation() 2022-02-25 12:40:50 +01:00
francescomani
b9ae5db874 gold init improvement at ue for dl channels 2022-02-25 12:09:42 +01:00
francescomani
e96bb10289 improving also pusch dmrs init 2022-02-25 10:05:14 +01:00
Thomas Schlichter
2655748b69 NR_UE: fix nr_pdcch_extract_rbs_single() for odd number od PDCCH RBs 2022-02-25 09:35:44 +01:00
Thomas Schlichter
d0beb9796c NR_UE: fix nr_pdcch_channel_estimation() for odd number of PDCCH RBs 2022-02-25 09:35:44 +01:00
Thomas Schlichter
c7ca405199 gNB: fix nr_generate_pdsch() for odd number of PDSCH RBs 2022-02-25 09:35:44 +01:00
Thomas Schlichter
4d90aad48f NR_UE: fix nr_dlsch_extract_rbs_single() for odd number of PDSCH RBs 2022-02-25 09:35:44 +01:00
Melissa Elkadi
7aed0b6e76 These changes should not be checked in or merged to develop 2022-02-24 16:01:51 -08:00
Melissa Elkadi
2b1cc455b0 Merge branch 'episys-ul-info-cleanup' into episys/master-sa 2022-02-24 15:48:43 -08:00
Melissa
da63c3f69a Merge branch 'episys/mel/debug-thorughput-new-sa-master' into 'episys/master-sa'
Properly sending DL ACK/nACKs

See merge request aburger/openairinterface5g!113
2022-02-24 23:07:26 +00:00
Melissa Elkadi
ce12e8270b Code clean up 2022-02-24 14:58:50 -08:00
Mario Hudon
2e4c90dd56 Merge remote-tracking branch 'develop' into NR_UE_thread_improvement_IDCC 2022-02-24 17:24:58 -05:00
Mario Hudon
c918e76f74 Complete NR_UE_PDCCH global variable/structure cleanup 2022-02-24 15:28:50 -05:00
Robert Schmidt
8b526c3cb7 Address review comment 2022-02-24 20:52:43 +01:00
francescomani
5846a9b832 checking if csi_MeasConfig was already allocated 2022-02-24 18:51:07 +01:00
Melissa Elkadi
13401a5f8c Comments from OAI:
This commit include dynamically setting the slots_per_frame
value based on configuration. It also includes some comments.
Lastly, simplified bug fix in MAC layer related to sched_frame
calculation.
2022-02-24 09:49:47 -08:00
Melissa Elkadi
5f7f56f056 Added a comment to justify pdu_len checks in gNB 2022-02-24 09:03:00 -08:00
francescomani
50d4d3e8aa addressing review comments 2022-02-24 17:05:59 +01:00
francescomani
ba92e37407 re-initialization of gold sequences at gnb if needed according to fapi messages 2022-02-24 16:25:12 +01:00
Sagar Parsawar
0286752f33 Adding FR2 66PRB working config, tested in RFSim 2022-02-24 16:10:52 +01:00
Panos Matzakos
1858418fb8 Update TESTING_5GSA_setup.md for CU/DU instructions 2022-02-24 14:57:11 +00:00
Robert Schmidt
f19ea82f8e Drop an sgNB release request if no SCTP endpoint available 2022-02-24 12:54:04 +01:00
Melissa Elkadi
0165ffd160 Merge branch 'episys/master-sa' into episys/mel/debug-thorughput-new-sa-master 2022-02-23 15:55:06 -08:00
Melissa
817fc792e8 Merge branch 'episys/david/updating_channel_info_with_msg_id' into 'episys/master-sa'
Using message_id to identify channel info.

See merge request aburger/openairinterface5g!114
2022-02-23 22:59:45 +00:00
Deokseong "David" Kim
bfebc0cb18 Using message_id to identify channel info. 2022-02-23 22:59:45 +00:00
Robert Schmidt
61e608adb5 Support reconfiguration of number of HARQ processes
In F1, the time until the serving cell config comes from CU can be
longer than when we want to schedule a particular UE. Then, if we don't
configure the default number of HARQ processes, we can have a segfault.

In this commit, we initially configure 8 HARQ processes. When we get the
right number from RRC, we reconfigure.
2022-02-23 21:54:03 +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
Robert Schmidt
048b539050 Correctly initialize PDCP in F1 mode 2022-02-23 21:21:54 +01:00
Laurent THOMAS
f4c39e9dd3 Merge branch 'fix-legacy-errors-lte' of https://gitlab.eurecom.fr/oai/openairinterface5g into fix-legacy-errors-lte 2022-02-23 20:59:04 +01:00
Laurent THOMAS
db1cc4cf5f better variable name 2022-02-23 20:37:30 +01: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
Laurent THOMAS
a4216b44ef ue sync, assert in wrong PUCCH decoded values 2022-02-23 18:43:47 +01:00
Laurent THOMAS
22d2e9a38f fix warnings and race cond in polar codec 2022-02-23 18:02:55 +01:00
Melissa Elkadi
4398630da7 Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-23 08:55:10 -08:00
Laurent THOMAS
11441023db fix polar race condition 2022-02-23 17:19:02 +01:00
rmagueta
5bae6dd6f3 Add missing fiels in fapi_nr_dl_config_csirs_pdu_rel15_t 2022-02-23 16:11:13 +00:00
Robert Schmidt
ae803b5370 Prevent heap buffer overflow in nr_dlsch_channel_compensation()
The TX correlation calculation incremented the pointer over the outer
TX antenna inside the inner TX antenna loop.  Incrementing the pointer
in the outer loop instead prevents overflowing.
2022-02-23 16:58:25 +01:00
francescomani
d4ce30c54d additional review fixes 2022-02-23 16:52:13 +01:00
rmagueta
3ae8f393f4 Add logs in nr_generate_csi_rs 2022-02-23 15:05:02 +00:00
rmagueta
41976e7653 Fix build after merge 2022-02-23 16:04:00 +01:00
francescomani
74a01ca46a Merge remote-tracking branch 'origin/develop' into nr_csirs_rrc_harmonization 2022-02-23 16:03:54 +01:00
francescomani
17dc227c3b Merge remote-tracking branch 'origin/develop' into NR_MIMO_memory 2022-02-23 15:20:22 +01:00
rmagueta
4d17364142 Fix build warnings 2022-02-23 14:16:58 +00:00
francescomani
5c56bb21ce Merge remote-tracking branch 'origin/develop' into NR_SA_10MHz 2022-02-23 15:08:52 +01:00
francescomani
ddfb131f68 Merge remote-tracking branch 'origin/develop' into NR_UE_CSIRS_scheduling 2022-02-23 14:55:33 +01: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
francescomani
4c8c11d9db Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-02-23 13:53:11 +01:00
luis_pereira87
dc4a82934d Fixes after merge 2022-02-23 11:53:57 +00:00
luis_pereira87
47fc4750e1 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.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-23 11:34:37 +00:00
Robert Schmidt
34edc9c04c Increase CI physim time limit 2022-02-23 12:33:23 +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
Robert Schmidt
f9079f1d2b Do not do RLC Ind if no data for LC 2022-02-23 10:15:53 +01:00
Robert Schmidt
06236ff796 Consider fixed MAC overhead while no RLC PDU number 2022-02-23 10:15:53 +01:00
Robert Schmidt
79591741e1 Fixup: do not abort scheduling when UE has no CCE 2022-02-23 10:15:53 +01:00
Guido Casati
f8d6677d4d Adapted phytest scheduler to multiple LCs scheduling logic 2022-02-23 10:15:53 +01:00
Guido Casati
0df80e648a Replaced lcid_mask with arrays logic
- this will be later used to prioritise the LCs
2022-02-23 10:15:50 +01:00
Guido Casati
68471d0525 Extending DL scheduling to multiple LCIDs 2022-02-23 10:11:27 +01:00
francescomani
c61a0dd223 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-02-23 10:11:04 +01:00
Robert Schmidt
6fbfa3b066 Merge branch 'integration_2022_wk08' into 'develop'
Integration 2022 wk08

See merge request oai/openairinterface5g!1459
2022-02-23 07:19:58 +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
Robert Schmidt
70ba0cda0e Free rx_ind if dl_indication not called 2022-02-22 19:42:50 +01:00
Robert Schmidt
7b73a9e14e Build phy sims with optimizations
As of this commit, the CI would take too much time to process dl_sim.
This commit activate optimizations to be within the CI time limits.
2022-02-22 19:33:49 +01:00
rmagueta
cf284d76f0 Fix build after merge 2022-02-22 17:49:59 +00:00
Laurent THOMAS
efcac39c76 simplify polar codec interface 2022-02-22 18:30:44 +01:00
Melissa Elkadi
abbcbe6aa5 Adding fixes for MR from review
These include:
- Simplifying VNF code.
- Adding comments to several areas of the code.
- Using free_and_zero macros
- Fixing spelling errors
2022-02-22 09:16:59 -08:00
francescomani
774b750cb1 fix for mimo dlsim 2022-02-22 17:27:42 +01: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
francescomani
c3d0d6d82a addressing review comments 2022-02-22 14:39:04 +01: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
francescomani
edb32cad99 fix in config_csirs 2022-02-22 13:37:39 +01:00
hardy
4a060892d2 fix NSA T tracer file copy 2022-02-22 13:24:58 +01:00
francescomani
69baaa6998 Merge remote-tracking branch 'origin/develop' into NR_MIMO_memory 2022-02-22 11:21:59 +01: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
Robert Schmidt
04e2d4f6f8 Fix polar encoder memory leaks 2022-02-21 22:38:22 +01:00
Robert Schmidt
ec00d84299 Prevent memory leak of rx_ind message 2022-02-21 22:35:22 +01:00
rmagueta
777074ff79 Implementation of fill_default_csi_MeasConfig 2022-02-21 20:23:27 +00:00
Robert Schmidt
9656d646db reallocarray -> realloc since CI env has no reallocarray 2022-02-21 20:08:42 +01:00
Robert Schmidt
27aa036f0e Merge remote-tracking branch 'origin/iqreplay_bugfix' into integration_2022_wk08 2022-02-21 20:07:21 +01:00
Robert Schmidt
a5fd5c3e6b Merge remote-tracking branch 'origin/multiple-ues-min-prbs-bug-fix' into integration_2022_wk08 2022-02-21 20:06:55 +01:00
Robert Schmidt
d5280c679f Merge remote-tracking branch 'origin/ci-improve-rfsim-test' into integration_2022_wk08 2022-02-21 20:05:03 +01:00
Robert Schmidt
719f82870d Don't redirect stack trace to file 2022-02-21 19:47:14 +01:00
Robert Schmidt
b112282e2b Suppress warning, print stacktrace to stdout 2022-02-21 19:42:45 +01:00
rmagueta
d820051397 Update config files 2022-02-21 17:46:02 +00:00
francescomani
4fbf9ea10e fix for 2 antenna ports 2022-02-21 18:35:08 +01:00
Raphael Defosseux
8981b53f83 fix(ci): changes after code review.
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:39:38 +01:00
Raphael Defosseux
4c76eb6c00 fix(ci): display state of container even when successful
recover the full MAGMA-MME log

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01:00
Raphael Defosseux
519dea7780 fix(ci): correct services in scenario files
fix(doc): updated the Tutorial with only MAGMA-MME references and logs

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01:00
Raphael Defosseux
2728ce02c8 feat(ci): switching from OAI-MME to MAGMA-MME for RF sim testing
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01:00
Raphael Defosseux
0b7be7466e fix(ci): display state of container when failure, better tshark filtering, auto-undeploy if deploy went wrong
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01: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
francescomani
77c8439ba3 remoing unused parameter 2022-02-21 15:24:17 +01:00
Melissa Elkadi
7fb509511d Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-21 06:19:54 -08:00
francescomani
30f6210932 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-02-21 15:16:39 +01:00
Laurent THOMAS
9aba6d722b fix bugs in polar encode, when len+crc_len>64 2022-02-21 13:37:32 +01:00
Thomas Schlichter
e8278de15c fix for 5G NR UL transform precoding
get_index_for_dmrs_lowpapr_seq() was accessing the array dmrs_ul_allocated_res[] out of bounds.
2022-02-21 13:37:32 +01:00
Robert Schmidt
0ad3faaf2a Disable ASAN on ulsim 2022-02-21 13:37:32 +01:00
Robert Schmidt
32824030f4 Fix cmake command target CMakeLists.txt 2022-02-21 13:37:32 +01:00
Robert Schmidt
f51590b546 Don't leak check in {nr_,}{d,u}lsim, fix buffer overflows in dlsim 2022-02-21 13:37:32 +01:00
Robert Schmidt
990385eea0 Move CMake macro definitions to separate file 2022-02-21 13:37:32 +01:00
Robert Schmidt
52fdca3141 Do not create CMakeLists.txt; new build_oai option -d 2022-02-21 13:37:30 +01:00
Robert Schmidt
cdea2899bc Remove memory leaks from ldpctest
except for:
- config module
2022-02-21 13:36:41 +01:00
Robert Schmidt
fe61216a66 Correctly free memory in nr_pbchsim
Except for:
- polar code
2022-02-21 13:36:41 +01:00
Robert Schmidt
3f4fa05c74 nr_pucchsim: correctly free SR PDU 2022-02-21 13:36:41 +01:00
Robert Schmidt
d601209036 Fix nr_ulschsim: correct size for N_RB_UL 2022-02-21 13:36:41 +01:00
Robert Schmidt
2251453cbd Fix nr_dlschsim: correct size for N_RB_DL
Fix warning, drop undefined function
2022-02-21 13:36:41 +01:00
Robert Schmidt
65c6456472 Resolve buffer overflows polartest 2022-02-21 13:36:41 +01:00
Laurent THOMAS
3e2c9af134 with polar structures delete and better cpu performance 2022-02-21 13:36:41 +01:00
Laurent THOMAS
be314a9770 remove usage of undefined var in polar and memory leaks 2022-02-21 13:36:41 +01:00
Robert Schmidt
51625f3c8f Resolve memory issues in nr_prachsim
Except for config module and dlopen()
2022-02-21 13:36:41 +01:00
Robert Schmidt
dcae857463 Fix memory problems in nr_pucchsim
except:
- from dlopen()
- from configuration module
- uninitialized value
2022-02-21 13:36:41 +01:00
Robert Schmidt
81537701b2 Fix: channel chF large enough for 5G 2022-02-21 13:36:39 +01:00
Robert Schmidt
b4dbf46dde Provide term_freq_channel() to free memory in abstraction.c 2022-02-21 13:35:36 +01:00
Robert Schmidt
32c7795aad Fixes for 0bdb1b9f402c5315a591b1fbc4310dbc62fc820d 2022-02-21 13:35:36 +01:00
Robert Schmidt
0827b2f5b8 Fix leaks & unitialized memory in nr_ulschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt
399e6d78f7 new_nr_ue_ulsch(): no abstraction_flag, add term_nr_ue_transport() 2022-02-21 13:35:35 +01:00
Robert Schmidt
20a8704c98 unitialized jump dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt
e66e9eef7d UL Ref Sig Seq: initialize only once, free and reset to NULL 2022-02-21 13:35:35 +01:00
Robert Schmidt
7638e65379 Free memory in nr_dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt
338019601c new_nr_ue_dlsch(): remove abstraction_flag 2022-02-21 13:35:35 +01:00
Robert Schmidt
20e13db86b Implement logTerm() to close logging subsystem 2022-02-21 13:35:35 +01:00
Robert Schmidt
d2523bfa44 Remove unused SI and RA DLSCH from nr_dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt
efd62d14a7 Implement term_nr_ue_signal(), remove abstraction_flag from init_nr_ue_signal()
term_nr_ue_signal() frees all memory, except for dfts lib load
2022-02-21 13:35:34 +01:00
Robert Schmidt
5794c07c94 Correctly implement phy_free_nr_gNB()
Frees all allocated memory, except for library loading related, and ul
reference signal sequences, which are allocated in static variables
2022-02-21 13:34:40 +01:00
Laurent THOMAS
06dd706df7 fix undefined vars in pbchsim.c 2022-02-21 13:34:40 +01:00
Robert Schmidt
331575ebab Fix memory leaks in nr_ulschsim 2022-02-21 13:34:40 +01:00
Robert Schmidt
136cc93aa9 Fix memory leaks in nr_dlschsim 2022-02-21 13:34:40 +01:00
Robert Schmidt
ac0af5a84e Fix shlib loaded: free memory, handle lib reload
- introduce loader_reset() that frees all memory
- resolve memory leak in loader_format_shlibpath()
- correctly handle library reload: check if a function has been
  retrieved already. Don't leak memory (strdup()), and handle multiple
  reloads of different functions from the same SO
2022-02-21 13:34:40 +01:00
Robert Schmidt
923edebd3c Enable Address Sanitizer on physical simulators
- install libasan in physim containers
- run physim containers with SYS_CAP_PTRACE capability
- remove static-libasan: not available in RHEL8:

  The physims are tested in a container environment on top of RHEL8. To
  my knowledge, no package provides the static ASan library there.
  Therefore, remove it here to be able to run these tests.
2022-02-21 13:34:39 +01:00
Sakthivel Velumani
f6e25c0e15 code cleanup ldpctest.c 2022-02-21 16:41:18 +05:30
luis_pereira87
fb6936fe27 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
#	openair2/RRC/NR/rrc_gNB.c
2022-02-21 11:00:27 +00: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
Sakthivel Velumani
f448f8021f removed init function 2022-02-21 15:28:38 +05:30
Sakthivel Velumani
9b4a7526ad Fix incorrect merge 2022-02-21 15:26:00 +05:30
francescomani
d12eb8efc4 Merge remote-tracking branch 'origin/develop' into NR_UL_VRB_MAP_improv 2022-02-21 10:38:23 +01:00
Laurent Thomas
7ee3bacc34 Merge branch 'integration_2022_wk08' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2022_wk08 2022-02-21 10:29:30 +01:00
Laurent Thomas
67b299e341 fix a warning in assertions.h, appear only with some gcc versions 2022-02-21 10:29:06 +01:00
francescomani
ec539fc6a5 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-02-21 10:02:30 +01:00
francescomani
7bb7c4d290 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-02-21 09:24:07 +01:00
Sakthivel Velumani
1c49caddc8 Merge branch 'develop' into ldpc-decoder-memory 2022-02-21 13:53:06 +05:30
francescomani
3b7430a745 Merge remote-tracking branch 'origin/develop' into NR_SA_10MHz 2022-02-21 09:12:21 +01:00
Robert Schmidt
86c4882245 Merge remote-tracking branch 'origin/NR_2port_CSIRS' into integration_2022_wk08 2022-02-20 19:48:34 +01:00
Cedric Roux
78f0c8ff29 nr rlc: harmonize computation of sn_count
Functions generate_missing() and missing_size() had different
computations of sn_count. Not sure if it is a problem or not,
but let's do the same in both functions.

Hopefully the computation is correct.
2022-02-20 16:00:54 +01:00
Cedric Roux
7c652df820 nr rlc: bugfix - so_end was used instead of sn_end 2022-02-20 15:56:56 +01:00
Robert Schmidt
72a4ed80da Merge remote-tracking branch 'origin/msc-removal' into integration_2022_wk08 2022-02-19 19:43:11 +01:00
Robert Schmidt
21f862641c Merge remote-tracking branch 'origin/cleanup-20220125' into integration_2022_wk08 2022-02-19 19:34:01 +01:00
Robert Schmidt
454aae1d96 Merge branch 'integration_2022_wk07_c' into 'develop'
integration_2022_wk07_c

See merge request oai/openairinterface5g!1451

This merges the following MRs:
- MR !1436 fairRR LTE scheduler fixes: should make the connection more stable, less UL retransmissions
- MR !1386 phy sync improvements: the 5G NR UE should sync better
- MR !1361 FDD support (no traffic): adds FDD support for the scheduler, but heavy traffic has not been tested
- MR !1447 using uid for PUCCH RRC conf: use the RRC UID to decide on PUCCH resources, should in particular avoid the "PUCCH straddles DC carrier" assert
- fix for 5G F1 RFsim test fail
2022-02-19 16:28:53 +00: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
Melissa Elkadi
ca336ea917 Fixing comments from MR review. 2022-02-18 10:27:34 -08:00
Melissa Elkadi
221e8402cc Fixing spacing in lines were already changing 2022-02-18 10:14:16 -08:00
Melissa Elkadi
b2e2a6bc2e Changing UL_INFO naming convention to be normal 2022-02-18 10:08:44 -08:00
Melissa Elkadi
0db8f80f73 Removing invalid log 2022-02-18 09:58:26 -08:00
Melissa Elkadi
b7c767147e Hacks with comments are added in this commit.
These allow the NRUE to reach roughtly 15-25 Mbps
with ~20%-34% packetloss without crashing.
2022-02-18 09:48:38 -08:00
Francois TABURET
cffb27b086 Update iqrecordplayer_usage.md 2022-02-18 17:46:08 +00:00
alblf
3d577aa0fc doc update 2022-02-18 18:40:56 +01:00
Melissa Elkadi
bf3d7959bd Comment for #define _GNU_SOURCE 2022-02-18 09:39:06 -08:00
francescomani
c4547c7afd fixing wrong interpretation of support for 256qam table 2022-02-18 18:38:51 +01:00
Melissa Elkadi
cc22ec9978 Calling scheduler before handling DCI to ensure nbits are set
Previously, we thought the memset in the nr_ue_dl_indication()
was causing issues / exposing a race. This is not the case. The
memset is not problematic, the issue is that in the emulate_l1
mode we were not always configuring the DCI nbits before handling
the DCI when we are pushing high (15 Mbps) throughput traffic.
2022-02-18 09:29:00 -08:00
alblf
a1aae82925 Fix duplicated memory allocation when replaying using mmap,
add use_mmap parameter for the record player device
fix assertion when replaying without using mmap
2022-02-18 18:22:14 +01:00
Laurent THOMAS
dca9be3c33 code review comments (incl. actual bugs) 2022-02-18 16:10:10 +01:00
francescomani
d0228cf18a Merge branch 'NR_2port_CSIRS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_2port_CSIRS 2022-02-18 13:39:02 +01:00
francescomani
0a59bffbb1 fix phy-test check 2022-02-18 13:38:45 +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
Robert Schmidt
6569fd7614 Do not prematurely overwrite scheduler information
Overwriting sched_pusch information at that stage would in particular
lose information on the current frame/slot. Overwriting sched_pusch with
the retInfo structure is already done at the end of
allocate_ul_retransmission(), and is therefore not necessary at this
stage.
2022-02-18 12:52:59 +01:00
Robert Schmidt
9b302d0432 Fix DU default config, increase 5G F1 RFsim throughput requirements 2022-02-18 12:20:06 +01:00
Robert Schmidt
63989e8a69 Fix for F1 RFsim fail
We compute the preferred DL TDAs when receiving the cellGroup from the
RRC. However, in F1 and the RFsim, it seems that the scheduler tries to
access the preferred DL TDAs before they have been set after receiving
the cellGroup. In this commit, add a simple check to verify the
preferred TDA has been set up.
2022-02-18 12:16:08 +01:00
francescomani
2cc96f5025 log level fix for ptrs in dlsim 2022-02-18 11:11:48 +01:00
hardy
58e0e33327 test T_stdout 2 for NSA 2022-02-18 11:06:08 +01:00
francescomani
9eb1137b54 fix for scc/scc_SIB at UE 2022-02-18 10:14:52 +01:00
Laurent THOMAS
39dd02aeef Merge branch 'remove-NR_UE_PBCH' of https://gitlab.eurecom.fr/oai/openairinterface5g into remove-NR_UE_PBCH 2022-02-18 09:41:43 +01:00
Laurent THOMAS
8e3f720b7d fix unaligned mem for SIMD 2022-02-18 09:41:18 +01:00
Laurent THOMAS
18a421578f finish remove global vars for UE PBCH 2022-02-18 09:41:18 +01:00
Laurent THOMAS
53001d0d10 remove-NR_UE_PBCH scope to finish 2022-02-18 09:41:18 +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
Melissa Elkadi
a21fb77dd1 Added comment to justify uci_size condition
Also, properly filling the CCE index and Agg level
in the stub function when we get the DCI from
nfapi
2022-02-17 10:25:28 -08: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
Melissa Elkadi
2208abfedd Modifying change to MAC layer
Instead of conditionally calling the pucch_scheduler
we now only call the functions we need from the stub
function directly. This is better because we are not
modifying the OAI MAC layer code and ensuring that we
are not calling the pucch_scheduler twice for the same
sfn/slot
2022-02-17 08:48:26 -08:00
francescomani
9f02206b8a error message if no uecap in fill_default_secondaryCellGroup 2022-02-17 17:43:24 +01:00
rmagueta
d1e7dead00 Fix the removal of unused BWPs 2022-02-17 14:14:50 +00:00
Robert Schmidt
e890cee31c Reduce max_num_ue after successful PUCCH alloc 2022-02-17 13:58:27 +01:00
Robert Schmidt
fd40aa2666 Make nr_find_nb_rb() take minimum RBsize
Fixes a bug when scheduling multiple UEs
2022-02-17 13:58:24 +01:00
rmagueta
95a0271779 Fix warning 2022-02-17 10:22:28 +00:00
francescomani
ba27a01827 fix dlschsim 2022-02-17 10:43:37 +01:00
francescomani
bcbafdf094 fix for ulprbbl memcpy 2022-02-17 10:31:16 +01:00
francescomani
77153fbf5f TBSLBRM for DL computed ad MAC (added fapi parameter) 2022-02-17 10:16:22 +01:00
Robert Schmidt
ff0fb53056 Merge remote-tracking branch 'origin/nr-fdd-scheduling' into integration_2022_wk07_c 2022-02-17 09:32:44 +01:00
Robert Schmidt
b97d26cb86 Merge remote-tracking branch 'origin/NR_SA_UID' into integration_2022_wk07_c 2022-02-17 09:02:16 +01:00
Melissa Elkadi
5637b62ed8 Return in gNB if pdu_len is less than cast length
This is what we did in the NRUE for NSA mode
2022-02-16 16:26:41 -08:00
Melissa Elkadi
c917352dd2 Resolving issues in MR:
Adding error checking before indexing in mac layer harq array
Adding error checking before writing ul_harq_sfn_slot
Added comments
Made a "static" free_uci_inds() actually static
2022-02-16 16:11:19 -08:00
Melissa Elkadi
e5ddd558ad Fixing spacing in nfapi code 2022-02-16 15:13:26 -08:00
Melissa Elkadi
3c925942a9 Getting rid of pthread warning with GNU_SOURCE 2022-02-16 13:18:32 -08:00
Melissa Elkadi
10d0f13ceb Revert "Getting rid of pthread warning and fixing nfapi"
This reverts commit 9a78b58927.
2022-02-16 13:15:15 -08:00
Melissa Elkadi
9a78b58927 Getting rid of pthread warning and fixing nfapi
The nfapi code releases dl_ttis and tx_data_reqs
if the buffer has data in it. In the proxy code we
overwrite this instead of dropping the packet.
2022-02-16 13:12:12 -08: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
hardy
d8dccbad59 update of sa tests requirements aligned with 256qam 2022-02-16 17:14:01 +01: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
Laurent THOMAS
d1c2eb03db Merge branch 'fix-legacy-errors-lte' of https://gitlab.eurecom.fr/oai/openairinterface5g into fix-legacy-errors-lte 2022-02-16 15:11:18 +01:00
Laurent THOMAS
2ea133ffa4 ue sync, assert in wrong PUCCH decoded values 2022-02-16 15:04:15 +01:00
Laurent THOMAS
96f2b4e2f3 fix unaligned mem for SIMD 2022-02-16 14:49:19 +01:00
francescomani
8c1ed65c1f Merge remote-tracking branch 'origin/develop' into NR_MIMO_memory 2022-02-16 13:46:54 +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
hardy
298008677c fix rfsim test + update html reporting 2022-02-16 12:27:03 +01: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
83cd94cf6a dynamic selection of codewords for DL init 2022-02-16 11:18:15 +01:00
Robert Schmidt
9a7154f3d4 Merge remote-tracking branch 'origin/fairRR-sched-debug' into integration_2022_wk07_c 2022-02-16 10:34:36 +01:00
Robert Schmidt
cfa3b0caf0 Merge remote-tracking branch 'origin/ue-phy-sync-improvements' into integration_2022_wk07_c 2022-02-16 10:08:59 +01:00
hardy
87a840c5b5 fix bash script syntax error, preventing test from running 2022-02-16 09:48:29 +01:00
francescomani
cdaaece997 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-02-16 08:33:12 +01:00
francescomani
b7408c842a modifying the 24PRB CI test case 2022-02-16 08:27:54 +01:00
hardy
a9844b773c add rfsim sa test 24PRB 2022-02-16 08:16:43 +01:00
rmagueta
9691946845 Fix Nid_cell in PUSCH dmrs and scrambling 2022-02-16 00:52:57 +00:00
Melissa Elkadi
679816c3c1 Added comment around asn1cCalloc memory leak 2022-02-15 15:05:04 -08:00
Robert Schmidt
af6836d9f1 Merge branch 'integration_2022_wk07_b' into 'develop'
integration_2022_wk07_b

See merge request oai/openairinterface5g!1448
2022-02-15 21:18:48 +00:00
rmagueta
ff8c47d3aa Fix scramblingID and gold sequence for PDCCH and PDSCH 2022-02-15 17:04:50 +00:00
Laurent THOMAS
6054d3aecc finish remove global vars for UE PBCH 2022-02-15 17:44:24 +01:00
Melissa Elkadi
39d9febc0c Hardcoding TI and UL_CQI in stub function.
Also, the allocation of the eNB measurement
report keeps getting commented out becasue
the compiler throws an error. I have un-commented
the allocation of memory (becasue it breaks NSA
mode) and added a memset to ensure we are using
the allocated memory. This gets rid of the
warning and ensures NSA mode still works.
2022-02-15 08:39:55 -08:00
francescomani
50b0abc18d testing highest mcs for 256qam 2022-02-15 15:29:48 +01:00
Laurent THOMAS
67ca2759b2 remove-NR_UE_PBCH scope to finish 2022-02-15 13:13:15 +01:00
francescomani
84eb7763bd using config file parameters in init_codebook_gNB 2022-02-15 09:46:13 +01:00
Robert Schmidt
6af9ac6c9c Fix SA OAIUE N310 test's USRP IP address 2022-02-15 09:30:21 +01:00
hardy
71c33bec45 Merge remote-tracking branch 'origin/ue-rfsim-fix' into integration_2022_wk07_b 2022-02-15 09:26:01 +01:00
hardy
d4ce61c595 Merge remote-tracking branch 'origin/fix-macpdu2wireshark-2022-w06' into integration_2022_wk07_b 2022-02-15 09:25:38 +01:00
hardy
9cd1a06115 relaxing ping test acceptance threshold 2022-02-15 09:25:14 +01:00
hardy
d61c097e98 Merge remote-tracking branch 'origin/ci_fix_bidir_develop' into integration_2022_wk07_b 2022-02-15 09:23:57 +01:00
hardy
3a27fb6259 Merge remote-tracking branch 'origin/ci_162prb_conf_file' into integration_2022_wk07_b 2022-02-15 09:23:42 +01:00
Melissa Elkadi
e461ab51a1 Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-14 16:16:43 -08:00
Melissa Elkadi
6de93fbb59 Only assigning harq_pid in emulated L1 mode. 2022-02-14 16:15:39 -08:00
Melissa Elkadi
abddc13a13 Adding \n to several logs and demoting two logs 2022-02-14 13:51:57 -08:00
Melissa Elkadi
ea6e96aada Merge branch 'episys/master-sa' into episys/mel/debug-thorughput-new-sa-master 2022-02-14 12:25:36 -08:00
Melissa Elkadi
d8d616a1fa Setting timing advance in stub function.
The timing advance field could be abstracted in
the proxy gNB. Currently we are not abstracting
this value.
2022-02-14 12:24:34 -08:00
Melissa Elkadi
5e7de1cdfc Fixing typo and adding .h files for linking 2022-02-14 11:41:22 -08:00
francescomani
c645c12db4 using uid also in SA 2022-02-14 20:28:05 +01:00
Melissa Elkadi
af18fc7e70 Log demotion and white space clean up 2022-02-14 11:14:13 -08:00
Melissa Elkadi
26349dbe20 More clean up for merge request 2022-02-14 11:07:14 -08:00
Melissa Elkadi
987363b8a8 Clean up for MR 2022-02-14 10:34:23 -08:00
francescomani
ec4ae32af0 N1 N2 and XP for DL antenna ports in config file 2022-02-14 19:00:55 +01:00
francescomani
db257fd5a9 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-02-14 18:29:09 +01:00
francescomani
c4f1812cc9 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-02-14 18:14:19 +01:00
francescomani
f1260a09e6 some fixes for phy-test mode 2022-02-14 17:40:57 +01:00
hardy
a427a20186 add tcp bidir to nsa 2x2 2022-02-14 16:25:54 +01:00
hardy
ca1afb4aae fix bidir test for ltebox 2022-02-14 16:04:50 +01:00
hardy
1d9bb72a1c Merge remote-tracking branch 'origin/ci_162prb_conf_file' into ci_fix_bidir_develop 2022-02-14 15:05:54 +01:00
luis_pereira87
7e1b38db13 Fix segmentation fault in phy-test 2022-02-14 14:03:05 +00:00
luis_pereira87
fdc2cb8716 Fix pucch resource calculation 2022-02-14 13:11:03 +00:00
luis_pereira87
6436f77aa0 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures 2022-02-14 10:20:42 +00:00
luis_pereira87
bfc34f329e Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf
2022-02-14 09:50:58 +00:00
francescomani
4329051120 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-02-14 09:20:22 +01:00
francescomani
de88c3f45c Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2022-02-14 08:57:52 +01:00
Sakthivel Velumani
5c9c2783a5 removed crc from ldpctest 2022-02-14 09:49:54 +05:30
Sakthivel Velumani
ba891206e5 fixed stacksmashing error 2022-02-14 09:47:34 +05:30
Sakthivel Velumani
3a22b99869 Merge branch 'develop' into ldpc-decoder-memory 2022-02-14 09:44:15 +05:30
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
Robert Schmidt
141b9d2c0f Merge branch 'integration_2022_wk06_a' into 'develop'
integration_2022_wk06_a

See merge request oai/openairinterface5g!1438
2022-02-12 19:55:52 +00:00
englab
665d1caa0b First examples of global structure elements move to function stack 2022-02-11 17:17:07 -05:00
francescomani
67efa202e2 call to config_csirs also in sa 2022-02-11 19:32:40 +01:00
francescomani
9237cb545c passing UECAP structure to RRC reconfiguration functions 2022-02-11 18:57:48 +01:00
francescomani
d2a559f91e improvements in config_csirs 2022-02-11 18:35:26 +01:00
hardy
c159ca13de update thread_pool_size for NSA 2x2 and SA 2x2 2022-02-11 15:10:46 +01:00
hardy
9fa3760c09 update nrmodule2 logrotation threshold 2022-02-11 15:10:46 +01:00
hardy
a296a4ebbe improve BIDIR if client log is present yet empty 2022-02-11 15:10:46 +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
Cedric Roux
52d75940be fix macpdu2wireshark
Somehow this file was in a bad state...
2022-02-11 10:36:00 +01: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
luis_pereira87
fc783110da Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band41.fr1.106PRB.usrpb210.conf
2022-02-10 23:19:52 +00:00
Robert Schmidt
7e92d44fc2 Merge remote-tracking branch 'origin/oai-ue-time-meas' into integration_2022_wk06_a 2022-02-10 18:57:28 +01:00
Robert Schmidt
48fc337a26 Merge remote-tracking branch 'origin/fix-t-tracer-nr-ue' into integration_2022_wk06_a 2022-02-10 18:52:06 +01:00
Robert Schmidt
11d80b93a9 Increase LTE 2x2 ping test threshold to 40ms 2022-02-10 15:55:26 +01:00
Raphael Defosseux
92a021a159 fix(docker): SA FDD template file not generated; cosmetics changes on the CI side
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-10 15:45:44 +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
hardy
9f30ff6cc8 improve iperf client file retrieval 2022-02-10 10:42:32 +01:00
Melissa Elkadi
df06a1e8e4 Merge branch 'episys/master-sa' into episys/mel/debug-thorughput-new-sa-master 2022-02-09 16:20:22 -08:00
Melissa Elkadi
4c950bb006 Resetting dl_config->number_pdus in NRUE scheduler 2022-02-09 14:06:55 -08:00
Melissa Elkadi
e81b901355 nFAPI bug fix. Not properly packing/unpacking PUCCH PDU
Attempting to manually cherry-pick this commit:
30c14c2f5a
2022-02-09 14:05:05 -08:00
Melissa
65dadfb3e2 Merge branch 'episys/master-nsa-nfapi-errors' into 'episys/master-nsa'
nfapi.c: Add on_error()

See merge request aburger/openairinterface5g!96
2022-02-09 13:56:27 -08:00
Melissa Elkadi
9322701ce4 Need a break if we queue a ul_tti_req based on PDU state
If we dont have this break we are trying to queue
the UL_TTI_REQ we just queued
2022-02-09 13:32:09 -08: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
Robert Schmidt
1252899592 Merge remote-tracking branch 'origin/ci-use-5g-t-tracer' into integration_2022_wk06_a 2022-02-09 18:39:46 +01:00
Robert Schmidt
e979e06527 Merge remote-tracking branch 'origin/nr_dlsim_fix' into integration_2022_wk06_a 2022-02-09 18:38:54 +01:00
Melissa Elkadi
60a9d41bc6 UCI ACK/NACK most of the way working
We have gotten rid of filling the ACK/NACK with
the DLSCH and now only fill with the PUCCH. This
assumes that the MAC layer is properly decoding the
dl_tti_req and tx_data_req and allows us to
simply use the MAC layers scheduled SNF/Slot
to return the ACK NACK. There are some hacks added
in this commit which ensure that the PDCP packet
has the correct header (1st byte = 80) and now with
15Mbps we are seeing about 20% packet loss and
a gNB bug on the edge case (current frame is 1023
and the gNB schduler wants an ACK in frame 0 but the
scheduled UL_TTI_REQ has a frame of 1023).
2022-02-09 07:59:10 -08:00
Melissa Elkadi
f336cbc645 Fixing pull/push array 32 and cleaning nFAPI code
Several of these changes were made previously and
lost in the merge.
2022-02-09 07:30:04 -08: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
luis_pereira87
3dce1171d5 Fixes after merge 2022-02-09 11:16:38 +00:00
luis_pereira87
9610b7124c Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
2022-02-09 11:10:31 +00: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
hardy
d87d22567a review and fix SA 162PRBconf file 2022-02-09 10:44:01 +01:00
Cedric Roux
1409e3bcb4 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 10:22:01 +01:00
Thomas Schlichter
76885758aa add support for continuous transmission
In case of TDD we usually disable TX during RX.
Unfortunately some USRPs create self-interference after disabling TX.
To be able to work-around this issue, we add the flag "--continuous-tx".
2022-02-09 08:56:15 +01:00
Melissa Elkadi
a1dee602fe Duplicated packing and unpacking fixed in this commit
This now matches the develop branch as well.
2022-02-08 17:11:59 -08:00
Melissa Elkadi
a8a04c7293 Accidentally ommited SISO channel modeling change
We should be setting the queued UCI indication slot
based on the SCHEDULED slot, not the current slot.
2022-02-08 16:55:25 -08:00
Melissa
fb3e3ea6e5 Merge branch 'episys/david/adding_NR_to_NUM_MCS' into 'episys/master-nsa'
Added NR to NUM_MCS for nr channel modeling.

See merge request aburger/openairinterface5g!109
2022-02-08 15:56:44 -08:00
Melissa
2ec11592c3 Merge branch 'episys/david/fixing_Bler_tables' into 'episys/master-nsa'
Removed strange characters in the first line.

See merge request aburger/openairinterface5g!108
2022-02-08 14:55:13 -08:00
Melissa
cfc2311a96 Merge branch 'episys/david/adding_logs_for_timing_analysis' into 'episys/master-nsa'
Added logs for timing analysis.

See merge request aburger/openairinterface5g!106
2022-02-08 14:54:20 -08:00
Melissa
8c2a067a22 Merge branch 'episys/david/checking_downlink_siso_model' into 'episys/master-nsa'
Downlink SISO modeling

See merge request aburger/openairinterface5g!104
2022-02-08 14:51:55 -08:00
Melissa Elkadi
9da3cbc9ec Cherry picking UCI multiplexing for CSI reports 2022-02-08 13:03:13 -08:00
Melissa Elkadi
62b525c579 TODO: Revert this change after discussion with OAI 2022-02-08 11:59:54 -08:00
Melissa Elkadi
b897287d1f Changes made to gNB cause emulated-L1 mode not to work for multiple UEs.
It seems that the RA procedure in the gNB was modified so
the RAR is sent in a single tx_data_req. The emualted mode
was not previously handling this. We now only process the
PDU in the rx_ind that has a matching preamble. If any
other PDUs exist, we ignore them and only build Msg3 based
on this single matching RAR PDU.

Also, two bug fixes applied here in the emulate-l1 mode.
2022-02-08 11:59:04 -08:00
Melissa Elkadi
f518b9d61f Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-08 09:39:13 -08:00
Robert Schmidt
a36555b254 Merge remote-tracking branch 'origin/develop-SRS' into integration_2022_wk06_a 2022-02-08 18:06:53 +01:00
francescomani
9ff39f0d92 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2022-02-08 16:48:20 +01:00
francescomani
37a517edb7 Merge remote-tracking branch 'origin/develop' into NR_SA_10MHz 2022-02-08 16:18:27 +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
46ca8cc2d0 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-02-08 16:01:59 +01:00
francescomani
dd9f285cb7 Merge remote-tracking branch 'origin/develop' into NR_UL_VRB_MAP_improv 2022-02-08 15:37:39 +01:00
Robert Schmidt
1ed58f65b7 Merge branch 'integration_2022_wk06' into 'develop'
integration_2022_wk06

See merge request oai/openairinterface5g!1433
2022-02-08 14:11:17 +00:00
Robert Schmidt
8e6e4d8237 Log inactivity timer 2022-02-08 14:45:05 +01:00
Robert Schmidt
5bdaeb5718 Stop scheduling DL on UL failure or out of sync 2022-02-08 14:45:05 +01:00
Robert Schmidt
388cfafea8 Stop scheduling in UL after ul_failure_timer 2022-02-08 14:45:05 +01:00
Robert Schmidt
759314a125 Enrich assert in ULSCH decoding 2022-02-08 14:45:05 +01:00
Robert Schmidt
eca14f6ec9 Schedule UL 5 RBs at MCS 10 on inactivity 2022-02-08 14:45:00 +01:00
francescomani
ebfea5a0c9 fix in txdataF_precoding initialization 2022-02-08 13:45:20 +01:00
Raphael Defosseux
ae7e68baea fix(ci): fix CN5G deployment with latest images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-08 11:06:25 +01:00
rmagueta
e8657ec854 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	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-02-08 09:31:32 +00:00
francescomani
90bc226ac0 Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2022-02-08 08:48:04 +01:00
Melissa Elkadi
8b4ae5ef2b Remove the new UL_INFO local variable in the VNF.
This struct is used to store the uplink 5G nFAPI
messages between the proxy and the gNB MAC layer.
The original OAI implementation utilizes a similarly
named variable (UL_info) to store the uplink 5G nFAPI
messages between the PHY and MAC layer. This commit
will utilize the original UL_info variable prior to
calling the handle functions. These changes allow us
to make minimal changes to the nFAPI handle functions
and modifies the NR_UL_Indication parent function instead.
2022-02-07 15:14:22 -08:00
Laurent THOMAS
ef2fedfc5b fix existing bug in pucchsim.c and in random_channel.c 2022-02-07 23:50:01 +01:00
francescomani
8d7df8d164 rrc configuration for pucch power control 2022-02-07 19:28:51 +01:00
Robert Schmidt
a03847a26d Merge remote-tracking branch 'origin/lte-ue-fix-EpsNetworkFeatureSupport' into integration_2022_wk06 2022-02-07 18:49:39 +01:00
Robert Schmidt
9594e422bc Merge remote-tracking branch 'origin/NR_pdcch_improvements' into integration_2022_wk06 2022-02-07 18:48:52 +01:00
Robert Schmidt
40ee6374cf Merge branch 'integration_2022_wk05_b' into 'develop'
Integration 2022 wk05 b

See merge request oai/openairinterface5g!1430
2022-02-07 17:41:28 +00:00
Robert Schmidt
997f8f9f48 SA stage2 test numbers to not overwrite logs in ZIP 2022-02-07 14:54:09 +01:00
Robert Schmidt
b06b21d1ed Perform log analysis from textlog only if T_stdout 0 2022-02-07 14:53:58 +01:00
Robert Schmidt
5e57b66cfc CI: Run T tracer in SA test 2022-02-07 14:52:52 +01:00
luis_pereira87
7c747e5ccd Merge remote-tracking branch 'origin/NR_pdcch_improvements' into Dedicated-BWPs 2022-02-07 13:36:42 +00:00
francescomani
f471316394 fix TRUE FALSE 2022-02-07 14:27:33 +01:00
Robert Schmidt
ce9d1bd7c5 Always schedule PUCCH to prevent stale PUCCH config 2022-02-07 14:23:17 +01:00
Robert Schmidt
b13ea677a2 Give warning when UL Failure on NR link 2022-02-07 14:23:17 +01:00
luis_pereira87
4973424468 Merge remote-tracking branch 'origin/NR_pdcch_improvements' into Dedicated-BWPs 2022-02-07 13:09:10 +00:00
rmagueta
c1dd5da155 Fix update_ps flag for PDSCH and PUSCH 2022-02-07 12:45:14 +00:00
francescomani
8dcf0d011d two bugfixes: local pdcch_pdu in ul and wrong initialization place in find_candidate 2022-02-07 13:40:15 +01:00
Laurent THOMAS
00483797b4 code review comment 2022-02-07 10:02:08 +01:00
francescomani
9056bfa926 flag to update ps structure 2022-02-07 09:19:51 +01:00
francescomani
e27ce4db1e fix in max mcs for table1 2022-02-06 12:04:36 +01:00
Robert Schmidt
3a902ad0d1 (Partially) revert "minor changes in dlschsim, still doesn't work :-("
This partially reverts commit bac8bc569c
and fixes nr_dlschsim, which did not compile without this commit.
2022-02-05 14:24:57 +01:00
hardy
da6b91d832 updating SA testcases (162PRB + testcase id) 2022-02-04 21:40:57 +01:00
Robert Schmidt
c14d9a3c2a Merge remote-tracking branch 'origin/thread_pool_size' into integration_2022_wk05_b 2022-02-04 19:13:48 +01:00
Robert Schmidt
66137d2bf9 Merge remote-tracking branch 'origin/bler_txoptim' into integration_2022_wk05_b 2022-02-04 19:11:33 +01:00
Robert Schmidt
f92cfbaf12 LTE 2x2 TM2: DL 1Mbps, modulation not optimized 2022-02-04 19:07:09 +01:00
Robert Schmidt
0b39690044 Merge remote-tracking branch 'origin/episys-remove-log-minimal' into integration_2022_wk05_b 2022-02-04 19:07:09 +01:00
Robert Schmidt
49df71ddaa Merge remote-tracking branch 'origin/episys-nfapi-p5-bug-fixes' into integration_2022_wk05_b 2022-02-04 19:07:09 +01: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
Cedric Roux
92c5115f13 lte: fixes in EpsNetworkFeatureSupport.c
We have to eat all the bytes, not only one.
We have to get the bit we want from the right buffer position.

Note: only one bit is supported from this "EPS network feature support",
not sure how to properly deal with it, so let's keep the code as it is.

This commit was made because the MAGMA MME sends "EPS network feature
support" to the UE in the NAS message "Attach Accept". OAI MME does not
send this. So the bug about size was not seen.
2022-02-04 16:32:49 +01:00
luis_pereira87
e39ad834c0 Fix dci size for formats 1_0 and 0_0 and improve procedures when using Coreset0 2022-02-04 15:20:24 +00: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
francescomani
2b4ae3c4ce fix in nr_get_csi_payload 2022-02-04 10:47:34 +01:00
francescomani
f056f0c170 txdataF_precoding local 2022-02-03 19:35:30 +01:00
francescomani
a37240197c minor changes, mostly cosmetic 2022-02-03 18:57:22 +01:00
francescomani
434ee15ba0 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2022-02-03 11:38:14 +01:00
Thomas Schlichter
055bb6a6c2 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-02-03 10:36:42 +01:00
Masayuki Harada
66d2a3761f Add a comment. 2022-02-03 14:44:50 +09:00
luis_pereira87
b069dcd3c8 Bug fixes 2022-02-02 20:22:57 +00:00
Robert Schmidt
cb3b17eaa5 Merge remote-tracking branch 'origin/tx-thread-fix' into integration_2022_wk05_b 2022-02-02 19:10:45 +01:00
francescomani
2408f82ace Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-02-02 18:13:46 +01:00
francescomani
220aeacbd2 bugfix for ilbrm 2022-02-02 17:37:56 +01: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
d9ed78ec01 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures 2022-02-02 15:19:07 +00:00
luis_pereira87
c30f478df9 Improve PUCCH configuration procedures 2022-02-02 15:18:06 +00:00
luis_pereira87
0166cd05d6 To use ServingCellConfigCommonSIB when ServingCellConfigCommon is NULL 2022-02-02 15:15:18 +00:00
luis_pereira87
20e767d7b6 Fix preferred DL TDA computation 2022-02-02 15:08:08 +00:00
luis_pereira87
5b875ab25d Merge remote-tracking branch 'origin/develop' into Dedicated-BWPs 2022-02-02 15:06:42 +00:00
luis_pereira87
911b40c0c3 Fix DCI format 2022-02-02 15:05:09 +00:00
luis_pereira87
5744749e9a Make NR_BCCH_DL_SCH_Message_t (SIB1) available at MAC gNB 2022-02-02 15:03:25 +00:00
luis_pereira87
aa9e30691b Fix DCI formats 2022-02-02 14:53:36 +00:00
Raphael Defosseux
8564ed55ab fix(ci): dummy commit to retrigger CI after ubuntu access issues
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-02 15:11:20 +01:00
francescomani
dc5cdd4e10 fix in xlsch bytes for memory allocation 2022-02-02 15:03:43 +01:00
Robert Schmidt
b65f31a3fa Merge branch 'integration_2022_wk05' into 'develop'
integration_2022_wk05

See merge request oai/openairinterface5g!1427
2022-02-02 09:24:26 +00:00
Robert Schmidt
01f2b5a16c Reset B200 device before a new run 2022-02-02 10:23:01 +01: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
francescomani
19bb8fd537 tentative fix for RRC reconfiguration after UE capabilities 2022-02-01 15:27:20 +01:00
hardy
24653fe0cb Merge remote-tracking branch 'origin/ci_support_tcp_bidir' into integration_2022_wk05 2022-02-01 14:54:19 +01:00
Sagar Parsawar
9b52620fbe Merging from develop branch 2022-02-01 14:52:17 +01:00
Melissa Elkadi
5e182c4e50 Adding a few more LOG_A's for critical milestones 2022-02-01 05:41:24 -08:00
Melissa
af6d95a348 Update rtusage.md 2022-02-01 13:37:06 +00:00
Melissa
cfa636ce5f Update rtusage.md 2022-02-01 13:36:30 +00:00
Melissa
761d154fe7 Update addconsoletrace.md 2022-02-01 13:33:17 +00: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
Robert Schmidt
0a8c037735 Set default log level to info 2022-02-01 13:17:26 +01:00
Robert Schmidt
5edcbc91fc Write first color code, enable function name only 2022-02-01 13:17:26 +01:00
Robert Schmidt
57c77a4781 Update log level colors after adding analysis level
Analysis level is green.
2022-02-01 13:17:10 +01:00
Masayuki Harada
d937e6e2c0 Fix some problems. 2022-02-01 19:06:51 +09: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
francescomani
aa6f636198 adding log_e for ulsch segmentation 2022-02-01 10:25:39 +01:00
hardy
c4a3f56965 fix stats logs concatenation 2022-02-01 09:42:39 +01:00
hardy
50e7f379d0 fix results HTML conf file to see OAIUE results 2022-02-01 09:42:39 +01:00
hardy
8f5171edc5 Merge remote-tracking branch 'origin/ci_stats_for_multiple_tests' into integration_2022_wk05 2022-02-01 09:42:39 +01:00
Masayuki Harada
9cd14735de Fix compile error and remove warning. 2022-02-01 17:22:58 +09:00
francescomani
10da153332 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-02-01 09:14:16 +01:00
Robert Schmidt
284734ba86 Add 5G FDD RFsim test 2022-02-01 08:41:04 +01:00
Masayuki Harada
db303c3beb Merge remote-tracking branch 'remotes/oai/develop' into NR_SA_pdu_session_modify_release 2022-02-01 15:44:34 +09:00
francescomani
e346608b04 bugfix after nr_set_pdsch_semi_static 2022-01-31 19:28:08 +01:00
francescomani
e4acf7e21d bugfix for pdu_index in sib1 sched function 2022-01-31 19:21:06 +01:00
francescomani
9e2185aa17 some more cleanup in memory allocation 2022-01-31 18:52:50 +01:00
Sakthivel Velumani
e7441d5a03 Merge branch 'tx-thread-fix' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-fix 2022-01-31 22:44:26 +05:30
Sakthivel Velumani
d1836d0656 Merge branch 'develop' into tx-thread-fix 2022-01-31 22:28:30 +05:30
Sakthivel Velumani
d263f19935 Making Tx thread count to 2 2022-01-31 22:27:47 +05:30
Sakthivel Velumani
f211d26d6f Code cleanup 2022-01-31 22:27:27 +05:30
Melissa Elkadi
a2b0f455cd Updating config file for min_rxtxtime 2022-01-31 07:18:46 -08:00
hardy
3c1c6e3cb1 adding tcp bidir option to CI tests 2022-01-31 14:00:23 +01:00
Sakthivel Velumani
9934aed3cf Fix PUSCH/PDSCH parallel proc bug 2022-01-31 18:23:23 +05:30
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
francescomani
c95f544563 dynamic dmrs length initialization depending on actual RBs 2022-01-31 11:17:45 +01:00
hardy
6e00afa307 Merge remote-tracking branch 'origin/ci-migrating-vm-tests-to-container-tests' into integration_2022_wk05 2022-01-31 10:30:09 +01:00
hardy
5b87e319fd Merge remote-tracking branch 'origin/fix_building_with_address_sanitizer' into integration_2022_wk05 2022-01-31 10:29:29 +01:00
hardy
b48bae761f add stats for multiple tests + fix stat files concatenation 2022-01-29 12:42:53 +01:00
hardy
7fd8f6f605 Merge remote-tracking branch 'origin/tx-thread-fix' into integration_2022_wk05 2022-01-28 16:58:51 +01:00
hardy
27ac95f5e0 Merge remote-tracking branch 'origin/nr-fix-harq-round' into integration_2022_wk05 2022-01-28 16:58:15 +01:00
hardy
5ea65c2620 Merge remote-tracking branch 'origin/nr-ue-fix-security-2022-w04' into integration_2022_wk05 2022-01-28 16:57:28 +01:00
hardy
d9d4d82d06 Merge remote-tracking branch 'origin/ci_clean_aws' into integration_2022_wk05 2022-01-28 16:57:07 +01:00
Robert Schmidt
d7e7954cde Remove commented code 2022-01-28 16:20:06 +01:00
Robert Schmidt
c1b73e2d48 Harmonize DLSCH/ULSCH unscrambling in gNB/nrUE
Uses optimized scrambling if not UCI on PUSCH, or unoptimized to put
placeholder bits otherwise.
2022-01-28 16:10:50 +01:00
Robert Schmidt
b01b20129b Harmonize DLSCH/ULSCH unscrambling in gNB/nrUE 2022-01-28 16:10:50 +01:00
mjoang
9a36c36249 No need to pass dlsch_parallel into nr_ue_dlsch_procedures() as it is not needed inside nr_dlsch_decoding() 2022-01-28 16:10:50 +01:00
Robert Schmidt
b9a216d79a Take timing measurements for UL DLSCH decoding steps
- Measure time of deinterleaving, rate unmatching, and LDPC decoding of
  DLSCH decoding
- Add merge_meas() function to merge measurements into one
- Rename time meas variables with "turbo" to "ldpc"
2022-01-28 16:10:50 +01:00
Robert Schmidt
4289a21f35 Add thread to periodically print L1 UE stats to file 2022-01-28 16:10:50 +01:00
Robert Schmidt
71619bb7b4 Add measurement stats for rx_pdsch and ul_indication 2022-01-28 16:10:50 +01:00
Robert Schmidt
100ba1019e Delete commented code in phy_procedures_nrUE_RX() and indent 2022-01-28 16:10:50 +01:00
Robert Schmidt
4b04b463e0 Fix: start phy_proc_rx measurement 2022-01-28 16:10:50 +01:00
Robert Schmidt
92dbbd9f57 Delete commented code in nr_ue_pdcch_procedures() 2022-01-28 16:10:49 +01:00
Robert Schmidt
d9eb6ec5d6 Fix start of dlsch_rx_pdcch_stats measurement 2022-01-28 16:10:49 +01:00
Robert Schmidt
52e478d6a3 Include rotation in phy_proc_tx meas 2022-01-28 16:10:48 +01:00
Laurent THOMAS
0f2adea417 Merge branch 'tx-thread-fix' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-fix 2022-01-28 10:40:05 +01:00
Sakthivel Velumani
f43a69c5dc Removed reuse of txdataF buffer on 2 slot basis 2022-01-28 10:39:44 +01:00
Sakthivel Velumani
a3123aae29 Removed global variables 2022-01-28 10:39:44 +01:00
hardy
c77a4eb767 create aws clean function to get rid of closed MR results 2022-01-27 15:14:49 +01:00
Florian Kaltenberger
cfd3164113 redoing changes to add channel model to pbchsim 2022-01-27 14:47:25 +01:00
francescomani
2cad62ad54 fix for 256qam in initialDownlinkBWP 2022-01-27 14:36:44 +01:00
Raphael Defosseux
a3d9d50eb9 fix(ci): Updating the 5G RF simulator tutorial with CN5G v1.3.0 release
Also remove an obsolete sub-pipeline

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-27 14:23:47 +01:00
Sagar Parsawar
e4767dbd5b fixed compilation error on OAI UE 2022-01-27 12:23:27 +01:00
francescomani
aec56c9a86 additional review comments 2022-01-27 12:22:03 +01:00
Sagar Parsawar
c846f16ee0 Changing printf to LOG_I 2022-01-27 12:05:50 +01:00
francescomani
467172f44d removing pusch 2nd codeword also at gnb 2022-01-27 11:59:55 +01:00
Laurent THOMAS
aa47fa4c41 remove F1-U protobuf implementation 2022-01-27 11:57:19 +01:00
Robert Schmidt
8c5059214e Remove log verbosity level from all conf files: it is not used 2022-01-27 10:53:07 +01:00
Robert Schmidt
a1520aacd1 Remove useless MSCGEN macro 2022-01-27 10:53:07 +01:00
Robert Schmidt
00e058537d Remove MSC library, it is not used anywhere 2022-01-27 10:53:07 +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
Laurent THOMAS
3e7c22e7c6 gtp-u old code delete 2022-01-26 11:27:02 +01:00
francescomani
5eb9e1f421 compute Y every time 2022-01-26 10:31:10 +01:00
sfn
0e17edc165 solve division by null for floating point zero forcing, fix fp shift 2022-01-26 03:34:29 +01:00
francescomani
0e106543ef clean up of ulsch ue structures 2022-01-25 18:54:33 +01:00
Melissa Elkadi
4c4d317822 Removing commented code that causes SEG_FAULT in NSA mode 2022-01-25 16:57:58 +01:00
Melissa Elkadi
fd54f2cf76 This commit includes several nfapi bug fixes
-cell_config.phy_cell_id is a uint16 and was being push/pulled
as a uint8_t
-several members of the p5 message we not push/pulled
-the second member of the ssb_mask_list is causing invalid tag length
-the error code of the push response was push8 when it should have
been a push32
-packing vendor extension causes invalid tag id(0x000)
2022-01-25 16:57:44 +01:00
Melissa Elkadi
918862475c Removing log_minimal and adding new run-time logging opts 2022-01-25 05:53:41 -08: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
sfn
631cd33f15 Adjust ZF Rx fixed point shift 2022-01-25 12:10:08 +01:00
sfn
b66c3e0b7b Fix Codebook gen. for 3 and 4 layers 2022-01-25 12:07:38 +01:00
sfn
a73209fefb fix code book I gene. 2022-01-25 12:07:35 +01:00
sfn
283784066e implement and test foating point calc for zero forcing 2022-01-25 12:04:20 +01:00
sfn
b4a8765595 re-write the matrix inversion in zero forcing 2022-01-25 12:04:20 +01:00
sfn
8eae4bbfdc clean up zero forcing Rx 2022-01-25 12:04:20 +01:00
sfn
9ca7f14ce8 Fix 2,3 , and 4 layers zero forcing Rx with fixed point implementation (tested in dlsim) 2022-01-25 12:04:20 +01:00
sfn
8381cba16d re-implement zero forcing rx for dlsch 2022-01-25 12:04:20 +01:00
sfn
1d7569b4af clean up and optimize UE 2022-01-25 12:04:17 +01:00
Sagar Parsawar
55c644838a Added PRS TD impulse response for Comb size 2 and 4 2022-01-25 12:02:05 +01:00
Thomas Schlichter
7d47e98412 Merge remote-tracking branch 'origin/develop' into nr_mimo_precoding_codebook_I 2022-01-25 11:38:49 +01:00
luis_pereira87
0e159f8b6b Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	openair1/SCHED_NR/fapi_nr_l1.c
2022-01-25 08:49:16 +00:00
francescomani
e7f544e139 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-01-24 19:08:21 +01:00
Cedric Roux
fe4c988c97 nr ue: fix security setting of DRB
Maybe this fix won't work for non-openair gNB. We use the same keys and
algorithms as for SRBs, which is what openair gNB does.

(I hope I'm right there.)

To be changed if needed.
2022-01-24 15:56:45 +01:00
Laurent THOMAS
504c529c20 small optimisation in build_oai script 2022-01-24 15:27:08 +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
Laurent THOMAS
13a16bc29f remove separate dir from phy_simulators binaries and compile options 2022-01-24 14:59:12 +01:00
Laurent THOMAS
c4f88781e5 ue sync, assert in wrong PUCCH decoded values 2022-01-24 14:19:31 +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
luis_pereira87
d0bbcaef50 Merge remote-tracking branch 'origin/develop' into thread_pool_size
# 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:13:38 +00:00
Remi Hardy
4d1bda01c6 integration_2022_wk04_a
MR !1353: L1 Tx threading update 
Removed active waiting loop which could block threads. Instead a separate thread to reorder the finished job is used.
 
MR !1404: \[CI\] rtmon per test
so far we had 1 default cfg file for real time processing check (html table).  
now we can have a specific file per test, the yaml config file has to be specified in the xml
2022-01-24 10:55:04 +00:00
Remi Hardy
9b15707f81 Merge branch 'fix-mcs-lte' into 'develop'
Revert changes in cqi_to_mcs

See merge request oai/openairinterface5g!1403
2022-01-24 10:53:24 +00:00
francescomani
9b9d0d6f06 addressing review comments 2022-01-24 11:51:38 +01: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
hardy
cb06ce6a3b fix conf file for LTE 2x2 TM2 2022-01-24 10:53:22 +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
hardy
ecdb8ee05f clean/remove unused tests from scheduled tests (2x2) sequence 2022-01-22 09:07:46 +01:00
francescomani
975f7e868a function to configure pucch resource set 1 (format2) 2022-01-21 19:15:50 +01:00
hardy
08c9d4ae4c Merge remote-tracking branch 'origin/tx-thread-update' into integration_2022_wk04_a 2022-01-21 16:39:24 +01:00
hardy
94074849ae Merge remote-tracking branch 'origin/ci_rtmon_per_test' into integration_2022_wk04_a 2022-01-21 16:38:55 +01:00
francescomani
dd6dac1392 function to configure pucch resource set 0 2022-01-21 16:16:02 +01:00
Sofia Pison
4fb330e4cc Modified CMakeLists to enable the run with address sanitizer without specifying LD_LIBRARY_PATH 2022-01-21 15:13:53 +01:00
Sakthivel Velumani
aa4db6057b updated ldpctest 2022-01-21 17:34:34 +05:30
Remi Hardy
ded914f5ca Merge branch 'ci_fix_gitpost' into 'develop'
[CI] fix gitpost issue

See merge request oai/openairinterface5g!1408
2022-01-21 11:14:07 +00:00
hardy
70b93d0901 fix git post in one block for NSA test seq 2022-01-21 11:56:09 +01:00
luis_pereira87
b4e34d5e6b Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements 2022-01-21 10:53:05 +00:00
luis_pereira87
34409bacc0 Address review comments 2022-01-21 10:52:39 +00:00
Raphael Defosseux
b2b95bb9ff feat(ci): adding more 4G RF sim tests -- currently TDD not working
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-21 11:49:55 +01:00
hardy
a859c8810f make real time monitor cfg PER test (called in xml) + update 2x2 tests requirements 2022-01-21 11:46:54 +01:00
Florian Kaltenberger
4d18f56139 adding channel models to pbchsim 2022-01-21 11:44:10 +01:00
Remi Hardy
36cc54e2d1 Merge branch 'ci_lte_2x2_tm2' into 'develop'
[CI] add lte 2x2 tm2

See merge request oai/openairinterface5g!1407
2022-01-21 10:07:26 +00:00
hardy
6aa7eea09f update lte 2x2 for tm2 2022-01-21 11:00:09 +01:00
francescomani
0717a7c562 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-01-21 10:31:58 +01:00
Remi Hardy
7910babdc4 integration_2022_wk03_b
MR !1371: NR UE capabilities
-Capabilities for OAI UE from xml file (for now copy-pasted from a COTS UE, to be modified in the framework of harmonization of RRC configuration at gNB).
-For phy-test and do-ra mode, the gNB directly reads the xml file.

MR !1397: fix issue created from fix int8 overflow (int8 overflox is small)
-ptrs computation was making uint8 overflow, i fixed it, but then, as the overflow is negative, it became a very high positive number (uint8 0-1 is "only" 255)

MR !1390: ci-improvements
-store executables with which core dumps have been created for better analysis 
-do not capture GTP, bloating PCAPs 
-complete + order build_oai help 
-build all libraries in containers (e.g., nrscope, telnet, ...) 
-increase (containerized, 5G) RFsim throughput and tentatively analyze
2022-01-21 09:00:24 +00: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
Sakthivel Velumani
a8a5897a98 Cherry pick ldpc-decoder-crc-check
commit: 3cfefe3c6f7b2854a14d94fb7072ece2ff4c5c0a
2022-01-20 21:08:44 +05:30
luis_pereira87
86096894a0 Fix build warning after merge with develop 2022-01-20 11:53:17 +00:00
luis_pereira87
7355cb454f Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
2022-01-20 11:43:24 +00: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
Robert Schmidt
f157b06a01 Revert changes in cqi_to_mcs
Revert the changes to the cqi_to_mcs table introduced in
9fa09f530f. Also, take out cqi_to_mcs form
NR UE, as it is not used in there.
2022-01-19 18:34:42 +01:00
francescomani
4bdc6ac59f minor changes 2022-01-19 18:11:43 +01:00
Laurent Thomas
1eb1c17f0c merge develo 2022-01-19 16:46:46 +01:00
Raphael Defosseux
3d504eb7f8 feat(ci): disabling obsolete pipelines; splitting the RF sim test into a 4G and a 5G pipelines
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-19 15:47:39 +01:00
hardy
5c74bca5b5 Merge remote-tracking branch 'origin/ci-improvements' into integration_2022_wk03_b 2022-01-19 15:42:09 +01:00
hardy
c9a8b466fb Merge remote-tracking branch 'origin/fix-ptr-regression' into integration_2022_wk03_b 2022-01-19 15:41:35 +01:00
francescomani
27599b0b08 fix for phy-simulators compilation 2022-01-19 15:41:18 +01:00
hardy
bbe79b5b3a Merge remote-tracking branch 'origin/NR_UE_Capabilities' into integration_2022_wk03_b 2022-01-19 15:40:43 +01:00
Thomas Schlichter
df98bdb372 move nr_rv_round_map from gNB_scheduler_phytest.c to gNB_scheduler.c 2022-01-19 15:17:26 +01:00
Thomas Schlichter
eb14a6a45f consistently make nr_rv_round_map[4] = {0, 2, 3, 1} 2022-01-19 14:43:01 +01:00
Raphael Defosseux
425bb14900 fix(ci): better shutdown of container when using USRP
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-19 14:42:51 +01:00
Raphael Defosseux
edb876460f feat(ci): adding RAN containers analysis
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-19 14:38:57 +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
hardy
b0d462e0ef bugfix for Git Post (incorrect var init) 2022-01-19 07:40:37 +01:00
luis_pereira87
a6bf3f4cb2 Fix search space loop in ue_dci_configuration 2022-01-19 00:29:37 +00:00
Remi Hardy
5c43e3d432 Merge branch 'ci_improve_gitlab_post' into 'develop'
[CI] improve gitlab post

See merge request oai/openairinterface5g!1401
2022-01-18 20:02:18 +00:00
hardy
1f0c2f890c new git post finalized, to be tested 2022-01-18 20:49:57 +01:00
luis_pereira87
38d5b38910 Revert ulsch scheduler min_rb to 5 2022-01-18 18:02:07 +00:00
Thomas Schlichter
7ef0da0143 remove unused array nr_rv_round_map_ue 2022-01-18 18:58:58 +01:00
Thomas Schlichter
ca5512594b refactor open-coded conversion of rv_index to HARQ round into new function nr_rv_to_round() 2022-01-18 18:55:23 +01: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
978b4a1728 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
2022-01-18 17:44:30 +00:00
rmagueta
6d053f7272 Merge remote-tracking branch 'origin/develop' into develop-SRS 2022-01-18 15:57:56 +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
hardy
c555d3968f update nsa b200 tests 2022-01-18 10:50:58 +01:00
francescomani
e62dd069dd Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-01-18 09:32:53 +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
hardy
064ed744b3 testing variable names 2022-01-17 22:49:00 +01:00
francescomani
c1d157dc42 fixing compilation issues 2022-01-17 19:28:17 +01:00
francescomani
2ded9658b8 including uecap option in runmodem.md and some other improvements in that file 2022-01-17 17:07:53 +01:00
rmagueta
ef021c23e0 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
2022-01-17 15:46:27 +00:00
Robert Schmidt
64058d84b3 Don't execute ls on files to analyze (is useless) 2022-01-17 16:02:48 +01:00
Robert Schmidt
b0e3867a5f Fix: Right RFsim CU/DU filename 2022-01-17 16:02:48 +01:00
Remi Hardy
0d1b4fe23a Merge branch 'ci_update_nsa_tests' into 'develop'
[CI] update nsa b200 tests

See merge request oai/openairinterface5g!1399
2022-01-17 14:48:26 +00:00
francescomani
533897605f Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-01-17 15:36:55 +01:00
francescomani
65698f6a8f some improvements in ul-mimo code 2022-01-17 15:15:47 +01:00
hardy
9ab5927dc8 update nsa b200 tests 2022-01-17 14:25:14 +01:00
Raphael Defosseux
6ab196d03b fix(ci): no history also for single ssh commands
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-17 13:26:15 +01:00
matzakos
e5899e2f74 Merge remote-tracking branch 'origin/develop' into F1C_extensions_develop 2022-01-17 13:19:45 +01:00
hardy
e62844bfef debug : change gitpost method 2022-01-17 12:47:15 +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
Remi Hardy
355063b5fa Merge branch 'cleaning-2022w1' into 'develop'
cleaning after big merge

See merge request oai/openairinterface5g!1392
2022-01-17 08:11:47 +00:00
rmagueta
62c2775017 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
#	openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
2022-01-15 17:29:13 +00:00
Laurent THOMAS
a5c5264ef3 merge develop 2022-01-14 21:09:02 +01:00
Laurent THOMAS
55d1f1bd11 fix issue created from fix int8 overflow (int8 overflox is small) 2022-01-14 19:27:05 +01:00
francescomani
350b750c33 Merge remote-tracking branch 'origin/NR_pdcch_improvements' into NR_UL_VRB_MAP_improv 2022-01-14 19:19:21 +01:00
francescomani
b9384917b3 Merge remote-tracking branch 'origin/develop' into NR_UL_VRB_MAP_improv 2022-01-14 19:05:18 +01:00
Robert Schmidt
5dae0096f0 CI: Rename SA OAIUE x300 test cases to not overwrite N300 results 2022-01-14 18:34:40 +01:00
Robert Schmidt
a8041b6794 CI: Correct file path of logging results 2022-01-14 18:34:40 +01:00
Robert Schmidt
63a5a09732 Complete build_oai -t options 2022-01-14 18:34:40 +01:00
Robert Schmidt
396fcd435e CI: force rebuild of ran_base if build_oai/build_helper/Dockerfile change 2022-01-14 18:34:40 +01:00
Robert Schmidt
4e0548328d CI: delete old stats_monitor files 2022-01-14 18:34:40 +01:00
Robert Schmidt
76411447ab CI: Continuously collect RAN logging file output 2022-01-14 18:34:40 +01:00
Robert Schmidt
74a4c2f6ef CI: Log repo cloning/merging instructions 2022-01-14 18:34:40 +01:00
Robert Schmidt
06bbea7f10 CI: Check for correct files 2022-01-14 18:34:40 +01:00
Robert Schmidt
d02a65c824 Tentatively analyze log files of RFsims 2022-01-14 18:34:40 +01:00
Robert Schmidt
ac9ee8e206 Increase 5G/SA/RFsimulator throughput test 2022-01-14 18:34:40 +01:00
Robert Schmidt
bd08a828cf Give container image delete some time 2022-01-14 18:34:39 +01:00
Robert Schmidt
2a4d4d9cbd Add readline library: telnetsrv depends on it 2022-01-14 18:34:00 +01:00
Robert Schmidt
8c38dc0fbf Include telnet SOs in container images 2022-01-14 18:34:00 +01:00
Robert Schmidt
0c9c716fbc Build all libraries in Ubuntu/RHEL containers 2022-01-14 18:34:00 +01:00
Robert Schmidt
9240d51774 Complete build_oai usage 2022-01-14 18:34:00 +01:00
Robert Schmidt
f5d949742e CI: refine tshark capture filters
The CI pcaps are too large if we have large data traffic, as they
include all the GTP capture (they contain basically the data that we
send in the tests). This commit reduces this:
- in the RAN: capture only S1AP (port 36412), X2AP (36422), NGAP (38412)
  traffic
- in the CN: exclude GTP traffic (port 2152)
2022-01-14 18:34:00 +01:00
Robert Schmidt
bcc68d6597 CI: store both core dump and executable in zip 2022-01-14 18:34:00 +01:00
Raphael Defosseux
a2e0da258c fix(ci): hot fix, to clean container volumes
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-14 17:15:34 +01:00
luis_pereira87
a2755610fa Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
2022-01-14 13:49:16 +00:00
Remi Hardy
8125d77641 integration_2022_wk02
MR !1391: T tracer: add option to have both T traces and regular console logs
Use --T_stdout 2 to have both.
--T_stdout 0 is still the way to have only T traces and no console logs.

MR !1387: nr ue: fix rlc and pdcp tick generation
Ticks have to come every millisecond. The code was calling tick only for DL slots.
(This whole logic will change at some point, this tick mechanism is not good. But in the meantime, let's fix anyway.)

MR !1384: Rfsim chan mod bug
infinite loop in function uniformrandom() if randominit() has not been called before

MR !1334: Fixes, MR 1257 1225 followup
Fixes after MR 1257 1225: sanitize address error introduced in ldpctest when using alternative ldpc libraries and LOG flooding introduced in nrUE. Also improved openCL ldpc library build.
2022-01-14 12:59:32 +00:00
luis_pereira87
1a6b464331 Avoid segmentation fault in the BWP selection 2022-01-14 12:07:26 +00:00
Thomas Schlichter
9e2b05a0aa gNB: fix PUSCH HARQ round calculation 2022-01-14 11:39:06 +01:00
Thomas Schlichter
26ce5a7236 NR_UE: fix PDSCH HARQ round calculation 2022-01-14 11:39:06 +01:00
hardy
39f5863280 update jenkinsfile to provide git post with commit id 2022-01-13 21:40:45 +01:00
hardy
ea0cf9e227 workout a more readable and compact test results note 2022-01-13 21:40:45 +01: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
francescomani
eb56a40d11 bugfix in msg2 frame and slot re-selection 2022-01-13 17:43:53 +01:00
Laurent THOMAS
a484678ad7 Merge branch 'cleaning-2022w1' of https://gitlab.eurecom.fr/oai/openairinterface5g into cleaning-2022w1 2022-01-13 16:04:41 +01:00
Laurent THOMAS
3f2dd17191 code review comments + re-test 2022-01-13 16:04:16 +01:00
Laurent THOMAS
b1beb0918a fix regression in merge develop and some warnings 2022-01-13 14:43:13 +01:00
Laurent THOMAS
2ccc7188e5 fix regression in merge develop and some warnings 2022-01-13 14:39:56 +01:00
Raphael Defosseux
83ab3ea39f fix(docker): phySim image was always built on the latest of develop branch and not current code for merge requests
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-13 13:57:50 +01: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
luis_pereira87
24ebf98ebf Add descriptive help string for CONFIG_STRING_L1_THREAD_POOL_SIZE 2022-01-13 09:55:11 +00:00
luis_pereira87
d318f09142 Fix L1s indentation in config files 2022-01-13 09:37:53 +00:00
Raymond Knopp
7090db60bc Merge remote-tracking branch 'origin/physim-hotfix' into ldpc-decoder-codegen 2022-01-13 10:35:32 +01:00
luis_pereira87
07f31c6465 Merge remote-tracking branch 'origin/develop' into thread_pool_size 2022-01-13 09:19:31 +00: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
Laurent THOMAS
d751568689 fix a bug in call to realloc inside a function 2022-01-12 16:12:36 +01: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
Laurent THOMAS
d108d9c651 fix loop on wrong array size in 4G dlsim 2022-01-12 15:22:10 +01:00
rmagueta
1c3310f955 Activate SRS in some CI tests 2022-01-12 13:52:00 +00:00
rmagueta
fa216870f3 Update documentation with SRS 2022-01-12 13:34:54 +00:00
hardy
ec286386dc Merge remote-tracking branch 'origin/NR-LogsSanAddrFix' into integration_2022_wk02 2022-01-12 14:27:00 +01:00
hardy
6029248937 Merge remote-tracking branch 'origin/rfsim-chan-mod-bug' into integration_2022_wk02 2022-01-12 14:26:14 +01:00
hardy
55a2f99676 Merge remote-tracking branch 'origin/bugfix-nr-ue-tick' into integration_2022_wk02 2022-01-12 14:25:40 +01:00
hardy
d81c4bede5 Merge remote-tracking branch 'origin/t-tracer-and-console' into integration_2022_wk02 2022-01-12 14:25:13 +01:00
Raymond Knopp
f44d1ccfeb reduced memory requirements of dlsim,ulsim 2022-01-12 14:21:47 +01:00
rmagueta
7b2ec0f369 Merge remote-tracking branch 'origin/develop' into develop-SRS 2022-01-12 13:11:40 +00:00
Laurent THOMAS
2f6fbe7710 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2022-01-12 13:22:43 +01:00
Laurent THOMAS
586b91b461 fix dlsim regression 2022-01-12 11:35:49 +01:00
Raphael Defosseux
2ac6a30cff fix(ci): forcing USRP N3xx reboot on caracal; creating a real dummy scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-12 11:27:50 +01:00
Sakthivel Velumani
391a5eee71 Removed reuse of txdataF buffer on 2 slot basis 2022-01-12 14:50:33 +05:30
Laurent THOMAS
d7ddc60500 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into cleaning-2022w1 2022-01-12 09:23:32 +01:00
Laurent THOMAS
2dc8406554 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2022-01-12 09:12:10 +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
rmagueta
729eee0685 Merge remote-tracking branch 'origin/develop' into develop-SRS 2022-01-11 10:44:43 +00:00
rmagueta
30ae13a279 Replace hardcoded 8 by sizeof(uint64_t) related to memory alignment of 8 bytes 2022-01-11 10:44:23 +00:00
rmagueta
5a34801a94 SRS channel interpolation improved for comb_size 4 2022-01-11 10:32:48 +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
Cedric Roux
de72d53c21 nr ue: fix rlc and pdcp tick generation
Ticks have to come every millisecond. The code was calling tick
only for DL slots.

(This whole logic will change at some point, this tick mechanism is not
good. But in the meantime, let's fix anyway.)
2022-01-11 11:04:48 +01:00
Cedric Roux
fe81d31ea3 compilation warnings fixes
The previous commit created two new warnings:

    warning: 'avgs' may be used uninitialized in this function
    warning: 'seq_index' may be used uninitialized in this function

This commit removes them.

Maybe it's not the correct solution. To be fixed if needed.
2022-01-11 11:04:00 +01:00
Cedric Roux
0806734254 T tracer: add option to have both T traces and regular console logs
Use --T_stdout 2 to have both.

--T_stdout 0 is still the way to have only T traces and no console logs.
2022-01-11 11:04:00 +01:00
luis_pereira87
f3399d5dde Merge remote-tracking branch 'origin/develop' into bler_txoptim 2022-01-11 09:09:33 +00:00
Sakthivel Velumani
6c7b71bbd4 Removed global variables 2022-01-11 14:15:53 +05:30
Sakthivel Velumani
23b3a18fe8 Removed conflict header and fixed dlsim 2022-01-11 14:14:44 +05:30
Remi Hardy
93f15bc99a Merge branch 'ci_improve_iperf_pass_fail' into 'develop'
[CI] improve iperf pass fail

See merge request oai/openairinterface5g!1373
2022-01-11 07:04:30 +00:00
rmagueta
d14d36747d SRS channel interpolation improved for comb_size 2 2022-01-10 19:08:08 +00:00
francescomani
49cf701a4a Merge branch 'nr-fdd-scheduling' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr-fdd-scheduling 2022-01-10 16:29:42 +01:00
francescomani
52b05b8fe0 review changes 2022-01-10 16:20:05 +01:00
ahadi
800a8268a3 "update" 2022-01-10 16:02:32 +01:00
luis_pereira87
fb7795a0f4 Fix build warning after merge with develop 2022-01-10 14:20:41 +00:00
Guido Casati
0e0b7a34f7 Restored check on pattern1.ext1 2022-01-10 15:07:12 +01:00
luis_pereira87
015e360d42 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	ci-scripts/conf_files/gnb.band78.sa.fr1.162PRB.2x2.usrpn310.conf
#	openair1/SCHED_NR/fapi_nr_l1.c
2022-01-10 14:03:55 +00:00
Guido Casati
ef6c93b842 Updating IF configuration description in RUNMODE file 2022-01-10 14:29:21 +01:00
Guido Casati
1efef96e64 Using ASN_STRUCT_FREE instead of free 2022-01-10 14:28:17 +01:00
francescomani
42bf576596 review fixes 2022-01-10 14:09:21 +01:00
Laurent THOMAS
b4b457345d merge develop 2022-01-10 12:49:47 +01:00
Guido Casati
2c289c45d1 Minor fixes after code review 2022-01-10 12:18:25 +01:00
hardy
efcc3f55de Merge remote-tracking branch 'origin/develop' into ci_improve_iperf_pass_fail 2022-01-10 11:50:29 +01:00
Laurent THOMAS
bc05bd882d cleaning after big merge 2022-01-10 11:44:45 +01:00
luis_pereira87
46d629aede Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	ci-scripts/conf_files/gnb.band78.sa.fr1.162PRB.2x2.usrpn310.conf
2022-01-10 10:21:07 +00:00
francescomani
d36079c914 Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2022-01-10 10:46:15 +01:00
francescomani
8202180a18 Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2022-01-10 10:39:44 +01:00
francescomani
98e8b74331 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2022-01-10 10:13:18 +01:00
francescomani
7b490f330c Merge remote-tracking branch 'origin/develop' into NR_UE_Capabilities 2022-01-10 10:11:55 +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
rmagueta
af56207fdf Fix after merge 2022-01-08 13:19:41 +00:00
rmagueta
cf8f6fdeed Merge remote-tracking branch 'origin/develop' into develop-SRS
# 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_scheduler.c
#	openair2/RRC/NR/L2_nr_interface.c
2022-01-08 12:11:56 +00:00
Remi Hardy
8d1c9894c2 integration_2021_wk51_d_2 (done on 2022_wk01)
MR !1274 : L2 Emulator for NSA Mode
This merge request will incorporate the NSA UE with the L2 Emulator (bypassing of layer 1). 
These changes include the following features:

-NSA Interface between LTE and NR UE is properly established. These include the following steps: 
 First UE capability enquiry is sent to NR UE 
 NR UE updates and fills first capability enquiry
 eNB request for a measurement report
 Measurement request is sent to NR UE
 Measurement report is filled in NR UE
 Measurement report is received in eNB
 Request for second UE capability enquiry
 Send second enquiry to NR UE
 Second capability information is filled by NR UE
 Second capability information is sent to eNB
 NR UE capability information is received in gNB
 Periodic measurement report received in gNB
 RRCReconfigurationRequest is sent to NR UE
 RRCReconfigurationComplete is sent from NR UE
 RACH is received in the gNB
 RAR is received in NR UE
 Msg 3 is generated and sent to gNB
 CFRA procedure is complete

-A single NSA UE is able to ping an external source
-UE-to-UE traffic is still in work
-The gNB is crashing regularly and is still in work

MR !1265 : F1 split for 5G 
documentation in doc/f1.md 
Use new gtp-u for also 4G (no legacy code cleanup, will be done after this MR) 
Some various fixes in the existing code when we face issues 4G F1 behavior will also change
2022-01-07 20:09:13 +00:00
luis_pereira87
f6c735f560 Revert to timing adjustment based on cyclic prefix and improves it 2022-01-07 18:54:31 +00:00
luis_pereira87
ef298dc36c Add ffo compensation based on SSS 2022-01-07 18:02:24 +00:00
francescomani
882c4b34a2 cleanup 2022-01-07 18:03:35 +01:00
francescomani
d4d7173265 dynamic mcs selection for msg3 2022-01-07 16:58:53 +01:00
ahadi
aa73030ecc "update prs start symbol" 2022-01-07 16:10:50 +01:00
francescomani
3606c38145 uecap file from command line at gnb for phytest and dora mode 2022-01-07 14:48:09 +01:00
ahadi
5339b35290 "update" 2022-01-07 11:13:32 +01:00
hardy
8e9f7d9477 Revert "Change obelix N300 IP addresses"
This reverts commit f34d5e2f1b.
2022-01-07 09:49:01 +01:00
luis_pereira87
395c211e6d Fix indentation 2022-01-06 16:18:55 +00:00
Robert Schmidt
00e49309d2 Revert "Change obelix N300 IP addresses"
This reverts commit d74180cabb.
2022-01-06 17:17:27 +01:00
Laurent THOMAS
370af7bc10 remove L1_tx_free queue pair of threads for a single one 2022-01-06 16:20:16 +01:00
Laurent THOMAS
c0dd344eb2 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2022-01-06 15:52:49 +01:00
luis_pereira87
b8daf747bd Increase nr_pbchsim test requirements to pass in CI 2022-01-06 14:39:31 +00:00
francescomani
10e4ce2dce dynamic mcs selection for msg4 2022-01-06 15:04:42 +01:00
francescomani
7f20ad6c6e dynamic mcs selection for msg2 2022-01-06 14:40:52 +01:00
rmagueta
3da125fa06 Merge remote-tracking branch 'origin/develop' into develop-SRS 2022-01-06 12:37:22 +00:00
luis_pereira87
9077848b1d Merge remote-tracking branch 'origin/develop' into bler_txoptim 2022-01-06 12:35:23 +00:00
Remi Hardy
e807d5182b Merge branch 'hot-fix-for-dlsch-coding' into 'develop'
Hot fix for dlsch coding

See merge request oai/openairinterface5g!1385
2022-01-06 10:56:51 +00:00
rmagueta
56714b2c82 Fix warnings after merge with develop 2022-01-06 10:17:10 +00:00
Robert Schmidt
513eebee1e Add nr_pbchsim option to select random number seed 2022-01-06 11:05:26 +01:00
Robert Schmidt
b6b79d555e Clean up nr_pbchsim program options 2022-01-06 11:05:26 +01:00
francescomani
d385c2126b fixes for TDA in case of double symbol pdcch 2022-01-06 09:30:42 +01:00
hardy
33f93804c6 bugfix ping analysis 2022-01-06 08:31:17 +01:00
hardy
42d25bcad8 test purpose : change ping acceptance threshold for SA test 2022-01-05 18:28:05 +01:00
francescomani
a15f1947d8 remove limitation for first symbol with data in dlsch 2022-01-05 16:51:39 +01:00
hardy
5afec8db57 fix ping analysis if no threshold defined + escape if scp fails 2022-01-05 16:05:51 +01:00
hardy
6ccc419dfa fix autoterminate 2022-01-05 15:31:57 +01:00
luis_pereira87
f8add0916f Fix memset input parameters 2022-01-05 14:14:09 +00:00
luis_pereira87
d1db83caab Rename min_rxtxtime in config files after merge 2022-01-05 14:12:20 +00:00
luis_pereira87
ddfd22d0fd Fix memset input parameters 2022-01-05 14:10:12 +00:00
luis_pereira87
d4f4080626 Revert "Revert "Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements""
This reverts commit 29268d0a66.
2022-01-05 14:00:09 +00: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
Laurent THOMAS
0ec9d171d7 fix bug in rfsimulator channel simulation model change 2022-01-05 13:26:07 +01:00
Laurent THOMAS
154f9b6acd fix bug in rfsimulator channel simulation model change 2022-01-05 13:19:52 +01:00
Luis Pereira
345c9e38e4 Revert "Rename pusch_proc_threads to thread_pool_size"
This reverts commit daf8b950e1
2022-01-05 09:27:43 +00:00
Luis Pereira
602ecd1c3e Revert "Cleanup config files where thread_pool_size is equal to the default value"
This reverts commit bf0c694178
2022-01-05 09:27:20 +00:00
Luis Pereira
1e3bef7a09 Revert "Fix and uniformization of indentation"
This reverts commit 692c68e4be
2022-01-05 09:26:59 +00:00
Raymond Knopp
74ce2cf4be to trigger CI 2022-01-05 01:27:42 +01:00
hardy
02a1b883a6 fix copy of ping graph 2022-01-04 22:23:12 +01:00
frtabu
a7b6c4bcb0 fix a warning. fix openCL regression after rebase 2022-01-04 19:06:38 +01:00
hardy
87a26948cf Merge remote-tracking branch 'origin/develop' into ci_improve_iperf_pass_fail 2022-01-04 16:41:46 +01:00
frtabu
1dc47e5db1 Switch loglvl to ARNING by default as for other simulators 2022-01-04 16:22:52 +01:00
Raymond Knopp
4f5ea3bb6f phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:22:52 +01:00
frtabu
88f67ded26 Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 16:21:14 +01:00
Raymond Knopp
a631bb2a58 phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:21:14 +01:00
frtabu
6f13d453bf Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 16:21:14 +01:00
Raymond Knopp
9159e20002 phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:21:14 +01:00
frtabu
aed13183fb Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 16:19:56 +01:00
Raymond Knopp
6d2672d7ba phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:17:20 +01:00
frtabu
add1293e9b Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 16:11:34 +01:00
Raymond Knopp
379d17a5d9 phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:08:17 +01:00
frtabu
12a3910e69 Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 16:05:45 +01:00
Robert Schmidt
f34d5e2f1b Change obelix N300 IP addresses
We suspected a faulty N310 on obelix. It has been replaced with another
N300 with the same .10.2 addr, but the mgmt_addr changed to .18.16,
corrected in this commit.
2022-01-04 16:05:31 +01:00
Raymond Knopp
9cd976d6f7 phy simulators remove measurments printf and check/allow log level config 2022-01-04 16:02:46 +01:00
frtabu
87bb0ffab0 Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 15:55:19 +01:00
frtabu
712f85760b fix measurment flag enforced in nr_dlsch_decoding.c 2022-01-04 15:48:54 +01:00
Raymond Knopp
4f7936565a phy simulators remove measurments printf and check/allow log level config 2022-01-04 15:46:51 +01:00
frtabu
caf4035286 Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 15:41:46 +01:00
frtabu
52fc3ff5a5 Switch loglvl to ARNING by default as for other simulators 2022-01-04 15:35:25 +01:00
Raymond Knopp
883964c7da remove remaining printf under PHYSIM build option 2022-01-04 15:34:03 +01:00
Raymond Knopp
fefa42c889 phy simulators remove measurments printf and check/allow log level config 2022-01-04 15:34:03 +01:00
frtabu
683072f413 Fix time measurment LOGS in phy_procedures_nr_UE.c 2022-01-04 15:23:48 +01:00
hardy
ada154f852 add ping png to artifacts 2022-01-04 15:15:28 +01:00
frtabu
25e20db71f ldpc openCL doc update 2022-01-04 15:15:09 +01:00
frtabu
e4d3bf9f41 Fixes after MR 1257 1225: sanitize address error introduced in ldpctest when using alternatives ldpc libraries and LOG flooding introduced in nrUE. Also improved openCL ldpc library build 2022-01-04 15:15:09 +01:00
Raphael Defosseux
1a2a6606ce feat(ci): migrating 5G-NR phytest from old Jenkins server to new one
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-04 14:54:26 +01:00
francescomani
a54c1f239e passing the file name on top of the path for uecap 2022-01-04 14:11:21 +01:00
luis_pereira87
8a428d734e Fix nr_pbchsim to avoid multiple ffo compensations for each trial on input samples 2022-01-04 11:52:16 +00:00
hardy
af554f66ed fix matplotlib logging level 2022-01-04 10:54:34 +01:00
hardy
a0fd26e8df fix matplotlib numpy lib import 2022-01-04 08:50:49 +01:00
hardy
4a263215ad add ping events graph into artifacts as png 2022-01-03 23:27:04 +01:00
Laurent THOMAS
2615a6722a fix get_nr_table_idx to make same as develop branch 2022-01-03 19:32:47 +01:00
hardy
76f0990352 add/fix autoterminate when a node does not start (gnb in nsa for ex) 2022-01-03 17:46:38 +01:00
luis_pereira87
1be69de2e6 Code cleanup 2022-01-03 15:37:39 +00:00
hardy
535cc3de21 fixing ping analysis (extra stats) for module UE 2022-01-03 16:15:04 +01:00
francescomani
9b70a994c0 bugfix for non-interleaved 2022-01-03 12:11:13 +01:00
francescomani
e5ee24c1ff fixes in demapping and deinterleaving at OAI UE 2022-01-03 11:56:56 +01:00
hardy
c26d6fd685 fix test status depending on results ; cosmetic fix on assertions text 2022-01-03 11:55:26 +01:00
Laurent Thomas
9b0e6ea71a fix merge issue in ocp-enb 2022-01-02 23:39:10 +01:00
Laurent Thomas
b57a40496d fix ocp-enb memory init 2022-01-02 21:17:43 +01:00
francescomani
37a2d7af57 changes to allow pdsch typeb in sib1 2021-12-31 12:00:28 +01:00
francescomani
0ddb872bea config file for 10MHz SA 2021-12-31 11:59:17 +01:00
Laurent THOMAS
f20d280426 add clean log+exit when radio board can't start 2021-12-31 11:44:49 +01:00
Laurent THOMAS
2ecb1a626f remove false detection of lte-uesoftmodem "segv" 2021-12-30 23:03:12 +01:00
Laurent THOMAS
473105a7ba remove false detection of SEGV in CI 2021-12-30 21:51:25 +01:00
francescomani
562013fa32 Merge remote-tracking branch 'origin/develop' into NR_UE_Capabilities 2021-12-30 14:59:50 +01:00
francescomani
f3874a21ad some tentative fixes in config files 2021-12-30 14:45:09 +01:00
Laurent THOMAS
6be158b664 add gtp-u echo reply implementation, and ci trace improvement 2021-12-30 12:50:32 +01:00
francescomani
0d3ee346bf uecap file path from command line at UE 2021-12-30 12:17:11 +01:00
francescomani
6f38108635 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-12-30 10:58:37 +01:00
francescomani
f76aac6582 bugfix in setting ue tdd settings 2021-12-30 10:27:02 +01:00
Laurent THOMAS
5ead416cd0 remove volonatry process maximum life time of 600sec (episys?) 2021-12-28 16:58:23 +01:00
Laurent THOMAS
723e272e84 fix 4G ue release context cleaning 2021-12-28 15:50:55 +01:00
Laurent THOMAS
88a63e35bc fix un-initialized var 2021-12-28 12:07:48 +01:00
Laurent THOMAS
2d105be71e fix CU assert and bugs discovered after 2021-12-28 11:29:26 +01:00
francescomani
b4c78a9c5b fix compilation issues after merge 2021-12-28 11:05:52 +01:00
francescomani
3a78c66e00 add 256qam test case to dlsim 2021-12-28 10:40:19 +01:00
Robert Schmidt
aaf51e688b CI: add line number and function for logging in all NSA tests 2021-12-27 17:40:15 +01:00
Laurent THOMAS
61fb99c73f cleanup nr_band function 2021-12-27 17:21:10 +01:00
Laurent THOMAS
31d9da3f73 cleanup nr_band() function 2021-12-27 17:10:19 +01:00
Robert Schmidt
768f14a9da CI: more logging with time and no color codes 2021-12-27 16:33:57 +01:00
Robert Schmidt
850efd197c Fix: mark rach_ind PDUs as handled in L1 mode 2021-12-27 14:00:03 +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
Robert Schmidt
1ebcd1ed32 Print LOG time as uptime 2021-12-27 12:24:24 +01:00
luis_pereira87
2a4c789ba9 Merge remote-tracking branch 'origin/thread_pool_size' into scs_60_iisc 2021-12-27 11:23:32 +00:00
Robert Schmidt
a54323bc8f CI: logging with time and no color codes 2021-12-27 12:17:56 +01: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
Laurent THOMAS
dc6a5d284c add more workaround with LOG_E() in UE ptrs 2021-12-27 11:42:06 +01:00
Laurent THOMAS
7019aa96d8 workaround bug in set_ptrs_symb_idx() + log of the error 2021-12-27 11:09:21 +01:00
Laurent THOMAS
799463994a merge NR_F1C_F1U_extensions 2021-12-27 10:32:53 +01:00
Robert Schmidt
ecd1574e3e fiif does not exist in bash 2021-12-26 23:59:23 +01:00
Robert Schmidt
206043e5ca Rename file to name expected in CI scripts 2021-12-26 23:46:38 +01:00
Laurent THOMAS
e83e70eeb0 perfect use of not initialized variable: random assert 2021-12-26 18:12:13 +01:00
Laurent THOMAS
97cfa995b0 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-12-26 17:05:22 +01:00
Laurent THOMAS
764ec5a234 improve log header 2021-12-26 15:44:10 +01:00
Robert Schmidt
d74180cabb Change obelix N300 IP addresses
We suspected a faulty N310 on obelix. It has been replaced with another
N300 with the same .10.2 addr, but the mgmt_addr changed to .18.16,
corrected in this commit.
2021-12-26 00:40:40 +01:00
francescomani
4f773ce594 some tentative fixes in config files 2021-12-26 00:40:32 +01:00
Laurent THOMAS
bd8c2013de fix typo 2021-12-25 12:29:02 +01: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
luis_pereira87
692c68e4be Fix and uniformization of indentation 2021-12-24 18:44:33 +00:00
luis_pereira87
bf0c694178 Cleanup config files where thread_pool_size is equal to the default value 2021-12-24 18:44:29 +00:00
luis_pereira87
4a17e1ec61 Fix and uniformization of indentation 2021-12-24 18:43:39 +00:00
luis_pereira87
ba3c2f59cd Cleanup config files where thread_pool_size is equal to the default value 2021-12-24 18:28:19 +00:00
luis_pereira87
c1bec3e5bd Rename pusch_proc_threads to thread_pool_size 2021-12-24 18:24:57 +00:00
luis_pereira87
daf8b950e1 Rename pusch_proc_threads to thread_pool_size 2021-12-24 18:20:17 +00:00
rmagueta
624b307355 Fix warnings after merge with develop 2021-12-24 17:21:55 +00: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
luis_pereira87
366e7bdb51 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	cmake_targets/CMakeLists.txt
#	openair1/PHY/CODING/crc_byte.c
#	openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim.c
#	openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
#	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
#	openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
#	openair1/SIMULATION/NR_PHY/dlschsim.c
2021-12-24 17:07:40 +00:00
Laurent THOMAS
280533da10 merge develop 2021-12-24 16:23:51 +01:00
luis_pereira87
e1d88d6fc5 Change log level 2021-12-24 13:49:56 +00:00
luis_pereira87
799e52745f Adjust sync based on PSS improvements 2021-12-24 13:47:47 +00:00
Luis Pereira
29268d0a66 Revert "Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements"
This reverts commit 96554bef51
2021-12-24 13:12:30 +00:00
rmagueta
b7a27219ac Fix warnings after merge with develop 2021-12-24 12:24:35 +00:00
rmagueta
97962f4635 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	common/utils/nr/nr_common.h
#	openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
#	openair2/GNB_APP/gnb_paramdef.h
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2021-12-24 11:53:25 +00:00
Robert Schmidt
b7141b0568 Suppress warning in RLC
Cedric is not sure whether this is a problem, suppress this for the time
being.
2021-12-24 12:07:28 +01:00
Robert Schmidt
3521b636d8 Restore original logging format 2021-12-24 12:00:42 +01:00
luis_pereira87
96554bef51 Merge remote-tracking branch 'origin/develop' into ue-phy-sync-improvements
# Conflicts:
#	openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
2021-12-24 10:32:06 +00:00
luis_pereira87
22754562cf Adjust sync based on PSS 2021-12-24 10:26:52 +00:00
Robert Schmidt
6c823168fe Merge remote-tracking branch 'origin/episys-merge-nsa' into integration_2021_wk51_d 2021-12-24 10:13:27 +01:00
francescomani
ff56eb3a5d Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2021-12-24 09:58:15 +01:00
francescomani
2593a82147 Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2021-12-24 09:42:43 +01:00
francescomani
3aa0c8654d Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2021-12-24 09:33:51 +01:00
Robert Schmidt
f1c7cdd48c Merge remote-tracking branch 'origin/NR_F1C_F1U_extensions' into integration_2021_wk51_d 2021-12-24 09:03:46 +01:00
Remi Hardy
264e829922 [CI] fix SA test for 162prb config
-rename xml files for 162prb sa test 
-new sa 162prb conf file
2021-12-24 07:34:04 +00:00
hardy
6f57dd2e33 fix SA test for 162prb config 2021-12-24 08:27:16 +01:00
Laurent THOMAS
792b6b4e0b merge develop 2021-12-23 22:52:36 +01:00
Remi Hardy
e230fb502c integration_2021_wk51_c
MR !1300 : Tx proc optim
new optimizations of NR TX path to bring TX processing below 500us for up to 162 PRBs, 2x2 MIMO
-ldpc-encode and parallelization (L. Thomas)
-resource element mapping (SIMD + loop optimization for symbols with no PTRS or DMRS)
integration of Intel SIMD-based CRC computations, 24-bit A/B, (from github.com/intel/soft-crc)  

MR !1374 : oaiue x300  
updated CI files after connecting X300+N300 on eNB/OAIUE server 
prepared CI files for SA 60MHz BW

MR !1355 : NR RRC harmonization: TDA for DL and UL
Functions to automatically create TDA for DL and UL according to config file and TDD/FDD scenario. 
Accordingly, TDA configurations removed from config file.
(startin effort in harmonizing the RRC configuration)
2021-12-23 18:26:30 +00:00
luis_pereira87
f508d8c80d Improve frequency offset correction in two consecutive frames for SA 2021-12-23 17:14:46 +00:00
francescomani
25bd60a96a fixes in case of no uecap file found 2021-12-23 18:02:30 +01:00
francescomani
62e540e6e6 fix in case uecap is null 2021-12-23 14:47:41 +01:00
francescomani
a33457aa62 fix in allocation of mcs_table in bwp structure 2021-12-23 14:27:49 +01:00
hardy
478f67e47d fix type conversion for comparison operation 2021-12-23 11:58:21 +01:00
luis_pereira87
a2014a5249 Increase SSS phase hypothesis resolution 2021-12-23 10:36:58 +00:00
hardy
0b4d3d92a2 Merge remote-tracking branch 'origin/NR_RRC_configuration_functions' into integration_2021_wk51_c 2021-12-23 10:44:42 +01:00
Sy
cd2b80e6c2 some cleanup 2021-12-22 22:36:42 +01:00
luis_pereira87
b830090a5a Perform frequency offset correction in two consecutive frames for SA 2021-12-22 18:27:26 +00:00
francescomani
c713d499f4 bugfix 2021-12-22 17:40:08 +01:00
francescomani
9e8c0c97f7 Merge remote-tracking branch 'origin/develop' into NR_RRC_configuration_functions 2021-12-22 15:09:24 +01:00
rmagueta
ad37d8ae5f Change LOG levels 2021-12-22 13:26:52 +00:00
francescomani
a8d5595272 calling set mcs table function 2021-12-22 13:58:32 +01:00
hardy
f4ab24a5a5 Merge remote-tracking branch 'origin/ci_oaiue_x300' into integration_2021_wk51_b 2021-12-22 11:41:12 +01:00
francescomani
dfc5304967 passing UECAP structure to RRC reconfiguration functions 2021-12-22 10:43:08 +01:00
hardy
44fee9e124 update lte2x2 and nsa2x2 usrp addressing due to testbench change 2021-12-22 10:14:42 +01:00
francescomani
36ffa3ff6c Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2021-12-22 09:31:55 +01:00
francescomani
fc4a76a836 temporary increasing k2 for pusch 2021-12-21 18:14:04 +01:00
hardy
984338e991 update 2x2 tests with new iperf pass fail criteria 2021-12-21 16:29:04 +01:00
hardy
90f150a4a8 improve iperf pass fail checker 2021-12-21 16:12:37 +01:00
Melissa Elkadi
0ea0965a35 Modifying new changes from develop to exclude emulated L1 mode 2021-12-21 06:08:24 -08:00
Melissa Elkadi
e7ef264226 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-12-21 06:02:40 -08:00
Melissa Elkadi
30c14c2f5a nFAPI bug fix. Not properly packing/unpacking PUCCH PDU 2021-12-21 05:51:25 -08:00
francescomani
ae29f64419 adapting function for dl 256 qam 2021-12-21 10:57:35 +01:00
Raymond Knopp
50629a83a2 first set of changes to AW2S ORI/eCPRI driver for n78 2021-12-20 21:24:52 +01:00
francescomani
5e3e1e42a5 remove softmodem param for 256 qam 2021-12-20 16:31:49 +01:00
francescomani
d0b43673cd Merge remote-tracking branch 'origin/NR_UE_Capabilities' into NR_RRC_256QAM 2021-12-20 16:07:06 +01:00
francescomani
6947202c80 sched_pdcch not a pointer in structures 2021-12-20 15:53:53 +01:00
rmagueta
65ebd0a8a7 Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-12-20 11:48:39 +00:00
rmagueta
91ec80e3bb Fix after merge 2021-12-20 11:41:56 +00:00
rmagueta
06ec8b597e Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
2021-12-20 11:06:34 +00:00
francescomani
bc04d7209b some improvements from review 2021-12-20 11:54:57 +01:00
Raphael Defosseux
3ea34db9a7 fix(ci): build on the correct image tag
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-20 11:53:44 +01:00
Raphael Defosseux
a1dd7347a0 Merge remote-tracking branch 'origin/ci-fix-docker-build' into integration_2021_wk51_b 2021-12-20 10:41:32 +01:00
Raphael Defosseux
da0b480092 fix(docker): adding missing libs to run uhd_find_devices in RHEL8 containers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-20 10:36:32 +01:00
Raphael Defosseux
bfd3a1264c fix(ci): remove intermediate build images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-20 10:32:13 +01:00
Raphael Defosseux
38cb4554d0 fix(ci): proper value of RF 5G Sim conf file; remove useless define
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-20 10:09:14 +01:00
Laurent THOMAS
a5ca7c4bc6 merge develop 2021-12-20 09:55:18 +01:00
francescomani
510a9d15dd Merge remote-tracking branch 'origin/develop' into NR_UE_CSIRS_scheduling 2021-12-20 09:36:05 +01:00
Laurent THOMAS
d73ec04635 merge develop 2021-12-20 09:29:52 +01:00
francescomani
fcfcc6050b fix in ue capability size 2021-12-20 09:13:01 +01:00
Remi Hardy
b04731d756 integration_2021_wk51_a
MR !1352 : Build all targets in a single container before creating per-target containers 
Builds all per-target containers in three steps
-Base image with all dependencies installed (`ran-base`, was `ran-build`)
-Image with all targets compiled (`ran-build`, did not exist before)
-Copy

 
MR !1344 : Fix a race condition in UE where PUSCH could not be sent when UE sends PUCCH and PUSCH at the same slot  
-This MR fixes the race on ULSCH processing in UE where PUSCH is not sent occasionally when UE sends PUCCH and PUSCH at the same slot.

MR !1368 : \[CI\] improve Ping pass fail checkers
-count # lines with LLL
-ping checker if avgrtt value > target  

MR !1369 : \[CI\] git post (note) for scheduled test results
-write a note to MR, when test is completed (valid for 2x2 scheduled tests)
2021-12-19 19:32:55 +00:00
hardy
f355eb080c Merge remote-tracking branch 'origin/ci_test_res_per_mr_improve' into integration_2021_wk51_a 2021-12-19 14:26:57 +01:00
hardy
306172dcd7 Merge remote-tracking branch 'origin/ci_improve_pass_fail' into integration_2021_wk51_a 2021-12-19 14:26:15 +01:00
hardy
2baa297765 Merge remote-tracking branch 'origin/nr_pucch_pusch_sameslot' into integration_2021_wk51_a 2021-12-19 14:25:49 +01:00
hardy
9cda11721b Merge remote-tracking branch 'origin/ci_build_common_container_images' into integration_2021_wk51_a 2021-12-19 14:24:50 +01:00
Laurent THOMAS
3fde37a28d fix after merge and a ci bug (containers) 2021-12-17 21:57:00 +01:00
mjoang
619a2c7d3a fix compilation warning. 2021-12-17 14:44:14 -05:00
mjoang
43eb8e40ac enable running thread in parallel for RFSIM. 2021-12-17 14:09:00 -05:00
Laurent THOMAS
0f00e57148 merge develop 2021-12-17 16:29:53 +01:00
francescomani
9f87b9dd15 bugfix, thanks to Cedric 2021-12-17 12:03:44 +01:00
hardy
cd4208dfb9 updating SA tests 2021-12-17 11:02:23 +01:00
rmagueta
5567306d49 Memory allocation optimization 2021-12-17 09:53:44 +00:00
hardy
902c8d1ae3 update lte2x2 and nsa tests with new pass/fail criteria 2021-12-17 10:22:14 +01:00
hardy
16b2bfab89 updating checker for real time issue and ping rttavg 2021-12-17 09:49:58 +01:00
francescomani
64b7741c16 Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2021-12-17 09:18:17 +01:00
rmagueta
c2640db144 Fix memset that was deleting other variables 2021-12-16 20:22:06 +00:00
luis_pereira87
74ea4e5b5b Refactor name of two variables 2021-12-16 18:24:10 +00:00
luis_pereira87
13116299e7 Merge remote-tracking branch 'origin/develop-SRS' into develop-SRS
# Conflicts:
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
2021-12-16 17:44:36 +00:00
luis_pereira87
00904bc2a0 Real-time performance optimization 2021-12-16 17:43:31 +00:00
luis_pereira87
ebc33e4b3e Real-time performance optimization 2021-12-16 17:39:49 +00:00
luis_pereira87
6010aaeffc Add SRS resource allocation in fill_ul_rb_mask 2021-12-16 16:48:05 +00:00
francescomani
f3bf2cf2e7 Merge remote-tracking branch 'origin/develop' into NR_UE_Capabilities 2021-12-16 17:23:55 +01:00
Laurent THOMAS
e0776377c4 fix phy simulators with updated threads synchro 2021-12-16 17:18:50 +01:00
francescomani
220e568c81 xml file that works, thanks to Cedric 2021-12-16 17:18:20 +01:00
francescomani
2414a681f8 additional parameters in pucch structure to avoid double computation 2021-12-16 14:44:40 +01:00
Laurent THOMAS
b2b3dd1331 gNBthread flow update 2021-12-16 12:59:17 +01:00
Laurent THOMAS
2ef4c61908 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2021-12-16 12:48:36 +01:00
rmagueta
ec8ec353b6 Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-12-16 10:10:53 +00:00
luis_pereira87
34342ce719 Merge remote-tracking branch 'origin/develop' into bler_txoptim 2021-12-16 09:36:57 +00:00
francescomani
842a4bbf40 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2021-12-16 09:29:16 +01:00
Remi Hardy
ee3a256b8a integration_2021_wk50_a
MR !1354 : Fix msg4 segfault
- Fix segmentation fault that happens after an uplink failure timeout (gNB removes the UE) and when UE tries to use the same (old) RNTI.

MR !1347 : nr pdcp: introduce a thread to do pdcp_data_ind
- Before this commit, pdcp_data_ind is done in the realtime PHY/MAC thread, and this may have an impact on realtime performances.
- introduce a new thread to do the job, freeing the realtime PHY/MAC logic.

MR !1360 : Scope telnet fixes
-no need for form.h header in telnet 
-enable double buffering in scope 
-freeze gNB scope while updating graphs

MR !1363 : CI: a few fixes
-Increased some timeout 
-Added missing gNB log file from artifact
2021-12-16 08:22:20 +00:00
rmagueta
d2c6d66588 SRS Tracer improvements 2021-12-15 18:47:00 +00:00
Raymond Knopp
2d4453648f Correct how gtp-u extension header is parsed 2021-12-15 18:38:25 +01:00
francescomani
f2f6850b33 first version to check pucch vrb occupation 2021-12-15 18:03:43 +01:00
rmagueta
8aac96062a Add UL time channel estimation based on SRS 2021-12-15 17:02:57 +00:00
hardy
17f30c07db remove 5 tentatives of nsa test 2021-12-15 16:09:50 +01:00
rmagueta
ecd09b3068 Change variable name 2021-12-15 14:39:31 +00:00
hardy
cf12f1ad4b addind xml test files for SA 60MHz 162PRB 2021-12-15 15:32:13 +01:00
hardy
6fb09151ea xml fix (html tabs) 2021-12-15 15:22:11 +01:00
rmagueta
d31db3dd7e Change variable name 2021-12-15 14:16:30 +00:00
hardy
9a5520f4c2 update trigger jenkinsfile to include oaiue x300 2021-12-15 15:14:36 +01:00
hardy
1b8f8731bb add x300 to OAIUE SA test 2021-12-15 15:06:28 +01:00
Raymond Knopp
99e006f750 testing with UM/No Harq 2021-12-15 13:38:00 +01:00
sfn
461cf243e5 Minor change nr_mimo_precoding_matrix 2021-12-15 13:18:19 +01:00
sfn
223ad6aabe Enable 4 layers Transmission for PDSCH: tested only for dlsim and RFsim with pmi=0 2021-12-15 12:55:27 +01:00
francescomani
909f0ad44f changing the name of a function 2021-12-15 09:43:08 +01:00
francescomani
366c42e6fa fix in prach vrb occupation 2021-12-15 09:31:30 +01:00
francescomani
bdf5d26b82 changing the name of a function 2021-12-15 08:44:53 +01:00
hardy
64216210d7 bugfix : use the instance attribute correctly 2021-12-15 08:02:01 +01:00
Melissa Elkadi
f32244136a Demoting more logs to log_D 2021-12-14 12:19:10 -08:00
rmagueta
096869e07f SRS tracer improvements 2021-12-14 20:11:41 +00:00
Melissa Elkadi
acb5db8ecd Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-12-14 12:03:04 -08:00
Melissa Elkadi
d61bcb2113 Demoting several PHY logs 2021-12-14 10:27:23 -08:00
rmagueta
351b74205b Increase SRS periodicity to get higher bitrate in NSA 2021-12-14 18:07:41 +00:00
rmagueta
edb6b9b422 Increase SRS periodicity to get higher bitrate 2021-12-14 18:00:55 +00:00
Melissa Elkadi
60e39af311 Updating min_txtxtime_pdsch and dl_harq_pid fix 2021-12-14 09:56:02 -08:00
francescomani
196c757293 workaround to avoid segfault (setting back dlsch length to 12 symbols) 2021-12-14 18:08:11 +01:00
francescomani
9ad38c421a removing tda from other config files 2021-12-14 17:48:09 +01:00
Laurent THOMAS
4106717a9c Merge branch 'tx-thread-update' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2021-12-14 17:35:40 +01:00
Laurent THOMAS
f3fb44f703 add sw graph 2021-12-14 17:35:19 +01:00
Thomas Laurent
f522cf2b4e Update SW_archi.md 2021-12-14 16:30:18 +00:00
Laurent THOMAS
b1b6c18624 add doc 2021-12-14 17:28:27 +01:00
rmagueta
9e2ab1a36a Delete min_rxtxtime_pdsch from config file gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf to get 0 errors in iperf with COTS 2021-12-14 13:57:45 +00:00
hardy
a315ffed2c fix when build is not a listed mr 2021-12-14 14:46:40 +01:00
hardy
97fa6e33b1 Merge remote-tracking branch 'origin/ci-little-fixes-dec-2021' into integration_2021_wk50_a 2021-12-14 14:23:01 +01:00
hardy
ef94dd39e0 Merge remote-tracking branch 'origin/scope-telnet-fixes' into integration_2021_wk50_a 2021-12-14 14:22:53 +01:00
hardy
31531cb19f Merge remote-tracking branch 'origin/nr-pdcp-data-ind-thread' into integration_2021_wk50_a 2021-12-14 14:22:43 +01:00
hardy
579cf1d966 Merge remote-tracking branch 'origin/Fix_Msg4_segfault' into integration_2021_wk50_a 2021-12-14 14:22:35 +01:00
Raphael Defosseux
0dce51b22e fix(ci): adding missing gNB log when running on multiple servers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-14 13:57:58 +01:00
Raphael Defosseux
aa772c806b fix(ci): increased a few command timeouts for RF sim failure cases
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-14 13:55:24 +01:00
Laurent THOMAS
c33c8aa836 merge develop, some minor code review updates 2021-12-14 12:52:22 +01:00
Laurent THOMAS
0977b3f711 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2021-12-14 12:49:54 +01:00
luis_pereira87
a3cb841b6f Add config file for 162PRBs (60MHz BW) 2021-12-14 09:54:14 +00:00
luis_pereira87
c4b2271f71 Merge remote-tracking branch 'origin/Fix_Msg4_segfault' into bler_txoptim 2021-12-14 09:16:01 +00:00
Raymond Knopp
171408bc4d pucch DTX threshold modification 2021-12-13 21:25:38 +01:00
francescomani
9f9fdb95eb fix in config file 2021-12-13 16:12:10 +01:00
francescomani
5e52210f5d Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2021-12-13 15:52:53 +01:00
francescomani
29599ab91f fixes for FDD 2021-12-13 15:52:46 +01:00
francescomani
81bd1d0034 Merge remote-tracking branch 'origin/develop' into NR_RRC_configuration_functions 2021-12-13 15:12:37 +01:00
Cedric Roux
d67b46a1a5 nr pdcp: introduce a thread to do pdcp_data_ind
Before this commit, pdcp_data_ind is done in the realtime PHY/MAC
thread, and this may have an impact on realtime performances.

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

This is not a minor change. It may have positive and/or negative
effects. To be tested carefully.
2021-12-13 15:00:45 +01:00
luis_pereira87
d667a4df97 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	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
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2021-12-13 13:14:23 +00:00
rmagueta
b4e108e46c Code formatting improvements 2021-12-13 13:09:13 +00:00
ahadi
c63960c0f2 update debugger 2021-12-13 14:04:57 +01:00
rmagueta
cb1cc0a243 Merge remote-tracking branch 'origin/develop-SRS' into develop-SRS-Tracer 2021-12-13 11:33:50 +00:00
rmagueta
1341646ba4 Call on_off for GNB_PHY_UL_CHANNEL_ESTIMATE 2021-12-13 11:33:31 +00:00
rmagueta
1dfb9b07ce Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-12-13 11:15:44 +00:00
rmagueta
a2842e953d Add GNB_PHY_UL_CHANNEL_ESTIMATE for Tracer 2021-12-13 10:58:57 +00:00
Remi Hardy
e19460a9d1 integration_2021_wk49_b
MR !1333: Docker: reduce the number of layers in target images. 
 
MR !1345: small fixes for nr rlc
-trigger status report when t-reassembly expires
-reduce "buffer full" log
2021-12-13 06:44:37 +00: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
rmagueta
2ad5045efe Tracer for UL estimated channel based on SRS 2021-12-10 20:02:39 +00:00
francescomani
0f48386133 improvements in handling tdd structure 2021-12-10 17:44:46 +01:00
rmagueta
74e962653b Add OAI logo and prev/next UE buttons 2021-12-10 15:40:02 +00: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
sfn
b942851a4c Fix failure of phy-sim 2021-12-10 15:50:04 +01:00
ahadi
ab586bcf3b debug modulation 2021-12-10 15:30:16 +01:00
Eurecom
cfbced8b5f Remove wrong abort call for the case of affinity!= -1 2021-12-10 13:18:58 +01:00
Laurent THOMAS
d2171abc62 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-thread-update 2021-12-10 11:29:28 +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
38326c280f bugfix in dci reception for UL at UE 2021-12-10 10:35:03 +01:00
francescomani
4d689e8073 another attempt to fix phy simulators 2021-12-10 09:37:10 +01:00
Melissa Elkadi
f028f8e209 Added new conf file for NR UE 2021-12-09 10:45:58 -08:00
rmagueta
0f62e37e22 Add do_SRS parameter also for NSA 2021-12-09 17:39:39 +00:00
rmagueta
6fa17e2d29 Add do_SRS parameter in some config files 2021-12-09 16:59:57 +00:00
rmagueta
80853a0f6f Create do_SRS parameter to enable the periodic SRS 2021-12-09 16:54:16 +00: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
Laurent THOMAS
64c7e41d07 fix one more bug in #if for carryless mul 2021-12-09 16:58:03 +01:00
rmagueta
39eb4ded16 Add min_rxtxtime_pdsch in some config files 2021-12-09 15:50:57 +00:00
Laurent THOMAS
3751b14972 fix bug #if versus #ifdef 2021-12-09 16:46:01 +01:00
Laurent THOMAS
301a008cef change runtime to compilation time detection of carryless mul 2021-12-09 16:08:34 +01:00
Robert Schmidt
917d9a7a58 Freeze gNB scope form before making updates 2021-12-09 15:35:08 +01:00
Robert Schmidt
ac11642451 Enable double buffering in NR scope 2021-12-09 15:29:50 +01:00
Robert Schmidt
dc294a8b63 Drop unneeded form.h include from telnet 2021-12-09 15:29:37 +01:00
francescomani
d93cc63a1e fix for phy-simulators 2021-12-09 14:58:32 +01:00
hardy
465c1f4747 change git post appearance 2021-12-09 14:26:43 +01:00
francescomani
20c30c46b0 Merge remote-tracking branch 'origin/develop' into NR_pdcch_improvements 2021-12-09 13:28:19 +01:00
francescomani
d6dedc1f49 handling multiple pdcch pdu at fapi and phy 2021-12-09 13:14:19 +01:00
Raymond Knopp
9b0d2384ea minor changes after merge 2021-12-09 12:34:08 +01:00
Robert Schmidt
28da113c0f Clean up RHEL 8.2 docker files 2021-12-09 12:12:35 +01:00
Robert Schmidt
bf11d345c9 Clean up of Ubuntu 18 Docker files 2021-12-09 12:12:35 +01:00
Robert Schmidt
11727f9d6a Docker documentation update 2021-12-09 12:12:35 +01:00
Robert Schmidt
42c2fe5b75 CI: build intermediary compilation image
Change the python script such that we first build the ran-base image
(renamed from ran-build, as it does not build anything), followed by the
ran-build image compiling all dependencies, and the generate the
independent target container images.
2021-12-09 12:12:35 +01:00
Thomas Schlichter
bfd0de0a22 remove now unneccessary MAC includes and forward declaration 2021-12-09 11:38:39 +01:00
francescomani
a8a431b955 fix for fr2 msg3 2021-12-09 10:37:22 +01:00
sfn
a778f69a76 Remove dependency of init_codebook_gNB on mac parameters 2021-12-09 10:36:01 +01:00
francescomani
9fd889dc3e Merge remote-tracking branch 'origin/develop' into bupt-ulmimo-4 2021-12-09 09:59:07 +01:00
mjoang
ae5b65efa7 handle the boundary case when tx_req_body->pdu_length > 0 2021-12-08 22:27:46 -05:00
hardy
3166289ef5 add dbhost conditional statement for test results 2021-12-08 20:27:47 +01:00
hardy
f2f2f6e13f improve post to git 2021-12-08 19:35:06 +01:00
hardy
4cebb0e229 fix incorrect variable name 2021-12-08 18:23:22 +01:00
hardy
953029ac5c improve test results post to git 2021-12-08 17:16:56 +01:00
Robert Schmidt
cffa73bf45 RHEL8.2 dockerfiles: create intermediary build image
This commit creates an intermediary build image for all eNB, gNB, UE,
nrUE, RU targets (ran-build) after the image containing all RAN
compilation dependencies (ran-base). Then, the corresponding target
container images are just copied from the ran-build.

The only exception is phySim, which is still compiled independently, as
the build_oai would otherwise put all compiled files into
phy_simulators/build instead of ran_build/build. We do this at this
state to avoid any inconsistencies.
2021-12-08 17:03:41 +01:00
Robert Schmidt
48493ed125 Ubuntu18 dockerfiles: create intermediary build image
This commit creates an intermediary build image for all eNB, gNB, UE,
nrUE, RU targets (ran-build) after the image containing all RAN
compilation dependencies (ran-base). Then, the corresponding target
container images are just copied from the ran-build.
2021-12-08 17:02:09 +01:00
Laurent Thomas
8ab33355ed Clean up build_oai and CMakeLists.txt
- Remove useless RU and PHYSIM variables
- provide function to trigger ASN.1 file generation
2021-12-08 16:51:49 +01:00
Laurent THOMAS
951d1242d7 remove async ru_tx_func and simplify 2021-12-08 16:40:46 +01:00
hardy
5109fc66d6 disable OAIUE B200 for the moment 2021-12-08 15:14:52 +01:00
hardy
f691b8a517 Merge remote-tracking branch 'origin/nr-rlc-small-fixes' into integration_2021_wk49_b 2021-12-08 14:58:59 +01:00
hardy
8e31d4ca90 Merge remote-tracking branch 'origin/docker-2021-nov-improvements' into integration_2021_wk49_b 2021-12-08 14:58:17 +01:00
Melissa Elkadi
932f8b385f Reverting changes to ue_test_sfr (SIM) conf file for NSA mode 2021-12-08 05:38:29 -08:00
luis_pereira87
158c309cbc Add some comments on the code and update documentation 2021-12-08 12:21:20 +00:00
francescomani
72b0fac74a Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-12-08 12:09:52 +01:00
francescomani
c0a3855b3f fix for RA in assertion and config file merge issue 2021-12-08 10:21:28 +01:00
francescomani
e4dc6d11b8 symbol level occupation for ULSCH and msg3 2021-12-08 09:27:33 +01:00
hardy
c3d63606a6 fix resource lock syntax 2021-12-08 09:19:39 +01:00
hardy
8325c36c50 fix bug in aws link to test results 2021-12-08 09:11:46 +01:00
hardy
08affe9712 update jenkinsfile for lockable resource3 2021-12-08 09:04:55 +01:00
hardy
bc6a4b92dc change agent for boto3 2021-12-08 09:04:55 +01:00
hardy
e462d321c9 test result per MR + post to git 2021-12-07 21:50:28 +01:00
Florian Kaltenberger
464509e324 adding LPP ASN1 message definitions and code generation 2021-12-07 15:28:27 +01:00
francescomani
7cb3739cf6 bitmap occupation function 2021-12-07 14:54:48 +01:00
francescomani
1dd8c67fc2 block ul prbs in map with prbbl 2021-12-07 14:35:42 +01:00
luis_pereira87
e0944aa24b Fix Msg4 segmentation fault when UE_id is invalid and reset ul_failure when UE reconnects using C-RNTI 2021-12-07 11:40:24 +00:00
Cedric Roux
a764c7c932 nr rlc: trigger status report when t-reassembly expires
and update tests that fail because of the new logic
2021-12-07 11:46:18 +01:00
Cedric Roux
f64d2c58cb nr rlc: reduce "buffer full" log 2021-12-07 11:46:18 +01:00
rmagueta
ce967780e1 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	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-12-07 10:07:02 +00:00
Luis Pereira
1c4549aa1e Revert "Schedule PUCCH even when ul_failure, otherwise COTS UE cannot use Msg3 to transfer DCCH messages"
This reverts commit c9007ee7be
2021-12-07 09:08:36 +00:00
francescomani
7e1ebc3653 Merge remote-tracking branch 'origin/develop' into nr-fdd-scheduling 2021-12-07 10:07:40 +01:00
francescomani
8138ad486e include indication of min_rxtxtime in UE assertions 2021-12-07 09:44:33 +01:00
francescomani
018ac0616b Merge remote-tracking branch 'origin/develop' into NR_RRC_configuration_functions 2021-12-07 09:27:27 +01:00
francescomani
0421171de0 Merge remote-tracking branch 'origin/develop' into NR_UE_CSIRS_scheduling 2021-12-07 09:23:42 +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
Melissa Elkadi
118bd8b36f Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-12-06 13:23:21 -08:00
luis_pereira87
c9007ee7be Schedule PUCCH even when ul_failure, otherwise COTS UE cannot use Msg3 to transfer DCCH messages 2021-12-06 21:11:52 +00:00
luis_pereira87
d4e3118375 Merge remote-tracking branch 'origin/develop' into Fix_Msg4_segfault 2021-12-06 20:39:17 +00:00
Laurent THOMAS
9f81391642 remove a dead line of code, to re(trigger CI, seems last run failed 2021-12-06 21:27:38 +01:00
Remi Hardy
142451e741 integration_2021_wk49_a
MR !1336 : Handle Msg3 carrying a DCCH or DTCH message
This MR implements the procedures for gNB to handle a Msg3 carrying a DCCH or DTCH message. 
For example, when a new RA happens and the UE is already known by the network.

MR !1337 : Fix build warning
Fix a build warning in develop related with a comparison between ‘X2AP_ResetRequest_IEs__value_PR’ {aka ‘enum X2AP_ResetRequest_IEs__value_PR’} and ‘enum X2AP_Cause_PR’

MR !1330 : nr rlc: speedup buffer status computation
TX and ReTX should be faster now (for RLC AM, UM and TM).
RLC AM Status (function nr_rlc_entity_am.c:status_size()) was not modified, so its CPU usage is the same as before

MR !1276 : NR ACKNACK improvements
This MR improves acknack_scheduling, includes in config file min delay for acknack feedback and fixes bugs in acknack procedures at UE
2021-12-06 20:10:57 +00:00
luis_pereira87
27c68b2b60 Fix Msg4 segmentation fault when UE_id is invalid 2021-12-06 16:40:45 +00:00
luis_pereira87
a12ff84c8d Merge remote-tracking branch 'origin/handling-Msg4-Ack-failure' into Fix_Msg4_segfault 2021-12-06 16:39:14 +00:00
hardy
d51b2f3a1d missing sa oaiue n310 test xml 2021-12-06 16:37:42 +01:00
hardy
4ef2f3be52 missing sa oaiue n310 test xml 2021-12-06 16:35:59 +01:00
hardy
a3e0f32f00 adding SA OAIUE N310 to test suite and dashboard 2021-12-06 15:13:47 +01:00
hardy
fb3680107e remove thread-pool for gnb + oai ue test update 2021-12-06 15:01:40 +01:00
francescomani
82dc3430f7 function for bitmap from start symbol and length 2021-12-06 11:20:51 +01:00
Sakthivel Velumani
348c4ed36f Changing a log msg to debug 2021-12-05 20:26:24 +05:30
Sakthivel Velumani
1af5a89dd1 Removed active waiting loop
which could block threads. Instead used a separate thread to reorder the finished the job messages
2021-12-05 17:48:32 +05:30
francescomani
a7d72715cf addressing review comments and some other changes 2021-12-04 17:09:55 +01:00
francescomani
5f0a9fba89 reworking handling pdcch at mac, including support for multiple pdcch pdu 2021-12-04 15:49:33 +01:00
rmagueta
5301e0a110 Fix SRS mapping above PRB 53 to work with COTS 2021-12-04 13:58:57 +00:00
hardy
04af3780bc fix link to jenkins job in dashboard config file 2021-12-04 09:50:59 +01:00
hardy
1ff2dc9de0 fix jenkins job name in dashboard config, so that it can be properly retrieved 2021-12-04 09:35:32 +01:00
rmagueta
a41b131f21 Fix first SRS reception at gNB 2021-12-03 18:07:33 +00:00
hardy
c458577a88 fix typo in epc undeploy (deleted char) 2021-12-03 17:39:06 +01:00
hardy
cc39ff6a03 fix OAI UE test description 2021-12-03 17:32:27 +01:00
hardy
574a3fe3bd Merge remote-tracking branch 'origin/ci_update_triggered_test_suite' into integration_2021_wk49_a 2021-12-03 17:24:51 +01:00
hardy
dcce1b51f2 Merge remote-tracking branch 'origin/ci_sa_oaiue_test' into integration_2021_wk49_a 2021-12-03 17:24:25 +01:00
hardy
06dbe47364 Merge remote-tracking branch 'origin/NR_UE_acknack' into integration_2021_wk49_a 2021-12-03 17:23:33 +01:00
rmagueta
75057be8ef Add missing configuration for NSA 2021-12-03 16:17:20 +00:00
mjoang
1dc78a8a98 remove unused structure per review request. 2021-12-03 11:08:12 -05:00
luis_pereira87
222ff5c11d Fix segmentation fault when exporting packets to wireshark with high MCS 2021-12-03 15:12:09 +00:00
Laurent Thomas
1d08851c30 code review comment, compile error 2021-12-03 15:35:30 +01:00
Melissa Elkadi
fd2f61debc Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-12-03 05:44:34 -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
Raphael Defosseux
b2d440645f perf(docker): limiting the number of layers on target images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-03 09:24:33 +01:00
hardy
f93c975ba0 updating test suite + dashboard for new OAIUE test 2021-12-03 08:24:30 +01:00
Florian Kaltenberger
54c5bb1d48 some bugfixing 2021-12-02 16:03:41 +01:00
Laurent Thomas
f70e38737b merge develop and fix CI cross compilation issue 2021-12-02 14:43:28 +01:00
Laurent Thomas
1f1f85c7bc Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into tx-proc-optim 2021-12-02 14:17:49 +01:00
Laurent Thomas
6080e4154a merge develop 2021-12-02 14:14:18 +01:00
matzakos
1da693dd78 Merge remote-tracking branch 'origin/develop' into NR_F1C_F1U_extensions 2021-12-02 13:54:08 +01:00
Laurent Thomas
13d6147e03 fix code review and cross compilation issue 2021-12-02 13:31:15 +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
rmagueta
4b79dbc377 Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-12-02 11:01:19 +00:00
rmagueta
e013208451 Remove temporary xer_fprint 2021-12-02 11:01:01 +00:00
francescomani
3d10b9fc41 symbol-wise vrb map occupation for dl 2021-12-02 10:08:55 +01:00
francescomani
b765b02129 Merge remote-tracking branch 'origin/develop' into NR_UE_acknack 2021-12-02 09:23:27 +01:00
hardy
3dac845c56 update PUSCH decoding RT reference 2021-12-02 08:31:01 +01:00
hardy
0a6c2e187b Merge remote-tracking branch 'origin/speedup-nr-rlc-buffer-status' into integration_2021_wk49_a 2021-12-02 08:28:46 +01:00
hardy
1e343f6052 Merge remote-tracking branch 'origin/handling-Msg4-Ack-failure' into integration_2021_wk49_a 2021-12-02 08:28:21 +01:00
hardy
20649abc11 Merge remote-tracking branch 'origin/develop-fix-build-warning' into integration_2021_wk49_a 2021-12-02 08:27:56 +01:00
Remi Hardy
0ac69fb164 integration_2021_wk48
branch : integration_2021_wk48_d

MR !1308 : Nr add ue improvements-

MR !1310 : parallelization of LDPC decoding on UE side
-fixes the issue of parallelization of LDPC decoding on UE side

MR !1331 : T tracer: trace MAC DL retransmission PDUs in the gnb
-trace MAC DL retransmission PDUs in the gnb
-adapt macpdu2wireshark to deal with them

MR !1306 : fix for harq value in fapi indication according to scf
-We were using harq value in the wrong way. According to SCF it is 0 for pass and 1 for fail


CI fixes : 
proper way to address B200 serial number for eNB/gNB
missing library when running uhd_find_devices in container
2021-12-02 07:09:13 +00:00
rmagueta
3d00d78af8 Power noise estimation based on SRS 2021-12-02 01:30:06 +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
Laurent Thomas
242828dd29 hardcode instruction set usage: Carry-less Multiplication on intel/AMD 2021-12-01 15:59:16 +01:00
hardy
d5c379380c fix syntax for gnb docker compose options 2021-12-01 15:53:55 +01:00
rmagueta
340508ffe0 Extension of the channel interpolation implementation for the case NR_SRS_Resource__transmissionComb_PR_n4 2021-12-01 14:43:04 +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
hardy
9ad85b4fe9 pusch_proc_thread = 4 for SA 2021-12-01 12:52:06 +01:00
Raphael Defosseux
714ae2bd9a fix(ci): CI runs won't leave commands in CI servers' history
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-01 12:48:23 +01:00
hardy
498be51358 Merge remote-tracking branch 'origin/ci-fix-proper-way-to-address-serial-number' into integration_2021_wk48_d 2021-12-01 12:35:32 +01:00
hardy
8757c17d9c Merge remote-tracking branch 'origin/Fix_harq_value_scf' into integration_2021_wk48_d 2021-12-01 12:32:38 +01:00
hardy
94702d9e60 Merge remote-tracking branch 'origin/t-tracer-retx-dl' into integration_2021_wk48_d 2021-12-01 12:32:11 +01:00
hardy
4be0407bd9 Merge remote-tracking branch 'origin/nr_ldpc_dlsch_decoding_parallel' into integration_2021_wk48_d 2021-12-01 12:31:50 +01:00
hardy
6a5208ad33 Merge remote-tracking branch 'origin/NR_add_ue_improvements' into integration_2021_wk48_d 2021-12-01 12:31:32 +01:00
hardy
3f278d6f81 remove --dlsch-parallel 2021-12-01 12:30:53 +01:00
Raphael Defosseux
dc39157fb4 fix(build): removing the march=native option for portability
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-12-01 12:27:25 +01:00
rmagueta
d7af1269b7 Fix LOG 2021-12-01 11:13:45 +00:00
rmagueta
dbba6c6518 Perform channel interpolation for SRS at gNB 2021-12-01 01:50:58 +00:00
ahadi
a6fd470772 prs resource mapping 2021-11-30 20:08:40 +01:00
rmagueta
3a983dbf9c LS channel estimation based on SRS at gNB 2021-11-30 18:24:51 +00:00
Raphael Defosseux
28c78852ec fix(ci): missing library when running uhd_find_devices in container
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-30 11:56:18 +01:00
francescomani
99250c9524 fix for Y 2021-11-30 09:27:07 +01:00
Melissa Elkadi
3fac8bd2e1 Merge branch 'episys/master-nsa' into eurecom-episys-merge-nsa 2021-11-29 14:40:21 -08:00
Melissa Elkadi
4f9c2bd869 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-29 14:33:23 -08:00
Melissa Elkadi
67df305219 Merge branch 'eurecom-develop' into episys/master-nsa 2021-11-29 10:59:20 -08:00
rmagueta
0ae0c9ac56 Do not perform ULSCH scheduling on slots where there is SRS scheduling 2021-11-29 17:37:50 +00:00
luis_pereira87
b4f8857da3 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-29 17:35:13 +00:00
Melissa
85047dd70c Merge branch 'episys/master-nsa-LOG_A' into 'episys/master-nsa'
Change some LOG_I's to LOG_A's

See merge request aburger/openairinterface5g!88
2021-11-29 17:12:55 +00:00
francescomani
df9e492d02 removing bwp from pdcch_pdu_idx and cce_list 2021-11-29 16:39:05 +01:00
mjoang
31f12b62e0 fix the race condition in UE where PUSCH could not be sent when UE sends PUCCH and PUSCH at the same slot. 2021-11-29 10:15:02 -05:00
francescomani
2242c6a8a9 cosmetic changes in codebook initialization 2021-11-29 14:42:07 +01:00
sfn
e993a59d22 Make use of gNB precoding matrix for PDSCH layer precoding 2021-11-29 12:14:33 +01:00
sfn
0517b97382 Add codebook type I precoding matrices generation function 2021-11-29 12:14:33 +01:00
Raphael Defosseux
f001b0ac20 fix(ci): proper way to address B200 serial number for eNB/gNB
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-29 11:32:10 +01:00
francescomani
9a863691a2 Merge remote-tracking branch 'origin/develop' into NR_RRC_configuration_functions 2021-11-29 09:47:27 +01:00
francescomani
4a26745919 Merge remote-tracking branch 'origin/develop' into NR_UE_CSIRS_scheduling 2021-11-29 09:34:57 +01:00
ahadi
f136f047c0 update 2021-11-28 18:37:01 +01:00
francescomani
eb61034de1 fix in msg3 tbs 2021-11-28 17:07:40 +01:00
francescomani
90fb3282f9 fix in dmrs config type at ue 2021-11-28 14:50:09 +01:00
hardy
9ea6f5716d tentative to fix 2x b200 plugged on the same server 2021-11-28 10:00:05 +01:00
Raphael Defosseux
e46737e7e7 fix(ci): CI runs won't leave commands in CI servers' history
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-28 09:59:58 +01:00
rmagueta
ed38681ab5 gNB schedules different SRS resources for different UEs 2021-11-28 02:00:53 +00:00
rmagueta
fff3477811 Fix SRS mapping at UE 2021-11-28 01:18:44 +00:00
rmagueta
a9d474193b Fix BWP start in SRS 2021-11-26 18:28:35 +00:00
rmagueta
3259303690 Add gNB support for multiple UEs for SRS on PHY 2021-11-26 18:03:56 +00:00
Michael Cook
589033f4b4 Change some LOG_I's to LOG_A's
Our proxy_testscript.py expects these specific log messages to be
logged as LOG_A
2021-11-26 09:16:38 -08:00
hardy
e8227e162b some delay to let oaiue stabilize 2021-11-26 18:10:58 +01:00
hardy
be3d5da14e fix bugs 2021-11-26 16:59:41 +01:00
Raphael Defosseux
47f11f079e fix(ci): waiver for intel new files; removed one since it's a duplicate
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-26 15:31:42 +01:00
Raphael Defosseux
37cc53cffc fix(ci): wrong image tag to deploy CU/DU containers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-26 12:15:07 +01:00
hardy
5d66f8cf9c oaiue runs from ran_build/build 2021-11-26 11:47:23 +01:00
francescomani
fa2ce6e680 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-11-26 11:34:22 +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
luis_pereira87
c8ed1a21a2 Minor cosmetic improvements 2021-11-26 09:38:57 +00:00
luis_pereira87
b9ecbbc677 Improve if condition when msg3_dcch_dtch 2021-11-26 09:22:16 +00:00
hardy
311af7788b ue conf file into repo 2021-11-25 21:23:59 +01:00
hardy
98cd63e0dc fix ue air interface 2021-11-25 20:57:43 +01:00
hardy
8cc639f8a9 new xml for sa + oaiue test 2021-11-25 20:31:59 +01:00
Raymond Knopp
853257b52c nothing. just to trigger CI 2021-11-25 18:13:26 +01:00
Sy
5521e34360 my Internship project 2021-11-25 17:34:02 +01:00
luis_pereira87
cf1349266d Delete a duplicate "remove" of retrans_dl_harq 2021-11-25 16:24:37 +00:00
luis_pereira87
a4f3ec5b0f Fix CI regex due to a rnti format changed in log 2021-11-25 15:49:04 +00:00
Cedric Roux
d4c4fdf7f3 T tracer: add harq pid in nr ul/dl/dl retx traces 2021-11-25 15:59:40 +01:00
Laurent THOMAS
1d0abb9077 merge develop, fix a existing memory overlap 2021-11-25 15:53:04 +01:00
rmagueta
b26fc6e1d6 Fix build warning 2021-11-25 14:06:21 +00:00
francescomani
b9dd8d3f28 function for rrc ul tda (removed from config files) 2021-11-25 14:44:22 +01:00
Laurent THOMAS
4876c7a33d fix bug in WORKER_DISABLE 2021-11-25 14:06:08 +01:00
luis_pereira87
d0861b6dfd Merge remote-tracking branch 'origin/develop' into handling-Msg4-Ack-failure 2021-11-25 12:46:05 +00:00
rmagueta
6847a1969b Fix build warning 2021-11-25 11:54:05 +00:00
Raymond Knopp
6c2146f8d0 Merge remote-tracking branch 'origin/develop' into tx-proc-optim 2021-11-25 12:23:44 +01:00
rmagueta
fbc45b3571 Merge remote-tracking branch 'origin/develop' into develop-SRS
# Conflicts:
#	nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
2021-11-25 11:09:20 +00:00
rmagueta
03393ddc89 Minor fixes for multiple antennas scenario 2021-11-25 11:01:54 +00:00
Cedric Roux
1495a6b01f nr rlc: speedup buffer status computation
TX and ReTX should be faster now (for RLC AM, UM and TM).

RLC AM Status (function nr_rlc_entity_am.c:status_size()) was not modified,
so its CPU usage is the same as before. (It's more complicated to change
than for TX and ReTX.)
2021-11-25 11:27:49 +01:00
Cedric Roux
b65b0e2eaf T tracer: trace MAC DL retransmission PDUs in the gnb
and adapt macpdu2wireshark to deal with them
2021-11-25 11:27:17 +01:00
Remi Hardy
a9c03e32bf integration_2021_wk47_b
MR !1318 : Remove ratematching assertion
- Using LOG_E and returning instead of assertion in case of error in rate matching function

MR !1281 : open-nFAPI: Remove carriage returns
- Remove the problematic carriage returns from three nfapi source files.

MR !1203 : addition of AW2S OAIORI interface
- addition of AW2S OAIORI interface, -w AW2SORI target added to build_oai and generation of libthirdparty_transpro.so build rules in CMakelists.txt

MR !1323 : NR RSRP report fix
- Some fixes in handling RSRP report, including print on screen of average RSRP

MR !1324 : NR SA MSG4 rtx bugfix


CI HSS fix : sometimes the HSS is not properly stopped. Making sure it is killed before starting it again

CI Physim logs fix : retrieve the physim logs in the pods and make them available for artifact 

CI USRP B200 fix : selecting the B200 by its serial number in the test scenarios
2021-11-25 09:46:23 +00:00
Mario Joa-Ng
d47f127602 fix the problem in nr_dlschsim where init_dlsch_tpool() is missing. 2021-11-24 15:10:20 -05:00
Raphael Defosseux
89c7250546 Merge remote-tracking branch 'origin/ci-fix-physim-cluster-log' into integration_2021_wk47_b 2021-11-24 20:49:33 +01:00
Raphael Defosseux
09f84bde73 fix(ci): forcing usage of one USRP B200 in scenarios
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-24 20:46:43 +01:00
Raphael Defosseux
f210392ffb fix(ci): retrieve the physim logs in the pods and make them available for artifact
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-24 20:33:05 +01:00
luis_pereira87
b00c4f3674 Handle Msg3 carrying a DCCH or DTCH message 2021-11-24 17:52:30 +00:00
Melissa Elkadi
df72429b04 Merge branch 'eurecom-episys-merge-nsa' into episys/master-nsa 2021-11-24 08:54:14 -08:00
francescomani
83e1b2f850 function for rrc dl tda (removed from config files) 2021-11-24 13:44:18 +01:00
Francesco Mani
ff4a26373a code review 2021-11-24 09:37:18 +00:00
Raphael Defosseux
3d5610f5e1 fix(ci): sometimes the HSS is not properly stopped. Making sure it is killed before starting it again
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-24 09:45:41 +01:00
hardy
53692ff57a Merge remote-tracking branch 'origin/nfapi-carriage-returns' into integration_2021_wk47_b 2021-11-24 09:43:12 +01:00
hardy
dc4d243b6c Merge remote-tracking branch 'origin/develop-aw2sori' into integration_2021_wk47_b 2021-11-24 09:42:56 +01:00
hardy
bde67173d5 Merge remote-tracking branch 'origin/NR_rsrp_meas_report_fix' into integration_2021_wk47_b 2021-11-24 09:42:36 +01:00
hardy
adcccec0cb Merge remote-tracking branch 'origin/NR_msg4_rtx_fix' into integration_2021_wk47_b 2021-11-24 09:42:23 +01:00
hardy
49f1fc368e Merge remote-tracking branch 'origin/remove_ratematching_assertion' into integration_2021_wk47_b 2021-11-24 09:42:08 +01:00
Melissa Elkadi
92ef60d07f This commit does the following:
1. Reverts GTPU_need_ITTI back to develop
2. Removed gdb helper and co files
3. Reverts changes to logging mechanism
4. Reverts changes to assert that were unnecessary
5. Reverts changes to VNF that occured from a bad merge
6. Removes unnecessary else() in gNB softmodem
2021-11-23 15:49:47 -08:00
Melissa
ba5fa308e2 Merge branch 'episys/david/multi_ue_sa' into 'episys/master-nsa'
Updated for multiple UEs CBRA procedure.

See merge request aburger/openairinterface5g!86
2021-11-23 22:32:07 +00:00
Melissa Elkadi
d7b23238da Removing unnecessary filtering in NRUE MAC layer 2021-11-23 14:12:45 -08:00
Melissa Elkadi
cf9686f787 Setting ctxt by mod_id instead of instance in gNB
This change allows multiple UEs to have a tunnel interface
brought up when connecting to the 5GCN

Also, adding two new config files for mutltiple UEs
to connect to the 5GCN
2021-11-23 14:01:20 -08:00
Melissa Elkadi
dd891537a7 Checking for pointers to be NULL before allocating memory 2021-11-23 12:37:22 -08:00
rmagueta
b3e5b83b8b Fix build warning 2021-11-23 19:17:13 +00:00
rmagueta
71c64e023d Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-11-23 19:02:33 +00:00
rmagueta
01a260f1f9 gNB is receiving the SRS signal 2021-11-23 18:55:29 +00:00
rmagueta
37950f470b Fix in nfapi_nr_srs_pdu_t 2021-11-23 16:51:03 +00:00
Melissa Elkadi
efdd06584f Merge branch 'episys/master-nsa' into episys/david/multi_ue_sa 2021-11-23 08:13:18 -08:00
Melissa Elkadi
94d146e80b Renaming queue.h in PHY_INTERFACE layer to queue_t.h
There are two queue.h files in this repository.
2021-11-23 08:05:58 -08:00
Melissa Elkadi
97eda100c7 Removed logic around CALLOCs
When we check if the pointer is NULL before CALLOCing,
then the gNB will crash. It seems that we are mostlikely
leaking memeory since the gNB only crashes with the old
change. By reverting these changes, the gNB does not crash.
We are seeing UE-to-UE IP traffic on this commit when
the tunnel interfaces are established (~50% of the time).
2021-11-23 07:33:31 -08:00
Melissa Elkadi
8688f8ad83 Merge branch 'episys/master-nsa' into episys/david/multi_ue_sa 2021-11-23 06:47:37 -08:00
Melissa Elkadi
8e18afec55 Merge branch 'episys/master-nsa' into eurecom-episys-merge-nsa 2021-11-23 06:25:07 -08:00
Melissa Elkadi
c08b0c2b56 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-23 06:24:33 -08:00
luis_pereira87
9fc0da267a Fix build warnings 2021-11-23 12:26:25 +00:00
luis_pereira87
6f27e74e82 Merge remote-tracking branch 'origin/develop' into bler_txoptim 2021-11-23 11:34:56 +00:00
Cedric Roux
2fb5ec3a5f T tracer: trace MAC DL retransmission PDUs in the gnb
and adapt macpdu2wireshark to deal with them
2021-11-23 11:28:20 +00:00
luis_pereira87
b8e81a15fd Revert "Add T support for GNB_MAC_RETRANSMISSION_DL_PDU_WITH_DATA"
This reverts commit 0b88c16427.
2021-11-23 11:26:08 +00:00
luis_pereira87
d33315db3f Merge remote-tracking branch 'origin/develop' into handling-Msg4-Ack-failure 2021-11-23 11:17:50 +00:00
francescomani
a3e921ca55 Merge remote-tracking branch 'origin/develop' into NR_rsrp_meas_report_fix 2021-11-23 11:19:57 +01:00
francescomani
58cc35c97c function to create dl harq lists 2021-11-23 10:55:13 +01:00
francescomani
caaaba51c1 code review 2021-11-23 09:58:23 +01:00
Melissa Elkadi
23582a4483 Adding more error checking 2021-11-22 16:31:47 -08:00
Melissa Elkadi
eaa5782579 Merge branch 'episys/master-nsa' into episys/david/multi_ue_sa 2021-11-22 14:29:58 -08:00
Melissa
543570a1ac Merge branch 'episys/5gcn_traffic_testing' into 'episys/master-nsa'
5G IP Traffic for SA mode

See merge request aburger/openairinterface5g!85
2021-11-22 22:29:08 +00:00
Melissa Elkadi
8d94b36349 Adding assertFatals and code cleanup for MR 2021-11-22 14:24:06 -08:00
Melissa Elkadi
6d556607d4 Reverting incorrect CALLOC 2021-11-22 12:34:18 -08:00
Remi Hardy
5319d22039 integration_2021_wk46_c
MR !1317 : Change variable types in statistics
When running gNB for a long time and transferring high amount of data, statistics become negative (and later in an arithmetic overflow) because they are too short for such amount of bytes. Example: UE 0: ulsch_total_bytes_scheduled -1804219593, ulsch_total_bytes_received -1804223769

MR !1315 : Using rnti to assign different pucch resource to different UE
This MR is to assign different pucch resource to different UE using rnti

MR !1305 : Fix various issues on ULSCH processing on UE
-add mutex to protect ul_config_pdu against race condition with multiple threads. Otherwise UE will crash as parameter of subsequent thread will be overwritten: Assertion (Nl>0) failed!In nr_get_E() openairinterface5g/openair1/PHY/NR_TRANSPORT/nr_tbs_tools.c:47
-Fix a logical error that sends obsolete buffer erroneously on UL and causes crash in gNB. In nr_process_mac_pdu: residual UL MAC PDU in 736.19 with length < 0!, pdu_len -69
-Fix a logical error that if FAPI_NR_UL_CONFIG_TYPE_PUSCH pdu is not of index 0 in ul_config->ul_config_list, the packet is not sent out.


MR !1321 : CI automatic un-deployment of RAN containers + fixes
-in main container pipeline, the post section in the docker-hub-push stage was incorrectly placed 
-when building images on develop pushes, the ran-build image was not built 
-iptables check is correct now (could not detect if in not ACCEPT 
-something is wrong, automatic un-deployment of RAN containers 
-added a "dummy" undeploy scenario just to be sure. 
-4g/5g RF simulation tests may fail due to lost socket on ue container. Repeat in case of failure

ci_bring_test_results_to_dashboard:
-RAN Status and Tests dashboards

cherry pick : nsa conf files, ulsch_max_frame_inactivity = 1;
-to reduce ping time
2021-11-22 19:53:26 +00:00
rmagueta
cce7ed5483 Remove obsolete code and fix build warnings 2021-11-22 18:35:52 +00:00
rmagueta
c2d948a055 Implementation of the remaining procedures until call the new PHY function nr_get_srs_signal at gNB 2021-11-22 17:46:48 +00:00
francescomani
2a1c6c0543 improve readability in pucchsim 2021-11-22 16:47:34 +01:00
Melissa Elkadi
fc140b2007 Allocating for the number of DCIs and changing pdu_idx check 2021-11-22 07:40:36 -08:00
Raphael Defosseux
d377c63dd1 fix(gNB): lower verbosity level when could not find pdsch_to_harq_feedback
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-22 16:33:33 +01:00
francescomani
1f75a9780d scheduling of csi for im 2021-11-22 16:27:42 +01:00
Melissa Elkadi
37c1f1ec1d Unnecessary filtering/changes to OAI MAC layer
The filtering added in the nrue_procedures.c file
are already happening in the stub function so we
should be duplicating them in the NRUE MAC layer.
2021-11-22 07:24:39 -08:00
Melissa Elkadi
8d1196a9cd Merge branch 'episys/5gcn_traffic_testing' into episys/david/multi_ue_sa 2021-11-22 07:15:59 -08:00
rmagueta
9551cf4a82 Implementation of get_nr_srs_offset function to remove the hardcoded offset sl40 2021-11-22 14:27:22 +00:00
rmagueta
5697860db1 Fill NFAPI of SRS pdu 2021-11-22 13:56:18 +00:00
rmagueta
d70b52a76c Compute frame/slot at gNB to receive the SRS 2021-11-22 11:53:07 +00:00
luis_pereira87
780314d32b Change some printf with rnti values in dec to hex 2021-11-22 07:13:56 +00:00
francescomani
b04c6d2390 fix for msg4 rtx 2021-11-22 05:32:31 +00:00
luis_pereira87
1c49bdec1a Update SA default configuration files 2021-11-22 05:22:15 +00:00
luis_pereira87
f81cec7215 Merge remote-tracking branch 'origin/develop' into handling-Msg4-Ack-failure 2021-11-22 04:59:35 +00:00
Raymond Knopp
c1bcff9570 Merge branch 'bler_txoptim' of https://gitlab.eurecom.fr/oai/openairinterface5g into bler_txoptim 2021-11-21 09:59:38 +01:00
Raymond Knopp
32f090c298 minor changes for testing 2021-11-21 09:59:19 +01:00
David Kim
c974609c2f Updated the execution condition for pdcp_run. 2021-11-19 14:31:41 -08:00
Melissa Elkadi
32cca25075 Modifying how we handle the UCI multiplexing.
In this commit, we changed the UCI handling.
When the UL_TTI_REQ arrives at the NRUE it
has info related to how many UCIs we should
pull from the queue and send to the gNB. If
we do not have that many UCIs available (likely
becasue a DL_TTI_REQ is late), then we will
requeue the UL_TTI_REQ and wait until we have
all the UCI indications before multiplexing.
This change makes it easier to handle multiple
UCIs becasue previously we would send what we
had and then try again later which made keeping
track of the UL_TTI_REQ and second UCI more
difficult.
2021-11-19 14:14:21 -08:00
David Kim
6ef81fd4b8 Updated for formatting. 2021-11-19 13:53:26 -08:00
David Kim
202862bce1 Updated for multiple UEs CBRA procedure.
1. Added rnti filter for multiple UEs.
2. Adjusted mode offset for SA mode.
2021-11-19 13:42:34 -08:00
Melissa Elkadi
e1d50ead74 Removing incorrect setting of num_pdus to 0 2021-11-19 11:37:02 -08:00
Melissa Elkadi
7f7bda5421 The number of active harqs is included in the UL_TTI_REQ
Also, we had two heap-buffer-overflow crashes while
filling the CRC_IND and RX_IND. The corrected CALLOC
command is included in this commit as well.

Lastly, we included a better fix for handling late
DL_TTI_REQs. If the number of active harqs is larger
than the number of UCIs we have built, this is a good
indicator that the DL_TTI_REQ is late. To mitigate
problems, we will requeue the UL_TTI_REQ to when the
late DL_TTI_REQ comes in, we can handle the late
UCI that is built from it.
2021-11-19 11:23:47 -08:00
Raymond Knopp
12792eece7 Modifications in the cellGroupConfig container content of F1 UE context response messages 2021-11-19 18:52:51 +01:00
rmagueta
86f306ee25 Create the rrc_get_max_nr_csrs function to get a configuration for SRS which fills the entire UL BWP 2021-11-19 17:51:41 +00:00
francescomani
79be6685fd changes in ue fapi handling to include csi-rs pdu 2021-11-19 17:42:24 +01:00
Melissa Elkadi
87097d9767 Adding assertFatal to UCI multiplexing 2021-11-19 07:55:03 -08:00
matzakos
e8d92cbddd Merge remote-tracking branch 'origin/NR_F1C_F1U_extensions' into F1C_extensions_develop 2021-11-19 16:47:47 +01:00
rmagueta
67c2ddb742 Fix SRS mapping at UE for a number of PRBs higher than 53 2021-11-19 15:43:56 +00:00
francescomani
f80ba3e4db nzp csi-rs scheduling function 2021-11-19 15:48:07 +01:00
rmagueta
10ecfcda40 Fix phi_M_ZC_6 2021-11-19 11:51:23 +00:00
rmagueta
2aeee0534b Fix phi_M_ZC_12 2021-11-19 11:42:04 +00:00
rmagueta
2c35192416 Fix phi_M_ZC_18 2021-11-19 11:31:03 +00:00
Raphael Defosseux
f61e93fde0 fix(ci): same as previous commit
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-19 09:37:11 +01:00
Raphael Defosseux
1f42e2b2d9 fix(ci): proper log collection on eNB/gNB runs
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-19 09:36:58 +01:00
hardy
e43f007965 add SA DL stages test + fix dashboard descr 2021-11-19 09:29:14 +01:00
hardy
49d1427379 nsa conf files, ulsch_max_frame_inactivity = 1; 2021-11-19 09:29:05 +01:00
hardy
99e9d338f5 Merge remote-tracking branch 'origin/ci_bring_test_results_to_dashboard' into integration_2021_wk46_c 2021-11-19 09:28:43 +01:00
hardy
04aea2042a Merge remote-tracking branch 'origin/ci-fix-b200-container-pipeline' into integration_2021_wk46_c 2021-11-19 09:28:19 +01:00
hardy
79117d4c67 Merge remote-tracking branch 'origin/NR_ULSCH_decoding' into integration_2021_wk46_c 2021-11-19 09:28:01 +01:00
hardy
e8ce9a73ba Merge remote-tracking branch 'origin/nr_multiple_ue_pucch_resource' into integration_2021_wk46_c 2021-11-19 09:27:47 +01:00
Melissa Elkadi
a279503db0 Fixing formatting for if statement 2021-11-18 11:51:03 -08:00
rmagueta
d8dc5baf3c Fix phi_M_ZC_24 2021-11-18 19:50:53 +00:00
Melissa Elkadi
6f69e836a8 This commit allows IP traffic to work for 2 UEs in NSA mode
The nr_rrc_ue_process_RadioBearerConfig() function
call in the RRC layer of the NRUE was removed when
it should not have been for NSA mode. This is now
added back in for NSA mode. Also, the call to
pdcp_run should only be when were NOT in NOS1 mode
and ARE in SA mode. This was fixed as well.

Ue-to-Ue IP traffic in NSA works, but eventually
the NSA UE will crash due to an incorrect PDCCH
configuration. This is a bug we will need to look
into. It doesnt always crash, only about 40% of
the time. And even when the NRUE does crash, it
happens towards the end of the simulation.
2021-11-18 11:45:47 -08:00
Melissa Elkadi
16d82de9cf Only call pdcp_run for SA 5GCN mode, not NSA mode 2021-11-18 11:08:53 -08:00
Melissa Elkadi
2205d6472d Adding AssertFatal to check for array indicies 2021-11-18 10:43:15 -08:00
Melissa Elkadi
2da73cfed7 Merge branch 'episys/master-nsa' into episys/5gcn_traffic_testing 2021-11-18 08:29:36 -08:00
Melissa Elkadi
c008c8e60d IP TRAFFIC IS WORKING WITH ONE NR UE IN SA MODE
This commit includes a hack fix that has allowed
the Ip traffic to work in SA mode. Furthermore,
NSA mode (without the EPC) works in this commit
as well with up to 4 NSA UEs. We will need to
understand better the issue with the UL_DCI
handling in the NRUE that was causing the gNB
to crash.

The AssertFatal in the gNB when the gNB runs out
of downlink HARQ PIDs is caused by the NRUE
receiving a UL_DCI and then building BOTH a UCI
and a CRC/RX pair. So we are essentially sending
a UL and DL DCI to the gNB in this case which
results in an unexpected HARQ PID being received
in the gNB. The filtering in this commit stops
the UCI being built in the NRUE when a UL_DCI
is recevied.
2021-11-18 08:26:12 -08:00
Melissa Elkadi
99a75d6fbb Merge branch 'eurecom-episys-merge-nsa' into episys/master-nsa 2021-11-18 05:36:04 -08:00
Melissa Elkadi
6c49b7c799 Fixing AssertFatal command 2021-11-18 05:35:34 -08:00
francescomani
18459a5e87 fix for msg4 rtx 2021-11-18 14:08:47 +01:00
Masayuki Harada
aba84b06cb Merge remote-tracking branch 'remotes/oai/develop' into NR_SA_pdu_session_modify_release 2021-11-18 09:27:37 +09:00
Melissa Elkadi
bb4db86d61 Do not handle multiplexing of UCIs if nothing is in UCI queue 2021-11-17 15:39:07 -08:00
Melissa Elkadi
236f980ba0 Merge branch 'episys/master-nsa' into episys/5gcn_traffic_testing 2021-11-17 15:12:59 -08:00
Melissa Elkadi
8241eb8e90 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-17 14:34:51 -08:00
Melissa Elkadi
40e213dd9d Merge branch 'eurecom-develop' into episys/master-nsa 2021-11-17 14:31:30 -08:00
Melissa Elkadi
638b32bbb2 Merge branch 'episys/master-nsa' into eurecom-episys-merge-nsa 2021-11-17 13:31:16 -08:00
Melissa
c92323fb13 Merge branch 'episys/david/nsa_integrated_RA' into 'episys/master-nsa'
Integrated ra procedure for both nsa and sa.

See merge request aburger/openairinterface5g!83
2021-11-17 21:13:37 +00:00
Deokseong "David" Kim
efc797f35d Integrated ra procedure for both nsa and sa. 2021-11-17 21:13:36 +00:00
Raphael Defosseux
4ccc1c722d fix(ci): one last missing parameter in CU conf file
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-17 20:42:11 +01:00
Melissa Elkadi
d28deb3c34 Handling multiplexing of UCI indications
The IP traffic of a single NRUE works most
of the time in this commit. There seems to
be a bug in the gNB and it will occassionally
crash with a heap-buffer-overflow. This will
be looked at in the next commit.

The changes in this commit include gathering
all of the UCI indications in the queue that
have the same scheduled sfn_slot and sending
them as one aggregated UCI when the scheduled
sfn_slot matches the received ul_tti_request.
2021-11-17 11:33:05 -08:00
rmagueta
f05ede7fed UE is transmitting the SRS periodically 2021-11-17 19:10:21 +00:00
matzakos
55313184ea Update DU configuration file for CI 2021-11-17 17:15:37 +01:00
francescomani
710b24968e move rsrp stats to evaluate_rsrp_report 2021-11-17 14:33:45 +01:00
francescomani
72f6489f67 minor log improvement 2021-11-17 12:17:47 +01:00
Raphael Defosseux
1ee7b96d64 fix(ci): 4g/5g RF simulation tests may fail due to lost socket on ue container. Repeat in case of failure
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-17 09:49:53 +01:00
mjoang
483b552a23 change response fifo from static to lcoal variable to make dlsch decoding function reentrant. 2021-11-16 19:31:43 -05:00
Laurent THOMAS
a38e368be2 fix gtp-u address between NSA and SA modes 2021-11-16 22:03:27 +01:00
rmagueta
dfec275b1c Send srs_config_pdu from MAC to PHY 2021-11-16 18:12:57 +00:00
francescomani
6e7c061586 fix rsrp meas report on screen 2021-11-16 18:31:45 +01:00
mjoang
1c225d278d Remove the global variables harq_process->processedSegments and phy_vars_ue->nbDecode so that it will not be an issue in concurrent slot decoding. 2021-11-16 11:03:49 -05:00
hardy
b16d5a6f10 update test description in test dashboard 2021-11-16 15:57:54 +01:00
Raphael Defosseux
ce1bc7cefb fix(ci): implement proper automatic un-deploy of RAN containers
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-16 15:03:01 +01:00
francescomani
59e727049d bugfix in dmrs_ports handling at UE for pdsch 2021-11-16 12:04:00 +01:00
francescomani
b4acb02807 change return of nr_generate_pdsch 2021-11-16 09:14:21 +01:00
Francesco Mani
094b9bcfe8 change in log level 2021-11-16 08:07:09 +00:00
mjoang
41e2b21d08 Change missing mutex init per review. 2021-11-15 13:58:25 -05:00
rmagueta
8c20f69aeb Compute slot and frame for SRS transmission at UE 2021-11-15 17:27:42 +00:00
luis_pereira87
43e224292c Change variable types in statistics to accommodate more bytes and to avoid negative values 2021-11-15 17:08:57 +00:00
luis_pereira87
cfbfd90fca Revert "Change variable types in statistics to accommodate more bytes and to avoid negative values"
This reverts commit eca68ea84a.
2021-11-15 17:08:43 +00:00
francescomani
8e092d52a6 change rxtxtime name in cofig files 2021-11-15 18:01:06 +01:00
francescomani
3311a9ead9 Merge remote-tracking branch 'origin/NR_UE_acknack' into NR_RRC_configuration_functions 2021-11-15 17:58:12 +01:00
francescomani
11ed0f5ede change name of minRXTXTIME 2021-11-15 17:40:38 +01:00
luis_pereira87
0b88c16427 Add T support for GNB_MAC_RETRANSMISSION_DL_PDU_WITH_DATA 2021-11-15 16:39:36 +00:00
luis_pereira87
bd9b730383 Change variable types in statistics to accommodate more bytes and to avoid negative values 2021-11-15 16:36:34 +00:00
francescomani
0e3aa93ed6 Merge remote-tracking branch 'origin/develop' into Fix_harq_value_scf 2021-11-15 17:18:21 +01:00
francescomani
174ee99d3c fix in dlsim 2021-11-15 16:47:56 +01:00
Raphael Defosseux
4ab1c44172 fix(ci): fix the iptables check
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-15 16:16:38 +01:00
Guido Casati
12700a1727 Updated band 78 conf file for SA mode 2021-11-15 16:13:15 +01:00
Guido Casati
7c941435ad Bugfix wrong configuration of initial ack nack timing in FDD mode 2021-11-15 16:13:15 +01:00
Guido Casati
0466281380 Update conf file for band 66 according to default SA mode scenario
- conf file now takes into account the basic SA scenario with gNB and CN in the same PC
- Network parameters and gNB interfaces have been updated accordingly
2021-11-15 16:13:15 +01:00
Raphael Defosseux
c29da837bd fix(ci): fix typo in main pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-15 15:36:14 +01:00
francescomani
0f41a3e394 removing unused functions 2021-11-15 14:53:12 +01:00
luis_pereira87
dd1f8fbaee Update SA default configuration files 2021-11-15 11:59:21 +00:00
rmagueta
dd018928b1 Merge remote-tracking branch 'origin/develop' into develop-SRS 2021-11-15 11:42:35 +00:00
rmagueta
4f783e83b6 Set SRS as periodic 2021-11-15 11:41:10 +00:00
francescomani
7c469da2ad handle tdd period in max ulsch inactivity 2021-11-15 12:35:24 +01:00
rmagueta
55d753bb8e Revert "Create gNB_scheduler_SRS.c"
This reverts commit 68e968e556.
2021-11-15 11:10:55 +00:00
francescomani
7f392cdb24 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-15 11:33:46 +01:00
francescomani
b218f55a82 setting max mcs to the one reported by CSI 2021-11-15 11:27:17 +01:00
francescomani
83e203476f Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-11-15 10:51:09 +01:00
francescomani
658ba851ea Merge remote-tracking branch 'origin/develop' into remove_ratematching_assertion 2021-11-15 10:31:06 +01:00
francescomani
d0c98fa4de handle error in coding functions 2021-11-15 10:31:00 +01:00
Laurent THOMAS
66073d50fc merge develop 2021-11-15 10:25:52 +01:00
luis_pereira87
eca68ea84a Change variable types in statistics to accommodate more bytes and to avoid negative values 2021-11-15 09:10:51 +00:00
luis_pereira87
bc9eeef2f8 Put back a pthread_mutex_lock for UL_INFO_mutex 2021-11-15 08:21:53 +00:00
luis_pereira87
260eb84633 Schedule ulsch in all slots for SA 2021-11-15 08:00:40 +00:00
luis_pereira87
7738462b0c Add missing stats after merge 2021-11-15 07:44:54 +00:00
luis_pereira87
1e96501286 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	executables/nr-gnb.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/main.c
2021-11-15 07:16:06 +00: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
Raymond Knopp
3d454a45a3 allow max_ul_frame_inactivity=0. This means 1/2 frame. 2021-11-14 20:09:21 +01:00
Raphael Defosseux
300af2c5ab fix(ci): proper usage of flag for merge request
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-14 17:36:21 +01:00
Raymond Knopp
c2fbcbcabc Merge branch 'bler_txoptim' of https://gitlab.eurecom.fr/oai/openairinterface5g into bler_txoptim 2021-11-14 17:28:56 +01:00
Raymond Knopp
02b17c79d6 commit before merge. minor changes for testing 2021-11-14 17:28:24 +01:00
Michael Cook
afeb5f4de2 Fix warning about unused variable off
It's used only if LOG_M is enabled.
2021-11-14 06:29:24 -08:00
Raymond Knopp
654279f91f warning in ulsim.c 2021-11-14 12:23:10 +01:00
Raymond Knopp
c8d9adca58 Merge remote-tracking branch 'origin/develop' into tx-proc-optim 2021-11-14 11:22:04 +01:00
Raymond Knopp
66d9f83cd0 nr_ulsim working again 2021-11-14 11:21:33 +01:00
Remi Hardy
76d299f127 Integration_2021_wk45_c
MR !1307: WIP: [CI] real time stats and monitoring update
-MR !1280 (closed) : MAC statistics in separate thread
-log X1AP-PDU messages for eNB
-update real time stats collection (from stats logs file instead of stdout)
-update runtime monitoring (conf file, pages)

MR !1301: Fix for blocked process in FR2

MR !1312: CI: adding NSA-B200 sanity check pipeline to automatic regression test-suite
-Validate that all required routes are present 
-Copy the image from a "build" server to a "test" server 
-fixes for the log collection on the CoreNetwork components

MR !1282 : Add MCS from HARQ BLER
-Estimates correct MCS using EMA, kept between target thresholds dl_bler_target_upper and dl_bler_target_lower (conf options) for 1st retx and below dl_rd2_bler_threshold for 2nd retx 
-Maximum MCS configurable 
-on 3rd retx, reduce MCS by 5

Other commits in the integration branch:
-push DL traffic to 60Mb
-solve long ping time in SA
2021-11-14 08:28:57 +00:00
rmagueta
68e968e556 Create gNB_scheduler_SRS.c 2021-11-13 17:10:07 +00:00
Melissa Elkadi
e928ef991a Merge branch 'episys/david/nsa_integrated_RA' into eurecom-episys-merge-nsa 2021-11-12 10:52:27 -08:00
David Kim
27163417a0 Fixed id mismatch problem for pdcp tun interface in enm. 2021-11-12 10:25:49 -08:00
Melissa Elkadi
368977b3bb The NRUE and gNB are connected to the 5GCN!
When IP traffic is started on the NRUE, the
gNB immediately crashes
2021-11-12 09:03:47 -08:00
luis_pereira87
32e7b7b83f Update SA default configuration files 2021-11-12 16:39:16 +00:00
matzakos
40263348f9 Merge with NR_F1C_F1U_extensions and resolve conflicts 2021-11-12 17:01:27 +01:00
francescomani
c830f78f8a UE capabilities directly from file for phy-test and do-ra 2021-11-12 16:42:03 +01:00
matzakos
a8bfb20121 Update du config file after update with develop 2021-11-12 16:16:33 +01:00
matzakos
c8f76a2469 Increase size of RRC container carrying cellGroupConfig info for F1 initial UL RRC message transfer
-Fixing issue with decoding cellGroupConfig later
2021-11-12 15:29:44 +01:00
rmagueta
6c767458e8 Fill fapi_nr_ul_config_srs_pdu struct 2021-11-12 14:23:08 +00:00
francescomani
8849a5e20d fix for numDmrsCdmGrpsNoData in SA 2021-11-12 09:55:58 +01:00
Melissa Elkadi
36250e72f2 Merge branch 'episys/david/nsa_integrated_RA' into eurecom-episys-merge-nsa 2021-11-11 18:58:14 -08:00
Melissa Elkadi
04d0004e4d Merge branch 'episys/david/nsa_integrated_RA' into eurecom-episys-merge-nsa 2021-11-11 13:59:42 -08:00
David Kim
01c2f79f9e Fixed build error in eNB ocp. 2021-11-11 12:43:26 -08:00
Roberto Louro Magueta
7c899fd147 Revert "Init SRS parameters at gNB"
This reverts commit 6aea63a0eb
2021-11-11 17:58:11 +00:00
rmagueta
6aea63a0eb Init SRS parameters at gNB 2021-11-11 16:46:43 +00:00
francescomani
2eac9f53c7 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-11-11 16:35:46 +01:00
rmagueta
7e8dd29828 Add SRS debug 2021-11-11 15:13:34 +00:00
hardy
0de1ebde81 push DL traffic to 60M in SA 2021-11-11 12:13:13 +01:00
Raymond Knopp
88e0c12f25 some adjustments after merge with develop 2021-11-11 08:43:10 +01:00
Raymond Knopp
95343c6658 Merge remote-tracking branch 'origin/develop' into tx-proc-optim
Conflicts:
	common/utils/nr/nr_common.h
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
2021-11-11 08:34:06 +01:00
Raymond Knopp
07d735f93c step-by-step merging from tx-proc-optim-lts. Everything except NR_TRANSPORT merged. Some issues with 64QAM modulation 2021-11-11 08:28:10 +01:00
Raymond Knopp
dee9bbb119 dlschsim fixed 2021-11-11 07:54:23 +01:00
David Kim
d118cbfadc Consolidated two 'if' condition in ra procedures for nsa and sa. 2021-11-10 18:18:12 -08:00
Raymond Knopp
2d6990e68a PTRS modulation is ok 2021-11-10 23:59:16 +01:00
Melissa Elkadi
5fcea85427 Getting rid of duplicate if statement contents 2021-11-10 14:41:54 -08:00
David Kim
1803b1fb34 Integrated ra procedure for both nsa and sa. 2021-11-10 13:52:29 -08:00
mjoang
d0488b5d51 small change on adding mutex to protect ul_config_pdu against race condition. 2021-11-10 15:39:06 -05:00
hardy
0586af8b5a solve (long) ping time issue in SA 2021-11-10 20:50:41 +01:00
hardy
032ec1cdad Merge remote-tracking branch 'origin/NR_MCS_BLER' into integration_2021_wk45_c 2021-11-10 20:44:32 +01:00
rmagueta
dc59ed65bd Creating the empty functions required for the NR-SRS 2021-11-10 19:24:32 +00: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
rmagueta
f91017e2f0 Change LOG levels 2021-11-10 17:31:49 +00:00
matzakos
6a1ac14447 Include mandatory transaction ID field in F1 initial UL RRC message transfer 2021-11-10 18:31:08 +01:00
Melissa Elkadi
c5ad7d89fe Removing white space 2021-11-10 08:59:46 -08:00
rmagueta
4acc0f05ac Update config files for SA 2021-11-10 16:57:36 +00:00
francescomani
26a541e2b0 removing unnecessary free tdd_UL_DL_ConfigurationCommon 2021-11-10 16:24:05 +01:00
Raphael Defosseux
36066ac796 fix(ci): fix the physim image push to cluster; one single TAC in mme.conf
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-10 15:52:01 +01:00
francescomani
bf8a191370 fixing msg2 scheduler 2021-11-10 15:24:08 +01:00
Melissa Elkadi
046258f1ba Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-09 15:17:58 -08:00
Raymond Knopp
bf2e231c60 shuted 128-bit SIMD for the moment in nr_pdsch.c resource mapping, because of alignment issues. Use 64-bit SIMD instead for now. To be updated. 2021-11-10 00:04:11 +01:00
Melissa
9fb044588d Merge branch 'episys/david/nsa_ci_debug_for_sa' into 'episys/master-nsa'
NSA CI debug update for SA mode

See merge request aburger/openairinterface5g!82
2021-11-09 23:00:14 +00:00
Raymond Knopp
0cde0ce268 resource mapping bugfix 2021-11-09 22:19:44 +01:00
David Kim
0429f7e872 Merge remote-tracking branch 'origin/episys/master-nsa' into episys/david/nsa_ci_debug_for_sa 2021-11-09 11:10:40 -08:00
Mario Joa-Ng
b965cbbb0a Using rnti to assign different pucch resource to different UE. 2021-11-09 13:24:26 -05:00
Melissa
dfd428672b Merge branch 'episys/mel/sa_development_init' into 'episys/master-nsa'
CBRA Procedure Working for SA Mode

See merge request aburger/openairinterface5g!81
2021-11-09 17:46:07 +00:00
Melissa Elkadi
83f8d71233 Fixing indentation in if statement and adding conf file 2021-11-09 09:44:48 -08:00
francescomani
47847f1701 bugfix in ul preprocessor 2021-11-09 15:57:31 +01:00
Raphael Defosseux
adcad3d9d5 fix(ci): increased some timeout values
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-09 15:55:41 +01:00
francescomani
6087030c78 adding min_rxtxtime_pdsch to fdd config file 2021-11-09 13:53:58 +01:00
rmagueta
70d3c7973c Merge remote-tracking branch 'origin/develop' into bler_txoptim 2021-11-09 10:39:49 +00:00
Raymond Knopp
bac8bc569c minor changes in dlschsim, still doesn't work :-( 2021-11-09 10:51:00 +01:00
francescomani
1396004ccc Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-09 10:44:34 +01:00
hardy
47b22314d4 Merge remote-tracking branch 'origin/ci-adding-route-checks' into integration_2021_wk45_c 2021-11-09 10:19:49 +01:00
hardy
ffba98cadf Merge remote-tracking branch 'origin/thread-blocking-fix' into integration_2021_wk45_c 2021-11-09 10:19:29 +01:00
hardy
4b9f7ec404 Merge remote-tracking branch 'origin/ci-test-newstats' into integration_2021_wk45_c 2021-11-09 10:19:10 +01:00
francescomani
1624e81141 fixes in UL scheduler at UE 2021-11-09 10:18:39 +01:00
Raphael Defosseux
6e5527e0c6 fix(build): new version of RHEL8 to support
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-09 09:51:30 +01:00
Remi Hardy
1b3a124ba1 Integration 2021 wk45 b
MR !1279 : Improvements to support other NR bands
Minor improvements and small bug fixes to support other MR bands

MR !1294 : code cleanup, no feature
Remove legacy code, not used and not usable anymore and fix a issue in PDCP NETLINK initialization

MR !1298 : 5G NR timing fixes

MR !1295 : NR UE PDCCH fixes
Removing some hardcoding and bugs in dci detection at UE, mostly for SIB1 and RA

MR !1303 : fix bug in GNB MAC nr_store_dlsch_buffer() to handle multipe UEs correctly.
2021-11-09 07:33:26 +00:00
David Kim
3613485749 Added new config file for gNB in SA test. 2021-11-08 21:30:35 -08:00
David Kim
d564d8f94d Updated to emulate_l1 instead of nsa in gNB indication. 2021-11-08 21:27:55 -08:00
David Kim
e5ac73a552 Merge remote-tracking branch 'origin/episys/mel/sa_development_init' into episys/david/nsa_ci_debug_for_sa 2021-11-08 21:21:44 -08:00
David Kim
b13fce5385 Removed NSA mode further in nrUE codes and fixed format. 2021-11-08 16:04:39 -08:00
Melissa Elkadi
dbf2aba843 Reverting white space change 2021-11-08 14:41:51 -08:00
Raphael Defosseux
c40130ecf7 fix(ci): fix some typos
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-08 20:33:18 +01:00
Melissa Elkadi
dbacbfd0cd Removing more unnecessary filtering in NRUE
Got rid of unnecessary mac->scc check as well
2021-11-08 11:28:41 -08:00
Melissa Elkadi
fa4617c0bf Fixing MR based on OAI feedback
The following was changed in this commit:
 - A new struct in the mac instance was created
   for all emulated L1 fields.
 - NR UE RRC state bug was fixed
 - Checking the RAR rnti based on the MAC instance
   ra.ra_rnti and not hardcoding to 0x10b
 - Modified the name of the new emulate_l2 flag
   to make sense: emulate_l1
2021-11-08 10:59:28 -08:00
francescomani
911b38776f to avoid unnecessary error message for mixed slot in fdd 2021-11-08 18:07:38 +01:00
Mario Joa-Ng
30bfd72920 fix parallelization of LDPC decoding in dlsim 2021-11-08 11:59:17 -05:00
francescomani
bde7e3a378 fixing initialization of UL_tti_req_ahead 2021-11-08 17:39:58 +01:00
Raphael Defosseux
1e810c08f5 fix(ci): forcing no colour on grep commands
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-08 16:53:08 +01:00
francescomani
6ce5f98c62 some fixes 2021-11-08 16:52:00 +01:00
francescomani
c9f2f54df3 using minRXTXTIMEpdsch in acknack scheduling (for common case) 2021-11-08 15:18:05 +01:00
hardy
88fd5df1f0 Merge remote-tracking branch 'origin/nr_multiple_ue' into integration_2021_wk45_b 2021-11-08 13:13:56 +01:00
hardy
cf41f0ccda Merge remote-tracking branch 'origin/NR_debug_sib1_reception' into integration_2021_wk45_b 2021-11-08 13:13:35 +01:00
hardy
c3955ec7b8 Merge remote-tracking branch 'origin/nr_timing_fixes' into integration_2021_wk45_b 2021-11-08 13:13:12 +01:00
hardy
4c2c7f92a5 Merge remote-tracking branch 'origin/code-cleanup-2021oct24' into integration_2021_wk45_b 2021-11-08 13:12:52 +01:00
hardy
9c1336157e Merge remote-tracking branch 'origin/NR_SA_band_96' into integration_2021_wk45_b 2021-11-08 13:12:28 +01:00
francescomani
3808937231 Merge remote-tracking branch 'origin/NR_UE_acknack' into nr-fdd-scheduling 2021-11-08 11:53:50 +01:00
francescomani
30cc2b764f removing min_fb_time from acknack scheduling 2021-11-08 11:00:59 +01:00
Raphael Defosseux
9f811c0659 feat(ci): display TAU request count from EPC/CN5G point of view. Also display the image tag/creation date
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-08 10:35:10 +01:00
francescomani
3fcbfdadad Minimum value of DL to ACK 2021-11-08 10:26:14 +01:00
francescomani
6784eac3f5 runmodem update for sa 2021-11-08 09:52:43 +01:00
francescomani
d872a9bc95 runmodem update for IF frequency 2021-11-08 09:52:29 +01:00
francescomani
6413a67485 adding assertion in case of reconfiguration of nb of harq processes 2021-11-08 09:34:52 +01:00
Mario Joa-Ng
33927d85a8 handle the case where dl_harq lists have been created. 2021-11-08 09:11:26 +01:00
hardy
4106a3a091 fix rt stats bug for enb (skip) 2021-11-07 18:30:26 +01:00
mjoang
4a9c74f41b rebase to develop 2021-11-05 22:46:09 -04:00
Melissa Elkadi
85e066054f Checking for emulate_l2 instead of NSA flag 2021-11-05 15:45:48 -07:00
Melissa Elkadi
f536682367 Fixing formatting and added AssertFatal 2021-11-05 14:59:00 -07:00
David Kim
d51314f57d Updated coding format in unified way. 2021-11-05 14:42:39 -07:00
David Kim
6420c3166b Removed unrequired comments. 2021-11-05 14:34:18 -07:00
David Kim
fa6aa31559 Changed log level from I to D in PUSCH detection. 2021-11-05 14:25:09 -07:00
David Kim
8d6b112c17 Removed unrequired nsa conditions. 2021-11-05 12:35:15 -07:00
Melissa Elkadi
fbd791d4a4 Removing unnecessary DCI filtering.
The DCIs are filtered already in the NRUE when
the NFAPI messages are handled.
2021-11-05 12:22:00 -07:00
Melissa Elkadi
a2a823d54b Removing log 2021-11-05 11:56:28 -07:00
Melissa Elkadi
3569ba630c Reverted log level and gNB_RA_sched for NSA mode 2021-11-05 11:49:34 -07:00
Melissa Elkadi
f04f8e7d7b Setting ra_state breaks RA Procedure for NSA mode
Also, changed some if statement formatting.
2021-11-05 11:29:45 -07:00
David Kim
fc1815170e Fixed a bug on setting the number of pdus. 2021-11-05 09:48:48 -07:00
Raphael Defosseux
864df49dc9 fix(ci): proper collection of logs for Core Network
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-05 16:13:31 +01:00
Guido Casati
565fb88342 Simplified set_tdd_config_nr_ue function
- reviewed redundant code
- removed unnecessary return
2021-11-05 16:05:10 +01:00
Guido Casati
9d9bc0e718 Conf file for band 66 in SA mode 2021-11-05 16:05:10 +01:00
Guido Casati
755c8d5055 Fixed calculation of num dmrs per prb at gnb side
- the param was hardcoded to 12 at gNB side
  while it was computed at UE side
- the same function used at UE side has been moved to the common file
- now the computation at gNB side is consistent with the UE
2021-11-05 16:05:10 +01:00
Guido Casati
a5f18dbb20 Enhancements to the overall MAC logging
- updating to NR_MAC tag
- minor cleanups
- added more relavant info for debugging purposes
2021-11-05 16:05:10 +01:00
Guido Casati
0286138f33 Adaptations of the MAC scheduling to support FDD
- removed calls to the TDD UL/DL configuration common in FDD mode
- bugfix in the generation of prach info from index
- initial adaptation of gNB schedulers
- adapted PUCCH ack/nack scheduling by taking into account 6 slots min
  delay in FDD mode (to be integrated with latest development of PUCCH)
- made the use of nr_slots_per_frame more consistent
2021-11-05 16:05:01 +01:00
mjoang
1b2d5b0c96 minor change to clear ul_config_list array 2021-11-05 09:38:28 -04:00
hardy
0165719a3b fix target IP address for pings with CN5G 2021-11-05 14:27:14 +01:00
hardy
2b36b1f32e redefine monitor conf file + paged graphs 2021-11-05 12:01:49 +01:00
hardy
90e84c01d4 test : add some rt stats to the monitor (graph) 2021-11-05 12:01:49 +01:00
francescomani
3a58b398c8 use of 1st active bwp in add ue function 2021-11-05 11:47:23 +01:00
matzakos
24cd2887d2 Change size parameter in encoding function for initial cellgroupconfig 2021-11-05 11:20:44 +01:00
francescomani
72f40d6fb1 fix for SA nr of dl harq 2021-11-05 11:05:39 +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
Melissa Elkadi
bf8a37f878 CBRA and CFRA procedure complete!! 2021-11-04 18:27:26 -07:00
Melissa Elkadi
954a64a1c0 SA mode SIB processing
In SA mode, we will not be able to process the SIB if
we change for mac->scc_SIB == NULL : return;

So we change the statement for NSA mode
2021-11-04 17:58:01 -07:00
Melissa Elkadi
7c484fba33 Changing how we filter DCI's fixes NSA mode
It will likely break SA mode because it will
filter out Msg3. I will come back to this and
fix it for Msg3.
2021-11-04 17:17:55 -07:00
mjoang
834cd841d5 fix a a bug to handle tx_req_body if the number is > 1. Merge 2021-11-04 19:41:30 -04:00
Melissa Elkadi
f9b8461548 Reverting more changing that were unnecessary for SA 2021-11-04 16:40:44 -07:00
Melissa Elkadi
59458c9690 Reverting changes that did not fix SA mode 2021-11-04 16:36:50 -07:00
mjoang
03dda0a942 fix a a bug to handle tx_req_body if the number is > 1 2021-11-04 19:35:07 -04:00
David Kim
ae8e0ea3da Reverted unncessary changes. 2021-11-04 13:46:24 -07:00
mjoang
698b75eba7 fix a bug from review on memsetting the complete structure (including the mutex). 2021-11-04 16:39:54 -04:00
Melissa Elkadi
479784a064 Calling proper nr_ue_get_rach function
Also, reverted a DCI filtering change to exist again.
2021-11-04 13:15:58 -07:00
Melissa Elkadi
e0991d3cec Reverting log changes for MR 2021-11-04 12:44:30 -07:00
Melissa Elkadi
2f7378d125 Update conf files to match master-nsa and made new SA mode gNB. 2021-11-04 12:30:53 -07:00
Melissa Elkadi
7e10b4a106 Reverting nr-uesoftmodem to match master and added SA mode 2021-11-04 12:16:39 -07:00
Melissa Elkadi
f4448023df Merge branch 'episys/master-nsa' into episys/mel/sa_development_init 2021-11-04 11:48:34 -07:00
Melissa Elkadi
10dec919ce Temp fix to try to get CBRA procdeure complete
Need to review this with Raymond.
2021-11-04 11:11:13 -07:00
David Kim
d2ecd40fbd Removed unused debug log. 2021-11-04 10:34:06 -07:00
David Kim
4fb67cbd9c Resolved conflict in Merge remote-tracking branch 'origin/episys/master-nsa' into episys/david/nsa_ci_debug_for_sa 2021-11-04 10:24:48 -07:00
hardy
9374eda06e fix typo in file handlers 2021-11-04 18:09:15 +01:00
Melissa Elkadi
7dc523355d Return 0 is not a fail, so changing to -1 2021-11-04 10:07:25 -07:00
David Kim
f4049a9fe2 Code cleanup 2021-11-04 09:31:42 -07:00
Melissa Elkadi
d7b4adb006 Only filtering DCIs in MAC layer after RA is complete. 2021-11-04 09:17:16 -07:00
hardy
60a91cc207 Merge remote-tracking branch 'origin/NR_MAC_statisticsthread' into ci-test-newstats 2021-11-04 17:00:34 +01:00
hardy
5b9de9c1e3 moved source for rt stats analysis : from stdout to stat log files 2021-11-04 16:51:47 +01:00
francescomani
7ffb689aee remove rate matching assertion 2021-11-04 14:22:52 +01:00
Raphael Defosseux
d818101c8c feat(ci): triggering NSA B200 Container Sanity Check from parent pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-04 13:15:16 +01:00
Laurent THOMAS
0ec15e8cfc Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-11-04 12:53:29 +01:00
Laurent THOMAS
9d1fe78e2e merge develop, no working yet 2021-11-04 12:53:01 +01:00
luis_pereira87
29eca46833 Merge remote-tracking branch 'origin/develop' into bler_txoptim
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/pucch_rx.c
#	openair2/GNB_APP/gnb_config.c
2021-11-04 11:32:03 +00:00
Sakthivel Velumani
3799aeb86b Merge branch 'develop' into NR_MAC_statisticsthread 2021-11-04 15:54:37 +05:30
Raphael Defosseux
e8719f80b8 fix(ci): typo on image tags
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-04 11:05:25 +01:00
hardy
f64b884ef8 add X2AP-PDU msg cnt to HTML 2021-11-04 10:48:17 +01:00
francescomani
c64872924b fix for harq value in fapi indication according to scf 2021-11-04 10:02:29 +01:00
Raphael Defosseux
c5f92226f9 Merge remote-tracking branch 'origin/develop' into ci-adding-route-checks 2021-11-04 09:55:23 +01:00
Raphael Defosseux
8b21ecc3a7 fix(ci): post stages in pipeline are empty when it is a PUSH
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-04 09:39:24 +01:00
francescomani
5bfd507915 some more fixes for RA at gNB 2021-11-04 09:19:29 +01:00
francescomani
469afd05f8 feature set update 2021-11-04 08:42:40 +01:00
David Kim
c7f083b14a Updated gNB part to handle CI test 2021-11-03 22:30:28 -07:00
Melissa Elkadi
81716e4c77 Filtering for multiple UEs in MAC excluding SIB and RAR
For multiple UEs, we need to be able to filter the rx'd messages by
the RNTI. However, we do not have the RNTI value until the CFRA (NSA)
or CBRA (SA) procedure is complete. The check below will handle this.
Also, depending on the RNTI value, we can have a SIB (0xffff), RAR (0x10b),
Msg3 (TC_RNTI) or an actual DCI message (CRNTI). When we get Msg3, the
MAC instance of the UE still has a CRNTI = 0. Only once the RA procedure
succeeds is the CRNTI value updated to the TC_RNTI.
2021-11-03 16:28:42 -07:00
Melissa Elkadi
edd710f6a9 Removing bad log and changing RA state when we get prach 2021-11-03 15:52:49 -07:00
mjoang
764da1379e protect ul_config_pdu against race condition 2021-11-03 14:39:25 -04:00
mjoang
0e8d5798fe Fix a logical error that sends obsolete buffer erroneously on UL and causes crash in gNB. 2021-11-03 14:38:49 -04:00
mjoang
f150e37deb Fix a logical error that sends obsolete buffer erroneously on UL and causes crash in gNB. 2021-11-03 14:38:26 -04:00
mjoang
ed84d40f72 add mutex to protect ul_config_pdu against race condition. 2021-11-03 14:30:42 -04:00
Melissa Elkadi
54a894e534 Updated the following for SA development:
1. The preamble index in the NRUE is random for SA.
   Using the preamble index from the mac->ra is
   correct.

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

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

4. Checking the RAR based on rnti = 10b and not the
   RA_STATE is better.
2021-11-03 10:54:33 -07:00
Laurent THOMAS
d49165f07a merge develop 2021-11-03 17:28:06 +01:00
Melissa Elkadi
c87141fbcf Updating gNB RA PROC to match develop branch 2021-11-03 09:14:40 -07:00
Melissa Elkadi
b8444ecbc1 Merge branch 'eurecom-develop' into episys/mel/sa_development_init 2021-11-03 08:54:06 -07:00
Mario Joa-Ng
b64f9f379f fix bug in GNB MAC nr_store_dlsch_buffer() to handle multipe UEs correctly. 2021-11-03 11:34:47 -04:00
Raphael Defosseux
7dee6f27c4 feat(ci): adding python method to copy built image to test server
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-03 15:50:49 +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
hardy
70d1e10fcf fix tests description 2021-11-03 14:44:25 +01:00
Melissa Elkadi
e8f965d010 Merge branch 'eurecom-develop' into eurecom-episys-merge-nsa 2021-11-03 06:32:38 -07:00
Raphael Defosseux
ac1ada1cd9 fix(ci): when the shared image dockerfile is being modified, force its build
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-03 14:12:34 +01:00
Raphael Defosseux
9682881c5b fix(build): proper UHD install from PPA
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-03 14:12:34 +01:00
Raphael Defosseux
4b0633cf47 fix(build): enable build from source on a given version of UHD. For the moment, in all docker images, v3.15.0.0 is used
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-11-03 14:12:34 +01:00
francescomani
ebaabde8c6 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-11-03 14:06:58 +01:00
francescomani
59195807cc Merge remote-tracking branch 'origin/develop' into NR_MCS_BLER 2021-11-03 14:03:01 +01:00
francescomani
d55158eb14 temporarily remove conditions on 2nd and 3rd rtx and increase max mcs to 28 2021-11-03 14:01:17 +01:00
Remi Hardy
1b742fbe13 integration_2021_wk44
MR !1233 : NR gNB MAC scheduler BWP start issue fix
This branch fix incorrect use of BWP start at gNB MAC scheduler (in DLSCH and ULSCH allocation and VRB map filling)

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

MR !1239 : NR SDAP gNB - Transparent Mode

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

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

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

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

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

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

See merge request aburger/openairinterface5g!79
2021-11-02 21:41:30 +00:00
Melissa Elkadi
b29fd449d0 Changed ul_tti_req queueing mechanism:
Instead of resetting queue when full,
take last item out.
2021-11-02 14:35:32 -07:00
Melissa Elkadi
554e7db1d9 Updated the nr_ue_get_rach() function to match develop
Also, in the nr_rrc_mac_config_req_ue(), we should
only be configuring L1 if we are not in the L2 emul
mode. We are crashing due to the RRC state in the NRUE
not being set/checked properly.
2021-11-02 13:21:42 -07:00
luis_pereira87
12e8818bed Remove duplicate validation 2021-11-02 17:49:52 +00:00
luis_pereira87
cd2f704163 Fix segmentation fault when exporting packets to wireshark with high MCS 2021-11-02 17:24:10 +00:00
hardy
9d246a012d update NSA 2x2 testcase 2021-11-02 17:22:55 +01:00
David Kim
bb21c02d2c updated for CI debug in nrUE side. 2021-11-02 08:56:06 -07:00
Sakthivel Velumani
b749ebcf11 Fix for blocked process in FR2 2021-11-02 14:39:27 +05:30
luis_pereira87
72e188935f Minor updates in default SA configuration files 2021-11-02 08:47:20 +00:00
Melissa Elkadi
7825350905 Fixing merge request comments 2021-11-01 16:24:59 -07:00
Raymond Knopp
1263074f59 log removal 2021-11-01 23:16:01 +01:00
David Kim
7b619c5439 updated for CI debug from crash. 2021-11-01 14:34:10 -07:00
Raymond Knopp
179075c210 removed >>8 on intel 24-bit CRC result (it is done outside). 2021-11-01 22:12:26 +01:00
Raymond Knopp
b58a8c6241 Merge remote-tracking branch 'origin/tx-proc-optim' into bler_txoptim 2021-11-01 21:19:23 +01:00
Raymond Knopp
5a25fdc681 Merge branch 'NR_MCS_BLER' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_MCS_BLER
Conflicts:
	ci-scripts/conf_files/enb.band38.nsa_2x2.100PRB.usrpn310.conf
2021-11-01 21:18:42 +01:00
Melissa Elkadi
e635b90fda Decoding MIB and SIB1 in NR UE
In this commit, we changed the stub function of the NRUE
to handle the MIB and SIB1, which arrive in a single
DL_TTI_REQ. If we have not received the MIB, we first
call the scheduler, then we handle any received NFAPI
messages. The NFAPI message handler will then call
the nr_ue_dl_indication() again, which will process
first the MIB, then SIB1. It seems that we are not
properly sending the SIB1 response back to the gNB so
the NRUE eventually crashes. We are however, properly
decoding the MIB and SIB which is a step in the right
direction!
2021-11-01 12:42:01 -07:00
David Kim
d62599b34e updated RRC_UE.c in nsa mode. 2021-11-01 10:21:49 -07:00
francescomani
f1992a58f8 fixes in bwp ss and coreset configuration at ue 2021-11-01 18:14:39 +01:00
Raymond Knopp
bdea7f464e missing .h file for intel crc 2021-11-01 17:57:04 +01:00
Raymond Knopp
97a1c0d91a added .h files for intel crc 2021-11-01 17:28:02 +01:00
Eurecom
afe2f1ed71 integration of Intel SIMD CRC routines for CRC24A/B 2021-11-01 17:26:31 +01:00
francescomani
1e6c36d877 fix segfault in SA rfsim 2021-11-01 12:03:25 +01:00
Masayuki Harada
010f64db50 Merge remote-tracking branch 'remotes/oai/develop' into NR_SA_pdu_session_modify_release 2021-11-01 14:45:52 +09:00
Raymond Knopp
64e610361f merge from Laurent's TX-optimization-lts (cherry-picked dlsch_encoding component) 2021-10-31 22:43:20 +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
Raymond Knopp
a9d49ef018 further minor optimizations 2021-10-31 09:52:19 +01:00
Raymond Knopp
eecd718b51 Merge remote-tracking branch 'origin/develop' into resource-mapping-optim 2021-10-31 08:01:21 +01:00
Raymond Knopp
c84a2a5088 dlsim for more BW 2021-10-31 08:01:05 +01:00
Raymond Knopp
2f30123fc2 testing up to mcs 28 2021-10-31 07:44:25 +01:00
David Kim
e303b1be6b Fixing ra procedures sync problem by checking rnti value. 2021-10-29 17:48:30 -07:00
David Kim
95202fba91 updated for CI sa test 2021-10-29 14:47:56 -07:00
Melissa Elkadi
04251e84be Removing name from log and demoting log 2021-10-29 13:51:58 -07:00
Melissa Elkadi
1dec9dd9f6 First attempt at receiving MIB and SIB in SA mode 2021-10-29 13:49:56 -07:00
francescomani
3c39f09df8 Merge remote-tracking branch 'origin/develop' into NR_MCS_BLER 2021-10-29 18:39:41 +02:00
hardy
9468442ff9 fix HTML rendering 2021-10-29 16:51:20 +02:00
Raphael Defosseux
c89f2dbd0b fix(ci): some typos on the container name of MME
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 16:11:08 +02:00
Raphael Defosseux
a443a5b45e feat(ci): adding support to deploy a MAGMA-MME-based container-based EPC
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 15:33:39 +02:00
hardy
3963f2fe66 Merge remote-tracking branch 'origin/develop-improve-SA-config' into integration_2021_wk44 2021-10-29 15:26:22 +02:00
hardy
b1e14c2c43 push DL to 60Mb in NSA 2021-10-29 15:15:40 +02:00
hardy
96b6054514 add attach-detach testcase for NSA 2021-10-29 15:01:23 +02:00
Raphael Defosseux
0238f49baf feat(ci): adding a MAGMA-MME-based EPC deployment
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-29 14:52:47 +02:00
hardy
03599d3d75 change eNB ID to prevent TAU issue 2021-10-29 14:43:08 +02:00
francescomani
facf3aa6ac min_rxtxtime_pdsch for OAI UE in ci files 2021-10-29 11:05:52 +02:00
Melissa Elkadi
733279689f Fixing white space and added a TODO comment 2021-10-28 15:02:14 -07:00
David Kim
44a13ef81e Removed initial segment fault by adding nsa mode. 2021-10-28 13:59:57 -07:00
ahadi
de272c7b2f print 2021-10-28 22:17:35 +02:00
Melissa Elkadi
26ddb9eabe Only do LTE channel modelling in LTE mode, not NSA 2021-10-28 11:58:01 -07:00
Melissa Elkadi
3007550150 Updating DCI configuration to avoid seg fault 2021-10-28 11:14:47 -07:00
Melissa Elkadi
cfb49c17d2 Added a seprate queue for chan_params 2021-10-28 10:32:28 -07:00
Melissa Elkadi
fa810fab70 Accounting for wrap in slot comparison in gNB 2021-10-28 08:58:36 -07:00
Melissa Elkadi
66144698c7 Reverting log and white space changes for MR 2021-10-28 08:51:09 -07:00
Melissa Elkadi
455e3d8343 This commit gets rid of sfn_slot sleep
In the previous commit, the NRUE would record
the time it received a slot and compare this
rx time to the next slot. If the next slot
came in before it had been 500us, the NRUE
would sleep a delta amount to make the duration
between the two slot indications 500 us. This
change complicated the code and did not
improve the performance so it was removed.
Furthermore, this commit removes the old
queueing mechanism of the slot indications and
uses calloc rather than an array.
2021-10-28 08:14:20 -07:00
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
Melissa Elkadi
3ec5210652 Merge branch 'episys/master-sa' into episys/mel/merge_bw_testing_abs 2021-10-28 06:36:43 -07:00
hardy
707a8000db google sheet dashboard is deprecated, replaced by Html dashboard hosted on AWS S3 2021-10-28 11:37:03 +02:00
Laurent THOMAS
2d3bfb9b67 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into crash-gcc-O0 2021-10-28 11:03:42 +02:00
Melissa
f9ad8dbd9d Merge branch 'origin-episys-merge-nsa' into 'episys/master-nsa'
Instead of removing the frees we allocated from heap.

See merge request aburger/openairinterface5g!78
2021-10-27 22:37:14 +00:00
Melissa
957c79e5eb Update README.txt for NSA mode 2021-10-27 22:36:33 +00:00
Melissa
534a8bbf10 Update README.txt for LTE L2 Emulator 2021-10-27 22:28:25 +00:00
Melissa Elkadi
916c30054f Merge branch 'episys/master-nsa' into origin-episys-merge-nsa 2021-10-27 15:08:32 -07:00
Melissa Elkadi
4eb0aceab6 Merge remote-tracking branch 'eurecom/develop' into episys/master-nsa 2021-10-27 15:05:05 -07:00
Raymond Knopp
cff72a8b73 SIMD optimization for RE mapping 2021-10-27 21:58:26 +02:00
Thomas Schlichter
94bc375f82 NR_UE: enable timing synchronization logging 2021-10-27 17:30:05 +02:00
Thomas Schlichter
209d5f1131 NR_UE: reset max_pos_fil in timing synchronization whenever we add/remove a sample 2021-10-27 17:30:05 +02:00
Thomas Schlichter
2c2ba26553 NR_UE: fix bug in timing adjustment 2021-10-27 17:30:05 +02:00
Thomas Schlichter
107f20ad29 fix rounding in TA calculation 2021-10-27 17:30:05 +02: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
Melissa Elkadi
18aaa88517 Merge branch 'eurecom-develop' into episys/mel/merge_bw_testing_abs 2021-10-27 08:05:26 -07:00
Melissa Elkadi
f816f8df8d Merge branch 'episys/master-nsa' into origin-episys-merge-nsa 2021-10-27 07:39:52 -07:00
Melissa Elkadi
639d85dded Merge branch 'eurecom-episys-merge-nsa' into origin-episys-merge-nsa 2021-10-27 07:31:59 -07:00
Melissa Elkadi
bf4bf813dd Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge-nsa 2021-10-27 07:31:35 -07:00
hardy
6a5d8b869e Merge remote-tracking branch 'origin/NR_ldpc_cuda_softmodem' into integration_2021_wk44 2021-10-27 16:22:21 +02:00
Mohsen Ahadi
1f86c34f0a Update nr_init.c 2021-10-27 14:15:43 +00:00
frtabu
8dd5346e2c fixes after rebase 2021-10-27 16:13:53 +02:00
hardy
9aab2b73b2 tentative : change eNB ID again 2021-10-27 16:05:18 +02:00
frtabu
68d415fd85 go on with openCL implementation 2021-10-27 15:08:10 +02:00
hardy
af7d9cd920 Merge remote-tracking branch 'origin/nr_sdap_gnb' into integration_2021_wk44 2021-10-27 15:07:53 +02:00
frtabu
2e8013546b documentation update 2021-10-27 15:02:49 +02:00
frtabu
03ed2c35c4 Update licensing comments 2021-10-27 15:02:49 +02:00
francescomani
3186d45e71 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-10-27 15:00:50 +02:00
frtabu
1cd4c87052 Add -v option in ldpctest to select ldpc shared lib version
going on with openCL ldpc implem
2021-10-27 15:00:31 +02:00
Raymond Knopp
3586e83fde start translating cuda ldpc sources to opencl 2021-10-27 14:57:46 +02:00
frtabu
4345d42ec6 opencl implementation of ldpc decoder (platform query) 2021-10-27 14:57:46 +02:00
hardy
de801af6c1 Merge remote-tracking branch 'origin/nr_ue_mac_pdu_fixes_sr_bsr' into integration_2021_wk44 2021-10-27 14:51:49 +02:00
hardy
604e6e063e Merge remote-tracking branch 'origin/NR_BWP_fixes' into integration_2021_wk44 2021-10-27 14:48:58 +02:00
frtabu
d31ac5805e add openCL board detection 2021-10-27 14:42:12 +02:00
Raymond Knopp
29c7a3aa19 Add dummy open CL ldpc library 2021-10-27 14:42:12 +02:00
frtabu
00ea49b859 revert cuda compil flags and init code to initial version 2021-10-27 14:42:12 +02:00
frtabu
a6dd62a50f Enhance loader to allow library version selection for executables, as ldcptest which do not use the config module. 2021-10-27 14:42:12 +02:00
frtabu
41ba9a5afb Fix rebasing problems 2021-10-27 14:42:12 +02:00
frtabu
46a1b0725b adapt ldcp calls to spport new interface required by cuda decoder in shared lib 2021-10-27 14:42:12 +02:00
frtabu
9fcda4500a Move cuda ldpc code in a shared lib 2021-10-27 14:37:52 +02:00
frtabu
0cccbced28 Move cuda ldpc code in a shared lib 2021-10-27 14:37:52 +02:00
francescomani
4d21ec23df Merge remote-tracking branch 'origin/develop' into NR_SA_band_96 2021-10-27 14:21:02 +02:00
francescomani
d4c4f092b4 Merge remote-tracking branch 'origin/develop' into NR_cset_bwp_fixes 2021-10-27 14:06:25 +02:00
luis_pereira87
c1843c2649 Merge remote-tracking branch 'origin/develop' into handling-Msg4-Ack-failure 2021-10-27 12:39:57 +01:00
francescomani
b214d1afd1 Merge remote-tracking branch 'origin/develop' into NR_UE_acknack 2021-10-27 13:33:22 +02:00
luis_pereira87
e333a53bdd Merge branch 'develop' into develop-improve-SA-config 2021-10-27 12:09:46 +01:00
Remi Hardy
c1ae09621e Integration 2021 wk42-b (done in week 43)
See merge request oai/openairinterface5g!1291

MR !1277 : fixes for nr_set_pdsch_semi_static
MR !1225 : Cleanup and first step to enhance cpu measurments
MR !1278 : NR cleanup separation macphy
MR !1289 : Nr dlsch retransmission fix pucch allocation
MR !1270 : Removing hardcoded value of min channel bw for type0 pdcch
MR !1283 : Bugfix simultaneous RACH with multiple UEs

cherry-picks :
* MAC statistics in separate thread
* CI conf files update
2021-10-27 12:27:57 +02:00
Raymond Knopp
fc9baef93b initial optimization of PDSCH resource element mappping. 2021-10-27 12:17:54 +02:00
francescomani
35c4623bf2 fixes in uecap function 2021-10-27 12:16:03 +02:00
hardy
ac31ef5622 push DL to 60Mb in NSA 2021-10-27 10:51:09 +02:00
hardy
69b79efe50 change eNB ID for the different test config 2021-10-27 10:21:59 +02:00
hardy
7cf75d1ffc change eNB ID for the different test config 2021-10-27 10:19:53 +02:00
Melissa Elkadi
16b5da25a2 Merge branch 'episys/master-nsa' into episys/mel/merge_bw_testing_abs 2021-10-26 16:18:21 -07:00
Melissa Elkadi
cb8ecc6053 Merge branch 'eurecom-episys-merge-nsa' into origin-episys-merge-nsa 2021-10-26 16:03:48 -07:00
Melissa Elkadi
0fd35a229a Instead of removing the frees we allocated from heap.
In SA mode, there were DCI_INDs and RX_INDS that
were allocated on the stack and were assigned to
pointers used in the MAC instance. In NSA mode we
allocated these members on the heap so we free'd
them once we were done. In SA mode, they were not
allocated on the heap so this free call caused an
a free() error. We have now allocated these pointers
on the heap to avoid this error and ensure the
pointers are correct.
2021-10-26 15:48:03 -07:00
hardy
5cd3433f80 change eNB ID for the different test config 2021-10-26 20:06:46 +02:00
hardy
160d171b5e add sf_extension=0 2021-10-26 20:06:32 +02:00
hardy
e322006350 changed SA config to be the same as NSA config file 2021-10-26 20:06:07 +02:00
Raymond Knopp
a8bfa8ea5a MAC statistics in separate thread 2021-10-26 20:05:46 +02:00
luis_pereira87
68fef91816 Apply the NSA t_Reordering value also for SA 2021-10-26 19:04:03 +01:00
Melissa Elkadi
0f1723a485 Properly calling init_tun and nas_conf for SA and NSA 2021-10-26 09:56:09 -07: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
Melissa Elkadi
99183b1761 Freeing memory that wasnt allocated on heap in SA mode 2021-10-26 09:19:41 -07: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
francescomani
3556423cf0 read uecap file in nr_rrc_ue_process_ueCapabilityEnquiry 2021-10-26 13:55:29 +02: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
Melissa
265c88749e Merge branch 'episys/david/checking_valid_spCellConfig' into 'episys/master-nsa'
Added one more condition for valid cell config

See merge request aburger/openairinterface5g!75
2021-10-25 21:46:27 +00:00
Deokseong "David" Kim
a13ed80cb7 Added one more condition for valid cell config 2021-10-25 21:46:27 +00:00
Melissa
d08eed8f3a Merge branch 'origin-episys-merge-nsa' into 'episys/master-nsa'
Merge from Eurecom/develop into Eurecom/episys-merge-nsa

See merge request aburger/openairinterface5g!76
2021-10-25 21:10:46 +00:00
Melissa
7d6212bb44 Upload New File 2021-10-25 19:31:15 +00:00
Melissa
7fcaee0961 Upload New File 2021-10-25 19:30:59 +00:00
Melissa
f70058a460 Upload New File 2021-10-25 19:30:46 +00:00
Melissa
c18f57d389 Upload New File 2021-10-25 19:30:31 +00:00
Melissa Elkadi
6b551e81b7 Adding documentation for NSA and LTE L2 emulator 2021-10-25 12:28:58 -07:00
Melissa Elkadi
8a56d146cc Merge branch 'episys/master-nsa' into episys/mel/merge_bw_testing_abs 2021-10-25 11:07:59 -07:00
Melissa Elkadi
e4ad4a6b17 Merge branch 'episys/master-nsa' into origin-episys-merge-nsa 2021-10-25 10:46:36 -07:00
Melissa Elkadi
74b2dbe73a Merge branch 'origin-episys-merge-nsa' into eurecom-episys-merge-nsa 2021-10-25 10:34:53 -07:00
Melissa Elkadi
b56c8ac3ce Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa 2021-10-25 10:27:11 -07:00
Melissa Elkadi
2edfdb20a4 Merge remote-tracking branch 'eurecom/develop' into episys/mel/merge_bw_testing_abs 2021-10-25 09:52:23 -07:00
Melissa Elkadi
b7ec8ae21e Merge remote-tracking branch 'eurecom/develop' into eurecom-nfapi-carriage-returns 2021-10-25 09:23:21 -07:00
francescomani
0033e5cf89 fixes for RA proceduere at OAI UE 2021-10-25 18:08:25 +02:00
Raphael Defosseux
31544a99c1 fix(ci): disabling TAU in MME
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-25 18:06:42 +02:00
mjoang
f0c98e2b74 encapsulate mac_ce related logic into separate functionsin nr_ue_get_sdu. 2021-10-25 09:37:20 -04:00
francescomani
f1d1db0280 fixes for pdcch reception not in symbol 0 2021-10-25 14:05:44 +02:00
Laurent THOMAS
8b195c6cf0 minor modif to trigger CI 2021-10-24 18:42:53 +02:00
Laurent THOMAS
e3f9fd6b01 code cleanup, no feature 2021-10-24 14:47:24 +02:00
Laurent Thomas
eef2a58282 fix bug introduced by thisbranch 2021-10-24 14:31:42 +02:00
francescomani
f25fb602d9 using pdcch start symbol for sib1 detection 2021-10-22 18:11:12 +02:00
Francesco Mani
7efbf24485 Reducing the MCS drop in case of 3rd retransmission 2021-10-22 12:41:58 +00:00
hardy
50c87a05ac Merge remote-tracking branch 'origin/bugfix-multi-rach' into integration_2021_wk42_b 2021-10-22 14:36:12 +02:00
hardy
c834ea5899 Merge remote-tracking branch 'origin/NR_min_channel_bw_for_type0_pdcch' into integration_2021_wk42_b 2021-10-22 14:35:49 +02:00
hardy
5a792a1563 Merge remote-tracking branch 'origin/NR_DLSCH_retransmission_fix_pucch_allocation' into integration_2021_wk42_b 2021-10-22 14:35:19 +02:00
Laurent THOMAS
b69c446543 hotfix SEGV and divide by 0 2021-10-22 14:22:51 +02:00
Raphael Defosseux
e5c4a07f38 feat(ci): adding ip route check on the ci bench server for container-based tests
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-22 13:43:09 +02:00
francescomani
54c90078a1 mcs logs 2021-10-22 12:00:23 +02:00
francescomani
2db3e842fd Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-10-22 11:09:51 +02:00
francescomani
7c95b1eb83 Merge remote-tracking branch 'origin/develop' into NR_SA_band_96 2021-10-22 09:12:07 +02:00
Laurent THOMAS
71d2414ced merge develop 2021-10-21 18:31:52 +02:00
francescomani
137e81970e Merge remote-tracking branch 'origin/develop' into NR_MCS_BLER 2021-10-21 15:55:15 +02:00
francescomani
0e0be91aa3 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-10-21 15:07:38 +02:00
rmagueta
5ec960f5da Fix warning 2021-10-21 13:11:14 +01:00
rmagueta
bc282f39b9 Merge remote-tracking branch 'origin/develop' into handling-Msg4-Ack-failure 2021-10-21 12:51:37 +01:00
Masayuki Harada
30b40a0d5f Merge remote-tracking branch 'remotes/oai/develop' into NR_SA_pdu_session_modify_release 2021-10-21 19:49:26 +09:00
Masayuki Harada
772e873720 Add some comment and logs. 2021-10-21 19:45:42 +09:00
francescomani
b8c1de3ca0 Merge remote-tracking branch 'origin/develop' into NR_cset_bwp_fixes 2021-10-21 10:37:08 +02:00
Mario Joa-Ng
d483410e2a Merge develop. 2021-10-20 21:06:16 -04:00
Mario Joa-Ng
b84ef41159 Merge remote-tracking branch 'origin/develop' into nr_ue_mac_pdu_fixes_sr_bsr 2021-10-20 20:13:59 -04:00
hardy
fae36540ca Merge remote-tracking branch 'origin/NR_cleanup_MACPHY' into integration_2021_wk42_b 2021-10-20 21:09:48 +02:00
hardy
a9982cf5cb Merge remote-tracking branch 'origin/NRUE_usedlschparallel' into integration_2021_wk42_b 2021-10-20 21:01:31 +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
francescomani
43a831f951 Merge remote-tracking branch 'origin/develop' into NR_UE_acknack 2021-10-20 17:10:24 +02:00
frtabu
94c7ad6f47 minor fix after rebase on develop 2021-10-20 17:09:46 +02:00
frtabu
05875d7ff1 fix phy_simulators build error 2021-10-20 17:09:46 +02:00
frtabu
b15373e414 remove 2 useless modif which added alignment attributes, fix telnet server compilation erro 2021-10-20 17:09:46 +02:00
frtabu
c3c02bbd91 Use same port number for source and destination number in new gtp implementation. 2021-10-20 17:09:46 +02:00
frtabu
9707cb9910 rebase on develop 2021-10-20 17:09:46 +02:00
frtabu
e2cb0a90da ne cpu measurment implementation 2021-10-20 17:09:46 +02:00
frtabu
40fcd549ad enhance cpu measurment implementation 2021-10-20 17:09:46 +02:00
frtabu
61c9fa941e enhance cpu measurments to better support parallelism via using a message queue. 2021-10-20 17:09:46 +02:00
frtabu
272b42e8a1 remove file telnetsrv_5gUE_measurements.c (renamed) 2021-10-20 17:09:46 +02:00
frtabu
f7216a7f40 fix dlsim dlsch parallelisation 2021-10-20 17:09:46 +02:00
frtabu
cf09105b9a start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
frtabu
6dcfff90cf fix dlsim dlsch parallelisation 2021-10-20 17:09:46 +02:00
frtabu
e852c302bc fix error in channel simulation config file example 2021-10-20 17:09:46 +02:00
frtabu
9ca6305013 Add more measurments in telnet server for 5G UE 2021-10-20 17:09:46 +02:00
frtabu
c1f4bb18ea start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
frtabu
7c985d86f7 cpu load measurements enhancements 2021-10-20 17:09:46 +02:00
frtabu
2bfaedcd8f fix dlsim dlsch parallelisation 2021-10-20 17:09:46 +02:00
francescomani
0760409d04 Merge branch 'NR_UE_acknack' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_UE_acknack 2021-10-20 16:38:05 +02:00
francescomani
9e34bf015d Merge remote-tracking branch 'origin/develop' into NR_BWP_fixes 2021-10-20 16:34:38 +02:00
francescomani
a8d2265a9d Merge remote-tracking branch 'origin/develop' into NR_cleanup_MACPHY 2021-10-20 15:50:18 +02:00
francescomani
2bff9862f3 Merge remote-tracking branch 'origin/develop' into NR_UE_Capabilities 2021-10-20 14:01:57 +02:00
francescomani
82ba8ab0b1 Merge remote-tracking branch 'origin/develop' into pdsch_semistatic_fixes 2021-10-20 12:02:38 +02:00
francescomani
bb08abb17f fix for pucch allocation in case of retransmission for DLSCH 2021-10-20 10:49:59 +02:00
hardy
a722993724 Integration_2021_wk42
integration of integration_2021_wk41_bwt-abs into develop, completed week 42

MR !1273 : [CI] adding Docker Hub push pipeline
-When we merge to develop, this pipeline will automatically push images to hub.docker.com

MR !1267 : Enabled multi-threading for gNB L1 tx
-PHY PDUs like PDCCH PDU, PDSCH PDU, SSB PDU and CSI PDU have been removed from PHY_VARS_gNB structure.
Instead, they are made as a part of thread message for L1 Tx processing.
Two such thread messages are used so that two independent L1 Tx processing threads can be executed at once.
Monolithic mode works fine with rfsimulator. nfapi mode changes are integrated by not tested. Let the CI test it.

MR !1285 : [CI] test sa nsa
-Dev of nsa and sa test pipelines

MR !1266 : Changes for initialBWP size different than Coreset0
-Changes for initialBWP size different than Coreset0. Tested with 50 MHz 2x2 configuration, initialBWP with 133 PRBs.
-Other fixes and improvements to get a more stable 5G NR connection
2021-10-20 10:17:12 +02:00
Melissa Elkadi
f1cb957c04 Merge branch 'episys/master-nsa' of gitlab.int-episci.com:aburger/openairinterface5g into episys/master-nsa 2021-10-19 14:58:32 -07:00
Melissa Elkadi
7ccf745ddb Merge remote-tracking branch 'eurecom/episys-merge-nsa' into episys/master-nsa 2021-10-19 14:57:47 -07:00
Melissa Elkadi
7665f397a6 Only calling init_pdcp for NSA mode in gNB executable
Also, reverted some init_pdcp logic to match
the develop branch and added NSA mode. Lastly,
added additional error checking for cellConfig
to avoid crash in MAC layer.
2021-10-19 14:52:41 -07:00
Melissa
b4d8de2761 Merge branch 'revert-e630bf1c' into 'episys/master-nsa'
Revert "tx_data_request len field is a uint16_t"

See merge request aburger/openairinterface5g!74
2021-10-19 21:08:33 +00:00
Melissa
bcca4aad81 Revert "tx_data_request len field is a uint16_t"
This reverts commit e630bf1c52
2021-10-19 21:08:14 +00:00
Masayuki Harada
4ff836fe52 Merge remote-tracking branch 'remotes/origin/oai_develop' into NR_SA_pdu_session_modify_release 2021-10-20 00:42:05 +09:00
Melissa Elkadi
58eb8d2af4 Creating new queue for ul_ttis if dl_tti is late
Also, this commit changes the len argument in the
pusharray32 to match the actual field type (uint16_t).
There is also simple name change from sf -> slot.
The new queueing system is not a permanent solution.
It was simply a way for us to try to handle late
dl_tti_requests. If we queue every single ul_tti_req
that we get, the queue gets full very quickly becasue
we only remove ul_ttis from the queue when a uci has
been populated with a matching sfn/sf. Because of this,
we only queue ul_ttis if we have a uci_indication
prepared already. Rarely, a dl_tti_req will arrive at
the NRUE too late, and the NRUE does not have time
to create the uci_ind so we dont process the corresponding
ul_tti. A seprate queue was made to hold all other ul_ttis
the arrive in the NRUE (this queue will continuously
get full and then emptied) but will occasionally hold
a ul_tti that corresponds to a uci that hasnt
been populated yet.
2021-10-19 07:59:55 -07:00
francescomani
a6d9d8a2d1 ue capabilities xml file in SA conf files 2021-10-19 16:56:25 +02:00
hardy
a0d8e0fa51 fix SA testcase 2021-10-19 14:44:33 +02:00
Raphael Defosseux
73561c590a fix(ci): looping multiple times when trying to attach a module
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-19 13:57:11 +02:00
hardy
faadaaa475 fix nohup for OAICN iperf 2021-10-19 13:41:24 +02:00
hardy
433b8421ad tentative : push UL traffic nsa 2x2 2021-10-19 11:37:45 +02:00
luis_pereira87
832b8df6a8 Handling Msg3 when transferred through DCCH 2021-10-19 10:09:47 +01:00
Melissa Elkadi
e630bf1c52 tx_data_request len field is a uint16_t
In the pusharray32, used exclusively by the
    tx_data_request, the len argument passed in
    is defined as a uint32_t. This update fixes
    the passed in argument to be defined as a
    uint16_t instead.
2021-10-18 18:50:12 -07:00
Melissa Elkadi
09a90a4838 Merge remote-tracking branch 'origin/episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-18 18:36:44 -07:00
Melissa
09e1b98f87 Merge branch 'episys/david/sctp_update' into 'episys/master-nsa'
Adding NSA mode for calling rlc_module_init  and SCTP_TASK

See merge request aburger/openairinterface5g!72
2021-10-19 01:36:08 +00:00
Deokseong "David" Kim
a30e27cb11 Adding NSA mode for calling rlc_module_init and SCTP_TASK 2021-10-19 01:36:07 +00:00
Melissa
d1787a605e Merge branch 'episys/master-nsa+alarm' into 'episys/master-nsa'
Set alarm

See merge request aburger/openairinterface5g!71
2021-10-18 22:04:20 +00:00
Michael Cook
69fc902b52 Set alarm 2021-10-18 22:04:19 +00: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
hardy
68db2a0afd fix nohup 2021-10-18 16:41:36 +02:00
hardy
f32153f4df TC fix for nsa 2x2 fast ping : incorrect arguments 2021-10-18 16:41:36 +02:00
Thomas Schlichter
7b54ee312e Another review fix 2021-10-18 09:46:00 +00:00
Francesco Mani
1e99bbdc6e fix review 2021-10-18 09:42:09 +00:00
Thomas Schlichter
0141ae6137 review improvement 2021-10-18 08:51:35 +00: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
Melissa Elkadi
fe78d8a08f Only calling rlc_module_init for NSA mode
In develop, this function call was commented out.
It is necessary for NSA mode so we have modified
the logic for this case.
2021-10-15 09:13:36 -07:00
hardy
d2dff05c8c fix column shift for the test results 2021-10-15 16:03:51 +02:00
hardy
72a2fc67f3 fix key error in data model 2021-10-15 15:40:41 +02:00
hardy
64850ccfc2 fix empty columns count 2021-10-15 15:17:33 +02:00
hardy
4b7de39450 add last_pass 2021-10-15 15:11:45 +02:00
hardy
8ccb745d42 add delay to overcome google api quota 2021-10-15 11:21:03 +02:00
hardy
9163ccddf9 TC fix for nsa 2x2 fast ping : incorrect arguments 2021-10-15 10:56:01 +02:00
Masayuki Harada
cceed0341f Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into oai_develop 2021-10-15 15:30:04 +09:00
hardy
972b9847ea fix UE start command 2021-10-15 07:00:31 +02:00
hardy
92e286ecae aligning NSA and SA tests 2021-10-15 07:00:31 +02:00
hardy
fcb3233645 Merge remote-tracking branch 'origin/ci_test_sa_nsa' into integration_2021_wk41_bwt-abs 2021-10-14 20:51:22 +02:00
hardy
d3bc6d675c update trigger for 4 tests 2021-10-14 20:40:09 +02:00
rmagueta
4e949657fb Fix after merge 2021-10-14 14:59:11 +01:00
Eurecom
85d54ac9df logging 2021-10-14 15:46:50 +02:00
rmagueta
b1a8b06547 Merge remote-tracking branch 'origin/integration_2021_wk41' into integration_2021_wk41_bwt-abs
# Conflicts:
#	ci-scripts/xml_files/fr1_sa_quectel.xml
#	openair1/SCHED_NR/fapi_nr_l1.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/GNB_APP/gnb_paramdef.h
2021-10-14 14:22:23 +01:00
hardy
41bf35a605 fix stats monitor pickle filename 2021-10-14 14:15:51 +02:00
hardy
f462417b05 update runtime stats graphs 2021-10-14 12:57:30 +02:00
hardy
563fd66b9c bring ulsch and dlsch stats for gnb 2021-10-14 12:12:20 +02:00
hardy
010e0cca1b bring ulsch and dlsch stats for gnb 2021-10-14 11:22:22 +02:00
hardy
30c5668bbe push tc in duration and UL bw 2021-10-14 09:09:11 +02:00
hardy
90f3e9e231 fix missing bracket 2021-10-14 08:45:00 +02:00
hardy
8dd7e58977 change to specific run dir 2021-10-14 08:42:30 +02:00
hardy
95108806c5 checking pep8 2021-10-14 08:34:09 +02:00
Raymond Knopp
98a72d6c42 reduced logging 2021-10-14 07:56:58 +02:00
Raymond Knopp
be8dbcf52f Merge branch 'integration_2021_wk41' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_wk41 2021-10-14 01:37:20 +02:00
Raymond Knopp
166a8f69bb prb_mask calculation for mixed slot (for blacklisted PRBs) 2021-10-14 01:35:01 +02:00
hardy
eea4e17989 temp for debug : do not exit if RT stats are exceeded 2021-10-13 21:49:10 +02:00
Melissa Elkadi
dbe23abcf3 Merge remote-tracking branch 'origin/episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-13 09:57:54 -07:00
Melissa Elkadi
966a4d1d46 Merge remote-tracking branch 'origin/episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-13 09:57:33 -07:00
Melissa
2800fbe0d5 Merge branch 'episys/david/fixing_nr_xlsim_build' into 'episys/master-nsa'
Fixed nr_dlsim and nr_ulsim build errors.

See merge request aburger/openairinterface5g!69
2021-10-13 16:27:13 +00:00
Deokseong "David" Kim
a5d23a0e08 Fixed nr_dlsim and nr_ulsim build errors. 2021-10-13 16:27:13 +00:00
Melissa
cb1344274f Merge branch 'origin-episys-merge-nsa' into 'episys/master-nsa'
Merge changes to episys-merge-nsa to episys/master-nsa

See merge request aburger/openairinterface5g!70
2021-10-13 15:44:21 +00:00
Raymond Knopp
f287f0ec2d Merge branch 'integration_2021_wk41' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_wk41 2021-10-13 17:05:44 +02:00
Raymond Knopp
0a87da0b74 bugfix for allocation of blacklisted PRBs in MAC 2021-10-13 17:05:12 +02:00
matzakos
40b131be13 Small corrections in F1AP UE context management messages and indentation fixes 2021-10-13 16:45:42 +02:00
hardy
5b40814f3b fix typo 2021-10-13 16:32:01 +02:00
hardy
e579d5d27a fix typo 2021-10-13 16:18:55 +02:00
hardy
65d64518db typo fix 2021-10-13 16:12:06 +02:00
Melissa Elkadi
c751b594f1 Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge-nsa 2021-10-13 07:03:11 -07:00
Melissa Elkadi
09cec7c72e Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa 2021-10-13 07:01:27 -07:00
Raymond Knopp
c92899f704 blacklisting modification in ULSCH scheduler. 2021-10-13 15:54:27 +02:00
Melissa Elkadi
28391dad6a Updating pdcp init functions to maintain SA behavior 2021-10-13 06:52:15 -07:00
hardy
4b03a4ad61 copyout workaround 2021-10-13 15:04:15 +02:00
Raymond Knopp
bb0b900848 Merge branch 'integration_2021_wk41' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_wk41 2021-10-13 15:00:10 +02:00
Raymond Knopp
64538f086c NSA configuration files for CI (move to 3.35 GHz for NR) 2021-10-13 14:59:29 +02:00
hardy
548d3be97a Merge remote-tracking branch 'origin/ci_test_sa_nsa' into integration_2021_wk41 2021-10-13 14:58:31 +02:00
Raymond Knopp
a5b60534c2 added/activated logging for PUSCH decoding when NAK 2021-10-13 14:56:28 +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
hardy
37c66efd01 improve script struct 2021-10-13 14:35:28 +02:00
hardy
13dcddf40c add mtu 1500 in epc docker compose 2021-10-13 14:04:28 +02:00
francescomani
02e48dea4a change in 2x2 config file 5g carrier frequency 2021-10-13 12:34:58 +02:00
Melissa Elkadi
ea2495ea0a Attemping to stop filling UL_TTI_REQ queue
This is sort of hacky, but it stops the gNB
from crashing for 2 UEs with the proxy and
4 UEs with our internal proxy.
2021-10-12 17:06:00 -07:00
rmagueta
614c29ad1a Function cblas_zgemv replaced by cblas_zaxpy because it has an undefined output (for the same input) after a second call in RHEL8 (acorr = nan) 2021-10-12 18:56:35 +01:00
matzakos
1a40b36193 Use correct SCTP port number for F1AP according to standards 2021-10-12 19:38:19 +02:00
Melissa Elkadi
b17a5189b7 Adding timing informtion to rx'd slot indictions
Ensuring in the NRUE that the slot indications we
process are 500us apart.
2021-10-12 10:27:15 -07:00
hardy
90eb329da9 refactor stat_monitor 2021-10-12 16:06:41 +02:00
hardy
90c6b8b58b copyout workaround 2021-10-12 13:26:25 +02:00
hardy
12a773ac32 tentative to fix artifacts copyout 2021-10-12 12:27:29 +02:00
hardy
dd8a0798a7 more fixes for test framework 2021-10-12 09:02:24 +02:00
hardy
a7fe971522 collect stats log for multiple nodes 2021-10-12 09:02:09 +02:00
hardy
3a0161f10f fix NSA 2x2 pipeline and test 2021-10-12 09:01:51 +02:00
hardy
8a3f69049d more tests to be triggered by NSA tag 2021-10-12 09:01:36 +02:00
hardy
42deebac48 fix copyout fail 2021-10-12 09:01:22 +02:00
hardy
8570aaa59b debug 2021-10-12 00:15:39 +02:00
hardy
f9d5a87570 more fixes for test framework 2021-10-11 23:12:30 +02:00
hardy
6c64382d60 collect stats log for multiple nodes 2021-10-11 22:35:58 +02:00
luis_pereira87
545ee44407 Remove unreachable "else" statement 2021-10-11 18:14:45 +01:00
matzakos
39aaf63a4e Merge with branch NR_F1C_F1U_extensions 2021-10-11 17:56:28 +02:00
luis_pereira87
ae8d459c06 Fix in polar_rate_matching 2021-10-11 16:25:56 +01:00
Raymond Knopp
92c5b69b8e Merge branch 'integration_2021_wk41' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_wk41 2021-10-11 16:03:30 +02:00
Raymond Knopp
0e6e2c3c52 Msg3 PRB reduction to 8. Gives 8 byte Msg3 with MCS 0 2021-10-11 16:03:02 +02:00
hardy
d82a1c5d28 fix NSA 2x2 pipeline and test 2021-10-11 15:30:52 +02:00
Raymond Knopp
7edc7169ff updated CI conf file for 2x2 NSA (blacklisting middle 4 PRBs) 2021-10-11 14:37:39 +02:00
Raymond Knopp
fe0c3293cb Merge branch 'integration_2021_wk41' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_wk41 2021-10-11 14:35:45 +02:00
Raymond Knopp
b05d165cd0 hand cherry-picked PRB blacklisting 2021-10-11 14:34:49 +02:00
hardy
3e377a17a9 more tests to be triggered by NSA tag 2021-10-11 14:06:09 +02:00
hardy
9c94b0747b fix copyout fail 2021-10-11 13:58:34 +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
hardy
210829e91c Merge remote-tracking branch 'origin/phy-asan-fixes' into integration_2021_wk41 2021-10-11 12:01:28 +02:00
hardy
640e3ce8e1 Merge remote-tracking branch 'origin/ci_push_dockerhub' into integration_2021_wk41 2021-10-11 12:00:53 +02:00
hardy
0276ec0ca8 Merge remote-tracking branch 'origin/ci_test_sa_nsa' into integration_2021_wk41 2021-10-11 12:00:12 +02:00
hardy
ace498824b remove deploy of trf_gen (redundant) 2021-10-11 11:47:04 +02:00
hardy
5f12399c7a complete nsa 2x2 test 2021-10-11 11:40:02 +02:00
hardy
d4e135960b major update / refactoring for ran dashboard, including mysql db and test results table 2021-10-10 22:12:13 +02:00
hardy
0aa0674297 get test results into dahsboard : part 1 formatting 2021-10-10 22:12:13 +02:00
mjoang
5e50a8cc1d remove newlines, add space after comma, fix identation 2021-10-09 14:37:45 -04:00
mjoang
1fac8d6963 Revert "run astyle to change format"
This reverts commit 721594102a.
2021-10-09 13:07:23 -04:00
Melissa Elkadi
f37264e676 Avoiding unnecessary casting and fixed bug in ul_tti handling 2021-10-08 15:45:28 -07: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
Melissa Elkadi
b3145dec04 Removing commented code 2021-10-08 08:53:49 -07: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
rmagueta
a189a3a58c Revert BWPSize for Msg2 2021-10-08 13:52:00 +01:00
rmagueta
ead800d0f0 Update config filename for CI RAN-SA-Module-CN5G 2021-10-08 13:15:03 +01:00
rmagueta
d57a4cf513 Remove hardcoded opp_enabled 2021-10-08 13:01:46 +01: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
rmagueta
085a98b14c Improve get_coreset to handle also coreset0 2021-10-08 11:58:28 +01:00
rmagueta
86664eb0a9 Add 2x2 conf file for CI RAN-SA-Module-CN5G 2021-10-08 11:11:30 +01:00
rmagueta
0438d64ddb Minor update in security section in conf files 2021-10-08 10:34:35 +01: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
Melissa Elkadi
4b8a15fa14 Allocating NR nFAPI messages on the heap prior to queueing
This commit is properly allocating the NR nFAPI
messages on the heap; however, when we do this,
it makes the NR UE behind the gNB even more and
casuses us to not finish the CFRA procedure. This
is because the RAR is recevied in the NR UE, but
the slot indications are too far in advance, so
the CRC/RX pair (msg3) is never sent because
the scheduled ul_slot and ul_frame already was
received prior to getting the RAR.
Need to fix this!!
2021-10-07 18:37:20 -07:00
Melissa Elkadi
9355495ad1 Unqueueing UL_TTI_REQs based on active harq sfn sf
Also fixed some silly spelling errors.
2021-10-07 16:46:10 -07:00
David Kim
39563f3cd5 Restored the original NAS configuration file. 2021-10-07 10:11:21 -07:00
Melissa Elkadi
5552d53b08 gNB and NRUE slots not matching is what happens in LTE
This commit allows us to call the scheduler for
every slot indication we get to ensure we properly
configure the DCI. Also, we are sure to process the
DCI only when we have both the config (dl_tti) and
the payload (tx_req). Lastly, removed the hack
to the slot indication (we do not shift the slot
indication by -6 anymore). We are passing up to 4
NSA UEs, but sometimes one will not complete the CFRA
procedure.
2021-10-07 10:06:40 -07:00
francescomani
4e70fe17a3 Merge remote-tracking branch 'origin/develop' into NR_BWP_fixes 2021-10-07 17:11:02 +02:00
francescomani
c6d668b0db fix in dlsch allocation mask 2021-10-07 17:10:54 +02:00
Raphael Defosseux
4c5a693a14 feat(ci): old L2 simulator test is now disabled in VM pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-07 16:48:26 +02:00
francescomani
b5d5481616 Merge branch 'bandwidth-testing-abs' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing-abs 2021-10-07 16:46:08 +02:00
francescomani
90ff07c6cc aggregation level loops at gnb (currently selecting the lowest value) 2021-10-07 16:45:38 +02:00
Guido Casati
218de9342d Bugifx simultaneous RACH with multiple UEs
- replaced taus with a random seed + random number generation
- this fixes the bug with multiple UEs starting RA in the same time frame and slot
  and selecting the same preamble index
2021-10-07 15:56:43 +02:00
hardy
5a4dd071fe copyout active_net_interfaces.awk to xNB tmp 2021-10-07 15:55:19 +02:00
hardy
5f2f1b5eab adding the support of different apn depending on CN in ue infra yaml 2021-10-07 10:32:04 +02:00
Raphael Defosseux
efeef1cf01 Merge remote-tracking branch 'origin/develop' into NR_F1C_F1U_extensions 2021-10-07 10:11:44 +02:00
francescomani
b59b94046f fix compilation 2021-10-07 09:22:07 +02:00
Masayuki Harada
1aeba1764b Merge remote-tracking branch 'remotes/oai/develop' into develop-NR_SA_nrUE_security_update 2021-10-07 10:38:00 +09:00
Melissa Elkadi
10432a3fbc Merge branch 'episys-merge-nsa' of https://gitlab.eurecom.fr/oai/openairinterface5g into eurecom-episys-merge-nsa 2021-10-06 18:31:29 -07:00
Melissa Elkadi
aa9a9e7a41 Merge branch 'episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-06 18:25:32 -07:00
Melissa
42bed9b5ed Merge branch 'episys/david/restoring_original_NSA_config' into 'episys/master-nsa'
Restored the original NAS configuration file.

See merge request aburger/openairinterface5g!68
2021-10-07 01:24:49 +00:00
Melissa Elkadi
746d074646 Queuing all nFAPI messages and handling after slot ind
This commit changes the stub functionality entirely.
We are now queueing any received NR nFAPI message
and handling it only after we recevie a slot ind
that corresponds with the nFAPI message's sfn/slot
value. When doing this, an existing issue has been
brought to light. The gNB and NR UE are not in sync
when it comes to their slot indications. Generally,
the NR UE seems to be ahead of the gNB by around 6-7
slots. This commit has a hack... when we receive a
slot indication at the moment, we decrament it by 6
to try to keep the NRUE from being ahead of the gNB.
This will be fixed shortly... This was a temporary
fix..
2021-10-06 18:13:13 -07: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
David Kim
49f2a2ad2b Restored the original NAS configuration file. 2021-10-06 11:52:49 -07:00
Melissa Elkadi
98bc149e98 Reverting change that that forces DCI config before handling
By reverting this change, we will see the NRUE2 crash
because the DCI wont be configured before handling.
This will get fixed in the next commit by adding
queues for the nFAPI messages, therefore forcing
us to handle the nfapi messages only after we have
processes the corresponding slot indication.
2021-10-06 09:47:19 -07: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
hardy
28ce54a831 fix regex 2021-10-06 17:25:27 +02:00
hardy
b8ea886efd add NR stats files to monitoring 2021-10-06 16:51:47 +02:00
hardy
504fb9df7f fix regex for iperf server analysis 2021-10-06 16:49:44 +02:00
francescomani
652d0f57eb improve sib1 code for aggregation levels 2021-10-06 16:45:46 +02:00
hardy
b80d8ae5c5 terminate trf_gen when closing CN5G 2021-10-06 16:11:08 +02:00
hardy
7442aab5c9 completing SA test for iperf and stats mon 2021-10-06 16:01:30 +02:00
hardy
f577ec6a45 Merge remote-tracking branch 'origin/ci_implement_cn5g_deployment' into ci_test_sa_nsa 2021-10-06 15:58:10 +02:00
Panos Matzakos
67e91af2f1 Update TESTING_5GSA_setup.md 2021-10-06 13:55:21 +00:00
hardy
700a149d20 update for CI SA test 2021-10-06 15:51:08 +02:00
Panos Matzakos
4349e436ba Update README.md for CU/DU split deployment option 2021-10-06 13:20:27 +00:00
matzakos
3105a23248 Address two remaining review comments 2021-10-06 13:39:29 +02:00
rmagueta
e7e90beeeb Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs 2021-10-06 10:43:05 +01:00
Raphael Defosseux
df36de9b49 fix(ci): better handling of wrong exit during iperf/ping tests; adding PCAP capture
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-06 10:03:39 +02:00
Robert Schmidt
41dff7b190 Add MCS from HARQ BLER
- Estimates correct MCS using EMA, kept between target thresholds
  dl_bler_target_upper and dl_bler_target_lower (conf options) for 1st
  retx and below dl_rd2_bler_threshold for 2nd retx
- Maximum MCS configurable
- on 3rd retx, reduce MCS by 5
2021-10-06 08:38:21 +02:00
Melissa Elkadi
47e96132f6 Handling multiple DCIs in a single DL_TTI and TX_REQ 2021-10-05 16:09:52 -07:00
Melissa Elkadi
1b2d8b5288 def_dci_pdu_rel15 fix.
In this commit we were trying to understand why
the memset of the def_dci_pdu_rel15 array in the NRUE
was casuing the NR UE to crash. This was happening
becuase some of the members of the def_dci_pdu_rel15
array canont be zero in NSA mode. This was happening
because sometimes, we would recevied two DCI indications
in a row, after the first one, we would be memesetting
the array to all 0s and then try to process the second
DCI. The fix we have implemnted is to call the configure_dci()
prior to processing ANY DCI, to ensure we have properly
configured the UE to handle these DCIs.

Also, in the gNB, it was not able to find the UL scheduled
slot for the feedback harq because it was not accounting for
the slot wrapping.
2021-10-05 11:40:40 -07: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
Raphael Defosseux
52367f2701 fix(ci): fixing docker-compose for F1 RF split following the v1.2.0 release of OAI-CN5G
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-05 11:57:51 +02:00
Raphael Defosseux
64ad04b552 doc(release): Updating the 5F RF simulator documentation and docker-compose following the v1.2.0 release of OAI-CN5G
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-05 11:49:34 +02:00
Raphael Defosseux
81e4a7832a style(ci): LTE F1 split has its own pipeline now. less confusion
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-05 11:38:51 +02:00
Raymond Knopp
33371f226a initial changes for n41 support with aw2s RRU 2021-10-05 11:37:34 +02:00
Raphael Defosseux
31567fe390 doc(release): Updating the 5F RF simulator documentation and docker-compose following the v1.2.0 release of OAI-CN5G
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-05 10:56:07 +02:00
hardy
72d3be655c UHD_RFNOC_DIR hack + testcase fix for testing 2021-10-05 08:28:55 +02:00
hardy
0206cd687f do not build in bg 2021-10-05 07:47:30 +02:00
luis_pereira87
db2c6ce79e Fix maxL for NSA 2021-10-04 18:40:41 +01:00
hardy
f1134557d4 tentative change of monitor script launch 2021-10-04 18:46:28 +02:00
rmagueta
7c280e6f12 Get the PINGs working again for the FDD 2021-10-04 16:54:02 +01:00
francescomani
97d114e0ed bugfix 2021-10-04 17:11:41 +02:00
Raphael Defosseux
05f0206cf0 style(MAC): lowering one log line to match previous behavior
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-04 16:44:18 +02:00
Raphael Defosseux
ef5f43707e fix(docker): proper formatting for docker image generation
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-04 16:28:24 +02:00
francescomani
616481b158 fix for ulsch missed detection using ndi 2021-10-04 12:06:03 +02:00
matzakos
cbd6a2ff1b Remove typo in 5G CU config. file used from the CI 2021-10-04 11:35:31 +02:00
hardy
21adc587d6 tentative to fix capture of stat files 2021-10-04 07:48:01 +02:00
hardy
8ce6e4f6e0 poc : stats monitoring 2021-10-03 23:51:35 +02:00
Laurent Thomas
f9bb4150cb astyle only 2021-10-03 22:04:17 +02:00
hardy
76be9fe5ba poc : add radio monitor script for test runtime 2021-10-03 20:40:41 +02:00
hardy
a7a8a6cb1c fix 2021-10-03 20:40:41 +02:00
hardy
66219a9a76 add UL implementation 2021-10-03 20:40:41 +02:00
Michael Cook
6b5bfed9b8 open-nFAPI: Remove carriage returns
Remove the problematic carriage returns from three nfapi source
files.

Only whitespace changes in this commit.

```
dos2unix open-nFAPI/*/src/*.c
```
2021-10-03 06:49:13 -07:00
Sakthivel Velumani
35d150771e L1 perf logging changes
Moved the L1 timing stats logs from stdout to nrL1_stats.log
2021-10-02 14:02:29 +05:30
Melissa Elkadi
fb0a80ee84 Adding memset of def_dci_pdu_rel15 back in
Removing the memset seemed to hide the problem
and now the problem is appearing in a differnt
manner... it is causing the NRUE to skip HARQ
PIDs as its filling the UCI indication and process
the DCI PDUs. So adding the memset causes the NR UE
to crash becasue the DL_BWP_ID is becoming 0
which leads us to index into an pointer that is not
allocated and then a crash happens in DCI handling.
2021-10-01 15:53:23 -07:00
David Kim
eb5f517165 updated configuration file location for ci test. 2021-10-01 15:34:12 -07:00
Melissa Elkadi
8c6723ca74 Lowering log level so it is not so verbose 2021-10-01 15:14:50 -07:00
Melissa Elkadi
373d292a48 Merge remote-tracking branch 'origin/episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-01 15:02:21 -07:00
Melissa Elkadi
78b6988735 Merge branch 'episys/master-nsa' into eurecom-episys-merge-nsa 2021-10-01 15:01:57 -07:00
Melissa Elkadi
a5d6ff5a75 We are now sending either SR or HARQ based on UL_TTI_REQ
This requires some updates to the nFAPI code as well.
We also have declared the def_dci_rel15 extern variable
consistently throughout the code.

In this commit, the gNB is still crashing. However, it seems
that the NSA UE is sending the proper responses back, but there
some sort of incorrect management of the def_dci_pdu_rel15
variable. If we memset this array to 0, we can see incorrect
0 assignments to elements of the UCI indications. Hopefully
fixing this issue will result in less gNB crashes.
2021-10-01 14:52:32 -07:00
Melissa
7e806ad0e9 Merge branch 'episys/david/moving_config_files_into_a_folder' into 'episys/master-nsa'
Updated configuration file location for CI test.

See merge request aburger/openairinterface5g!67
2021-10-01 21:45:30 +00:00
David Kim
eef6ca5037 updated configuration file location for ci test. 2021-10-01 10:21:42 -07:00
Laurent THOMAS
b7a91d5607 Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-10-01 17:14:27 +02:00
Laurent THOMAS
c17ba044bc make gtp-u port on F1-U configurable 2021-10-01 17:14:02 +02:00
luis_pereira87
cd57c618d1 Put back harq round obtained from rv_index 2021-10-01 15:38:12 +01:00
Raphael Defosseux
0fcb4098d8 fix(ci): wrong plmn
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-01 15:54:42 +02:00
Laurent THOMAS
fd816a037c remove hardcoded log level 2021-10-01 15:43:49 +02:00
Laurent THOMAS
1e3c0fa7e3 only change LOG_x format 2021-10-01 15:05:52 +02:00
luis_pereira87
4fd861a28a Fix nr_get_tpc to return increase 3dB 2021-10-01 13:36:49 +01:00
luis_pereira87
c1ba735fee Improve fill_ul_rb_mask 2021-10-01 12:02:39 +01:00
Laurent THOMAS
2acecb40a2 code review, CI result configuration issues, gcc warnings 2021-10-01 12:59:08 +02:00
matzakos
da65316765 Additional corrections for non-mandatory presence of DRB,SRB setup lists in handling of F1AP UE ctxt setup request,response messages 2021-10-01 12:42:37 +02:00
matzakos
b75fc441c5 Change presence of gNB_CU_UE_F1AP_ID as mandatory field in handling UE context setup response 2021-10-01 12:23:11 +02:00
luis_pereira87
bf0bc0de54 Remove hardcoded maxL (kept only for do-ra) 2021-10-01 10:59:45 +01:00
luis_pereira87
c23117da6f Fix effective_BWPSize when coreset has 96 PRBs for Msg2 2021-10-01 10:26:09 +01:00
matzakos
c43bde33f5 Use the updates of the masterCellGroup configuration as input to UE context setup response, instead of the whole mastercellgroup configuration stored at the UE context of the DU.
-Deallocate memory for the updates on masterCellGroup config. after the information is encoded.
2021-10-01 10:58:35 +02:00
Melissa Elkadi
ce8301ba38 Setting SR flag to 0 in NR UE to ensure we dont handle SRs 2021-09-30 19:25:57 -07:00
David Kim
b2d1052fe9 Added some config files after restoring original config files. 2021-09-30 18:39:30 -07:00
Melissa
e915230c28 Merge branch 'episys/david/adding_config_files' into 'episys/master-nsa'
Added some config files after restoring original config files.

See merge request aburger/openairinterface5g!66
2021-10-01 01:33:27 +00:00
Melissa Elkadi
d26aefaa87 Merge remote-tracking branch 'origin/episys/david/adding_config_files' into eurecom-episys-merge-nsa 2021-09-30 18:25:40 -07:00
Melissa Elkadi
d586689a33 Merge branch 'episys/master-nsa' of 10.1.1.59:aburger/openairinterface5g into episys/master-nsa 2021-09-30 18:04:37 -07:00
David Kim
bab9c42e59 Added some config files after restoring original config files. 2021-09-30 17:07:44 -07:00
Melissa
680278c03d Merge branch 'origin-episys-merge-nsa' into 'episys/master-nsa'
Syncing our OAI merge branch with our internal NSA master branch

See merge request aburger/openairinterface5g!64
2021-09-30 23:16:47 +00:00
Melissa
3eafdff63a Syncing our OAI merge branch with our internal NSA master branch 2021-09-30 23:16:46 +00:00
Melissa Elkadi
eccab94b2a Merge branch 'eurecom-episys-merge-nsa' into origin-episys-merge-nsa 2021-09-30 16:00:17 -07:00
Melissa Elkadi
a30f6791f7 Incorrectly removed timeout variable in PNF
Also, putting memset back to help us locate a
bug in the handling of the def_dci_pdu_rel15
2021-09-30 15:57:10 -07:00
Laurent THOMAS
2a1e7b739f fix gcc warnings, hardcode gtpu debug level for ci debug 2021-09-30 21:40:11 +02:00
rmagueta
ff34838423 Put back scheduling request configuration after the cherry-pick which solved the segfault 2021-09-30 17:18:00 +01:00
rmagueta
a58fd73e17 Merge remote-tracking branch 'origin/bandwidth-testing-abs' into bandwidth-testing-abs 2021-09-30 17:15:41 +01:00
Mario Joa-Ng
dffd63d35a fix a segfault when uci_01->harq is null 2021-09-30 17:12:02 +01:00
francescomani
0fdd2fb42a comment added log fixed 2021-09-30 18:11:49 +02:00
Raymond Knopp
9e5a4a4868 MAC statistics in separate thread 2021-09-30 17:22:45 +02:00
Melissa Elkadi
354cf0820f Merge remote-tracking branch 'eurecom/bandwidth-testing-abs' into episys/mel/merge_bw_testing_abs 2021-09-30 07:10:51 -07:00
francescomani
70d81ac8fa additional fix for coreset in calculate_preferred_dl_tda 2021-09-30 15:49:57 +02:00
hardy
afb748ecd4 update for radio conf and testcase 2021-09-30 15:33:45 +02:00
Melissa Elkadi
e8631811bd Merge remote-tracking branch 'eurecom/episys-merge-nsa' into origin-episys-merge-nsa 2021-09-30 06:30:37 -07:00
Melissa Elkadi
11ab8b55f0 Removing unused variables to get rid of warnings. 2021-09-30 06:29:35 -07:00
francescomani
c77fd8aae7 fix do-ra 2021-09-30 14:55:56 +02:00
mjoang
f48c1d913b handle pdu_length up 65535byte. 2021-09-30 13:22:04 +01:00
rmagueta
081d566201 Fix calculate_preferred_dl_tda and remove duplicated code 2021-09-30 13:08:15 +01:00
rmagueta
568071cb57 Change LOG levels 2021-09-30 12:52:22 +01:00
rmagueta
dc1cbfaa63 Revert wrong merge related to num_dmrs_cdm_grps_no_data in scheduler DLSCH 2021-09-30 10:16:11 +01:00
francescomani
b8af250fb9 improve ssb sco condition 2021-09-30 09:47:03 +02:00
francescomani
fe0aa1a2b8 remove band 96 config file for merge 2021-09-30 09:14:08 +02:00
hardy
893cf7c2e0 temp remove ping to debug DL 2021-09-30 08:29:39 +02:00
hardy
c16e71b022 add DL stage to NSA 2x2 test 2021-09-30 08:00:25 +02:00
hardy
ea4a60d926 DL support + testcase fix 2021-09-30 08:00:25 +02:00
hardy
2d46faaf13 check mtu is as expected 2021-09-29 23:32:07 +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
Melissa Elkadi
3eb6f5313f Merge branch 'eurecom-episys-merge-nsa' into origin-episys-merge-nsa 2021-09-29 12:31:55 -07:00
Melissa Elkadi
82af1cbc80 Correctly packing UCI indications
Also, removing memset for def_dci_pdu_rel15 because
it is setting the DL_BWP_ID = 0 before we have used
it.
2021-09-29 12:25:40 -07:00
Melissa Elkadi
cf0430a5bc Correctly packing UCI indications.
Also, removing memset for def_dci_pdu_rel15 because
it is setting the DL_BWP_ID = 0 before we have used
it.
2021-09-29 12:15:58 -07:00
rmagueta
2d2f6c6421 Fix function to fill UL RB mask to be used for N0 measurements of PUCCH 2021-09-29 19:51:17 +01:00
hardy
e3a1c21a3d update of the NSA/LTE 2x2 bench pipeline 2021-09-29 20:31:57 +02:00
rmagueta
432e00a0c1 General tda selection 2021-09-29 15:56:13 +01:00
Melissa Elkadi
5ab30707d0 Merge remote-tracking branch 'eurecom/episys-merge-nsa' into origin-episys-merge-nsa 2021-09-29 07:36:01 -07:00
Melissa Elkadi
8cf07859ca Processing crc_ind and rx_inds per PDU in gNb 2021-09-29 07:10:23 -07:00
francescomani
169d286919 some more lines of cleanup 2021-09-29 16:04:48 +02:00
mjoang
721594102a run astyle to change format 2021-09-29 09:57:15 -04:00
francescomani
8b276ce226 some additional cleanup 2021-09-29 15:25:52 +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
francescomani
36c321a785 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-09-29 14:11:27 +02:00
francescomani
10aee35f5b missed changes in previous commit for nr_set_pdsch_semi_static 2021-09-29 14:00:27 +02:00
matzakos
a84ecd1468 Merge with branch NR_F1C_F1U_extensions 2021-09-29 13:59:06 +02:00
francescomani
485acb4ffa changes in ci config files 2021-09-29 10:55:59 +02:00
mjoang
5664999f9b Fix a bug so that BSR will be triggered when RLC entity has data. 2021-09-28 17:58:08 -04:00
Melissa
622410db32 Merge branch 'episys/david/processing_crc_ind_rx_ind_per_pdu' into 'episys/master-nsa'
processing crc_ind and rx_ind per pdu in gNB.

See merge request aburger/openairinterface5g!63
2021-09-28 21:57:11 +00:00
Deokseong "David" Kim
a3557eb486 processing crc_ind and rx_ind per pdu in gNB. 2021-09-28 21:57:10 +00:00
Melissa Elkadi
abb81d8d70 Fixing a typo 2021-09-28 14:46:40 -07:00
Melissa Elkadi
4cbea4cc8c Cleaning up MR code 2021-09-28 14:30:31 -07:00
Melissa Elkadi
df79567b16 Merge remote-tracking branch 'origin/episys/david/processing_crc_ind_rx_ind_per_pdu' into episys/mel/merge_bw_testing_abs 2021-09-28 13:18:06 -07:00
Melissa Elkadi
62118252dd Merge remote-tracking branch 'eurecom/bandwidth-testing-abs' into episys/mel/merge_bw_testing_abs 2021-09-28 13:13:54 -07:00
Melissa
9b1b629843 Merge branch 'develop' into 'episys-merge-nsa'
# Conflicts:
#   executables/nr-uesoftmodem.c
2021-09-28 20:06:11 +00:00
rmagueta
76a8ac303d Set back threshold to 50 for xrtmag_dBtimes10 2021-09-28 18:02:10 +01:00
rmagueta
c5e877df58 Change LOG levels 2021-09-28 17:36:22 +01:00
rmagueta
1ab23d4b96 Remove commented functions 2021-09-28 17:25:38 +01:00
Masayuki Harada
f818307143 Remove warning. 2021-09-29 01:20:36 +09:00
rmagueta
5630c434a8 Revert sl10 to 7 2021-09-28 17:13:56 +01:00
Masayuki Harada
7cd75730d3 Remove ifndef PHYSIM conditions. 2021-09-29 01:02:22 +09:00
Masayuki Harada
80831cd48f Fix nr_derive_key memory problem. 2021-09-29 00:10:48 +09:00
Laurent Thomas
b0b7101641 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into phy-asan-fixes 2021-09-28 16:52:09 +02:00
hardy
5c335eaf33 update RT stats config file to capture new metrics 2021-09-28 16:37:00 +02:00
francescomani
2b30a1e6f9 Merge branch 'bandwidth-testing-abs' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing-abs 2021-09-28 16:21:21 +02:00
francescomani
6df8f942e1 fix log in pucch0 rx 2021-09-28 16:20:58 +02:00
luis_pereira87
ac4954bc79 Fix apply_nr_rotation_ul 2021-09-28 15:14:33 +01:00
luis_pereira87
64fa82673c Fix in the improvement of ssb_SubcarrierOffset validation 2021-09-28 14:24:03 +01:00
luis_pereira87
061f1da363 Improve ssb_SubcarrierOffset validation 2021-09-28 14:07:03 +01:00
luis_pereira87
18fef22ad1 Fill lcid_mask for NSA 2021-09-28 13:30:14 +01:00
Sakthivel Velumani
4a93a8220f Fix ulsim segfault 2021-09-28 17:55:56 +05:30
Masayuki Harada
2fb3816722 Fix NRUE NAS security configuration. 2021-09-28 20:26:48 +09:00
Laurent THOMAS
c739058c5b enhanced macros for asn1c 2021-09-28 11:38:59 +02:00
francescomani
df4a57096b dlsim fix 2021-09-28 11:28:14 +02:00
Raphael Defosseux
fefeb1694e fix(ci): proper tab names for scenarios
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-28 10:52:21 +02:00
David Kim
60dca0657b processing crc_ind and rx_ind per pdu in gNB.
1. If matched rnti does not exist between crc_ind pdus and rx_ind puds, the ind or unmatched pdus will be requeued.
2. Sending crc_ind and rx_ind togetehr with crc_ind first in nrUE.
2021-09-27 12:59:40 -07:00
francescomani
1022311a8e another fix in acknack scheduling 2021-09-27 19:35:34 +02:00
francescomani
e946804bbf Minimum value of DL to ACK 2021-09-27 18:45:59 +02:00
athanassopoulos
86161e475d Fix: nrUE not processing SDAP header 2021-09-27 18:37:06 +02:00
Laurent THOMAS
57aed7ea9b fix memory error in do_nrMeasurementReport 2021-09-27 18:11:55 +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
francescomani
7ed21f90d5 new file 2021-09-27 17:29:50 +02:00
francescomani
773d55f422 some cleanup of MAC and PHY cross compilation 2021-09-27 17:29:17 +02:00
athanassopoulos
01093063d7 NR SDAP gNB - Transparent Mode 2021-09-27 16:26:49 +02:00
rmagueta
345ee2fd88 Revert min_rb to 5 2021-09-27 11:21:55 +01:00
francescomani
655bead8f1 logs 2021-09-27 12:19:40 +02:00
francescomani
b57b83faf3 bugfix in pucch scheduler at ue 2021-09-27 12:12:02 +02:00
rmagueta
280249bb2a Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/pucch_rx.c
2021-09-27 11:05:30 +01:00
Raymond Knopp
fb4235fd50 changes in PUCCH0 SNR measurement, testing for PUCCH power control 2021-09-27 11:52:50 +02:00
francescomani
388918768a another fix in scheduler acknack 2021-09-27 11:52:47 +02:00
francescomani
c2a56faea8 fix retransmission of acknack in pucch after ack missed detection 2021-09-27 11:52:10 +02:00
rmagueta
c0b260673d Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs 2021-09-27 10:08:14 +01:00
Laurent THOMAS
fccb986f25 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop-NR_SA_nrUE_security_update 2021-09-27 09:53:36 +02:00
francescomani
849a388f72 acknack fixes at UE 2021-09-27 09:34:55 +02:00
francescomani
ef75edeae5 fix acknack scheduling compilation 2021-09-27 09:22:54 +02:00
Laurent THOMAS
d460a3a8b3 merge develop 2021-09-27 09:18:45 +02:00
francescomani
a21b6e0f06 update get_pdsch_to_harq_feedback 2021-09-27 09:08:19 +02:00
francescomani
68f6047c60 reworking acknack scheduling function 2021-09-27 08:48:38 +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
Remi Hardy
314760acf3 integration_2021_wk37
MR !1272 : \[DOC\] NR feature set update  
MR !1244 : \[DOC\] Update SA tutorial  
MR !1269 : \[CI\] dashboard creds and executor change  
MR !1262 : \[CI\] jenkins pipe to write test results to mysql  
MR !1250 : NR_NSA_no_msg3_retransmission  
MR !1264 : NR_UE_IF_FREQ (IF frequency command line option at OAI UE)
2021-09-26 07:32:47 +00:00
Roberto Louro Magueta
6d88c040ce Revert "Fix ssb_SubcarrierOffset for NSA"
This reverts commit aad4e1a015
2021-09-24 16:28:18 +00:00
rmagueta
aad4e1a015 Fix ssb_SubcarrierOffset for NSA 2021-09-24 16:46:32 +01:00
Melissa Elkadi
ca0bf39d36 Code clean up part 3.
I have removed more irrelevant comments and
updated a few logs.
2021-09-24 07:44:36 -07: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
Mario Joa-Ng
a64a892abc remove #if 0 2021-09-24 09:24:44 -04:00
hardy
ef99e1ded4 Merge remote-tracking branch 'origin/NR_UE_IF_FREQ' into integration_2021_wk37 2021-09-24 14:09:47 +02:00
hardy
03eb29580a Merge remote-tracking branch 'origin/NR_NSA_no_msg3_retransmission' into integration_2021_wk37 2021-09-24 14:08:54 +02:00
hardy
8d5e74cbb9 Merge remote-tracking branch 'origin/ci_sql_collect_results' into integration_2021_wk37 2021-09-24 09:55:51 +02:00
hardy
67b03a5d04 Merge remote-tracking branch 'origin/ci_clean_dashboard_setup' into integration_2021_wk37 2021-09-24 09:55:21 +02:00
hardy
20fd6472fa Merge remote-tracking branch 'origin/NR_SA_documentation_update' into integration_2021_wk37 2021-09-24 09:54:53 +02:00
hardy
6bed20a072 Merge remote-tracking branch 'origin/NR_feature_set_update' into integration_2021_wk37 2021-09-24 09:54:29 +02:00
Melissa Elkadi
f41452cce1 Merge remote-tracking branch 'origin/episys/mel/merge_develop_cfra_working_9_14_21' into eurecom-episys-merge-nsa 2021-09-23 15:06:01 -07:00
Melissa
79aeea60e9 Merge branch 'episys/mel/merge_to_cfra_working_9_14_21' into 'episys/mel/merge_develop_cfra_working_9_14_21'
Added slot_ind queue and handling slot_inds in VNF

See merge request aburger/openairinterface5g!61
2021-09-23 21:54:23 +00:00
Melissa
4b8f62b011 Added slot_ind queue and handling slot_inds in VNF 2021-09-23 21:54:22 +00:00
Melissa Elkadi
70be674227 Code clean up part 2.
This commit continues to clean up the reminader
of the changed files in the merge req 1274.
The changes include log updates, comment removals,
etc.
2021-09-23 14:19:55 -07:00
Melissa Elkadi
82ba5a3531 Code clean up part one.
This commit includes about 1/3 of the code clean up
in preparation for the merge to the OAI develop
branch. Several of the changes are white space changes,
removing of logs, comment removals, and updating any
changed code for our use-case to be clear for NSA mode.
2021-09-23 12:53:38 -07:00
matzakos
5e0c05dd61 Remove a hardcoding of RRC instance 2021-09-23 17:11:09 +02:00
mjoang
626e3a7015 merge develop 2021-09-23 10:44:43 -04:00
Raphael Defosseux
9fa353b719 fix(ci): better handling of logs
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-23 13:30:46 +02:00
francescomani
6148e8f3e5 Merge branch 'bandwidth-testing-abs' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing-abs 2021-09-22 18:22:10 +02:00
francescomani
0c228ac12a fixed amplitude for pucch at ue 2021-09-22 17:59:16 +02:00
Laurent THOMAS
8c55ccc9b7 Fix a critical bug introduced by F1-U in 4G 2021-09-22 17:09:24 +02:00
Melissa Elkadi
30065ef014 Removing hacks to gNB code for NSA mode 2021-09-22 07:27:13 -07:00
rmagueta
1540f9bf1a Fix PINGs and IPERF for phy-test 2021-09-22 15:25:08 +01:00
Raymond Knopp
87310ec55c Merge remote-tracking branch 'origin/bandwith_testing_debug' into bandwidth-testing
Conflicts:
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2021-09-22 15:05:27 +02:00
Raymond Knopp
0270bf0321 commit before merge 2021-09-22 14:08:06 +02:00
Raphael Defosseux
929cfef814 feat(ci): adding DH push pipeline
triggering from main pipeline

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-22 12:11:07 +02:00
Laurent THOMAS
32ebb876f4 F1-U in gtp-U LTE case, working 2021-09-22 10:52:38 +02:00
Melissa
61e242199a Merge branch 'episys/david/sync_between_dl_tti_req_and_tx_data_req' into 'episys/mel/merge_develop_cfra_working_9_14_21'
Episys/david/sync between dl tti req and tx data req

See merge request aburger/openairinterface5g!60
2021-09-21 22:38:30 +00:00
Deokseong "David" Kim
6a7fe60266 Episys/david/sync between dl tti req and tx data req 2021-09-21 22:38:29 +00:00
Melissa Elkadi
c4e27cf8b4 Properly assigning the rx_ind.pdu pointer
Also, the ul_slot was not properly wrapping.
It was increased to a value greater than the
largest slot value.
2021-09-21 15:16:36 -07:00
rmagueta
32460820f4 Change 50 to 30 for no_conf condition in nr_decode_pucch0 2021-09-21 19:43:06 +01:00
Laurent THOMAS
c7f9365ccf Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-09-21 20:34:01 +02:00
Laurent THOMAS
9b691b3ecf fix old code errors, add CU to DU, 4G F1-U 2021-09-21 20:33:35 +02:00
rmagueta
f2abff7745 Add prach_dtx_threshold and pucch0_dtx_threshold in some conf files 2021-09-21 19:20:11 +01:00
Roberto Louro Magueta
99f53ea942 Revert "Update pucch0_dtx_threshold"
This reverts commit e13ef657f3
2021-09-21 18:15:17 +00:00
rmagueta
b2e5b2884e Change LOG level 2021-09-21 18:19:07 +01:00
rmagueta
bafa835099 Merge remote-tracking branch 'origin/bandwith_testing_debug' into bandwidth-testing-abs 2021-09-21 18:18:01 +01:00
Roberto Louro Magueta
2ef4ab6d54 Revert "Set initialULBWPstartSymbolAndLength_0 = 54"
This reverts commit a53b260987
2021-09-21 16:57:24 +00:00
francescomani
06cfa4e934 yet another bugfix 2021-09-21 18:45:36 +02:00
rmagueta
beb065d2e8 Change LOG levels 2021-09-21 17:19:19 +01:00
rmagueta
96c194f0e8 Merge remote-tracking branch 'origin/bandwith_testing_debug' into bandwidth-testing-abs
# Conflicts:
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
2021-09-21 17:13:19 +01:00
francescomani
7301280736 bugfix of the bugfix 2021-09-21 17:29:21 +02:00
francescomani
5b976712a3 another bugfix in acknack scheduling 2021-09-21 17:02:31 +02:00
Raphael Defosseux
edb093f173 test(ci): adding 5G F1 RF simulator scenario
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-21 16:01:32 +02:00
francescomani
1ca995f97a improve xrtmag_next 2021-09-21 15:58:37 +02:00
francescomani
4042788934 log for xrtmag debug 2021-09-21 14:48:25 +02:00
rmagueta
18d52cd129 Change LOG level 2021-09-21 13:42:44 +01:00
francescomani
06ad8f6a28 remove added code in msg4 retransmission 2021-09-21 14:34:42 +02:00
rmagueta
a53b260987 Set initialULBWPstartSymbolAndLength_0 = 54 2021-09-21 13:14:23 +01:00
rmagueta
993974c4b4 Set pusch_TargetSNRx10 = 150 2021-09-21 13:04:39 +01:00
rmagueta
617bf6a16c Set initial_wait=0 and opp_enabled = 0 2021-09-21 13:00:03 +01:00
rmagueta
e13ef657f3 Update pucch0_dtx_threshold 2021-09-21 12:41:38 +01:00
rmagueta
bc936bfffd Update LOGs 2021-09-21 12:31:15 +01:00
rmagueta
e5f677aa2b Change LOG levels 2021-09-21 12:13:32 +01:00
francescomani
398d81e736 bugfix in acknack scheduling 2021-09-21 13:08:43 +02:00
Raphael Defosseux
9463741fc7 feat(docker): adding CU/DU conf file to gNB docker image
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-21 12:14:38 +02:00
matzakos
1b1a2c8411 Merge with develop, resolve conflicts in CU/DU conf files 2021-09-21 11:00:29 +02:00
Laurent THOMAS
686e585666 replace protobuf in 4G F1 split, first step: UL packets 2021-09-21 10:30:46 +02:00
Raphael Defosseux
f1e43eb703 doc(SA): updated SA tutorial
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-21 09:53:21 +02:00
Raymond Knopp
2afb70f179 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-20 23:28:40 +02:00
Raymond Knopp
7ceef76ba5 switchpoint advance for X300 2021-09-20 23:28:13 +02:00
francescomani
f8e1f93db3 Merge branch 'bandwith_testing_debug' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwith_testing_debug 2021-09-20 19:37:20 +02:00
francescomani
bfd9671626 fixes in acknack scheduling 2021-09-20 19:32:19 +02:00
Panos Matzakos
0271ea8202 Update FEATURE_SET.md for the gNB SA procedures 2021-09-20 14:25:53 +00:00
luis_pereira87
90e6f5dd25 Add more pucch_acknak logs 2021-09-20 13:38:02 +01:00
luis_pereira87
85a03cd3c1 Intermediate backup commit 2021-09-20 13:03:44 +01:00
Eurecom
9ec02b2010 pucch0 threshold rule 2021-09-20 10:56:23 +02:00
Raymond Knopp
f21211c23d removed logging 2021-09-20 00:24:43 +02:00
Raymond Knopp
90029d4f98 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-19 14:47:37 +02:00
Eurecom
9525beb399 N310 testing 2021-09-19 14:46:47 +02:00
Masayuki Harada
c522caf490 Merge remote-tracking branch 'remotes/oai/develop' into develop-NR_SA_nrUE_security_update 2021-09-18 19:07:17 +09:00
francescomani
31e306abdc adding logs 2021-09-17 17:10:22 +02:00
rmagueta
80592c7162 Fix nr_ulsim 2021-09-17 11:19:21 +01:00
rmagueta
3942467484 Revert min_rb to 5 in pf_ul 2021-09-17 10:41:41 +01:00
Roberto Louro Magueta
5d25c522a2 Revert "Temporary fix in min_rb for pf_ul"
This reverts commit c5429cbf57
2021-09-17 09:40:16 +00:00
rmagueta
9afb2e2b43 Revert rxdataF in nr_pucchsim 2021-09-17 10:38:16 +01:00
rmagueta
b6f0546f7f Fix nr_pucchsim 2021-09-16 20:47:01 +01:00
rmagueta
115063161f Revert simulation parameters of pucchsim 2021-09-16 18:50:47 +01:00
Laurent THOMAS
df82ee1b9c F1 4G signaling working, up to user data, 5G F1 config files example, documentation update 2021-09-16 19:14:28 +02:00
francescomani
55c5d758a5 removing hardcoding of min bw size for type0 pdcch 2021-09-16 17:45:56 +02:00
Panos Matzakos
07a597dc2c Update FEATURE_SET.md with information on SA availability for OAI UE 2021-09-16 15:12:03 +00:00
Panos Matzakos
74eb986352 Update FEATURE_SET.md for the higher layers of the nrUE 2021-09-16 15:04:10 +00:00
hardy
b40f95aa04 relocate google API credentials to a cleaner place 2021-09-16 15:13:25 +02:00
rmagueta
a52658174b Fix dci_format in nr_dlsim 2021-09-16 11:50:33 +01:00
matzakos
c1220b37e2 Avoid hardcoding SRB2 id in F1 UE context setup request message and extract from RRC itti message instead 2021-09-16 11:42:30 +02:00
Laurent THOMAS
f20125f717 fix 4GF1 regressions 2021-09-16 09:59:27 +02:00
Masayuki Harada
d6475ac6e3 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into oai_develop 2021-09-16 15:37:32 +09:00
Melissa Elkadi
5ae3c8914a Only filtering tx_requests if RAR has been rx'd
But, we are not going to process the tx_request
unless we are waiting for the RAR OR if the RNTI
from the previous DCI matches.
2021-09-15 15:32:17 -07:00
Melissa Elkadi
54e231bfeb Filtering tx_requests based on prev DCI RNTI
In this commit, we create a new flag in the MAC
instance which is set to true if the recevied
DL DCI PDU's RNTI value matches the current UEs
RNTI value. If the RNTI value does not match,
then we should not process the recevied tx_request.
This check should only take place after the CFRA
procedure is complete.
2021-09-15 15:20:07 -07:00
Melissa Elkadi
d2daf8e860 Change slot_ahead to process ack/nack after pdsch 2021-09-15 11:07:27 -07:00
rmagueta
c5429cbf57 Temporary fix in min_rb for pf_ul 2021-09-15 19:02:59 +01:00
rmagueta
693804c163 Fix bands in some conf files 2021-09-15 18:43:32 +01:00
rmagueta
d680dcd18a Fix phy-simulators 2021-09-15 18:40:35 +01:00
Melissa Elkadi
88e1b55f02 Filling UCI after DCI because info is available
Previously, we thought that filling the UCI ind
after we got the pdsch payload would stop the
 harq_pid from going inactive, but this was not
the case. The harq_pid is getting set to inactive
too early because of the sf_slot ahead value. The
fix for this will come in the next commit.
2021-09-15 10:03:21 -07:00
Laurent THOMAS
970acbe929 Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-09-15 18:56:36 +02:00
Laurent THOMAS
4ac02d07fa seevral fixes for F1 in 4G 2021-09-15 18:56:31 +02:00
matzakos
c0aadc70e0 Change name for common itti message structure used for handling F1 UE context setup request and response messages 2021-09-15 17:23:00 +02:00
rmagueta
ec1834c5aa Temporary fix in pathloss computation for do-ra 2021-09-15 15:58:55 +01:00
matzakos
4325b1fcda Updates in the UE context setup request handling function at the DU 2021-09-15 16:37:01 +02:00
Roberto Louro Magueta
fbce3dc9dd Revert "Revert PUCCH0 threshold"
This reverts commit 2c41c4cd7c
2021-09-15 13:35:13 +00:00
hardy
11eab6882c fix executor agent syntax 2021-09-15 15:28:59 +02:00
hardy
41131bf994 updating testcase for ping 2021-09-15 14:59:56 +02:00
hardy
9c2785a72c fix delay to start OAI5GCN 2021-09-15 14:49:35 +02:00
hardy
18d66873f3 fixing dnn to use with OAICN5G in infra yaml 2021-09-15 14:49:35 +02:00
hardy
5a24210b45 check if container is running 2021-09-15 14:49:35 +02:00
hardy
7a505f75d1 adding cn logs to artifacts 2021-09-15 14:49:35 +02:00
rmagueta
a7982dff31 Remove DL scheduling limitation to slots 1 and 11 2021-09-15 13:01:12 +01:00
rmagueta
2c41c4cd7c Revert PUCCH0 threshold 2021-09-15 12:54:26 +01:00
Sakthivel Velumani
6443cedd6a Updated nfapi PNF to use the thread message buffers 2021-09-15 14:52:24 +05:30
francescomani
a7887e85f4 change in condition (not nsa but cfra) 2021-09-15 10:37:00 +02:00
francescomani
056ccbf39c change in some logs 2021-09-14 22:13:21 +02:00
Melissa Elkadi
77548d5bec Properly filtering DCIs in the NR UE 2021-09-14 12:53:39 -07:00
Melissa Elkadi
dbc4b0e321 Updating merged code with harq_pid global
The harq_pid is set to inactive during the scheduling
of ACK/NACK, but this is happening before tx_req (PDSCH)
is recevied. We update the global harq_pid then use it
once we get the PDSCH PDU, then we set it to inactive.
Also, the global previously wasnt being set properly because
a memset was changing the def_dci_re15 struct. We now
memset after we update the harq_pid global.
2021-09-14 12:08:38 -07:00
Melissa Elkadi
1f4b552063 Revering nr_ue_get_rach() to complete CFRA 2021-09-14 12:05:24 -07:00
francescomani
41f8f4fdd1 additional fixes in config file 2021-09-14 19:27:16 +02:00
Melissa Elkadi
2ac8d4b680 Properly handling cellGroupConfig in NR UE 2021-09-14 09:10:47 -07:00
Melissa Elkadi
c8ca564212 Merge remote-tracking branch 'eurecom/develop' into episys/mel/merge_develop_cfra_working_9_14_21 2021-09-14 08:36:54 -07:00
Melissa Elkadi
6a8e4e2883 Merge remote-tracking branch 'eurecom/develop' into episys/mel/merge_develop_cfra_working 2021-09-14 07:34:58 -07:00
matzakos
c258229873 Bring back sib1 tda from config file in du conf. file 2021-09-14 16:30:22 +02:00
matzakos
982c087b92 Fix conflicts in CU/DU config files 2021-09-14 16:30:05 +02:00
francescomani
7e3cb7a32d adapting coreset0 parameter 2021-09-14 16:22:51 +02:00
Panos Matzakos
610bd03773 Update TESTING_5GSA_setup.md with information on CU/DU split setup and OAI UE 2021-09-14 14:12:43 +00:00
francescomani
b93cb71483 improvement in setting ssb parameters 2021-09-14 13:52:02 +02:00
matzakos
222419ddbf Bring back sib1 tda from config file in du conf. file 2021-09-14 13:22:59 +02:00
Sakthivel Velumani
0de2a333af Merge branch 'develop' into phy-asan-fixes 2021-09-14 16:47:15 +05:30
francescomani
9eb813b02b improvement in setting ssb parameters 2021-09-14 12:42:10 +02:00
matzakos
97bedd6481 Update config. files for CU, DU and UE 2021-09-14 12:15:52 +02:00
matzakos
7d8224863e Add gtpu instance print in gtpu_send logs 2021-09-14 12:14:48 +02:00
francescomani
aa308ab262 bugfix in get_nr_table_idx 2021-09-14 11:58:34 +02:00
Xue Song
124ccbf14c modify pdusession modify procedure 2021-09-14 09:53:42 +00:00
francescomani
1dd512873f adding band 96 in bandtable 2021-09-14 11:19:48 +02:00
francescomani
0d35f8a24f band 96 config file 2021-09-14 11:18:34 +02:00
Laurent THOMAS
e77a177f28 use older cmake version 2021-09-14 10:37:14 +02:00
Laurent THOMAS
af19655763 Compile all targets to fix compilation regression 2021-09-14 09:37:06 +02:00
rmagueta
4ec92f1268 Merge remote-tracking branch 'origin/bandwidth-testing-abs' into bandwidth-testing-abs 2021-09-13 20:08:22 +01:00
rmagueta
014915a5a3 Initialize maxL 2021-09-13 20:07:16 +01:00
francescomani
beb0c4d8bb implementation of if_freq option at OAI UE 2021-09-13 19:05:32 +02:00
luis_pereira87
0a84715a82 Fix UE_sched_ctrl pointer when there is more than one UE 2021-09-13 17:05:34 +01:00
Laurent THOMAS
8078e0b4a1 F1-U ping first full user plane ping working 2021-09-13 16:58:09 +02:00
Laurent THOMAS
b94aee2e97 fixing F1-U 2021-09-13 15:54:01 +02:00
francescomani
9fb094600f cosmetic changes and duplicate code 2021-09-13 14:54:49 +02:00
rmagueta
974bb21dda Fix phy-test 2021-09-13 11:40:34 +01:00
hardy
8dca182255 CI scripted deployment of OAI CN5G 2021-09-13 11:59:31 +02:00
rmagueta
2710ad9934 Fix build warning 2021-09-13 10:39:55 +01:00
Laurent THOMAS
a455ce7cab fix F1-U bugs 2021-09-13 11:04:38 +02:00
francescomani
cfccd8ece8 fix another compilation issue 2021-09-13 10:01:05 +02:00
Florian Kaltenberger
de8d4f4318 adding pseudo code to start prs development 2021-09-13 09:59:47 +02:00
Xue Song
64a7359a4c set fiveQI in ngap_gNB_handle_pdusession_modify_request() 2021-09-13 07:59:22 +00:00
luis_pereira87
5af47448c0 Duplicate parameter removal 2021-09-13 08:55:35 +01:00
luis_pereira87
3a02a7ad4c Update ue-rxgain default value 2021-09-13 08:41:54 +01:00
francescomani
b31199c4ef make csirs prb occupation generic 2021-09-12 11:27:45 +02:00
francescomani
736b8be64d fix phy sim compilation issue 2021-09-12 10:08:26 +02:00
francescomani
3c766d29f3 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-09-12 09:38:38 +02:00
Raymond Knopp
ae2ccb4e7b further fix for UE DCI candidate enumeration 2021-09-12 00:01:48 +02:00
Raymond Knopp
c8d2932172 small fix in dci handling in UE for multiple aggregation levels. 2021-09-11 20:07:36 +02:00
Raymond Knopp
37b135b616 logging and DL-CCCH decoding size:: 2021-09-11 13:58:08 +02:00
Melissa Elkadi
3abc7f93e7 Preparing UCIs after we have recevied PDSCH PDU
In this commit, we introduced a new global to save
the harq_pid from the PDCCH that comes down in the
DCI message so that we can use the harq_pid in the
PDSCH. Now, the UCI ind will be filled after we
have recevied the PDSCH in the tx_request.
2021-09-10 14:34:48 -07:00
rmagueta
705a627756 Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs
# Conflicts:
#	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-10 16:13:05 +01:00
Eurecom
18e51299aa minor changes for testing 2021-09-10 16:51:50 +02:00
rmagueta
664069e198 Fix DLSCH failure with COTS after merge 2021-09-10 15:22:57 +01:00
Roberto Louro Magueta
0e4a1ecbc2 Revert "Fix DLSCH failure with COTS after merge"
This reverts commit 68f94f5505
2021-09-10 14:17:28 +00:00
francescomani
c5feda8613 Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-09-10 14:59:10 +02:00
rmagueta
dc0f693c95 Fix in phytest 2021-09-10 13:05:58 +01:00
rmagueta
68f94f5505 Fix DLSCH failure with COTS after merge 2021-09-10 13:02:14 +01:00
francescomani
503eba46ce fix compilation issue 2021-09-10 13:39:50 +02:00
rmagueta
2688256a59 Change LOG level 2021-09-10 11:08:06 +01:00
francescomani
10c4e95704 moving get_coreset_rballoc to nr_common 2021-09-10 11:55:57 +02:00
rmagueta
eb99d98ccf Fix issues after merge 2021-09-10 10:42:02 +01:00
Laurent Thomas
62f2d43f75 merge develop 2021-09-10 11:11:20 +02:00
rmagueta
b898981109 Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
2021-09-10 10:03:22 +01:00
Xue Song
9a09335495 add rrc_gNB_modify_dedicatedRRCReconfiguration()
add rrc_gNB_process_NGAP_PDUSESSION_MODIFY_REQ()
add rrc_gNB_send_NGAP_PDUSESSION_MODIFY_RESP()
2021-09-10 08:41:21 +00:00
Remi Hardy
de553cd1b6 integration_2021_wk36
MR !1252 : Bugfix nr rlc w36
Fix a bug about segmentation present in both NR RLC AM and NR RLC UM.

MR !1253 : minor: T tracer: be more verbose for DLSCH DCI

MR !1254 : fix for pointa computation in sib1
Fix computation of pointA in SIB1

MR !1217 : fix-physim-run-script-on-cluster
oai-nr-dlsim may seem fine but in fact, test21 may or may not be executed. 
On some run example, we do not have finished message on nr-dlsim pod.

MR !1255 : Attempt to fix nr-dlsim Test 21 (4x4 MIMO, 2 Layers)
2021-09-10 07:52:42 +00:00
Masayuki Harada
fd297ef080 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into oai_develop 2021-09-10 15:13:37 +09:00
Mario Joa-Ng
82e6d04e56 fix bugs in GNB MAC nr_store_dlsch_buffer()
This commit is to handle multipe UE correctly.
Right now UE #1 and UE #2 can both ping google.
2021-09-09 16:10:20 -07:00
Melissa Elkadi
a34856ba38 Filtering DCI PDUs by RNTI in NR UE 2021-09-09 14:47:58 -07:00
Laurent Thomas
2bf553638f Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-09-09 19:37:31 +02:00
Laurent Thomas
8e66c6a489 F1-U development 2021-09-09 19:37:07 +02:00
hardy
4889a3833b Merge remote-tracking branch 'origin/bugfix-nr-rlc-w36' into integration_2021_wk36 2021-09-09 15:56:40 +02:00
hardy
157a975bab Merge remote-tracking branch 'origin/minor-t-tracer-w36' into integration_2021_wk36 2021-09-09 15:56:20 +02:00
hardy
a27cb7e2fb Merge remote-tracking branch 'origin/NR_SIB1_fix_pointa' into integration_2021_wk36 2021-09-09 15:56:00 +02:00
hardy
eaf0f45077 Merge remote-tracking branch 'origin/fix-ip-missing-rhel8-image' into integration_2021_wk36 2021-09-09 15:55:40 +02:00
hardy
ddf2d0027d Merge remote-tracking branch 'origin/fix-physim-run-script-on-cluster' into integration_2021_wk36 2021-09-09 15:55:22 +02:00
Masayuki Harada
edd179c263 Merge remote-tracking branch 'remotes/oai/nr-pdcp-security-w34' into develop-NR_SA_nrUE_security_update 2021-09-09 19:40:46 +09:00
rmagueta
eec5774f0f Fix infinite loop in fill_dci_search_candidates 2021-09-09 11:18:45 +01:00
rmagueta
649da26cf0 Revert "Fix infinite loop in fill_dci_search_candidates"
This reverts commit e8f67b9401.
2021-09-09 11:18:18 +01:00
matzakos
a8550e4215 Fix memory allocation issue at UE ctxt setup response handling 2021-09-09 12:17:10 +02:00
Laurent Thomas
21a9ca8cce gcc warning fix 2021-09-09 11:46:34 +02:00
Laurent Thomas
6086d9c093 Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-09-09 11:37:05 +02:00
Laurent Thomas
b5f300171d change instance id to 3GPP length 2021-09-09 11:37:00 +02:00
rmagueta
e8f67b9401 Fix infinite loop in fill_dci_search_candidates 2021-09-09 10:22:13 +01:00
francescomani
d8e7167c20 Merge remote-tracking branch 'origin/develop' into NR_BWP_fixes 2021-09-09 10:53:12 +02:00
rmagueta
452e2eb812 Fix ulsch_max_slots_inactivity 2021-09-09 09:37:13 +01:00
francescomani
cd11e1d8a2 fixes for cset0 bwp start and size 2021-09-09 10:20:15 +02:00
rmagueta
71cd100335 Merge remote-tracking branch 'origin/nr-pdcp-security-w34' into bandwidth-testing-abs
# Conflicts:
#	ci-scripts/conf_files/gnb.band78.sa.fr1.106PRB.usrpn310.conf
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
2021-09-08 17:22:28 +01:00
Cedric Roux
0429d3d410 nr-rlc: bugfix: copy correct part of PDUs in case of segmentation 2021-09-08 17:18:20 +01:00
rmagueta
722505f22d Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs
# Conflicts:
#	openair1/PHY/MODULATION/slot_fep_nr.c
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/PHY/NR_TRANSPORT/pucch_rx.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_RA.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
2021-09-08 17:05:01 +01:00
rmagueta
204bffbc7a Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs
# Conflicts:
#	executables/nr-uesoftmodem.c
#	executables/nr-uesoftmodem.h
#	executables/softmodem-common.h
#	openair2/LAYER2/NR_MAC_UE/mac_proto.h
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-08 16:31:24 +01:00
matzakos
c0e9c0eac9 Update handling of UE context setup Response at F1AP and RRC of the CU 2021-09-08 16:37:18 +02:00
Raphael Defosseux
85378a707e fix(docker): NR-UE RHEL8 image is missing ip command
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-08 16:27:58 +02:00
Masayuki Harada
d0575640fc Add calc kgnb and PDCP security settings in nrUE. 2021-09-08 22:52:50 +09:00
Florian Kaltenberger
8c7749547a Update BUILD.md 2021-09-08 13:48:40 +00:00
Eurecom
f2cd650126 Merge remote-tracking branch 'origin/bugfix-nr-rlc-w36' into bandwidth-testing 2021-09-08 14:51:40 +02:00
francescomani
afdb5728ed fix for pointa computation in sib1 2021-09-08 14:21:28 +02:00
rmagueta
4e30f11e3a Temporary fix for SRB2 integrity algorithm 2021-09-08 12:26:03 +01:00
francescomani
17c0268775 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-09-07 17:17:35 +02:00
francescomani
32bbf94c5d adding condition to use type 2 only for OAI UE 2021-09-07 16:54:53 +02:00
Laurent Thomas
7b2f3440e9 merge develop 2021-09-07 16:51:30 +02:00
matzakos
a75d200888 Trigger UE context response from RRC by sending ITTI to F1AP task
-Fix contents of F1AP UE context setup response message
2021-09-07 15:30:14 +02:00
francescomani
aa431f353f new attempt to fix cdm both for sa and mimo 2021-09-07 15:13:10 +02:00
Cedric Roux
5ac4ae361a minor: T tracer: be more verbose for DLSCH DCI 2021-09-07 13:33:45 +02:00
Cedric Roux
36bae67eef nr-rlc: bugfix: copy correct part of PDUs in case of segmentation 2021-09-07 13:16:39 +02:00
Cedric Roux
58904eaab8 cleanup: replace "eNB" by "gNB" as it should be 2021-09-07 13:08:14 +02:00
Laurent Thomas
16ea018601 fix a abort() call let in the source 2021-09-07 11:57:58 +02:00
Sakthivel Velumani
76b0aa1fa6 Logging fixes in ulsim 2021-09-07 08:18:11 +05:30
Laurent Thomas
e1741d72b2 Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-09-06 18:28:28 +02:00
Laurent Thomas
36000a3e89 add F1-U callbacks implem 2021-09-06 18:27:51 +02:00
matzakos
842bf6e346 Add rrc handling for F1 UE context setup response message at the CU and gtp-u tunnel update functionality
-Remains to be tested
2021-09-06 14:44:53 +02:00
Sakthivel Velumani
81a1ed703b Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-09-06 16:36:10 +05:30
Eurecom
15c5ea07bc Merge remote-tracking branch 'origin/develop' into bandwidth-testing
Conflicts:
	executables/nr-uesoftmodem.c
	executables/nr-uesoftmodem.h
	executables/softmodem-common.h
	openair2/LAYER2/NR_MAC_UE/mac_proto.h
	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2021-09-06 11:53:56 +02:00
Eurecom
eceb0d79bc Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
Conflicts:
	executables/nr-uesoftmodem.c
	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
	openair1/SIMULATION/TOOLS/random_channel.c
	openair2/LAYER2/NR_MAC_UE/mac_proto.h
	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-06 11:22:30 +02:00
Cedric Roux
4877d56a12 nr: add security section to gnb config files
The configuration files named "gnb*conf" have been modified.
Other configuration files were left unmodified.
2021-09-06 11:06:47 +02:00
Cedric Roux
eeca38368e gnb sa: improve security
Note: some modifications have been done to the UE too, but for syntactic
reasons. The UE may fail to work, not tested.

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

Also, NSA mode has been touched, but it should not be a problem. But not
tested, so not sure.
2021-09-06 11:06:47 +02:00
Sakthivel Velumani
6fc6b7d120 Updated nr_ulsim for multi antenna support 2021-09-06 14:15:53 +05:30
Sakthivel Velumani
3be476c84d Improved logging of PUSCH rx 2021-09-06 14:14:38 +05:30
Eurecom
4624a94d48 Merge remote-tracking branch 'origin/develop' into bandwidth-testing
Conflicts:
	executables/nr-uesoftmodem.c
	executables/nr-uesoftmodem.h
	executables/softmodem-common.h
	openair1/PHY/MODULATION/slot_fep_nr.c
	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
	openair1/SIMULATION/TOOLS/abstraction.c
	openair1/SIMULATION/TOOLS/random_channel.c
	openair2/LAYER2/NR_MAC_UE/mac_proto.h
	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-06 10:34:14 +02:00
Remi Hardy
b590cec2e3 integration_2021_wk35
MR !1245: [CI] Improve Iperf packet loss mismatch detection
-improve the Iperf packet loss detection and flagging when pl target (from xml) is below the test result

MR !1246: patch: remove call to end_configmodule
- full fix that set properly PARAMFLAG_NOFREE on relevant parameters

MR !1235: Nr msg4 retransmission
-Retransmission of msg4
-Some reworking in UE harq DLSCH processing

MR !1214: NR UE SA
-SIB1 detection part of initial sync at UE
-Removing a lot of hard-coding in SA procedures
-SSB start subcarrier from command line at UE

MR !1243: Nr skip mac pdu processing when nack
-Skipping processing DLSCH MAC PDU at OAI UE when NACK

MR !1229: fix(nr-ue): apply ip rules/route
-Also added 4G RF sim tests
2021-09-05 19:51:46 +00:00
Eurecom
c834f40186 Merge remote-tracking branch 'origin/develop' into bandwidth-testing
Conflicts:
	executables/nr-uesoftmodem.c
	executables/nr-uesoftmodem.h
	executables/softmodem-common.h
	openair1/PHY/MODULATION/slot_fep_nr.c
	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
	openair1/SIMULATION/TOOLS/abstraction.c
	openair1/SIMULATION/TOOLS/random_channel.c
	openair2/LAYER2/NR_MAC_UE/mac_proto.h
	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-05 15:37:11 +02:00
francescomani
fa7acb96c8 no msg3 retransmission in NSA 2021-09-05 09:15:08 +02:00
Eurecom
efed5abbfe commit before merge with develop 2021-09-04 22:42:32 +02:00
Eurecom
81314a2020 Merge remote-tracking branch 'origin/bandwidth-testing-pucch' into bandwidth-testing 2021-09-04 21:40:53 +02:00
Raymond Knopp
8e4763bf94 small change in ulsch_decoder to allow segment even if parity-check fails but CRC passes. 2021-09-04 21:36:41 +02:00
Melissa Elkadi
3df849eca2 Code clean up 2021-09-03 13:04:15 -07:00
Melissa Elkadi
0b7ce4351d Adding error checking in processing CCCH msgs. 2021-09-03 12:37:07 -07:00
Melissa Elkadi
d60dfa552a Properly initializing the PDCP layer
Previously, the ue_id passed into the
init_pdcp() in  the proxy would be 41.
This is outside of the bounds of the
nas_sock_fd array and would cause a crash.
This was occuring because the node_number
in the NRUE starts at 2, not 1.
2021-09-03 11:40:53 -07:00
Melissa
0f3340011a Merge branch 'episys/david/Adding_function_declaration_to_read_config_file' into 'episys/mel/merge_develop_cfra_working'
Added function declaration to read config file.

See merge request aburger/openairinterface5g!58
2021-09-03 18:37:24 +00:00
David Kim
f8c9be3af9 Added function declaration to read config file.
config files were also updated.
2021-09-03 10:46:09 -07:00
Melissa Elkadi
ca1805faaf IP ping traffic is working correctly
In this commit we have updated the NRUE
to properly get the RadioBearer info from
the gNB. Because NSA and SA mode both use
this information, we have updated the SA
function previously in place by changing
the name to allow both NSA and SA mode to
use. This commit also updated the NR/LTE UEs
configuration files to with the correct
proxy IP address.
2021-09-03 10:13:59 -07:00
rmagueta
fb63951450 Fix NGAP UE release cause when uplink failure 2021-09-03 15:19:35 +01:00
rmagueta
cf4066f7cd Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs 2021-09-03 15:19:06 +01:00
hardy
fceea50a8b productive version of sql table 2021-09-03 14:34:32 +02:00
Laurent THOMAS
e942193824 add partial coding ue context resp 2021-09-03 14:14:43 +02:00
Laurent THOMAS
14775c9dd2 partial coding ue context setup resp 2021-09-03 13:51:17 +02:00
Raphael Defosseux
d9d4b91185 fix(NAS): remove compilation warning
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-03 13:07:56 +02:00
matzakos
7fab01472e Preliminary work to handle UE context setup response at F1AP layer of the CU
-Remaining to handle the incoming information at RRC layer of the CU as well
2021-09-03 11:17:48 +02:00
Raphael Defosseux
592d99b5bc fix(enb): start_background_system was not called in noS1 mode
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-09-03 10:27:33 +02:00
hardy
be5448da66 [CI] edit config file for SA test 2021-09-03 10:19:56 +02:00
Melissa Elkadi
5c49b19788 Merge remote-tracking branch 'origin/episys/david/merge_develop_cfra_working_using_ue_config_for_IP_address' into episys/mel/merge_develop_cfra_working 2021-09-02 15:36:40 -07:00
Melissa Elkadi
2cb934ac2d Didnt mean to redefine variables in 1c11708501
This commit fixes commit 1c11708501 which
we are redefining data_buffer and size_to_write.
2021-09-02 15:34:32 -07:00
Melissa Elkadi
1c11708501 IP working. but HACK!! Changed SN size to 12
Also changed the code to only remove the first
byte of the PDU if it is 00.
2021-09-02 15:29:18 -07:00
hardy
5ae7e456ed Merge remote-tracking branch 'origin/nr-ue-fix-ip-route' into integration_2021_wk35 2021-09-02 23:13:14 +02:00
hardy
12b1cb8fde Merge remote-tracking branch 'origin/NR_UE_SA' into integration_2021_wk35 2021-09-02 23:11:40 +02:00
hardy
8795d92c31 Merge remote-tracking branch 'origin/NR_skip_mac_pdu_processing_when_nack' into integration_2021_wk35 2021-09-02 23:11:17 +02:00
hardy
f4cb0d288a Merge remote-tracking branch 'origin/NR_msg4_retransmission' into integration_2021_wk35 2021-09-02 23:10:57 +02:00
hardy
86173c1239 Merge remote-tracking branch 'origin/workaround-end_configmodule' into integration_2021_wk35 2021-09-02 23:10:36 +02:00
David Kim
6342e67c33 Setting UE and nrUE IP address in config file.
1. Removed hard coded IP address in the code for UE and nrUE's remote address.
2. Read IP address from config file for UE and nrUE's remote address.
2021-09-02 13:33:42 -07:00
rmagueta
5765d0e508 Fix build after merge 2021-09-02 18:57:14 +01:00
Laurent THOMAS
00a47807b1 some progress in du ue context setup 2021-09-02 19:28:28 +02:00
matzakos
7e1febcecf Change the order of sequence of bytes in IP conversion functions used in F1AP
-Now IP address appears correctly in wireshark
2021-09-02 19:17:03 +02:00
Melissa Elkadi
233e567a4a Merge branch 'episys/mel/merge_develop_cfra_working' of 10.1.1.59:aburger/openairinterface5g into episys/mel/merge_develop_cfra_working 2021-09-02 10:16:25 -07:00
Melissa Elkadi
b003f37490 Comment for removed first byte before write to TUN 2021-09-02 10:13:44 -07:00
rmagueta
5e1065e88f Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs
# Conflicts:
#	executables/nr-uesoftmodem.c
#	executables/nr-uesoftmodem.h
#	executables/softmodem-common.h
#	openair1/PHY/MODULATION/slot_fep_nr.c
#	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
#	openair1/SCHED_NR/fapi_nr_l1.c
#	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
#	openair2/LAYER2/NR_MAC_UE/mac_proto.h
#	openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-02 17:57:48 +01:00
Laurent THOMAS
7cde9f7a88 DU sends packet in UL over F1-U 2021-09-02 15:10:11 +02:00
Raymond Knopp
98ef919502 Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-pucch
Conflicts:
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
	openair1/SIMULATION/NR_PHY/dlsim.c
	openair1/SIMULATION/NR_PHY/pucchsim.c
2021-09-02 13:34:36 +02:00
hardy
3b557060d3 writing the status to SQL DB + stage exec on 2 agents 2021-09-01 23:33:20 +02:00
Melissa
672459ad15 Merge branch 'episys/mel/merge_develop_cfra_working_for_multiUE' into 'episys/mel/merge_develop_cfra_working'
Fix to handle multiple UEs and typo bug.

See merge request aburger/openairinterface5g!56
2021-09-01 21:10:12 +00:00
Deokseong "David" Kim
262efe7902 Fix to handle multiple UEs and typo bug. 2021-09-01 21:10:10 +00:00
rmagueta
7be39f7120 Change choffset to use channel RF A in B210 2021-09-01 18:28:31 +01:00
matzakos
1f346f1bdf Add structure for ue_context_setup_response to be used for ITTI msgs between RRC<->F1 2021-09-01 19:09:53 +02:00
rmagueta
f24bc5676d Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs 2021-09-01 17:58:36 +01:00
Eurecom
3005e1652a 106 PRB SA configuration file for ci 2021-09-01 16:46:16 +02:00
matzakos
e1e5b56a77 Fix IP address parsing for CU/DU tunnel information info 2021-09-01 15:46:11 +02:00
rmagueta
5836ab1927 Fix build warnings 2021-09-01 14:03:28 +01:00
rmagueta
a45eb42fca Change log levels 2021-09-01 12:57:01 +01:00
matzakos
01504dcab1 Small correction to obtain the rnti from the CU or DU UE id 2021-09-01 13:32:43 +02:00
Laurent THOMAS
d360113cfa comment out end_configmodule meanwhile someone verify all parameters that should have PARAMFLAG_NOFREE 2021-09-01 11:29:32 +02:00
Eurecom
33cd8cafbb after merge with abs 2021-09-01 10:27:13 +02:00
francescomani
854f7a769c fixing missed initialization 2021-09-01 06:59:07 +02:00
francescomani
af87ccffa9 Merge remote-tracking branch 'origin/develop' into fix-physim-run-script-on-cluster 2021-09-01 06:57:35 +02:00
David Kim
d72d646c0d Adjusted code format to increase code readability. 2021-08-31 18:21:54 -07:00
David Kim
ea63a9eeb0 Merge remote-tracking branch 'origin/episys/mel/merge_develop_cfra_working' into episys/mel/merge_develop_cfra_working_for_multiUE
Resolved merge conflict.
2021-08-31 17:45:26 -07:00
Melissa Elkadi
bfa8c8355c Updated logic for getting IP data in scheduler
Also, the error checking for writing to the TUN
interface was incorrect so that was fixed as well.
2021-08-31 16:06:45 -07:00
Melissa Elkadi
1c248bcf49 Successfully writing to TUN if and removed usleep 2021-08-31 15:53:14 -07:00
Raymond Knopp
248fdfbd2c merge with abs 2021-08-31 23:18:14 +02:00
Raymond Knopp
cf3b3f889c Merge remote-tracking branch 'origin/bandwidth-testing-abs' into bandwidth-testing 2021-08-31 22:12:24 +02:00
Raymond Knopp
ee301a5acb commit before merge 2021-08-31 22:12:12 +02:00
rmagueta
2590711b05 Fix Msg4 PDSCH when coreset0 2021-08-31 20:37:03 +01:00
Laurent THOMAS
ba277b479d Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-31 21:31:53 +02:00
Laurent THOMAS
9ee167c829 draft F1-C for DU 2021-08-31 21:31:24 +02:00
rmagueta
5dde1a53dc Fix Msg2 PDSCH when coreset0 2021-08-31 20:29:46 +01:00
rmagueta
6746fd4077 Fix DCI allocation for coreset0 2021-08-31 20:14:07 +01:00
Laurent THOMAS
5c3abe6fc8 add F1-U DU Uplink 2021-08-31 21:03:22 +02:00
Laurent THOMAS
49c4fceb76 fix memory error: too early paramters read, then free (before end of usage 2021-08-31 20:51:11 +02:00
Melissa Elkadi
24d75a99af Only initializing PDCP if using EPC (S1 mode) 2021-08-31 11:48:21 -07:00
rmagueta
e621c3533c Change log levels 2021-08-31 18:27:27 +01:00
francescomani
189ed94542 Merge remote-tracking branch 'origin/develop' into NR_BWP_fixes 2021-08-31 19:05:16 +02:00
rmagueta
7928ed42bf Change choffset to use channel RF A in B210 2021-08-31 17:45:30 +01:00
francescomani
bb48991242 Merge remote-tracking branch 'origin/develop' into NR_skip_mac_pdu_processing_when_nack 2021-08-31 18:32:09 +02:00
matzakos
2616ef6bdf Correct the placement of memory initialization for F1-U create_tunnel_req 2021-08-31 17:04:48 +02:00
hardy
81d818cf68 improve packet loss mismatch detection 2021-08-31 16:40:41 +02:00
matzakos
7a2f88040f Correction to parse the IP address for F1-U tunnels creation
however the address in the NGAP message is still wrong
2021-08-31 15:39:51 +02:00
Laurent THOMAS
7ca1f045d0 typo remaining 2021-08-31 14:36:56 +02:00
Laurent THOMAS
0f033d99ff merge develop 2021-08-31 13:29:28 +02:00
Laurent THOMAS
01b92ebd26 Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-31 13:26:33 +02:00
Laurent THOMAS
0976f3e988 bug fix 2021-08-31 13:26:29 +02:00
matzakos
4e667929b7 Add gtp-u tunnel creation at the CU side
- Change some elements names inside create_tunnel structure so that they are more generic to capture both N3 and F1-U use cases
2021-08-31 11:18:30 +02:00
Laurent THOMAS
69c87b2344 add F1-U DU Uplink 2021-08-31 10:37:27 +02:00
Laurent THOMAS
229ccd6b14 fix F1AP error on srb id 2021-08-31 08:35:55 +02:00
David Kim
86d605eea1 Fix to handle multiple UEs and typo bug.
1. Changed hard coded preamble index(63) to soft coded.
2. Active UE will not be considered in gNB scheduging RA.
3. Added condition to process dci indication to handle multiple UEs.
4. Bug fix in mutex_lock (unlock to lock). It should be lock rather than unlock.
5. nr_ue_scheduler update not to entering into getting IP traffic to be transmitted in noS1 mode.
6. log update in checking the number of rx_ind or crc
2021-08-30 11:01:32 -07:00
francescomani
2f5af6008b Merge remote-tracking branch 'origin/develop' into NR_msg4_retransmission 2021-08-30 18:06:06 +02:00
francescomani
6a2352f843 Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-08-30 17:55:38 +02:00
Raphael Defosseux
3bd6309e2e fix(test): cosmetics in 4G LTE RF sim test
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-30 16:36:40 +02:00
Raymond Knopp
3243f881b7 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-08-30 14:55:02 +02:00
Raymond Knopp
5d760e5cab Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
Conflicts:
	executables/nr-ru.c
	openair1/PHY/NR_TRANSPORT/nr_dci.c
	openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
2021-08-30 14:54:54 +02:00
Eurecom
07b89315ab changes for debugging. switching to another marchine 2021-08-30 14:52:40 +02:00
Raphael Defosseux
309a8c3e3e CI:
-- Reduce required BW test in 4G RF sim

Docker:
  -- Made the "Thread Parallel Config" a flexible parameter
     default is SINGLE_THREAD
  -- Clean Up on some Docker file about pyyaml

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-30 14:31:22 +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
luis_pereira87
ea8120090c Merge remote-tracking branch 'origin/develop' into NR_SA_documentation_update 2021-08-30 11:23:01 +01:00
luis_pereira87
fec673c89a Update SA tutorial 2021-08-30 11:10:23 +01:00
Remi Hardy
11477c7a2d integration_2021_wk34
MR !1081 : Prb based channel estimation
-An option for using average channel estimates over 1 prb is introduced in DLSCH and ULSCH. 
This improved BLER performance for MCS 28 when prbs are allocated across DC.

MR !1231 : Nr msg3 retransmission
-Implement re-transmission of MSG3 gNB and UE
-Fixes content resolution timer at UE

MR !1236 : nr: add T trace for msg4 (rrc setup)
2021-08-30 08:50:50 +00:00
Mario Joa-Ng
b5536c3a9c gNB assigns SR resources for UE according to its rtni 2021-08-27 17:29:34 -04:00
francescomani
50c74b684d update gNB feature set 2021-08-27 18:03:10 +02:00
francescomani
822d8e71ad fixed missed initialization 2021-08-27 16:05:35 +02:00
francescomani
b10d32d8b8 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-08-27 16:02:58 +02:00
francescomani
e93545bc08 formatting 2021-08-27 12:58:53 +02:00
francescomani
d0c1bc4340 skip dlsch mac pdu processing when crc fails 2021-08-27 12:42:25 +02:00
francescomani
37a11c07cf update UE MAC feature set 2021-08-27 11:01:28 +02:00
Laurent THOMAS
af7892e2eb Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-27 09:43:15 +02:00
Laurent THOMAS
b06d7bfe0f Merge branch 'NR_F1C_F1U_extensions' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-27 09:36:22 +02:00
Laurent THOMAS
ad27ec9811 add UE wireshark trace 2021-08-27 09:36:17 +02:00
Abhijith
ad9e0f5db0 Fixed error in fill_default_reconfig() 2021-08-27 11:36:15 +05:30
Eurecom
1b028d7d89 limitation to 1 DL slot/TDD period for testing 2021-08-27 08:04:03 +02:00
Melissa Elkadi
512e76dee8 Error checking and meas sending wait for EPC only 2021-08-26 17:37:51 -07:00
Melissa Elkadi
6ec545e29d Error checking for processing DL PDUs
Also, we only should be handling/generating AM
PDUs in the PDCP/RLC layer, not UM PDUs. Updated
the pre-configuration settings. This seemed to
make the uplink traffic work (meaning it gets
from NR UE to the gNB to the EPC). Woo! Still
working on the downlink.
2021-08-26 15:44:45 -07:00
Raymond Knopp
6217d58eca Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
Conflicts:
	executables/nr-ru.c
2021-08-27 00:23:23 +02:00
francescomani
8d3e11484a update on UE PHY feature set 2021-08-26 18:07:58 +02:00
hardy
5bd6d0d31b Merge remote-tracking branch 'origin/t-nr-add-rrc-setup-trace' into integration_2021_wk34 2021-08-26 14:34:23 +02:00
hardy
fcbf8706d9 Merge remote-tracking branch 'origin/NR_msg3_retransmission' into integration_2021_wk34 2021-08-26 14:33:59 +02:00
hardy
b798755347 Merge remote-tracking branch 'origin/prb_based_dl_channel_estimation' into integration_2021_wk34 2021-08-26 14:33:33 +02:00
francescomani
e8c7476046 fix to allow traffic to be put in msg3 2021-08-26 13:23:41 +02:00
Eurecom
bd955d4817 bugfixes in MAC for ACK/NAK scheduling beyond the TDD period (for OAI UE) 2021-08-26 12:11:06 +02:00
He Shanyun
cc7c4ba2e4 Merge commit '6df331d80ec05aca315778708ce72914f961ee7b' into oai_develop 2021-08-26 05:49:12 +00:00
Melissa Elkadi
cad1175154 Get IP traffic in MAC layer and handling of RAR
Previously, we would assume every downlink in
slot 7 was an RAR; now we assume every slot 7
that occurs before the CFRA procedure is done
is an RAR. Also changed the logic in scheduler
to allow us to get nr_ue_sdus in the MAC layer.
2021-08-25 17:15:16 -07:00
Melissa Elkadi
63cb61db7d Only do DRB preconfiguration if NOT in noS1 mode 2021-08-25 16:09:20 -07:00
Melissa
b6e8266732 Merge branch 'episys/david/cfra_working_update_0824' into 'episys/mel/merge_develop_cfra_working'
Update on scheduler to relax AssertFatal.

See merge request aburger/openairinterface5g!55
2021-08-25 22:52:59 +00:00
Deokseong "David" Kim
43d8ed216e Update on scheduler to relax AssertFatal. 2021-08-25 22:52:58 +00:00
Melissa Elkadi
72675ef351 Updating .gitignore for logs and strace files 2021-08-25 15:43:33 -07:00
Melissa Elkadi
1b49e7e2ef Additions to get UE connected to EPC 2021-08-25 12:10:12 -07:00
Melissa Elkadi
b7e5c9cf9f Update logic for calling scheduler 2021-08-25 11:28:19 -07:00
hardy
6df331d80e fixing packet loss thresholds for nsa test for better fail detection 2021-08-25 17:09:03 +02:00
matzakos
ca8b7c915c Merge remote-tracking branch 'origin/develop' into NR_F1C_F1U_extensions 2021-08-25 17:06:17 +02:00
matzakos
bdef3296c4 Add handling of F1 Ue context setup request message at the DU side
- Trigger SRB2 and DRB configuration and RRC->MAC configuration
- Remaining: gtp-u tunnel creation at the DU side, triggering and handling of UE context setup response
2021-08-25 16:58:29 +02:00
francescomani
b356a8166b Merge remote-tracking branch 'origin/develop' into NR_msg3_retransmission 2021-08-25 16:02:31 +02:00
Thomas Schlichter
054c1e53b7 Fix for vrb_map occupation loop 2021-08-25 13:49:30 +00:00
francescomani
e3c4a9806f Merge remote-tracking branch 'origin/develop' into NR_msg4_retransmission 2021-08-25 15:43:54 +02:00
Eurecom
902c04e60a integrated ABS patch for IP address string allocation in UE 2021-08-25 15:15:35 +02:00
francescomani
b6ef23a395 Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-08-25 15:01:40 +02:00
Remi Hardy
b28a368308 Integration Branch 2021 Week 33
MR 1170 : 5G nFAPI Improvements
- Bugfixes in packing/unpacking
- Adds uplink indication functionality
- Changes the nFAPI system architecture to account for architecture changes in the develop branch
- Adds nFAPI system documentation
- Removes hardcodings

MR 1222 : Update RRC ASN1 file to version 16.4.1 

MR 1223 : Fixes to NR UE MAC PDU generation 
- included MAC CE sub-PDUs size in the computation of RLC data to transmit this fixes the error with residual mac pdu appearing at gNB side when transmitting higher amount of data 
-  got rid of the nr_generate_ulsch_pdu and moved the relevant UL-SCH MAC PDU generation procedure within the nr_ue_get_sdu and nr_ue_get_rach 
-  reduced memcpy calls and unnecessary memory allocations 
-  fetching RLC data and SDU size from the mac_rlc_data_req, removed the call to mac_rlc_get_buffer_occupancy_ind 
-  introduced a new function to generate the MAC CEs sub-PDUs 
-  removed unnecessary function input parameters 
-  minor fixes and cleanup 
-  enhanced logging

MR 1227 : removed duplicate structure, changed 'x' to 'r' and 'y' to 'i'
2021-08-25 12:39:08 +00:00
Thomas Schlichter
b4a20d062d Fix in rbSize loop 2021-08-25 12:21:18 +00:00
Laurent THOMAS
22b072d85a fix my regression 2021-08-25 13:24:31 +02:00
Eurecom
d98d7c26c5 DCI 0_1/1_1 for SA UE, arbitrary initialBWP configuration 2021-08-25 02:20:25 +02:00
Melissa Elkadi
9b6b905bb8 Adding hacks to stop gNB from crashing 2021-08-24 16:25:40 -07:00
Melissa Elkadi
e695224903 Adding 'Receiving RAR' as LOG_A for NSA mode 2021-08-24 15:51:58 -07:00
Mario Joa-Ng
382086d151 NR_UE: set mac->logicalChannelBearer_exist to false when RLC bearer is released. 2021-08-24 14:28:23 -04:00
Mario Joa-Ng
1d33305a70 NR_UE: set mac->logicalChannelBearer_exist to false when RLC bearer is released. 2021-08-24 12:51:32 -04:00
francescomani
a1595c3109 setting ulsch inactivity timer from slots to frames and removing it from config files (default 10 frames) 2021-08-24 18:02:54 +02:00
Laurent THOMAS
e0cb79d2d8 make SIB1 encoding readable and ARM compatible 2021-08-24 11:21:53 +02:00
Melissa
d1c9821869 Merge branch 'episys/mel/merge_develop_cfra_working_bufsize' into 'episys/mel/merge_develop_cfra_working'
Be more careful about buffer sizes

See merge request aburger/openairinterface5g!54
2021-08-23 21:06:10 +00:00
Michael Cook
d768522466 Be more careful about buffer sizes 2021-08-23 21:06:09 +00:00
mjoang
e8156ddba7 1. Move NR_LONG_BSR_TABLE and NR_SHORT_BSR_TABLE to nr_mac_common.c 2. Change nr_rlc_mac_config_req_ue_logicalChannelBearer to nr_rrc_mac_config_req_ue_logicalChannelBearer. 2021-08-23 15:38:52 -04:00
mjoang
f2c0178b34 1. Call mac_rlc_status_ind only for existing bearers. 2. Re-enable logging in mac_rlc_status to detect any call for non-existing bearer. 2021-08-23 11:52:28 -04:00
Cedric Roux
6bf2874711 nr: add T trace for msg4 (rrc setup) 2021-08-23 17:09:25 +02:00
francescomani
e86a48bc1f fixes 2021-08-23 14:41:08 +02:00
francescomani
01de60f95c initialization of harq ndi 2021-08-23 12:14:17 +02:00
francescomani
3a07b6bf1b rewriting downlink harq process function 2021-08-23 11:55:20 +02:00
francescomani
d78861dbf0 use the same buffer and size for msg4 retransmission 2021-08-23 11:46:34 +02:00
francescomani
7ab05b666d reset dci at ue after processing 2021-08-22 18:06:45 +02:00
francescomani
965945f9e7 bugfix in dlsch scramblingid 2021-08-22 14:55:17 +02:00
Eurecom
bafd82a935 Merge remote-tracking branch 'origin/NR_UE_SA' into bandwidth-testing
Conflicts:
	executables/nr-ru.c
	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair2/LAYER2/NR_MAC_gNB/config.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/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/nr_rrc_proto.h
	openair2/RRC/NR/rrc_gNB.c
	openair2/RRC/NR/rrc_gNB_reconfig.c
2021-08-21 07:48:04 +02:00
Melissa Elkadi
1116d16df2 Need to call scheduler after RACH indefinitly
The ue_sched_mode is reset to 0 again when we
memset the ul_info and after the CFRA procedure
is complete, then uplink CRCs with the PUCCH
response (PUSCH) are not being sent because the
scheduler isnt being called. This makes the
gNB run out of uplink harq ids since its never
getting the proper responses. The change below
will ensure that we call the scheduler AFTER the
RACH is sent and all the time after that.
2021-08-20 14:50:23 -07:00
Melissa Elkadi
671f461e6c Making sure we never are in ONLY_PUSCH mode
When running on some machines, the ue_sched_mode
will be initialized to zero. This will cause
the ul_info the go into the ONLY_PUSCH mode.
We do not want to ever call the scheduler and return.
Furthermore, we only want to call the scheduler after
the NRUE has sent the RACH_IND to the gNB.
2021-08-20 10:50:39 -07:00
Melissa Elkadi
0eb90bd8c8 Setting ue_sched_mode after filling RACH_IND
Also, removed the check before calling the
nr_uescheduler that was associated with the
ra.state. Lastly, removed the DL_HARQ_PID
position change as that was incorrect.
2021-08-20 09:55:17 -07:00
francescomani
cebe8b7997 do not process rar in case of nack 2021-08-20 18:34:18 +02:00
francescomani
1d09adc74c fixes for msg4 retransmission 2021-08-20 18:06:53 +02:00
matzakos
2c5a5f9f57 Remove redundant second call for initialization of oai ue tun interface 2021-08-20 16:42:22 +02:00
Melissa Elkadi
e6709fe9e6 DCI format options were being set incorrectly.
Had to add a check for our NSA mode. If we are in
NSA mode, the DCI format options should be populated
with formats 1 and 7 exclusively. This fixed the
DLBWP calculation for the PDCCH PDUs.
2021-08-20 07:41:54 -07:00
Raymond Knopp
4b25f774f8 commit minor logging changes before merge 2021-08-20 14:19:50 +02:00
Eurecom
f41890b3f5 testing in SA, initialBWP 2021-08-20 14:17:37 +02:00
francescomani
17b1db302c adjusting vrb map in uci functions 2021-08-20 11:10:58 +02:00
Laurent Thomas
d7ed6d6270 small fix 2021-08-20 09:59:32 +02:00
francescomani
b962dda8c9 prach vrb wrt bwp start 2021-08-20 08:41:21 +02:00
Abhijith
208a682152 Added documentation 2021-08-20 11:50:41 +05:30
Melissa Elkadi
2fb0e41d44 Merge branch 'episys/mel/merge_develop_cfra_working' of 10.1.1.59:aburger/openairinterface5g into episys/mel/merge_develop_cfra_working 2021-08-19 13:54:31 -07:00
Melissa Elkadi
0ee8f20d54 Updated gNB conf file & last RRC msg in LTE/NR UE 2021-08-19 13:53:12 -07:00
Melissa Elkadi
9fb130b8b4 Updated gNB conf file & last RRC msg in LTE/NR UE 2021-08-19 10:26:50 -07:00
francescomani
44fc5c1072 fix vrb occupation for msg2 and msg4 2021-08-19 13:00:02 +02:00
Laurent Thomas
1a43c21b12 remove a race F1AP->NR RRC 2021-08-19 12:09:06 +02:00
francescomani
1ff08037fb other fixes for msg3 bwp start 2021-08-19 12:08:10 +02:00
francescomani
282fd65575 fix msg3 rb_start condition 2021-08-19 11:37:21 +02:00
francescomani
76bc07a35d Merge remote-tracking branch 'origin/NR_msg3_allocation_fix' into NR_BWP_fixes 2021-08-19 11:19:59 +02:00
Sakthivel Velumani
38d1782f9b minor fixes (review comments) 2021-08-19 13:40:12 +05:30
francescomani
834af3d5c6 Merge remote-tracking branch 'origin/fix-513-duplicate-complex-structure' into integration_2021_w33 2021-08-19 08:33:00 +02:00
Melissa Elkadi
2c5f0af081 CFRA procedure is working! But gNB still crashes
How? Well, we had to properly allocate the
ul_config_req. We also had to update the
ue_get_rach function. There were several
places where the functionality would check
for a particular mode (ra, sa, phy_test, etc).
In some of these places we had to add NSA mode.
In the VNF, they start the scheduler after 3 sec,
this is sort of a hack, might want to revisit.
This commit also includes removal of printfs.
2021-08-18 16:09:37 -07:00
mjoang
464c095420 Suppress warning message. 2021-08-18 14:59:13 -04:00
mjoang
120e6a59b3 Suppress warning message. 2021-08-18 12:29:06 -04:00
francescomani
2780e00456 fix vrb map filling for csi-rs 2021-08-18 18:21:08 +02:00
francescomani
d606e73a53 fix PRB allocation for phytest mode 2021-08-18 18:11:04 +02:00
francescomani
ba816f699f fix PRB allocation for UE-specific ULSCH 2021-08-18 17:59:35 +02:00
francescomani
1f1d40591e fix PRB allocation for UE-specific DLSCH 2021-08-18 17:37:18 +02:00
Laurent THOMAS
c310d246bb merge develop 2021-08-18 11:20:39 +02:00
David Kim
933dcd2894 Updated vnf codes to fix merge errors.
1. Prototype of nr indication functions were updated.
2. nr_rx_indication name changed to nr_rx_data_indication
3. Added other logs and assert conditions that were gone away from merge.
4. pnf files were not touched.
5. To be sync with original nfapi branch, the following file was checkout from eurocom-nfapi_nr_arch_mod
   nfapi/open-nFAPI/vnf/public_inc/nfapi_vnf_interface.h
2021-08-17 10:03:06 -07:00
mjoang
9e59a26146 1. Add nr_ue_init_mac() to initialize the fields in nr_mac instance. 2. Fix bug on handling padding BSR. 2021-08-17 12:29:34 -04:00
Laurent THOMAS
18fce2b173 fix several bugs, remain critical design mistakes 2021-08-17 14:55:44 +02:00
Sakthivel Velumani
7f5009d7cc fixed SA issues 2021-08-17 17:59:41 +05:30
Eurecom
76882ca87d logging removal 2021-08-17 13:56:35 +02:00
Eurecom
bdfd3c63c5 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-08-17 13:45:41 +02:00
Eurecom
dc92538744 DCI formats 1_1/0_1 on initialBWP 2021-08-17 13:44:50 +02:00
Sakthivel Velumani
cdbdba5631 fixed merge 2021-08-17 16:10:40 +05:30
Laurent THOMAS
058b040c56 ue context setup first fix, the feature is not well implemented 2021-08-17 09:04:28 +02:00
mjoang
4db04d7bee first version of sr bsr. remove test code 2021-08-16 14:19:29 -04:00
Abhijith
f2a1023d8e Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-08-16 23:01:31 +05:30
mjoang
5df1f412be first version of sr bsr. remove test code 2021-08-16 12:35:40 -04:00
francescomani
009f7fd94f restart content resolution timer at each msg3 retransmission 2021-08-16 18:07:51 +02:00
francescomani
4fc24374d5 fixes for contention resolution timer etc 2021-08-16 17:42:07 +02:00
francescomani
275b82eab2 fix for contention resolution timer at NR UE 2021-08-16 17:21:18 +02:00
mjoang
607578f080 first version of sr bsr. 2021-08-16 10:09:53 -04:00
Sakthivel Velumani
a87dca8691 Merge branch 'develop' into prb_based_dl_channel_estimation 2021-08-16 18:59:29 +05:30
Laurent THOMAS
90999e5a15 Fix F1 bugs 2021-08-16 14:14:52 +02:00
francescomani
356e6cadd8 Merge remote-tracking branch 'origin/develop' into NR_msg3_retransmission 2021-08-16 12:36:29 +02:00
francescomani
02d86a889c additional fix for dci_pdu format 2021-08-16 11:53:58 +02:00
Abhijith
8b1138c89f Hardcoding of bwp_id at UE removed 2021-08-16 14:12:04 +05:30
francescomani
f2fc22df81 fix for dci_pdu format 2021-08-16 10:18:04 +02:00
Laurent THOMAS
1c00e712ae Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-16 09:10:56 +02:00
francescomani
d2b131af1d msg3 retransmission rounds at gnb 2021-08-15 18:16:15 +02:00
francescomani
13980b5ebb msg3 retransmission at UE 2021-08-15 16:23:25 +02:00
Raymond Knopp
f885f40eb7 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
Conflicts:
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
2021-08-14 14:07:41 +02:00
Sakthivel Velumani
5b37846524 Fixed build error & warnings 2021-08-14 10:59:25 +05:30
Sakthivel Velumani
255a5acbfa Made FD interpolation by default
PRB based averaging can activated from command line options
2021-08-14 09:05:49 +05:30
Eurecom
2d5e095120 testing on another machine. 2021-08-13 21:47:21 +02:00
Melissa Elkadi
2a979f4e2f Merge branch 'eurecom-nfapi-nr-arch-mod' into episys/merge_nsa_w_develop 2021-08-13 10:27:30 -07:00
francescomani
6d4437e607 fix unnecessary error message in handle_nr_ul_harq during RA 2021-08-13 17:37:35 +02:00
francescomani
8fbc5a7146 fix sib1 detection in sa after merge 2021-08-13 16:19:36 +02:00
francescomani
8060376fcd fix compilation warning 2021-08-13 15:56:49 +02:00
francescomani
e083bd4330 Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-08-13 15:09:52 +02:00
Raphael Defosseux
4cba1a2b6c Merge remote-tracking branch 'origin/nr_ue_mac_pdu_fixes' into integration_2021_w33 2021-08-13 14:28:43 +02:00
Raphael Defosseux
e3499d948f Merge remote-tracking branch 'origin/nr_rrc_asn1_16_4_1' into integration_2021_w33 2021-08-13 14:28:09 +02:00
Raphael Defosseux
1292b8eaa4 Merge remote-tracking branch 'origin/nfapi_nr_arch_mod' into integration_2021_w33 2021-08-13 14:27:33 +02:00
Sakthivel Velumani
3ab21d8fd1 Merge branch 'develop' into prb_based_dl_channel_estimation 2021-08-13 17:57:05 +05:30
Raphael Defosseux
c70aa4c43a fix(nr-ue): apply ip rules/route
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-13 14:21:50 +02:00
francescomani
f2dd94d7c9 fix in condition to call nr_ue_get_sdu 2021-08-13 11:48:14 +02:00
francescomani
93fe1652ed Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-08-13 11:14:20 +02:00
francescomani
59413c184d implementation of scheduling of msg3 retransmission at gnb 2021-08-13 11:13:16 +02:00
Raphael Defosseux
8c91e71992 feat(ci): adding artifacting on run logs
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-13 11:02:37 +02:00
Raphael Defosseux
8f0218828f feat(ci): triggering RF Sim pipeline from main pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-13 10:45:20 +02:00
Raphael Defosseux
b23f972e44 feat(ci): Q&D adding of 5G RF sim on container/docker-compose
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-13 10:29:51 +02:00
Melissa Elkadi
3a51e7c352 Successfully encoding meas report! Woohoo!
However, when we free after we encode, fsanitize isnt happy.
Need to clean that up. Also, found an actual bug in LTE.
For the random value issue from fall 2020, we added a fix.
This fix uses ctxt and we were getting ctxt properly.
Lastly, we allocated some memory in processing of the
NR Meas report in the eNB.
2021-08-12 13:21:58 -07:00
Laurent THOMAS
19af86b163 little fixes 2021-08-12 21:53:56 +02:00
Raphael Defosseux
146f8e6e0d doc(docker): added tutorial for deploying 5G SA RF sim
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-12 14:53:59 +02:00
Francesco Mani
8f4a46e316 fix in msg3 tbs 2021-08-12 11:36:39 +00:00
Rahul Gottipati
540d2e2977 Rebase to latest develop 2021-08-12 15:20:16 +05:30
Thomas Schlichter
b5fb1dc05f Merge remote-tracking branch 'origin/develop' into nr_ue_mac_pdu_fixes 2021-08-12 11:35:27 +02:00
francescomani
9fb4f28e28 fix in checking available RBs for msg3 allocationg 2021-08-12 10:57:55 +02:00
Laurent THOMAS
89eb5850cf merge develop, no big issue, we are sync 2021-08-12 10:08:25 +02:00
Raphael Defosseux
047c56328c fix(docker): typo in ran.rhel8 dockerfile, cleanup on other dockerfiles, proper tag for 5G RF sim docker-compose
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-12 10:05:22 +02:00
Laurent THOMAS
457dc5816b fixes commit before merge develop 2021-08-12 09:31:36 +02:00
francescomani
99afe22855 Merge remote-tracking branch 'origin/develop' into fix-physim-run-script-on-cluster 2021-08-12 08:37:18 +02:00
Raphael Defosseux
e63985f83f Merge branch 'integration_2021_w32' into 'develop'
Integration Branch : 2021 week 32

See merge request oai/openairinterface5g!1224

The following Merge Requests have been included:

* MR [1198] : 5G UE UCI procedurers at MAC
* MR [1207] : Code-cleanup-20210716
* MR [1215] : NR UL antenna ports cleanup
* MR [1220] : Temporary fix for CORESET configuration in SIB1
* MR [1221] : Container: adding conf template to gNB container image
2021-08-12 05:25:56 +00:00
Raphael Defosseux
e2347afbb5 feat(ci): adding working docker-compose for 5G RF sim
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-11 23:24:29 +02:00
Melissa Elkadi
9b16c1d860 Merge branch 'eurecom-develop' into episys/merge_nsa_w_develop
At this point we are successfully able to build.
Additionally, we can run the scenario,
however, it does not pass. It seems that the gNB
is not connecting to the proxy correctly. Just
wanted to push the progress so far. FYI, the items
that had to be changed to correct the linking issues
were the following:

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

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

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

Lastly, in the NR_IF_Module.c of the NR UE, the global
variable def_dci_pdu_rel15 is not accessible. Need to
revisit this. For not it is commented out.
2021-08-11 10:23:42 -07:00
Mahesh
8030549342 phy-sim build error fix 2021-08-11 16:15:49 +05:30
Mahesh
f74b928d80 Moved documentation to doc folder 2021-08-11 13:22:16 +05:30
Mahesh
49fc03a65e Cleanup and some minor bugfixes 2021-08-11 13:16:32 +05:30
Melissa Elkadi
2f89161363 Merge branch 'episys/mel_and_david_ip' of 10.1.1.59:aburger/openairinterface5g into episys/mel_and_david_ip 2021-08-10 06:15:06 -07:00
francescomani
0934403a42 bugfix in setting the nb of layers for sa 2021-08-10 14:26:09 +02:00
francescomani
2e8018d28f avoid segmentation fault in scheduling csirs for sa 2021-08-10 12:32:52 +02:00
Mahesh
37e7db80a3 documentation typo, build error, pack/unpack bug fix 2021-08-10 14:22:50 +05:30
Raymond Knopp
a2dbd7dc85 pucch unitary testing 2021-08-10 10:27:04 +02:00
Raphael Defosseux
eceb67215c fix(ci): fix typo
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-10 08:38:49 +02:00
Melissa
56d2985c21 Merge branch 'episys/david/multiUE_with_crnti_checking' into 'episys/mel_and_david_ip'
Added crnti checking in nrUE and update in gNB

See merge request aburger/openairinterface5g!53
2021-08-09 23:46:31 +00:00
Deokseong "David" Kim
4133b6bb60 Added crnti checking in nrUE and update in gNB 2021-08-09 23:46:31 +00:00
Melissa Elkadi
8de86da7f5 Merge branch 'episys/david/multiUE_with_crnti_checking' into episys/mel_and_david_ip 2021-08-09 16:30:38 -07:00
Melissa Elkadi
cf4771520b Merge branch 'episys/david/multiUE_with_crnti_checking' of 10.1.1.59:aburger/openairinterface5g into episys/david/multiUE_with_crnti_checking
Also changed a log and typo
2021-08-09 16:29:58 -07:00
Melissa Elkadi
4e6e7519af Semicolon in RRC NR UE incorrect 2021-08-09 15:54:59 -07:00
Melissa Elkadi
4f1d543478 Adding hexdumps to see dc/p bit in PDU
At this point we can see the UDP uplink data
getting to the GTP layer of the gNB. This
only works if you change the memcpy in serialize_sdu()
to not have the encoded.byte
2021-08-09 14:59:27 -07:00
Laurent THOMAS
e4ec620e6b fix a regression I made 2021-08-09 22:01:30 +02:00
Laurent THOMAS
bfccbfd15d sanitize heap overflow detection 2021-08-09 21:57:35 +02:00
David Kim
85fb91dff7 Merge branch 'episys/nsa_epc_gnb_updates' into episys/david/multiUE_with_crnti_checking 2021-08-09 09:06:15 -07:00
Laurent THOMAS
164474a40f Merge branch 'integration_2021_w32' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2021_w32 2021-08-09 17:28:53 +02:00
Laurent THOMAS
b89d67d9db fix memory error detected by sanitize-addr 2021-08-09 17:28:28 +02:00
Raphael Defosseux
902f3a83d4 fix(ci): when using modules, no more adb-connected UE required
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-09 17:02:32 +02:00
Rahul Gottipati
09e32b2839 Code cleanup and documentation update 2021-08-09 19:41:22 +05:30
Abhijith
274ea107ff Reverted number of BWPs error at gNB 2021-08-09 17:38:09 +05:30
Rahul Gottipati
78f3bca19a CSI-RS handling in nFAPI 2021-08-09 16:36:27 +05:30
Laurent THOMAS
6091452dd3 fix remaining usage of deleted type struct complex 2021-08-09 12:05:07 +02:00
Raymond Knopp
8065e69a28 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
Conflicts:
	openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
	openair1/PHY/NR_TRANSPORT/pucch_rx.c
	openair1/PHY/defs_gNB.h
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
2021-08-09 11:01:55 +02:00
Raymond Knopp
8a9194300f commit before merge 2021-08-09 10:55:55 +02:00
Raphael Defosseux
5f9e0a235d Merge remote-tracking branch 'origin/code-cleanup-20210716' into integration_2021_w32 2021-08-09 10:07:45 +02:00
Rodolphe BERTOLINI
387223eea6 removed duplicate structure, changed 'x' to 'r' and 'y' to 'i' 2021-08-09 09:59:38 +02:00
David Kim
5c10d7ed1b Uncommented downlink harq ACK/NACK scheduling condition. 2021-08-08 22:32:13 -07:00
Sakthivel Velumani
9bc29750e3 fixed errors after rebase 2021-08-09 08:02:24 +05:30
Mahesh
557b5445d3 PNF config file pusch_proc_threads update 2021-08-08 12:23:15 +05:30
David Kim
845a5dc2d7 Added time window for handling rach indication. 2021-08-07 15:34:33 -07:00
David Kim
6b1651c404 put lines into the inside of { } after 'if' condition. 2021-08-06 12:08:08 -07:00
David Kim
507c34609e bug fix: removed ';' at the end of 'if' condition. 2021-08-06 11:56:51 -07:00
David Kim
a8517323e7 Code cleanup for debug logs. 2021-08-06 10:37:02 -07:00
magounaki
4ba8ef3a60 n310 config file 2021-08-06 20:23:10 +05:30
Sakthivel Velumani
c706f09e44 fixed phy simulators 2021-08-06 20:23:10 +05:30
Sakthivel Velumani
463634365c Fixed frame parms bug in dci gen 2021-08-06 20:23:10 +05:30
Sakthivel Velumani
41380e932e Fixed ssb sync issue 2021-08-06 20:23:10 +05:30
Sakthivel Velumani
3f1c9df35c commenting out function calls in nfapi
the priority now is monolitic. this should we reverted and fixed properly once we have a working code in monolitic
2021-08-06 20:23:10 +05:30
Sakthivel Velumani
bc6f39370c Added checks if tx RU processing start in order 2021-08-06 20:23:10 +05:30
Raphael Defosseux
3e6ef7baa4 Merge remote-tracking branch 'origin/docker-improvements-august-2021' into integration_2021_w32 2021-08-06 10:40:53 +02:00
Raphael Defosseux
a0e3cc8de4 Merge remote-tracking branch 'origin/NR_SA_tempfix_coreset' into integration_2021_w32 2021-08-06 10:39:56 +02:00
Raphael Defosseux
597f2b3e8f Merge remote-tracking branch 'origin/NR_new_ul_antennaports' into integration_2021_w32 2021-08-06 10:39:34 +02:00
Raphael Defosseux
7b2420760f Merge remote-tracking branch 'origin/NR_UE_reworking_UCI_procedures' into integration_2021_w32 2021-08-06 10:37:22 +02:00
francescomani
2daa9144c4 Merge remote-tracking branch 'origin/NR_SA_tempfix_coreset' into NR_UE_SA 2021-08-06 09:26:17 +02:00
Sakthivel Velumani
902d6b6550 correcting the dlsch array size 2021-08-05 21:29:53 +05:30
Sakthivel Velumani
cb68456357 Enabled multi-threading for gNB L1 tx
A second thread message is created for L1 tx processing and pushed into the threaPool.
The message contain the nfapi rel15 PDUs for SSB, PDCCH and PDSCH. The memory of these PDUs are reused for subsequent slots.
Need to fix the nfapi mode VNF PNF implementation to adapt to this memory scheme.
2021-08-05 21:29:53 +05:30
Sakthivel Velumani
4d05f4b288 Blocking nr_scheduler_response untill L1 tx finishes 2021-08-05 21:28:08 +05:30
Sakthivel Velumani
66cbe490e1 Prevent buffer under/overflow in ULSCH decoding through alignment and sufficient array size 2021-08-05 21:28:08 +05:30
Laurent THOMAS
b7857a505e try to fix CUDA, and fix infinite loop in nr UE uplink data collect 2021-08-05 17:31:31 +02:00
francescomani
067d9f8c87 reworking function for csi meas report bitlen (still not complete)
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
2021-08-05 15:43:56 +02:00
Rahul Gottipati
74c5816c72 VNF clock dependency removed 2021-08-05 17:30:12 +05:30
Thomas Schlichter
6c227f4d6b NR_UE: Assure correct padding in nr_ue_get_sdu()
In case no MAC CE needs to be transmitted and we filled the buffer with SDUs from RLC, we missed to add padding for the last 3 bytes.
2021-08-05 12:33:09 +02:00
Raphael Defosseux
7e158447bb fix(ci): phy-sim build failure not correctly handled
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-05 12:04:03 +02:00
Raphael Defosseux
4db87599bf doc(ci): how to properly capture control packets
also added how to pull RAN images

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-05 10:52:22 +02:00
Laurent THOMAS
fadbdd3671 pdusession id fix: different values for UL and DL 2021-08-05 10:02:36 +02:00
Laurent THOMAS
464520304b merge develop, make DNN, NSSAI configurable, fix infinite loop 2021-08-05 09:49:25 +02:00
Abhijith
bd0c5f6030 Reverted no. of BWPs to 4 2021-08-05 11:07:39 +05:30
Melissa Elkadi
745241bd63 Merge branch 'episys/nsa_epc_gnb_updates' into episys/david/multiUE_with_crnti_checking
Also, lots of debugging logs added
2021-08-04 16:24:27 -07:00
Laurent THOMAS
3cbf516885 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into code-cleanup-20210716 2021-08-04 19:57:45 +02:00
David Kim
c619833442 Added crnti checking routine in nrUE. 2021-08-04 10:08:22 -07:00
Raphael Defosseux
3247e967ec fix(docker): explicitely adding procps to target images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-04 17:09:18 +02:00
Raphael Defosseux
ebebd3c7d7 doc(docker): adding tutorial on how to deploy RF sim with EPC
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-04 16:51:53 +02:00
francescomani
62b1531c55 improvement in fix for commonControlResourceSet for SIB1 2021-08-04 14:23:50 +02:00
Laurent THOMAS
7fcd5e3e29 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-08-04 13:49:43 +02:00
cig
92fb370258 Removed unnecessary sdu_lengths array in nr_ue_get_sdu 2021-08-04 13:06:31 +02:00
cig
05a4c48d96 Bugfix in the generation of UL MAC PDU in Msg3
- restored FIXED subheader length
- restored SHORT subheader in MAX TBS (still unclear the reason behind the
  selection of SHORT subheader here by developer)
2021-08-04 13:06:31 +02:00
cig
6e0737d9e4 Send Msg3 CCCH SDU in SA mode only
- send C-RNTI MAC CE otherwise
- init RA if there are bytes to send and is a PRACH occasion
- minor cleanups
2021-08-04 13:06:31 +02:00
cig
9af71a7a46 Set the tc-rnti only in CBRA
- TC-RNTI is set and used after RAR reception according to the specs
- C-RNTI is used in CFRA
2021-08-04 13:06:31 +02:00
cig
b6e3718d70 Changes to nr_write_ce_ulsch_pdu
- takes in input MAC instance
- uses a mac ce struct
- minor fixes
2021-08-04 13:06:31 +02:00
cig
07a80bc84e Do generation of UL padding in nr_ue_get_sdu only
- removed code from outside this function
- generate random padding in RFSIM mode
- generate 0 padding in real-time
- padding is generated either to complete the PDU or to transmit a new one
  when no data from RLC was fetched
2021-08-04 13:06:31 +02:00
cig
02012e77ee Minor MAC UE fixes
- set constant variables to const
2021-08-04 13:06:31 +02:00
cig
021788c7a7 Improved logging in the MAC PDU processing function at gNB
- improved debug logging
- minor fixes and cleanup
2021-08-04 13:06:31 +02:00
cig
5cfa2cd2f4 Removed OAI exit in mac_rlc_data_req when no RB is present
- this prevents crashes when the function is called for LCIDs that have no RB
- and simply print error message and return 0 when no RB is found
2021-08-04 12:49:42 +02:00
cig
4277d4e1bb Fixes to UE ULSCH PDU generation
- included MAC CE sub-PDUs size in the computation of RLC data to transmit
  this fixes the error with residual mac pdu appearing at gNB side when
  transmitting higher amount of data
- got rid of the nr_generate_ulsch_pdu and moved the relevant UL-SCH MAC PDU
  generation procedure within the nr_ue_get_sdu and nr_ue_get_rach
- reduced memcpy calls and unnecessary memory allocations
- fetching RLC data and SDU size from the mac_rlc_data_req, removed the call
  to mac_rlc_get_buffer_occupancy_ind
- introduced a new function to generate the MAC CEs sub-PDUs
- removed unnecessary function input parameters
- minor fixes and cleanup
- enhanced logging
2021-08-04 12:49:42 +02:00
Eurecom
969a7a08fe Merge remote-tracking branch 'origin/develop' into bandwidth-testing
Conflicts:
	openair2/GNB_APP/MACRLC_nr_paramdef.h
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-08-04 12:09:42 +02:00
Eurecom
24b2975893 added 50 MHz configuration file, SA,2x2,n310 all initial BWP. 2021-08-04 11:57:52 +02:00
Rahul Gottipati
4ec3434128 Rebase to latest develop 2021-08-04 14:57:52 +05:30
Eurecom
5274b35d02 added SA configuration file for n310, SA, 40 MHz BW. All on initial BWP. 2021-08-04 11:26:51 +02:00
Eurecom
1385af17e9 end2end functional again (sort of). 2021-08-04 11:21:39 +02:00
francescomani
8cc1d0a2de initialization of pdcp only in nos1 2021-08-04 11:21:07 +02:00
Melissa Elkadi
d95e35df3c Reverted AssertFatal and just return instead
In the PDCP layer, if the sdu size < 3, this
just means control information is being passed.
In this case, we do not want to cipher the sdu,
its better to just return.
]
2021-08-03 17:04:35 -07:00
Melissa Elkadi
7d505e70f2 Updated PDSCH pdu copy from tx_data_req
Also, finally committing the critical logs for IP traffic.
2021-08-03 16:38:07 -07:00
Melissa Elkadi
952e2cd131 Adding #include assertions.h for PDCP file 2021-08-03 13:29:32 -07:00
Melissa Elkadi
5751a0a435 Not sending random data to gNB, sending IP
The IP traffic still does not work. But we are
updating the NR UE scheduler to ensure we are are
sending true IP traffic. Also, we were getting an
assert(); as well, and there was no logs, so we
fix that in this commit as well.
2021-08-03 13:25:45 -07:00
Raphael Defosseux
efc696cce9 fix(ci): split 4G RF sim / 5G RF sim into 2 stages
- Fix the SA RF test (wrong conf file)
- No more copy of RAW files in SA
- Fix no-detection of failures on RA

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-03 15:41:16 +02:00
Raghavendra Dinavahi
6d051b4229 Changes in ASN extraction PERL script 2021-08-03 14:27:11 +02:00
Gokul Srinivasan
85b8f78d71 process ID overflow bugfix 2021-08-03 17:57:11 +05:30
Raghavendra Dinavahi
7043f64da3 Fixes of compilation errors after ASN update 2021-08-03 14:27:11 +02:00
Raghavendra Dinavahi
2380646da0 Updated ASN to Spec 38.331 version 16.4.1 2021-08-03 14:27:11 +02:00
Raphael Defosseux
a518701a27 feat(docker): adding conf template to gNB container image
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-03 11:52:31 +02:00
Thomas Laurent
609ea60774 Update SW_archi.md 2021-08-03 07:59:42 +00:00
Thomas Laurent
6a2b312a86 Update SW_archi.md 2021-08-03 07:55:07 +00:00
Laurent THOMAS
5d2fa9265d fix a test line i missed to remove before commit right changes 2021-08-02 18:27:01 +02:00
francescomani
39307247c9 change error log to log_d to avoid flooding of error messages at ue 2021-08-02 12:49:50 +02:00
francescomani
5c744429c9 bugfix: not scheduling pucch transmission at UE when there is only negative SR 2021-08-02 12:47:32 +02:00
Sakthivel Velumani
6050776f55 Merge branch 'develop' into prb_based_dl_channel_estimation 2021-08-02 12:17:03 +02:00
Laurent OpenCells
b0af61dd20 F1AP improvement 2021-07-31 09:51:55 +02:00
David Kim
54465993d5 queueing sfn slot information contained in channel params. 2021-07-30 16:44:39 -07:00
Melissa Elkadi
702a060e65 Added check for EPC mode to init RLC layer 2021-07-30 14:52:40 -07:00
David Kim
dd73b2df87 Updated AssertFatal conditions and LOG level from I to D
Regarding dl_hard, some AssertFatal commented out.
Regarding to memory allocation error, AssertFatal was used.
2021-07-30 08:35:57 -07:00
Abhijith
94808d4326 Added switching delay requirements 2021-07-30 15:57:36 +05:30
francescomani
8bb80c9ef0 another attempt to fix ping and iper issues by calling commented functions 2021-07-30 12:18:14 +02:00
francescomani
0904d32e2c Revert "tentatively adding pdcp layer init"
This reverts commit c7106ed315.
2021-07-30 08:22:05 +02:00
Melissa Elkadi
b5e8954476 Changed logic in MAC layer to allow RLC data read
Also changed logic in the NR UE schedule to read
IP traffic. Also, configured the RLC layer in the
NR UE softmodem and the DRBs with the cRNTI once
the RACH procedure is complete in the NR UE.
2021-07-29 15:55:59 -07:00
David Kim
61aa4f99dd Code cleaning in formatting and fixing typo. 2021-07-29 13:32:21 -07:00
Laurent OpenCells
d649434be9 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into code-cleanup-20210716 2021-07-29 22:29:52 +02:00
David Kim
c80193731d Commented some AssertFatal condition in dlsch ack/nack scheduling. 2021-07-29 10:38:56 -07:00
francescomani
d9fdbe6338 fix for pucch prb size 2021-07-29 15:59:02 +02:00
francescomani
8d7636bb1e temp fix for SIB1 coreset 2021-07-29 14:31:38 +02:00
Francesco Mani
c7106ed315 tentatively adding pdcp layer init 2021-07-29 11:52:50 +00:00
Abhijith
000142c3e3 Cosmetic changes 2021-07-29 16:00:23 +05:30
Laurent OpenCells
c3612b969f fix regression on cuda test 2021-07-29 11:56:59 +02:00
francescomani
fe2fa4ce8d adding comments for transform precoding 2021-07-29 11:26:47 +02:00
francescomani
13d30c96b3 temporary fix for pucch tx amp 2021-07-29 07:46:16 +02:00
Melissa Elkadi
97a648e35f IP Traffic not working, tun if established by NRUE
Updated the configuration files. Added a sleep to
ensure that the LTE UE gets attached to the EPC
before the bearer is modified to be gNB. Updated
the ifconfig tunnel up command to be brought up
by the NR UE socket when in NSA mode. Lastly,
started the gNB PDCP layer in S1 mode.
2021-07-28 15:36:11 -07:00
francescomani
5e3e4714d6 tentative fix for rlc initialization 2021-07-28 09:45:31 +02:00
David Kim
829bf4f8a2 Restored to the original OAI ue and nr-ue config file
Restored original LOG level.
Code cleanup to remove emptry space and added some logs.
2021-07-28 00:24:35 -07:00
David Kim
38e5415f34 Fixing "Unexpected ULSCH HARQ PID" issue.
1. If VNF is slower than PNF, next scheduling will be done after resync.
2. If VNF is unstable in slot progress, next scheduling will be done in next stable status.
3. SFN/SLOT indications are queued in nrUE.
4. get_queue is used instead of unquque for FIFO operation.
2021-07-27 21:02:01 -07:00
francescomani
c1ba654a9b fix for phytest 2021-07-27 17:53:46 +02:00
francescomani
b88cc798cd fix for phytest 2021-07-27 17:52:58 +02:00
francescomani
d4a746ac11 fix for 2 layers dlsim using layers in NR_pdsch_semi_static_t 2021-07-27 16:07:05 +02:00
spclab
ac4ae0e0fd Hardcodings removed fully, system runs but unstable 2021-07-27 15:10:54 +05:30
Raphael Defosseux
fab6ec4579 fix(ci): adding detection of timed-out run on the physims on cluster
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-07-27 11:12:02 +02:00
francescomani
3c7796adaa Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-07-27 11:00:29 +02:00
francescomani
ea6cd95009 bugfix in rrc configuration 2021-07-27 07:29:19 +02:00
rmagueta
bf53625dac Fix selection of Msg3 for CFRA at UE 2021-07-26 19:26:03 +02:00
francescomani
201271846c some fixes for NSA UE 2021-07-26 19:24:31 +02:00
francescomani
1d66b5c415 attempting to fix wrong implementation in NSA UE configuration 2021-07-26 16:08:52 +02:00
Laurent OpenCells
0f1d787a90 fix obsolete system call 2021-07-26 15:47:57 +02:00
francescomani
09665eeb76 Revert "Put back cell_group_config when do-ra"
This reverts commit bb646da064.
2021-07-26 15:04:34 +02:00
Laurent OpenCells
a03ee3548f merge latest develop 2021-07-26 15:03:47 +02:00
francescomani
d2127b65f3 flexible csi configuration including do_csirs config parameter 2021-07-26 12:45:04 +02:00
francescomani
17ee4648c7 fixes in ssb rsrp functions at ue 2021-07-26 11:47:32 +02:00
Eurecom
378211346a debugging 2021-07-26 08:13:06 +02:00
francescomani
5c70aa96c4 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-26 07:39:57 +02:00
Laurent OpenCells
4a5a73bd9c overkilling: oai support multiple versions of ubuntu 2021-07-25 23:49:41 +02:00
Laurent OpenCells
4700b7bbc6 overkilling: oai support multiple versions of ubuntu 2021-07-25 20:49:31 +02:00
Laurent OpenCells
0c6ce0868c CMakeList cleanup,improvement and trial to run in ubuntu 16 2021-07-25 13:53:49 +02:00
Laurent OpenCells
754e8e3043 CMakeList cleanup,improvement and trial to run in ubuntu 16 2021-07-25 13:52:01 +02:00
francescomani
f833ca474a some more changes in ulsch structures 2021-07-24 16:45:37 +02:00
francescomani
0f4e765991 add get_dmrs_port function for ul 2021-07-24 16:20:54 +02:00
francescomani
de4676dde1 reworking UL antenna port definitions at gNB 2021-07-24 16:09:18 +02:00
Laurent Thomas
654e37cdb1 try another (second trial) gcc option for ubuntu 16 2021-07-23 23:12:07 +02:00
Raymond Knopp
3315a743a2 for testing with another machine. 2021-07-23 21:51:03 +02:00
Laurent Thomas
b3f3a1db57 try another gcc option for ubuntu 16, one fix in fapi p7 2021-07-23 16:38:01 +02:00
francescomani
196213b6c2 fixing a compilation warning in enb_app 2021-07-23 16:02:29 +02:00
francescomani
ef84130e7c Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-07-23 16:01:43 +02:00
magounaki
d1dec5ed0e for testing with another machine. 2021-07-23 15:53:49 +02:00
Laurent OpenCells
39e637b60e add race codnition test 2021-07-23 15:03:51 +02:00
francescomani
bd816e5175 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-23 13:51:41 +02:00
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
Laurent OpenCells
f62b7e1f9e nfapi work around (missing malloc) 2021-07-22 15:32:09 +02:00
Eurecom
71608f5f75 modifications to statistics gathering for NR 2021-07-22 13:29:28 +02:00
Laurent OpenCells
39c63eb158 move function declaration in not duplicated files (.h instead of .c) 2021-07-22 13:19:37 +02:00
francescomani
227529c129 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-21 17:49:33 +02:00
Melissa Elkadi
24245d8805 Log argument indexed passed the end of array.
Unnecessary dl_ind_type array for logging.
2021-07-20 15:21:23 -07:00
Laurent OpenCells
6b71382a68 merge develop 2021-07-20 17:50:08 +02:00
Laurent OpenCells
3f436e3e2f merge develop (was in conflict) 2021-07-20 17:26:15 +02:00
Laurent OpenCells
5ed848c76e more fixes on gcc warnings, misleading indentation and CPU mitigation when the traffic demand in 5G exeeds the available througput 2021-07-20 16:30:14 +02:00
Mahesh
c79a61b895 Merge remote-tracking branch 'origin/develop' into nfapi_nr_arch_mod 2021-07-20 08:39:08 +05:30
Mahesh
c9c1df5e32 fix tdd slot config pack/unpack 2021-07-20 08:29:55 +05:30
David Kim
4f23fa2f61 added queues between VNF and MAC to handle indications. 2021-07-19 18:55:02 -07:00
Melissa
7df8064bb7 Merge branch 'proxy-nfapi-conf' into 'episys/x2_trigger_nsa'
Separate nfapi.conf files for proxy

See merge request aburger/openairinterface5g!47
2021-07-19 21:30:42 +00:00
Thomas Laurent
ec9a5cfd99 Update F1-design.md 2021-07-19 11:42:35 +00:00
Eurecom
6eea5b9cba testing ok for 40,50,60 MHz BW. 2021-07-18 15:31:09 +02:00
Eurecom
2c01000955 Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS-abs' into bandwidth-testing 2021-07-18 09:17:00 +02:00
Eurecom
3c303223f0 Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS-abs' into bandwidth-testing
Conflicts:
	openair1/PHY/LTE_TRANSPORT/if5_tools.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	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_rlc/nr_rlc_oai_api.c
	openair2/RRC/NR/rrc_gNB_reconfig.c
2021-07-18 09:16:14 +02:00
Michael Cook
102ff853ec Separate nfapi.conf files for proxy
In scripts/conf_files, restore ue.nfapi.conf and nr-ue.nfapi.conf
to the template versions.  And add proxy_ue.nfapi.conf
proxy_nr-ue.nfapi.conf for use with emane.git's run-oai and
multi-ue-proxy.git's run-oai.
2021-07-17 07:52:49 -07:00
Laurent OpenCells
78da843624 code-cleanup-20210716 2021-07-16 17:16:15 +02:00
Eurecom
d6dee0d1f1 Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing 2021-07-16 11:48:16 +02:00
Eurecom
d64b96f326 reduced logging for 5G SA 2021-07-16 11:47:43 +02:00
Raymond Knopp
ec4fce4339 testing with aw2s jaguar 2021-07-15 09:50:15 +02:00
Laurent OpenCells
02fcc2ad7f small fix, documentation enhancement 2021-07-14 22:27:43 +02:00
Raymond Knopp
72751870cf Merge remote-tracking branch 'origin/develop' into develop-aw2sori 2021-07-14 12:02:29 +02:00
Raymond Knopp
0aaee3f031 added X2 Reset procedure (partially). Still to be added to top-level when gNB or eNB are stopped or crash (Assert) 2021-07-14 12:01:09 +02:00
francescomani
2fe8dd7657 Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS-abs' into NR_UE_SA 2021-07-14 10:35:09 +02:00
Laurent THOMAS
7ac44159b0 first draft of code design documentation 2021-07-13 15:40:11 +02:00
Laurent THOMAS
bb6ded4258 Remove big race condition, remove name "callback" on what is not a callback 2021-07-13 13:40:28 +02:00
Abhijith
f34c9131d9 Fixed SA mode Error 2021-07-13 14:45:32 +05:30
francescomani
d9d4e80743 adding missing parameter in pucchsim 2021-07-13 09:38:21 +02:00
Eurecom
6777c46b56 testing on another machine 2021-07-13 07:30:58 +02:00
francescomani
58063acf54 rx_gain = 0 in rfsimulator 2021-07-12 16:30:29 +02:00
Thomas Schlichter
cdbdb15858 fix 2 layer MIMO in nr_dlsim after last merge with develop 2021-07-12 14:42:03 +02:00
Laurent THOMAS
53f1ebde67 add processing of pduSessionEstablishmentAccept 2021-07-12 14:40:40 +02:00
francescomani
57775af3c1 Merge remote-tracking branch 'origin/develop' into NR_2port_CSIRS 2021-07-12 14:02:31 +02:00
francescomani
8ad3b40cd5 fixes in pucch configuration for SA 2021-07-12 11:53:35 +02:00
Eurecom
8c482709dc changes for initialBWP size different than Coreset0. Tested with 50 MHz 2x2 configuration, initialBWP with 133 PRBs. 2021-07-11 19:42:01 +02:00
francescomani
5055023dae fix in activation of pucch_vars 2021-07-10 12:17:46 +02:00
francescomani
8981f5cbd7 fix in pucch ue scheduler for pucch_Config = NULL 2021-07-10 11:41:38 +02:00
francescomani
3228ebf3f6 using pdsch_pdu for sib1 indication 2021-07-10 11:26:56 +02:00
francescomani
c80c253c3e Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-08 15:17:02 +02:00
francescomani
724b0c076b fix in rsrp table including max and min int for out of range report 2021-07-08 15:15:22 +02:00
francescomani
b15c39d9f8 bugfix in pucch resource selection for csi meas report 2021-07-08 14:35:18 +02:00
Melissa Elkadi
7f2e622b0e Sending tunnel interface 'up' command to NR UE
Once the LTE UE's tunnel interface with the EPC
is ready to be established, if we are in NSA mode,
we do not want to launch the tunnel interface
from the LTE UE side, but in the NR UE. Via itti_msgs
we send the string containing the tunnel interface
'up' command to the NR UE and bring it up from the NR UE.
2021-07-07 11:55:34 -07:00
francescomani
9709b5efe7 copying retInfo to sched_pusch in the right place 2021-07-07 17:41:36 +02:00
francescomani
c72156aa07 bugfix in set_dl_mcs 2021-07-06 17:45:10 +02:00
Abhijith
1a089a0d67 Fixed errors with initialBWP and SA 2021-07-06 16:37:46 +05:30
Mahesh
74a092f73a Documentation update, UL transmission 2021-07-06 15:59:52 +05:30
Laurent THOMAS
afcbf7b6cc remove most of globale variables, remain data model inconsistency and race conditions 2021-07-06 09:49:47 +02:00
Mahesh
02f3fecfef future_ul_tti hardcoding solved, other hardcodings commented out 2021-07-05 22:55:35 +05:30
Melissa Elkadi
9d644f247c Fixed memory leak for unqueuing uci_inds 2021-07-05 10:15:26 -07:00
francescomani
72fc7bfafc Revert "RSRP tables in mac common"
This reverts commit b38cc83233.
2021-07-05 18:05:26 +02:00
francescomani
19c356ee23 first implementation of MAC function for SSB RSRP (to be verified) 2021-07-05 18:00:44 +02:00
francescomani
b38cc83233 RSRP tables in mac common 2021-07-05 15:43:05 +02:00
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
Mahesh
cea8730403 Merge conflicts resolved 2021-07-04 22:39:22 +05:30
Mahesh
dc3f61b5c5 Build error fix, sync hardcode, UL indication called in every slot 2021-07-04 21:57:28 +05:30
Laurent THOMAS
6ce958f7ed Coarse grain cleanup: a lot of errors fixed 2021-07-03 16:32:20 +02:00
Melissa Elkadi
6ddb49d09c Sending uci_ind based on rx'd ul_tti's sfn/slot
Also, updated the filing of the DCI payload
based on the actual number of recevied bits
and not based on the max number of rx'd bits.
2021-07-02 13:51:39 -07:00
francescomani
cb0de3ba03 csi period and offset in mac common 2021-07-02 17:29:23 +02:00
Abhijith
1f94285040 Rebased to develop after SA merge 2021-07-02 17:03:20 +05:30
Melissa Elkadi
4dfe7c2596 5G Userplane working 50% of the time
This commit includes several changes.
First, it updates the way we fill the uplink
UCI indication. This still has some todo comments
since all the fields in this ind were hardcoded.
It also updates the pack and unpack functions for
the NR_UCI incations. Lastly, it includes updates
to the gNB UCI scheduler. The updates in the gNB
were cherry picked from develop. There are two updates
to the VNF which allow the VNF timing/slots to be
adjusted based on the received timing_info packets
from the VNF. This adjustment was disabled in IISc's
nFAPI code. For now, it is improving the timing
between the VNF and PNF.
2021-07-01 12:21:57 -07:00
francescomani
a49ebe249b Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-01 16:38:41 +02:00
francescomani
1de542eb35 removing layers from UE_info 2021-07-01 14:41:05 +02:00
Melissa Elkadi
90d5641770 Filling, queuing and sending UCI ind to gNB
Currently, the pull8 in nFAPI of the VNF
is failing.
2021-06-30 17:21:41 -07:00
Melissa Elkadi
fc79bb1c91 Updating dropping of PUSCH if repeated sfn/slot
The previous two commits did not correctly check
the gNB sfn and slot. The code now correctly sets
the slot in which the PUSCH is SCHEDULED, not the slot
the rx is expected. Also, the sfn/slot is only updated
if we do in fact schedule a PUSCH.
2021-06-30 11:32:57 -07:00
Laurent Thomas
305a268173 bug fix in F1 2021-06-30 16:49:33 +02:00
Laurent Thomas
d3f09fda93 Merge branch 'NR_SA_F1AP_5GRECORDS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_F1C_F1U_extensions 2021-06-30 11:57:18 +02:00
Eurecom
bf4a3d1a88 Merge branch 'NR_SA_F1AP_5GRECORDS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_SA_F1AP_5GRECORDS 2021-06-30 11:15:31 +02:00
Melissa Elkadi
ad653819b9 Not sending DCI if repeated sfn/slot
Also, we are now updating ul_tti_future
for every index in the array, not just slot 7, 8, and 9.
2021-06-29 15:51:48 -07:00
Melissa Elkadi
30fe619000 Dont send DCIs repeatedly for a given sfn/slot
Although the timing isnt perfect, if the VNF adjusts
in the middle of scheduling a DCI the gNB would try to
send two DCIs for a certain sfn/slot; this commit will
stop that from happening. The timing issue still persits.
2021-06-29 13:24:07 -07:00
Mahesh
64a7191872 Cleanup 2021-06-29 20:15:29 +05:30
Laurent Thomas
9f07b3704b sctp source port allocation to Linux automatic, heap corruption fix 2021-06-29 13:13:20 +02:00
Mahesh
9421c35a72 Code cleanup 2021-06-29 08:49:48 +05:30
Mahesh
831c47c40b Merge remote-tracking branch 'origin/develop' into nfapi_nr_arch_mod 2021-06-29 07:54:09 +05:30
Melissa Elkadi
5ee9bc2cc9 Updating matacher function for de-queuing 2021-06-28 16:58:01 -07:00
Melissa Elkadi
f61d5b74b1 Removing free of unallocated memory 2021-06-28 15:02:04 -07:00
Melissa
01127c6ce7 Merge branch 'episys/sync-nfapi-with-muep-more' into 'episys/x2_trigger_nsa'
Sync more NFAPI changes from multi-ue-proxy.git

See merge request aburger/openairinterface5g!45
2021-06-28 14:53:37 -07:00
Michael Cook
9ac2d7724d Merge remote-tracking branch 'origin/episys/x2_trigger_nsa' into episys/sync-nfapi-with-muep-more 2021-06-28 17:44:21 -04:00
Melissa
13c1379958 Merge branch 'episys/sync-nfapi-with-muep' into 'episys/x2_trigger_nsa'
Sync nfapi_p[57].c with multi-ue-proxy.git

See merge request aburger/openairinterface5g!44
2021-06-28 14:43:39 -07:00
Michael Cook
cf4758a742 Merge remote-tracking branch 'origin/episys/x2_trigger_nsa' into episys/sync-nfapi-with-muep-more 2021-06-28 17:40:00 -04:00
Michael Cook
4fb933cbdf Copy review feedback from multi-ue-proxy.git 2021-06-28 17:39:16 -04:00
Melissa Elkadi
9b96dd2a5f Unqueue based on sfn_slot
Also, added functionality to fill tx_req in NR UE
when a DCI is received after the slot indication.
2021-06-28 12:39:28 -07:00
Laurent THOMAS
42ea1f8261 fix F1 setup messages memory error 2021-06-27 21:51:04 +02:00
Michael Cook
e54896591b Sync more NFAPI changes from multi-ue-proxy.git
Most notably, nfapi_rx_indication_pdu_t.data type is changed from
`uint8_t*` to `uint8_t[]`.  Also, renamed from `data` to
`rx_ind_data` to make it easier to find.
2021-06-26 10:20:48 -07:00
Michael Cook
9a0926bdee Sync nfapi_p[57].c with multi-ue-proxy.git
These are all superficial, low-risk changes
2021-06-26 09:08:54 -07:00
Melissa Elkadi
46488432e6 This commit includes the iisc pnf_p7 slot tick fix
It also includes the queuing development. The idea
is that the 5G Userplane messages will be filled
and configured the same as previous commit, but
the uplink messages will be queued and then sent to
the gNB during the correct slot. Still WIP.
2021-06-25 14:49:02 -07:00
francescomani
a8c4dd537f fill dmrs mask depending on actual number of frontloaded symbols, not maxlength 2021-06-25 18:10:16 +02:00
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
Melissa Elkadi
912cba163d Enabled VNF timing adjustments.
Also ported in new gNB ulsch scheduler code from
Eurecom/develop branch.
2021-06-24 15:33:22 -07:00
francescomani
c9a3125937 get nrOfLayers from DCI info at UE 2021-06-24 14:37:24 +02:00
francescomani
ee2079816b handling dl dmrs ports at mac and other modifications for semi static parameters for dlsch 2021-06-23 18:30:24 +02:00
matzakos
66e31967d8 Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into NR_F1C_F1U_extensions 2021-06-23 15:56:12 +02:00
francescomani
ed54f59818 handling dl dmrs ports at phy 2021-06-22 18:29:22 +02:00
Raymond Knopp
32c682a7d0 Preliminary work for integration of F1AP UE Context Setup Request/Response
- Encoding of UE Context Setup Request is failing. Problem seems to be with SST encoding
2021-06-22 15:36:18 +02:00
Melissa
3da3b20c86 Merge branch 'episys/use-Werror' into 'episys/x2_trigger_nsa'
Enable -Werror compiler option

See merge request aburger/openairinterface5g!43
2021-06-21 14:11:53 -07:00
Michael Cook
96efbb2cab Add -Werror compiler option
Fix some warnings, too.
2021-06-21 14:11:53 -07:00
Melissa Elkadi
3605fed468 Already filling rx_ind so removing stub functions 2021-06-21 14:05:54 -07:00
francescomani
ee2f133cae max mimo layers depending on antenna ports from config file 2021-06-21 12:19:39 +02:00
Melissa Elkadi
e3bf4940fd WIP: Not working or building.
Starting to complete the final fill of
dl_indication and an rx_indication
2021-06-18 15:06:59 -07:00
Melissa Elkadi
c7875ce24c Properly filling the dci_format
This commit properly is filing the dci_format but the
rx_ind and dl_ind has not been updated in the NR UE
prior to sending to gNB. The chnages in this commit
to properly fill the dci_format include:
- filling the dci canidates every slot indiction
- checking for a dl_tti/ul_tti containing a dci
- when dci payload is received we use the filled
  dci canidates to update the dci_format

Also, a bug in LTE UE is found where we are indexing
passed the end of ue_sdu array. We added a check for this.
Furthermore, in the nr_ue_scheduler we were utilizing
tx_req but the memory wasnt properly initialized.
2021-06-18 13:33:20 -07:00
Mahesh
ba2c28f6b1 PNF slot ticking fix 2021-06-18 19:26:56 +05:30
francescomani
d3ad905324 remove debug print from log 2021-06-17 18:24:13 +02:00
francescomani
549e3a9159 remove choice in CSI report structure 2021-06-17 18:21:25 +02:00
francescomani
0ec932b57f nb of layers from CSI Report 2021-06-17 13:18:45 +02:00
francescomani
5e4d40b1ec bugfix in rrc configuration 2021-06-17 12:55:43 +02:00
francescomani
39defb49ed passing nroflayers to nr_find_nb_rb 2021-06-17 10:54:52 +02:00
Thomas Schlichter
311b97685e gNB: add nrOfLayers to sched_pdsch 2021-06-17 10:41:30 +02:00
francescomani
40c51ebc0b tbs computation on the fly in pf_dl 2021-06-17 10:37:34 +02:00
francescomani
5d34f4906d set mcs from csi report 2021-06-17 10:04:03 +02:00
Eurecom
d9e03ad60a Merge branch 'NR_SA_F1AP_5GRECORDS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_SA_F1AP_5GRECORDS 2021-06-17 06:42:51 +02:00
Melissa
9cce04efd6 Merge branch 'episys/x2_trigger_nsa_for_multi_ues' into 'episys/x2_trigger_nsa'
Adjusted UDP port ids for multiple UE connection with proxy

See merge request aburger/openairinterface5g!41
2021-06-16 16:06:39 -07:00
Deokseong "David" Kim
591e0e1f36 Adjusted UDP port ids for multiple UE connection with proxy 2021-06-16 16:06:38 -07:00
Melissa Elkadi
777bcc6c37 Saving DCI format to mac instance to fill in stub 2021-06-16 14:52:47 -07:00
francescomani
63d0c085a6 fixing dlsim ulsim 2021-06-16 18:47:03 +02:00
francescomani
3ca8ee8601 some cleanup and fixes 2021-06-16 10:51:17 +02:00
francescomani
ec36342fa6 Merge branch 'NR_2port_CSIRS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_2port_CSIRS 2021-06-16 08:50:08 +02:00
Melissa Elkadi
17222c91e0 Added assert fatals for ul_config and TLVs
Also started handling ul_dci that is received in NR UE.
We now receive dci format 01, 10, and 11 at the NR UE.
The dl_info being filled in NRUE was not memset to 0, that
has been added. Additionally, we will need to get the dci_format
based on the length in the dl_config structs and map it.
For the moment the dci_format values are hard coded.
2021-06-15 15:55:59 -07:00
Eurecom
5d1fdd5071 time_allocation index for Msg2 to fit new configuration file (SCC) 2021-06-16 00:00:46 +02:00
francescomani
71a9ee0c4e flexible csi configuration including do_csirs config parameter 2021-06-15 18:04:06 +02:00
Eurecom
0cdff39806 Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS' into NR_2port_CSIRS 2021-06-15 17:54:37 +02:00
Melissa Elkadi
c3710ecfc4 Handling channel information if rx'd in slot_ind 2021-06-15 07:03:48 -07:00
Mahesh
6210519d51 Bugfix - UL info filling 2021-06-15 18:35:46 +05:30
Melissa Elkadi
52dafe61c7 Fixed a bug in rx and crc filling in the NR UE
Also, there is not a field for dci_format in
nFAPI so there is a way it is detected by the NR UE.
For now, we have hardcoded the value in the stub when
we receive the DCI. Lastly, updated the nr_harq_handling
in the gNB.
2021-06-14 16:29:42 -07:00
Melissa Elkadi
2b698b77e4 CFRA procedure success commit pt. 2
This commit includes the changes made to gNB.
All of these changes were cherry picked from
the Eurecom/develop branch to ensure the
CFRA procedure is working. Without these changes
there were several seg. faults.
2021-06-11 12:39:01 -07:00
Melissa Elkadi
e8cfcbe607 CFRA Procedure success commit pt. 1
This commit contains the changes to the OAI code in
the NR UE and in nFAPI.
- Filling crc_ind for msg3
- Updating pack/unpack of CRC_ind
- Creating phy abstraction CRC_ind handling in VNF
- Removal of old comments
- Only sending on RACH in phy_stub
- Calling nr_msg3_transmitted in scheduler for NSA mode
2021-06-11 12:35:40 -07:00
francescomani
f879260bf9 removing unused fapi structures at UE 2021-06-11 18:11:09 +02:00
francescomani
0f5071c166 bugfix in zero padding 2021-06-11 12:06:13 +02:00
Melissa Elkadi
04ab6dbad5 Added an RX_IND handle in the gNB/VNF
Also updated the NR nFAPI for properly packing
and unpacking the ra_indication. Lastly, added
the functionality for calling the callback RX_ind
functions in the VNF. The RX_IND PDU is recevied
as NULL in the gNB so need to investigate how to
properly pack and unpack the *pdu in the RX_ind.
2021-06-10 15:39:18 -07:00
Melissa Elkadi
b91251d1e0 Changed nsa_send_standalone_msg() and sending RX
The send_standlone_msg will now be able to send
any type of uplink message and we fill the RX
indication in the stub_schedule_response and
are trying to send to gNB. Need to update the NR nfapi.
2021-06-10 12:44:34 -07:00
Melissa Elkadi
0752dd20d1 Filling rx_ind with tx_req information 2021-06-10 10:24:21 -07:00
Raymond Knopp
9f81f5746b small changes in CMakeLists.txt 2021-06-10 09:34:26 +02:00
Melissa Elkadi
d5a7a1a352 Filling RACH ind with prach_pdu
Also added logs for handling Msg3 and
initialized ul_config->num_pdus at every
received slot ind instead of every time
we call get_ul_config()
2021-06-09 14:57:43 -07:00
Melissa Elkadi
4f0c8fbf86 Split process RAR function into 3 functions 2021-06-09 08:02:22 -07:00
francescomani
5451db54f1 RRC configuration for CSI-IM 2021-06-09 15:27:34 +02:00
Raymond Knopp
fee9440959 changed target to thirdparty_transpro and added oai_eth_transpro when building eCPRI target 2021-06-09 15:12:39 +02:00
Melissa Elkadi
88c614eefc RAR successful here. This commit includes:
- Hardcoding the freq_index when filling RACH
- Not handling DCI unless dci_rel_15 global is allocated
- Verifies ra_rnti matches in prach pdu and RACH
- Updates handling of DCI and RX from dl and tx reqs
2021-06-08 12:31:52 -07:00
Eurecom
3e8bc05bdf testing with 2x2 and 4x4 with N310, small modifications in nr_ru_procedures and usrp_lib.cpp for multiple antennas 2021-06-08 19:23:00 +02:00
Eurecom
3dbf4e94cb handling for UL failure. added do_precoding flag to nr-ru procedures. testing with 2x2 N310. 2021-06-08 18:38:17 +02:00
francescomani
9a030b42f0 Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS' into NR_2port_CSIRS 2021-06-08 14:50:52 +02:00
Gokul Srinivasan
e93df00434 Update nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h, openair1/SCHED_NR_UE/fapi_nr_ue_l1.c, nfapi/oai_integration/nfapi_pnf.h, nfapi/oai_integration/nfapi_pnf.c files 2021-06-08 12:46:34 +00:00
francescomani
601381cb44 another tentative change of configuration for 2 port CSI 2021-06-08 08:47:55 +02:00
Gokul Srinivasan
4dc9d22f16 bugfix in gNB_scheduler_uci.c 2021-06-07 22:41:08 +00:00
Melissa Elkadi
082afd0c05 Updated log in gNB 2021-06-07 15:11:15 -07:00
Melissa Elkadi
d434439596 Using ul_config->prach_pdu in get_rach()
Also, changed freq_index hardcode to 0.
Logging ra_rnti in gNB and NR UE
2021-06-07 14:15:40 -07:00
francescomani
4819b14671 bitlen for typeI single panel 2021-06-07 17:36:16 +02:00
Melissa Elkadi
2dc4addf11 Added logs for understanding mac->ra_rnti.
Need to figure out where to set ra_rnti in the NRUE.
2021-06-04 14:10:30 -07:00
Melissa Elkadi
6d93b6a663 Removed change to gNB scheduler
Changed NFAPI_mode check in the gNB scheduler
to ensure that the frame is correctly updated for
msg3. Also added comments in NR UE for handling
the RAR and implementing the dci/rx_ind handover
for the RAR procedure.
2021-06-04 10:02:17 -07:00
francescomani
c114c245de adding rrc parameter csi-ReportingBand 2021-06-04 18:19:54 +02:00
Raymond Knopp
91d518c771 removed warnings in oaiori.c 2021-06-04 15:37:31 +02:00
francescomani
4b0883f2e0 adding cri_RI_LI_PMI_CQI option 2021-06-04 11:56:15 +02:00
francescomani
9cda0a0ced update in CSI report evaluation including PMI 2021-06-04 09:54:01 +02:00
Melissa Elkadi
0dfffed0d2 Added processing RAR function. Still WIP. 2021-06-03 14:33:43 -07:00
Melissa Elkadi
4f5f1a27da Checking dl_tti and ul_tti for RAR and Msg3 2021-06-03 13:09:34 -07:00
Melissa Elkadi
5ba3d16fbc gNB scheduler was not updating Msg3 future frame
The fix added in this commit may not be correct and
should be reviewed by Eurecom. For now we set the
future frame based on the PRACH recevied frame + 1.
Also fixed the copying of RACH ind into UL_INFO global.
RAR is being passed to NR UE.
2021-06-03 12:24:13 -07:00
francescomani
c3627daa22 update in CSI meas computation, including PMI for 2 port 2021-06-03 16:03:48 +02:00
Melissa Elkadi
6299d4515e Creating UL_ind RACH handle function in VNF
Also fixed a few bugs in nr-nFAPI:
- Push16->push8 fix in packing of RACH
- Allocating memory for pdu_list and preamble_list in unpack
- Properly indexing through both lists during unpack
- Created new nr_rach handling function
2021-06-02 16:33:12 -07:00
Melissa Elkadi
f768b90f59 Fixing how we set slot_tx in the NR UE.
Also fixed unpacking ul_tti_inds.
2021-06-02 10:02:03 -07:00
Abhijith Atreya
698917bf1c Fixed warnings and extra Log messages removed 2021-06-02 14:32:32 +00:00
francescomani
2959b34704 2 port CSI configuration 2021-06-02 12:37:43 +02:00
Shruthi
e9a6efc9c9 PTRS paramaters removed 2021-06-02 12:17:08 +05:30
Melissa Elkadi
2949d3008e Updating gNB configuration for EMANE 2021-06-01 15:57:41 -07:00
Melissa Elkadi
7a7b668e16 The pRACH is now only generated for slot 19.
Several other changes in this commit include:
- Setting the number of PDUS in the ul_config
  to be zero when we will it (inside of the
  get_ul_config() function.)
- We reset the nprach flag to 0 for each slot.
- We return out of the prach scheduler if
  mac->ul_config == NULL
- Added error checking for array indexing
- Created a dummy scheduler response function.
- Allocated ul_config_req initially
2021-06-01 12:09:15 -07:00
Raymond Knopp
d6fe58e436 addition of AW2S OAIORI interface, -w AW2SORI target added to build_oai and generation of libthirdparty_transpro.so build rules in CMakelists.txt 2021-06-01 16:25:04 +02:00
Raymond Knopp
24a0f1b851 small change in openair0_cfg interface to support AW2S RRUs. 2021-06-01 13:44:24 +02:00
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
Gokul Srinivasan
8889d6d808 Add .gitlab-ci.yml 2021-05-30 21:05:12 +00:00
Mahesh
cf0659abe9 Cleanup 2021-05-31 02:13:19 +05:30
Melissa Elkadi
7db52420bf Created new fill_rach function in the NR UE
Also calling the new L1_nsa_prach_procedures()
function after using the nr_ue_scheduler. Added
some error checking in the nr_ue_scheduler. Added
some error checking in the process_nsa_msg in both
the NR and LTE UE
2021-05-28 15:30:56 -07:00
Melissa Elkadi
4fb87f9d08 Filling rach_ind and sending to proxy
Seems to be working at the moment but
may need to add more info in the rach_ind.
Also, need to verify gNB is getting the
rach_ind and starting RA procedure.
2021-05-27 15:46:00 -07:00
Melissa Elkadi
7a15a21980 Fix copy/paste error 2021-05-27 15:27:43 -07:00
Melissa Elkadi
96be5588b4 Ready to fill rach indication.
Had to hack the code to schedule the prach.
Need to verify this is ok because ul_config = NULL.
Also had to change logic for calling fill_schedule_response.
2021-05-27 12:53:27 -07:00
francescomani
4ec568f5c4 Merge remote-tracking branch 'origin/NR_UE_rework_test' into NR_UE_reworking_UCI_procedures 2021-05-27 17:43:43 +02:00
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
Melissa Elkadi
b32e3f735f This commit breaks in RACH procedure
However, we are not properly calling the
nr_ue_get_rach() function. The RA is being
properly initialized. In the nr_ue_get_rach()
the pRACH is not scheduled. Tried to add in
the scheduling of this, but it crashes here.
The other changes include revering the
nr_ue_get_rach() changes from previous commit.
Also, changed a few log levels and reverted
a previous change in the NR UE RRC layer that
was incorrect.
2021-05-26 14:36:29 -07:00
Abhijith
1ce9f1fccb pucch errors fixed 2021-05-26 21:20:02 +05:30
Sakthivel Velumani
5ec7f39adf fixed PUSCH tx issue 2021-05-26 10:12:58 +02:00
Melissa Elkadi
eecd5935ee Not working pRACH but starting it 2021-05-25 15:56:08 -07:00
Melissa Elkadi
f3c2a2a659 Changed LOG_As and logic in NR_Cap filling 2021-05-25 15:50:54 -07:00
Melissa Elkadi
005c2e0121 Creating seprate proxy config files 2021-05-25 11:57:33 -07:00
Sakthivel Velumani
99f69b87a1 fix bug 2021-05-25 17:59:17 +02:00
Abhijith
0ec806f5fe bugfix : pdcch and BWP switch capability 2021-05-25 20:16:31 +05:30
Melissa Elkadi
67cbf77a2b Removing a log 2021-05-24 18:58:17 -07:00
Melissa Elkadi
b2b8d297a0 Memory bug fixes
Several places where memory ownership was changed
and the original owner was not set to NULL. Also,
the transaction_identifier is now based on the
received dl_dcch_msg in the LTE UE. Still need to
fix the t_id for the NR UE. Also added comments for
RACH procedure in NR UE.
2021-05-24 18:55:42 -07:00
Melissa Elkadi
da2873d63c Updating LOG_As for the test script. 2021-05-24 16:19:01 -07:00
Mahesh
99a6001643 Resolved merge conflicts and allocated gNB struct in VNF 2021-05-25 04:37:23 +05:30
Sakthivel Velumani
30c2746b9b call ul_indication again for PUCCH 2021-05-24 20:07:43 +02:00
Melissa Elkadi
2eacb8666b Filling ctxt in LTE UE RRC layer 2021-05-24 10:25:20 -07:00
Abhijith
8e79241cbe Fixed compilation issues 2021-05-24 14:18:26 +05:30
francescomani
049c8314f9 triggering SR transmission at UE 2021-05-24 10:29:09 +02:00
Abhijith
1042db7317 Initial commit for addition of dedicated BWPs 2021-05-24 13:41:27 +05:30
Michael Cook
7224adba65 Fix spelling: parced -> parsed 2021-05-23 11:52:03 -04:00
Michael Cook
16ba3194c7 Fix warning about uninitialized variable 2021-05-23 08:20:17 -07:00
Sakthivel Velumani
0c84d4db02 printing time response in ulsim 2021-05-23 16:57:49 +02:00
Raymond Knopp
1c4fef02dd Merge remote-tracking branch 'origin/develop' into prb_based_dl_channel_estimation
Conflicts:
	cmake_targets/autotests/test_case_list.xml
	openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
	openair1/SIMULATION/NR_PHY/ulsim.c
	targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band22.tm1.106PRB.adrv9371zc706.conf
	targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.217PRB.usrpn300.conf
	targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.217PRB.usrpx300.conf
	targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.273PRB.usrpn300.conf
2021-05-22 16:33:44 +02:00
Raymond Knopp
de7d35007c temporary revert to 1 estimate per PRB for performance evaluation 2021-05-22 16:26:00 +02:00
Melissa Elkadi
caa3e034b6 Have completed full NSA procedure once.
At the moment, the NSA mode worked once, but shows
unpredictable behavior. Other times it does not work.
In this commit I added several LOG_A messages for NSA
mode. Also removed old comments that were added during
development. Lastly, more comments for all the hacks
have been added.
2021-05-21 11:53:35 -07:00
francescomani
2ffceb333c function for SR periodicity in mac common 2021-05-21 18:19:16 +02:00
Melissa Elkadi
30c92c1a22 Debugging why NR elements of RRC_complete arent seen at eNB 2021-05-20 16:38:02 -07:00
Melissa Elkadi
e2c0bd52f0 Successfully encoding RRC_Complete in LTE UE
The eNB may only check for RRC_Complete in EPC
mode. Need to look at this further. Updated how
we pass the RRC_Complete msg from NR UE to LTE UE.
Need to still handle transaction_id from dl_dcch_msg
in the LTE UE and trans_id from nr_dl_msg.
2021-05-20 15:04:33 -07:00
francescomani
f84d6767c3 Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into NR_UE_SA 2021-05-20 16:13:46 +02:00
francescomani
dbf3b72414 putting back downlink_harq_process and some other fixes 2021-05-20 10:00:05 +02:00
Melissa Elkadi
4129f8c6c9 Attempting to send RRCComplete message to eNB
It is seg faulting at the moment.
2021-05-19 16:42:22 -07:00
Melissa Elkadi
02928ec2b2 Passing RRCConfigComplete to LTE UE success!
However, the NR UE is crashing because it is receiving
a second RRCReconfig message from the LTE UE and it is
having trouble decoding it. Need to understand this.
2021-05-19 15:38:05 -07:00
francescomani
f0c0a303d2 fix compilation in pucch_nr debug case 2021-05-19 10:15:55 +02:00
francescomani
5bf3b09a48 adding call to fill_scheduled_response 2021-05-19 10:06:56 +02:00
Melissa Elkadi
b4faa5990e Trying to send last RRC message to NRUE 2021-05-18 16:00:21 -07:00
Melissa Elkadi
a31ee2f051 Checking for nr_r15 configs in RRC message
Also, updated the DCCH decode message to use
the sdu_size not RRC_BUF_SIZE. This was a bug fix.
2021-05-18 14:38:07 -07:00
Melissa Elkadi
3416b84675 Log demotion and size for buffer encoding updated 2021-05-18 12:02:39 -07:00
Melissa Elkadi
09fb68de74 Cleaned up trigger function for meas reports
Also removed several warnings by properly
declaring nr-nFAPI functions and removed
declaration of unused functions. Also, reverted
eNB configuration file changes.
2021-05-18 10:25:04 -07:00
francescomani
c02d9f6221 improvements in configure_pdcch function 2021-05-18 15:01:41 +02:00
rmagueta
4204b8bb4c CCE-to-REG mapping extended for 2 or more DCI symbols at UE 2021-05-18 11:07:22 +02:00
rmagueta
b4bf06f791 CCE-to-REG mapping extended for 2 or more DCI symbols 2021-05-18 11:07:08 +02:00
francescomani
cd9a8f963f moving pucch functions for harq at MAC (version still to be tested) 2021-05-18 11:04:10 +02:00
Michael Cook
9ac06d4b3a Fix warning about log message argument type 2021-05-16 05:44:25 -07:00
Melissa
30dfc64592 Merge branch 'episys/david/nfapi_update_in_x2_trigger_nsa' into 'episys/x2_trigger_nsa'
nFAPI library update from IISc

See merge request aburger/openairinterface5g!40
2021-05-13 15:22:11 -07:00
Deokseong "David" Kim
ef56a5dd42 nFAPI library update from IISc 2021-05-13 15:22:11 -07:00
Melissa Elkadi
dc2865f3ba Added logs and updated eNB conf file for EPC if necessary 2021-05-13 15:13:59 -07:00
Melissa Elkadi
bfa5d486e3 Added comments to show MRDC and free() hacks 2021-05-13 13:45:47 -07:00
Melissa Elkadi
bc5677f4c4 Triggering works, not using OAI mechanism
gNB is crashing when setting up the tunnel interface
between the NR UE and itself.
2021-05-13 09:30:30 -07:00
Melissa Elkadi
63ca5f692d Hack to not free measObjs
Also, 12 Frame triggering of MeasurementReport
is still in development and not working.
2021-05-12 16:10:14 -07:00
Melissa Elkadi
e455ae22c8 Added MRDC capabilites in a hacky way 2021-05-11 17:03:35 -07:00
Melissa Elkadi
31e51f3663 Processing NR_UE_Capability_info and sending 2021-05-11 15:40:43 -07:00
Melissa Elkadi
04315e89f5 Reverting acccidental changes. 2021-05-10 17:03:08 -07:00
Melissa Elkadi
a7cbe98fa7 mbms_create_tasks was calling SCTP task again.
This caused the SCTP descriptor to be reset. This
made issues in the X2 interface between gNB and eNB.
Lots of logs added here. Need to fill NR_UE_Capability_Info
properly.
2021-05-10 17:01:12 -07:00
Mahesh
7d59106c5f nfapi working with latest threading architecture 2021-05-11 02:26:59 +05:30
Melissa Elkadi
9009124223 Handling UE_capability_enquiry at NR UE
Now, we are able to fill the UE_Capability_Info that
the LTE UE and eNB are expecting. We then are able to
generate a RRC_DCCH_DATA_COPY_IND to trigger the
processing of the UE_Capability_Info (and sending the
info to the eNB). The info being received at eNB has not
been tested yet.
Also some code clean up.
2021-05-10 11:06:45 -07:00
Sakthivel Velumani
3ac2343ad9 Fixed start & end PRB 2021-05-10 11:15:51 +02:00
Sakthivel Velumani
d621ad67e5 Fixied nrulsim 2021-05-10 00:23:37 +02:00
Sakthivel Velumani
7948949604 Smoothing the frequency response 2021-05-10 00:09:18 +02:00
Melissa Elkadi
5f2d246a8c Added comments and cleaned up the code.
The encode is still  working but now we need to
add in some new functionality to handle NR Capabilites.
2021-05-08 14:52:08 -07:00
Melissa Elkadi
56f2203b1d WIP: Encoding is succeeding. Hacked phy_id. 2021-05-08 09:30:55 -07:00
Melissa Elkadi
997c2e07ad Added rsrp/q back into report. ASN debug on. 2021-05-07 15:19:55 -07:00
Melissa Elkadi
1f3b397043 do_nrMeasReport updated for elements eNB expects
Also updated the generate_nrMeasReport().
The uper_encode_to_buffer is still not working.
2021-05-06 16:54:01 -07:00
francescomani
f691d8805a formatting in nr_ue_dlsch_procedures 2021-05-06 17:40:59 +02:00
francescomani
7577df9401 adding rsrp to ssb indication 2021-05-06 10:53:13 +02:00
Melissa Elkadi
c4d7e11c1c Working on do_nrMeasurementReport 2021-05-05 16:42:22 -07:00
Melissa Elkadi
cee317b73f Removed reportConfig dump funciton
Also removed the [eNB_index + 1] saving/writing
in the process_MeasObj function. This indexing
was incorrect. Also cleaned up the code, fixed
ssRSRB -> ssbRSRP. Lastly, added assertFatals
around indexing in process_measObj function.
2021-05-05 10:07:37 -07:00
Sakthivel Velumani
2a6442096c Merge remote-tracking branch 'origin/develop' into prb_based_dl_channel_estimation 2021-05-05 14:34:14 +02:00
Melissa Elkadi
842774254b ReportConfig was being indexed out of bounds
Added check and logs. If we change ind = 1 it
crashes the LTE UE so we log for now. Also cleaned
up a lot of the code. Lastly, we set freed vars to NULL.
2021-05-04 16:20:37 -07:00
Thomas Schlichter
014280bf13 NR_UE: fix PRACH TX timing for FR2 2021-05-04 16:47:30 +02:00
Sakthivel Velumani
2437d58b17 Fixing sample offset for PRACH rx 2021-05-04 01:44:55 +02:00
Melissa Elkadi
7e339b4610 Currently receiving measurement data from NR UE
This commit has several other changes. The changes
include the following:
1. Changed the port numbers for the NRUE<->Proxy
2. Fixed the send to function in the NR UE
   (Previously only sending buffer not buffer+msg_type)
3. Updated pack/unpack of the SSB PDU (new RSRB field added)
4. Fixed several NR logs
5. Opening socket with NRUE<->Proxy AFTER receving RRC
   measurement request from the LTE UE
2021-05-03 15:31:32 -07:00
Sakthivel Velumani
e7425965ed Fixing UE OFDM symbol generation
The CP length was hard coded for numerology 1
2021-05-03 20:46:10 +02:00
francescomani
d6c70f85d2 sib1 tda from config file 2021-05-03 14:30:58 +02:00
Melissa Elkadi
34eeae0874 NR SA thread and sockets have been added.
This commit also removed MAX_NUM_NEIGH_CELLs and
replaced it with MAX_GNB_CELLS. This was a minor change
OAI added. The standalone sockets for the NR UE correctly
connect to the proxy. We are currently receiving dl_tti
messages from the proxy.
2021-05-01 15:05:04 -07:00
Melissa Elkadi
6cace48013 Added in init function in RRC_NSA_NRUE task creation 2021-05-01 12:47:16 -07:00
Melissa Elkadi
539b1b564a Removed commented code in nr-softmodem.c
Also enabled X2 when we are not using the EPC
Added in the case statement for handling the
dl_dcch_msg from the NR UE. Also added in the
proper decoding of that dl_dcch_msg and freeing
2021-05-01 11:48:21 -07:00
Melissa Elkadi
e50ca02957 Chaging NR functions to be properly named
This commit removed all the linking errors
between the NR UE and the LTE UE. This was done by
changing:
-      rrc_data_req_ue
+      rrc_data_req_nr_ue
2021-05-01 11:32:26 -07:00
Melissa Elkadi
e1a77b2d82 Add NSA mode to working dl_tti messages from gNB
This commit is not currently building, but I wanted
to be able to save the changes that I have added.
2021-04-30 13:36:18 -07:00
Melissa Elkadi
f434a8ded9 Updating conf files. DL messages from gNB working.
NR UE is ending early. LTE is not passing at all.
X2 interface is not working either.
2021-04-30 11:03:30 -07:00
francescomani
4a00aa25ef improvements in pdsch allocation for sib1 2021-04-30 18:56:43 +02:00
Sakthivel Velumani
2b96ebac1f Changing back the default numnerology 2021-04-30 16:48:06 +02:00
Sakthivel Velumani
04b46effc2 Disabling the DC clearing in UL 2021-04-30 16:34:35 +02:00
David Kim
2c40332482 showing dl_tti msg 2021-04-29 15:10:33 -07:00
Sakthivel Velumani
493dab700d Updating ulsim
adding option to change numberology
2021-04-29 15:29:43 +02:00
luis_pereira87
be9fe071d2 Fix dmrs_idx for coreset with duration > 1 symbol 2021-04-29 09:30:28 +02:00
francescomani
4c6cf19364 bugfix for sib1 in case of ssb different from 0 again 2021-04-27 18:17:40 +02:00
Thomas Schlichter
8a7a79374b 5G NR: change PUSCH and PDSCH channel levelling for higher accuracy 2021-04-27 17:08:13 +02:00
Thomas Schlichter
da799243d5 Merge remote-tracking branch 'origin/develop' into prb_based_dl_channel_estimation 2021-04-27 16:55:29 +02:00
Sakthivel Velumani
7edb235102 Updating gnb config files 2021-04-26 22:47:19 +02:00
Thomas Schlichter
b073ca48c3 gNB: improve TA accuracy
The TA calculation takes the CIR peak position error and scales it according to 38.213 section 4.2.
Till now it was simply an integer division "timing_advance_update = sync_pos / bw_scaling".

E.g. in case of bandwidth_scaling == 16, the timing_advance_update was 0 for sync_pos between -15 and +15.
With this change, this range (and thus the UL timing error) will be reduced to -8 and +8.
2021-04-26 18:05:17 +02:00
Thomas Schlichter
5c6865fbc6 5G NR: simplify init_timeshift_rotation()
Only Ncp1 is used, so get rid of the second timeshift_symbol_rotation array.
Also simplify the computation of "t0 * Tc * f".
2021-04-26 16:09:32 +02:00
Thomas Schlichter
942037beb3 5G NR: move CIR peak to 0
The rotation compensating the shifted OFDM position _before_ the channel estimation makes the CIR peak move back to 0.
We have to take this into account on gNB side when calculating the timing advance command, and on UE side in the time adjustment.
2021-04-26 14:58:01 +02:00
Thomas Schlichter
626ab8aa3a NR_UE: adjust some LOG levels 2021-04-26 14:58:01 +02:00
Sakthivel Velumani
4d60c5e4fd Fixing a bug 2021-04-26 14:52:45 +02:00
Sakthivel Velumani
33021bd826 Adding offset divisor parameter to all config files 2021-04-26 13:32:02 +02:00
Sakthivel Velumani
f5913f3bfc Fixed bug in UL slot fep 2021-04-26 03:10:41 +02:00
Sakthivel Velumani
215f263a69 Making sample offset as cmd line parameter
for gNB its in L1 section of config file
for UE its a cmd line paramenter
2021-04-26 03:09:17 +02:00
Sakthivel Velumani
11111bcd68 Adding freq domain deroration to DL
also fixed build wanings
2021-04-23 16:22:28 +02:00
Sakthivel Velumani
1991c2f9cd Revert "HACK: cut PUSCH and PDSCH OFDM symbol after complete CP"
This reverts commit 87b53883b2.
2021-04-23 15:42:16 +02:00
Sakthivel Velumani
945a020f93 Added linear phase derotation in UL
This is necessary to compensate the rotation caused by the timeshifted OFDM symbol (1/8 CP)
2021-04-23 15:41:44 +02:00
Thomas Schlichter
87b53883b2 HACK: cut PUSCH and PDSCH OFDM symbol after complete CP
Currently we cute the PUSCH and PDSCH OFDM symbols starting within the last 1/8th of the CP to avoid ISI.
This time shift leads to a rotation in frequency domain.
The current PRB based channel estimation does not compensate for the rotation _within_ a PRB, leading to bad performance.

This commit should _not_ make it into develop branch, it is just for testing!
Instead, we should do some compensating rotation before channel estimation.
2021-04-21 13:45:22 +02:00
Thomas Schlichter
b110c3622b NR_UE: fix possible overflow in PRB based PDSCH channel estimation 2021-04-21 13:45:22 +02:00
Thomas Schlichter
fd70cd3e44 gNB: fix possible overflow in PRB based PUSCH channel estimation 2021-04-21 13:45:22 +02:00
Thomas Schlichter
5d6c01de91 nr_ulsim: fix for nb_antennas_tx != nb_antennas_rx
use nb_antennas_tx instead of nb_antennas_rx when copying data from UE->common_vars.txdata to s_re and s_im
2021-04-21 13:23:27 +02:00
Thomas Schlichter
d2752d0dc5 NR_UE: fix allocation of txdataF_layers
Each element is sizeof(int32_t), not sizeof(int32_t *).
2021-04-21 13:20:24 +02:00
francescomani
f31badef03 ssb_start_subcarrier from command line 2021-04-20 15:54:38 +02:00
francescomani
80f3e79efd Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into NR_UE_SA 2021-04-20 15:07:15 +02:00
francescomani
c8ba34cf87 fix in extract dci 2021-04-20 11:58:55 +02:00
francescomani
40eb1fb748 Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into NR_UE_SA 2021-04-20 11:12:20 +02:00
Sakthivel Velumani
b546e6445d Merge remote-tracking branch 'origin/develop' into prb_based_dl_channel_estimation 2021-04-19 10:18:05 +02:00
Sakthivel Velumani
a96501177e Code cleanup as per reiview comments 2021-04-17 21:47:01 +02:00
francescomani
e6ad0aac74 fix for csi meas report 2021-04-16 17:34:05 +02:00
francescomani
b968a88413 bugfix in ue sib1 scheduling 2021-04-16 09:02:43 +02:00
francescomani
6b82ac26fc using common configuration complete to signal sib1 decoded 2021-04-16 08:52:31 +02:00
francescomani
29165a93c1 Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-04-15 15:46:04 +02:00
francescomani
a170257d62 fix for RA SS 2021-04-15 15:33:08 +02:00
francescomani
1051c94cf6 Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into NR_UE_SA 2021-04-15 11:53:16 +02:00
francescomani
9fe3289cc0 fix in nr-ue for ul slots 2021-04-14 15:55:01 +02:00
francescomani
0fac0ee70c filling config request, adjustment of prach functions and remove hardcoding from sib1 2021-04-14 15:03:25 +02:00
francescomani
7e5ef00996 removal of bwp from sib1, removal of fill_default_initialDownlinkBWP 2021-04-13 16:12:06 +02:00
francescomani
e030713c09 fix dlsch decoding for sib1 2021-04-13 10:37:04 +02:00
luis_pereira87
6c7280c087 Define Initial BWP with the same locationAndBandwidth as Coreset0 defined by PDCCHConfigSIB1 in MIB 2021-04-13 10:26:05 +02:00
Raymond Knopp
f5b2da21b2 fixing previous commit 2021-04-13 10:01:19 +02:00
Mahesh
047b7b17ba Uplink indication 2021-04-13 02:31:40 +05:30
francescomani
6f31e80ac4 bugfix for dci reception when sync in second frame 2021-04-12 18:52:05 +02:00
rmagueta
927d936317 Remove hard code in nr_pdsch_channel_estimation 2021-04-12 17:30:53 +02:00
francescomani
23330e4c67 bugfix 2021-04-12 17:21:40 +02:00
francescomani
2ca2adeabd Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-04-12 17:05:27 +02:00
francescomani
25b8b91020 calling dlsch detection in initial sync for sib1 2021-04-12 17:01:57 +02:00
rmagueta
99a56f0530 Rework default PDSCH time domain resource allocation tables 2021-04-12 13:41:57 +02:00
francescomani
f2127adf40 reworking of pdcch procedures function call 2021-04-12 11:22:16 +02:00
Sakthivel Velumani
913ac80093 Passing symbolStart to fill_dmrs_mask
It is sufficient to pass l_d directly to the function but considering future extension to mapping type B, this way makes more sense.
2021-04-09 19:37:28 +02:00
francescomani
6ebb815eba modifications in aggregation level for sib1 and decoding of dci at ue for sib1 2021-04-09 19:22:17 +02:00
francescomani
e2b35e684f quick fix for nb antennas in frame parms 2021-04-08 10:14:49 +02:00
Sakthivel Velumani
3c17c29a1d Merge branch 'develop' into prb_based_dl_channel_estimation 2021-04-07 14:02:40 +02:00
Sakthivel Velumani
476e51fb90 removing j from options 2021-04-07 12:51:28 +02:00
francescomani
73a42a67ca Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-04-06 11:34:18 +02:00
francescomani
272b53bc86 call for pdcch procedure for sib1 in initial sync 2021-04-06 11:07:13 +02:00
Francesco Mani
be6b413a82 moving initialization of gold for pdcch to nr_init_ue 2021-04-05 11:04:51 +02:00
francescomani
83ad469a33 add option sa for sib1 detection in initial sync 2021-04-05 11:03:37 +02:00
francescomani
cb31468c16 first version of scheduler for sib1 2021-04-05 10:15:22 +02:00
francescomani
438a6fe0fc fixes in fill ss0 and coreset0 2021-04-02 18:20:30 +02:00
francescomani
259191df06 new functions to fill ss0 and coreset0 2021-04-02 16:09:33 +02:00
David Kim
bdf98b03f5 updating vnf ip and udp port 2021-03-31 22:44:42 -07:00
David Kim
45bd0274c4 Updating gNB tun interface name and adding nsa config file. 2021-03-30 11:54:49 -07:00
francescomani
3aebb08130 function to schedule reception of sib1 2021-03-30 17:34:33 +02:00
David Kim
480ae78df0 adding nr_ue.nfapi.conf file 2021-03-29 11:58:08 -07:00
francescomani
b711517a57 improved slot computation in decode mib function 2021-03-29 17:45:04 +02:00
francescomani
3de0730034 reuse softmodem common tags for command line paremeters 2021-03-26 19:10:22 +01:00
francescomani
a83265dfb1 not reading .raw files in SA 2021-03-26 17:57:50 +01:00
francescomani
032a850c23 getting rid of dl and ul_bwp_dedicated in config request 2021-03-26 15:46:51 +01:00
Sakthivel Velumani
1d2e5cabd8 Closing review comments
MR 1081
2021-03-26 14:41:56 +01:00
francescomani
a788c696d8 ssb start subcarrier in ssb indication for reception of sib1 2021-03-25 10:56:19 +01:00
francescomani
81ebec80f5 Merge remote-tracking branch 'origin/NR_MAC_SSB' into NR_UE_SA 2021-03-24 15:45:25 +01:00
francescomani
0862988c23 initial sync ok if SSB in the middle 2021-03-24 10:36:27 +01:00
David Kim
7dbdcc2d34 changing env for test
1. restoring ci test environment.
2. packet drop disabled.
2021-03-23 13:45:24 -07:00
francescomani
62b68e788c init frame parms ue sa 2021-03-23 15:47:46 +01:00
francescomani
88c36546f8 command line parameters for SA UE 2021-03-23 11:45:45 +01:00
Sakthivel Velumani
03ba68d42e Merge branch 'develop' into prb_based_dl_channel_estimation 2021-03-22 16:25:19 +01:00
Melissa Elkadi
eb3436c01c Added comment in configs for networking help 2021-03-19 10:54:35 -07:00
Melissa Elkadi
4dad535ef9 Reverted white space changes 2021-03-19 09:58:44 -07:00
Melissa Elkadi
6b0a173007 Updated configuration files 2021-03-19 09:53:30 -07:00
David Kim
58894c58cf resolving conflict 2021-03-18 11:43:10 -07:00
David Kim
7c6e4ed01d adding nfapi_new update 2021-03-18 11:22:06 -07:00
David Kim
aaf50cbb80 revert to previous openair3/S1AP/s1ap_eNB_handlers.c version due to compile error 2021-03-17 23:31:40 -07:00
David Kim
b90c0680ec adding x2c setting with epc 2021-03-17 21:08:41 -07:00
Melissa Elkadi
9f3a2a1a85 Demoted a few error logs 2021-03-17 09:24:19 -07:00
Mahesh
4454627ba3 Uplink constellation + CRC OK 2021-03-17 14:43:05 +05:30
Melissa Elkadi
c08743907a Updated the eNB conf file for EPC 2021-03-16 07:43:56 -07:00
Mahesh
b232c43477 Uplink improvement 2021-03-16 12:49:46 +05:30
David Kim
2948a2445e Merge branch 'episys/master' into episys/david/episys-merge-2nd-x2c 2021-03-15 11:05:35 -07:00
Michael Cook
8120c7978c Merge branch 'episys-merge-future' into episys/master 2021-03-14 09:17:34 -07:00
Michael Cook
bd0359c3bd Enable assert for RelWithDebInfo builds
assert() statements were enabled for C code but disabled for C++
code.  With this commit, assert() is enabled for both C and C++
for RelWithDebInfo builds.
2021-03-14 09:13:50 -07:00
Michael Cook
176a52f581 pnf.c: Disable some printfs 2021-03-14 08:44:42 -07:00
Michael Cook
39fbe322aa Fix #include 2021-03-14 10:59:05 -04:00
Michael Cook
092caec8ca Merge branch 'episys-merge' into episys/trial-merge-to-master 2021-03-14 10:58:46 -04:00
David Kim
94c9866b7e adding nfapi_nr_develop_new changes 2021-03-13 13:09:34 -08:00
Michael Cook
c5ff3376ef Size asserts for harq_pdu_list, sr_pdu_list, cqi_pdu_list 2021-03-13 11:56:55 -08:00
Michael Cook
6d2590906c Assert NFAPI_CRC_IND_MAX_PDU 2021-03-13 10:58:33 -08:00
Michael Cook
df81c0de14 Add asserts for size of rx_indication_body.rx_pdu_list 2021-03-13 10:26:33 -08:00
Michael Cook
b726053982 find_ulsch: Skip past null uslch[i]
With a small number of runs with 16 UEs, I've seen this
AssertFatal fail twice.

There are many other places in the code that simply skip over
ulsch[i] values that are NULL.
2021-03-13 10:24:00 -08:00
David Kim
c68de3ba8c Merge remote-tracking branch 'eurocom/episys-merge' into episys-merge 2021-03-12 19:24:29 -08:00
Melissa Elkadi
10519da95f Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge 2021-03-12 15:30:38 -08:00
David Kim
765f516a9f Merge remote-tracking branch 'eurocom/episys-merge' into episys-merge 2021-03-12 15:17:27 -08:00
Mahesh
39577ba0d8 UL P7 messages and UL scheduling re-enabled. Disabled HARQ from the UE side --> DL CRC OK 2021-03-11 12:49:40 +05:30
Melissa Elkadi
e5b0c26549 Changed sf_ahead based on NFAPI_MODE 2021-03-10 16:20:55 -08:00
Melissa Elkadi
34b53ea9b4 Merge branch 'episys-merge' of https://gitlab.eurecom.fr/oai/openairinterface5g into eurecom-episys-merge 2021-03-10 08:59:22 -08:00
Sakthivel Velumani
6610ce11f1 Updated phy_simulators to use new chest
Added a CI test case for dlsim to test 256 QAM
2021-03-09 16:17:56 +01:00
Sakthivel Velumani
4304239520 fixing build issue 2021-03-08 16:26:35 +01:00
Melissa Elkadi
e50de8be02 Demoting logs and removing duplicate #define
Commented out an abort(); used for debugging.
An incoming merge request will properly handle
the issue of multiple CQIs.
2021-03-06 12:22:52 -08:00
Shruthi
6e61393f7e DCI payload corrections in nFAPI mode 2021-03-06 15:18:02 +05:30
Shruthi
9a623a2b45 pdcch pdu pack/unpack fix 2021-03-05 21:45:38 +05:30
Sakthivel Velumani
3fe2628df0 fixing build errors 2021-03-05 16:51:09 +01:00
Shruthi
86c3928652 Minor build error fix, README improved 2021-03-05 21:09:39 +05:30
Sakthivel Velumani
b7dddf0849 Adding ulsch encoding stats 2021-03-05 13:54:44 +01:00
Sakthivel Velumani
d4a53d522f Merge branch 'develop' into prb_based_dl_channel_estimation 2021-03-05 13:25:35 +01:00
Sakthivel Velumani
8c31044031 Merge branch 'uslim-updates' into prb_based_dl_channel_estimation 2021-03-05 13:24:55 +01:00
Sakthivel Velumani
0fb6934fed Cmd line parameter for UE 2021-03-05 12:11:46 +01:00
Sakthivel Velumani
8d07eacd9e Added averaging channel est to PUSCH
Included command line option to select interpolation method
2021-03-05 11:44:31 +01:00
Melissa Elkadi
e3168a7d8c Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge 2021-03-03 16:12:04 -08:00
Shruthi
28d02f8722 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2021-03-03 23:15:12 +05:30
Shruthi
9fce798a0e Fixed errors in nFAPI after first merge 2021-03-03 23:09:02 +05:30
Melissa
47f006d9e0 Update README.md 2021-03-03 17:07:49 +01:00
Melissa Elkadi
9fe1167f29 Remove cppcheck-suppressions that were prev added
These cppcheck errors are occuring in code
that is untouched by this merge request.
2021-03-02 13:10:09 -08:00
Melissa Elkadi
d3891eb108 Merge remote-tracking branch 'eurecom/episys-merge' into origin-episys-merge 2021-03-01 15:22:36 -08:00
Melissa Elkadi
15905c746d Fixing cppcheck issues 2021-03-01 15:13:50 -08:00
Michael Cook
27c40d563f build_oai: Add --sanitize-address option
To enable -fsanitize=address option to the compiler
which enables run-time checks for some kinds of memory
mismanagement.
2021-03-01 09:10:50 -08:00
Michael Cook
8988d8ef8c Revert change that enabled -fsanituze=address 2021-03-01 08:26:59 -08:00
Michael Cook
034d2cfed6 lte-ue.c: Allocate bigger arrays
This code allocates memory from the heap:

```
static void *UE_phy_stub_standalone_pnf_task(void *arg)
{
...
  UL_INFO->crc_ind.crc_indication_body.crc_pdu_list =
  calloc(NB_UE_INST, sizeof(nfapi_crc_indication_pdu_t));
```

I see NB_UE_INST==1.

Then this code:

```
void fill_crc_indication_UE_MAC(int Mod_id,
                                int frame,
                                int subframe,
                                UL_IND_t *UL_INFO,
                                uint8_t crc_flag,
                                int index,
                                uint16_t rnti,
                                nfapi_ul_config_request_t
                                *ul_config_req) {
...
  nfapi_crc_indication_pdu_t *pdu =
      &UL_INFO->crc_ind.crc_indication_body
           .crc_pdu_list[UL_INFO->crc_ind.crc_indication_body.number_of_crcs];
```

used .number_of_crcs to index into .crc_pdu_list without first
checking if .number_of_crcs is in range.

When run with multiple UEs, sometimes .number_of_crcs==1 and then
-fsanitize=address complains.

Change is to use NUMBER_OF_UE_MAX instead of NB_UE_INST.

With this change, -fsanitize=address stopping complaining.
2021-02-28 09:45:31 -08:00
Michael Cook
11270af81e eNB_scheduler_ulsch.c: Range checking on array access
-fsanitize=address complained about this code.
2021-02-28 09:29:29 -08:00
Michael Cook
706f0e4421 pdcp_fifo_flush_sdus: Fix message size calculation
-fsanitize=address detected that we were trying to access bytes
past the end of a block of malloc'ed memory.

Specifically, in this code:

```
    } else if (ENB_NAS_USE_TUN) {
      if( LOG_DEBUGFLAG(DEBUG_PDCP) )
        log_dump(PDCP, pdcpData, sizeToWrite, LOG_DUMP_CHAR,"PDCP
      output to be sent to TUN interface: \n");
      ret = write(nas_sock_fd[0], pdcpData, sizeToWrite);
```

-fsanitize=address said:

```
==80==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x61100004ffdc at pc 0x7f57c5f576a5 bp 0x7f57bb53c240 sp
0x7f57bb53b9e8
READ of size 108 at 0x61100004ffdc thread T7

0x61100004ffdc is located 0 bytes to the right of 220-byte region
[0x61100004ff00,0x61100004ffdc)
```

So, the code was trying to access the first byte after a block of
heap memory.

sizeToWrite was calculated like this:

```
    int sizeToWrite= sizeof (pdcp_data_ind_header_t) +
      pdcpHead->data_size;
```

There were a few other similar invocations of write() in the same
function used the wrong size.  That sizeToWrite calculation
should be used only when the header is being sent, too, which
happens in only one place in this function.

With this commit, our tests pass and -fsanitize=address is happy.
2021-02-28 07:39:33 -08:00
Michael Cook
b6766ee8ae decode_SIB1: Was reading past the end of plmn_data
Found by -fsanitize=address
2021-02-27 09:29:09 -08:00
Michael Cook
d8a7414e48 eNB_scheduler_mch.c: Memory corruption
The global mbms_rab_id was defined as `uint16_t` in
eNB_scheduler_mch.c but `int` in other places.  So, code that
wrotes this global would clobber the two bytes that follow the
variable in memory.

Found by `-fsanitize=address`.
2021-02-27 09:16:27 -08:00
Michael Cook
414d3794fd netlink_init.c: Memory leak
Found by `-fsanitize=address`.
2021-02-27 09:15:38 -08:00
Michael Cook
2520d111da Fix shutdown crashes
In phy_free_lte_eNB in lte_init.c, the lte-uesoftmodem would
crash during shutdown because it was dereferencing null pointers.
This commit adds checks to avoid that.
2021-02-27 07:20:43 -08:00
Melissa Elkadi
8b2b78e477 Fixed remote_addr.sin_port
For some reason the htons invocation got deleted which broke
the VNF P7 interface.

Also fixed some build issues, not sure how these got onto the
develop branch to begin with.
2021-02-26 15:57:35 -08:00
Sakthivel Velumani
e881a108cd Added encoding stats in ulsim 2021-02-26 11:03:15 +01:00
Melissa Elkadi
98c8ddb673 Merge remote-tracking branch 'origin/develop' into episys-merge
Removing references to memcpy_dl_config_req and
memcpy_tx_req because these functions are leaking
memory. For our standalone mode we have created
new/modified memcpy_dl/tx_req functions.
2021-02-24 11:49:17 -08:00
Melissa Elkadi
4dcb32c180 Removed unused memcpy functions and references 2021-02-24 09:12:00 -08:00
Melissa Elkadi
125e0aa186 Updating incorrect logic in phy_stub_ue.c 2021-02-24 07:07:45 -08:00
Raymond Knopp
d26d60300e added a PRB-based channel estimation. It averages the 4/6 DMRS LS channel estimates and uses a single value per PRB. Improves performance of high MCS
PHY_VARS_NR_UE now has a flag fd_lin_interpolation which turns this on/off. By default it uses the "new" method.
2021-02-22 12:26:42 +01:00
Raymond Knopp
e14786b301 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2021-02-21 12:26:45 +01:00
Melissa Elkadi
df2d3459d8 Set first random value to be UE number
Also added logs for debugging this rare random value issue.
2021-02-19 15:00:36 -08:00
Melissa Elkadi
2c8aab0671 Included PHY channel parameter handling
Also, updated openairinterface5g_limits.h to match develop branch.
2021-02-17 16:04:00 -08:00
Melissa Elkadi
17ede97029 Changed UE Capabilities log to a LOG_A 2021-02-15 15:27:25 -08:00
Melissa Elkadi
ecaa20ed14 Re-do fix for merge issues 2021-02-15 15:08:46 -08:00
Melissa Elkadi
26e3f32b69 Fixed fill_ul_mutex
Mutexes were not being initialized. In multiple
places they were not being unlocked. In fill rach
it was not being locked or unlocked.
2021-02-15 12:40:32 -08:00
Melissa Elkadi
bc524ea192 Minor fixes and new definitions for build success 2021-02-15 09:00:22 -08:00
Raymond Knopp
a446eb0ebc Merge branch 'episys/master' into episys-merge
Conflicts:
	common/utils/LOG/log.h
	common/utils/ocp_itti/intertask_interface.cpp
	nfapi/oai_integration/nfapi_vnf.c
	nfapi/open-nFAPI/nfapi/src/nfapi.c
	openair2/LAYER2/MAC/main_ue.c
	openair2/LAYER2/PDCP_v10.1.0/pdcp.c
	openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
	openair2/PHY_INTERFACE/phy_stub_UE.c
	openair2/RRC/LTE/rrc_UE.c
	openair2/RRC/LTE/rrc_eNB.c
	openair3/NAS/UE/ESM/esm_ebr_context.c
	targets/COMMON/openairinterface5g_limits.h
	targets/RT/USER/lte-softmodem.c
	targets/RT/USER/lte-uesoftmodem.c
2021-02-13 22:52:33 +01:00
Michael Cook
eec846a555 Merge branch 'episys/mel/pdcp_write_update' into 'episys/master'
Episys/mel/pdcp write update

See merge request aburger/openairinterface5g!26
2021-02-12 08:59:00 -08:00
Melissa
3a5912a00a Updated non-blocking PDCP socket
More accurately, we changed the do/while infinite
loop to be an infinite for loop for the read command of
the socket. The socket file descriptor choice is more clear now.
2021-02-12 08:59:00 -08:00
Michael Cook
181ae665bd Merge branch 'episys/mel/pdcp_socket_update' into 'episys/master'
Episys/mel/pdcp socket update

See merge request aburger/openairinterface5g!25
2021-02-09 14:09:39 -08:00
Melissa
9fa09f530f Updated non-blocking PDCP socket
More accurately, we changed the do/while infinite
loop to be an infinite for loop for the read command of
the socket. The socket file descriptor choice is more clear now.
2021-02-09 14:09:39 -08:00
Raymond Knopp
d56a50609c Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2021-01-30 15:54:59 +01:00
Melissa Elkadi
b68479aa10 Updating .gitignore file 2021-01-25 14:55:46 -08:00
Melissa Elkadi
78341d9db1 Updated bler table lookup mechanism and logs 2021-01-25 14:52:44 -08:00
Michael Cook
02571e63bb gdb.txt: Linux versions should be the same 2021-01-24 12:38:15 -05:00
Michael Cook
563064ce0b gdb.txt: Notes on loading coredump files into Vscode 2021-01-24 12:27:20 -05:00
Melissa
fbbc54dd9f Merge branch 'episys/mel/drop_pkts_merge_req' into 'episys/master'
Updated dropping packet mechanism for only c-rnti

See merge request aburger/openairinterface5g!24
2021-01-22 16:37:41 -08:00
Melissa
0f210073c5 Fixed two bugs
There was a variable that was being used that was undefined.
Also fixed save_dci_pdu_for_crnti() function.
2021-01-22 16:37:41 -08:00
Michael Cook
06db0b7730 Merge branch 'episys/mel/fixing_harq_ack_nack' into 'episys/master'
Sending ACK or NACK for uci_harq_ind fix

See merge request aburger/openairinterface5g!23
2021-01-18 13:37:49 -08:00
Melissa Elkadi
80fc9b3908 Removed duplicate def of pdu_size 2021-01-18 13:06:57 -08:00
Melissa Elkadi
4a763d14cd Utilizing local pdu_size variable 2021-01-18 11:53:04 -08:00
Melissa Elkadi
d0e380da1e Updated array index check with macro def in log.h 2021-01-18 11:39:03 -08:00
Melissa Elkadi
a1ec989d47 Added array index checks and local loop variable 2021-01-18 11:03:42 -08:00
Michael Cook
5fef878293 gdb.txt: Running Vscode remotely 2021-01-17 12:32:27 -05:00
Melissa Elkadi
48662ed520 Fixed uci_harq_ind issue by adding drop_tb call
Also updated the spelling of global variable NUM_NFAPI_SUBFRAME
2021-01-15 15:39:09 -08:00
Melissa Elkadi
27a232ab63 Sending ACK or NACK for uci_harq_ind fix
A fix had to be made in the uci_harq indication function
in the UE. The uci_harq indicaiton function was not properly
checking for dropped packets four subframes back in the UE.
2021-01-15 13:42:31 -08:00
Michael Cook
e437a19c50 lte-uesoftmodem.c: issues reading bler files 2021-01-14 16:34:30 -08:00
Michael Cook
12d41fdf72 Merge branch 'episys/oai_home_update' into 'episys/master'
Episys/oai home update

See merge request aburger/openairinterface5g!22
2021-01-14 16:14:38 -08:00
David Kim
c541324c5d updating mcs file location to openair_dir 2021-01-14 16:08:54 -08:00
Michael Cook
0b7452a6e4 Merge branch 'episys/Initial_ChannelModel' into 'episys/master'
Episys/initial channel model

See merge request aburger/openairinterface5g!21
2021-01-14 15:53:07 -08:00
Ricky S
b2f85f7ac2 Episys/initial channel model 2021-01-14 15:53:06 -08:00
melissa-elkadi
b5ff5516a1 Update README.md 2021-01-13 08:39:42 -08:00
Michael Cook
ee86a66722 Merge commit '0b40edef2adc45965dcfe2071b0c4170389ae8b5' into episys/master 2021-01-12 18:11:10 -05:00
Michael Cook
0b40edef2a Merge branch 'episys/david/proxy_oai' into 'episys/master'
Updating for operation with Proxy

See merge request aburger/openairinterface5g!18
2021-01-12 14:45:52 -08:00
Deokseong "David" Kim
b220ed29c4 Updating PDCP module for proxy
Adding ue id parameter to pdcp_init
Updating tun interface functions for proxy
2021-01-12 14:45:52 -08:00
Michael Cook
355e5919de Merge branch 'episys/mel/nfapi_mode_logic' into 'episys/master'
Episys/mel/nfapi mode logic

See merge request aburger/openairinterface5g!19
2021-01-12 08:55:03 -08:00
Melissa Elkadi
42ae8207ee NFAPI_MODE logic to include standalone mode
Every if statement that includes a check for
the NFAPI_MODE that did not check for the new
PNF_STANDALONE_MODE now has been updated. Also
changed the tx_req and dl_config_req logs
when they are received at the OAI UE to be
info logs instead of error logs.
2021-01-12 06:54:16 -08:00
Melissa Elkadi
a288e502f0 Cleanup before merge
The clean up includes removing white space changes, adding logs,
adding comments to make various changes more obvious, etc.
2021-01-08 14:31:13 -08:00
Melissa Elkadi
3108258bb6 Adding USIM data for up to 18 UEs 2021-01-06 14:24:15 -08:00
Michael Cook
f9898d97e8 gdb.txt: Refine
Based on issues discovered by Zaid
2020-12-29 16:04:21 -05:00
Michael Cook
b10cc9eb38 Merge branch 'episys/temp_merge_req' into 'episys/master'
Select fair RR packet scheduler

See merge request aburger/openairinterface5g!16
2020-12-23 09:31:47 -08:00
Melissa Elkadi
08cfc0c9df Select fair RR packet scheduler
Also fixed some build problems
2020-12-23 09:28:54 -08:00
Michael Cook
1a3ef7ab8c rrc_UE.c: Log the initial random values 2020-12-23 11:58:24 -05:00
Michael Cook
380de1761c taus.c: Make globals static 2020-12-23 11:57:58 -05:00
Michael Cook
a0ddf3b015 Run lte-softmodem via gdb and vscode
See cmake_targets/gdb.txt for notes
2020-12-22 08:13:53 -05:00
Michael Cook
cb84581678 Set max UEs to 40 (was 20) 2020-12-13 09:19:03 -08:00
Michael Cook
53cb3e25a9 Merge branch 'episys/andrew/fixing_multiue_config' into 'episys/master'
Episys/andrew/fixing multiue config

See merge request aburger/openairinterface5g!15
2020-12-01 13:39:05 -08:00
Melissa
e3d34c8b01 Fixed multiple UE EPC integration by resetting user->ueid=0;. Lots of logs in this commit, will remove later 2020-12-01 13:39:05 -08:00
Raymond Knopp
be16207602 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2020-11-24 17:46:46 +01:00
Michael Cook
e5fac31f2f Merge branch 'episys/mcook-log-scheduler' into 'episys/master'
Log the processor info like scheduler policy

See merge request aburger/openairinterface5g!14
2020-11-23 15:06:55 -08:00
Michael Cook
1687896730 Log the processor info like scheduler policy
And CPU affinity.
Also, use mlockall to keep our memory from being swapped out.
2020-11-22 13:50:35 -05:00
Michael Cook
f13875b141 Merge branch 'episys/foobar' into 'episys/master'
Dl_config_req and tx_req filtering allowed for either order

See merge request aburger/openairinterface5g!13
2020-11-20 16:04:14 -08:00
Melissa
4fe4f6cd60 dl_config_Req and tx_reqs are queued together
Additionally, combined many of the individual
dl_config_req and tx_req handle functions.
Also removed some unused functions we added.
Futhermore, removed our additions to the
dl_config_req and tx_req memcpy functions.
2020-11-20 16:04:14 -08:00
Michael Cook
b209f2ff23 Merge branch 'episys/andrew/dl_config+tx_req_combination' into 'episys/master'
Episys/andrew/dl config+tx req combination

See merge request aburger/openairinterface5g!12
2020-11-20 15:06:30 -08:00
Melissa
7aa9a95e8e dl_config_Req and tx_reqs are queued together
Additionally, combined many of the individual
dl_config_req and tx_req handle functions.
Also removed some unused functions we added.
Futhermore, removed our additions to the
dl_config_req and tx_req memcpy functions.
2020-11-20 15:06:30 -08:00
Michael Cook
b6b9f25082 Merge branch 'episys/andrew/dci0_filtering' into 'episys/master'
Episys/andrew/dci0 filtering

See merge request aburger/openairinterface5g!10
2020-11-16 15:33:50 -08:00
Andrew Burger
206fd09bd6 Adding comments for less confusion 2020-11-16 15:33:23 -08:00
Andrew Burger
0d865eea8a merging 2020-11-16 11:50:27 -08:00
Michael Cook
4ad7d7b5f6 Merge branch 'episys/andrew/dlsch_pdu_index_bug_fix' into 'episys/master'
Episys/andrew/dlsch pdu index bug fix

See merge request aburger/openairinterface5g!9
2020-11-13 14:11:35 -08:00
Andrew Burger
cb4e5a35c4 Episys/andrew/dlsch pdu index bug fix 2020-11-13 14:11:35 -08:00
Andrew Burger
3960694b27 Revert "This commit includes:"
This reverts commit b1ff8e1a6a.
2020-11-12 15:50:49 -08:00
Michael Cook
3011e229d4 Merge branch 'episys/andrew/fixing_s1_mode+change_to_shutdown' into 'episys/master'
This commit includes:

See merge request aburger/openairinterface5g!7
2020-11-04 14:29:07 -08:00
Andrew Burger
b1ff8e1a6a This commit includes:
1.) Shutdown fix which allows us to see who requested to abort the simulation
2.) Properly initializing the NAS layer which previously was not happening for our simulation mode 5
3.) Changes in configurations to support the EPC(Have Melissa Verify these)
2020-11-04 13:39:43 -08:00
Michael Cook
ade37fea82 unqueue_matching: Add max_depth argument
Look only at the last `max_depth` items on the queue, at most.
2020-10-24 09:50:00 -04:00
Andrew Burger
67e190960f Merge branch 'episys/andrew+mc/tx_pdu_list_change+dl_config_req_dropping' into 'episys/master'
Episys/andrew+mc/tx pdu list change+dl config req dropping

See merge request aburger/openairinterface5g!5
2020-10-23 14:54:40 -07:00
Andrew Burger
39f07d7ac9 Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-23 14:54:40 -07:00
Michael Cook
6dd80ffd2f queue: add requeue, fix unqueue_matching
Synchronized with emane.git's implementation of this code which
includes a unit test.

This commit also fixes two bugs in unqueue_matching and one inb
unqueue:

- unqueue_matching was returning the wrong pointer when
  there was no match

- both unqueue_matching and unqueue were not clearing the vacated
  queue entry after removing the item
2020-10-20 09:04:23 -04:00
Michael Cook
d449a4de8a Align thread priorities
```
$ ps -eL -o pid,lwp,class,priority,comm | grep -E softmodem|oai:'
 6500  6500 RR  -80 lte-softmodem
 6500  6520 RR  -80 oai:enb-L1-rx
 6500  6522 RR  -80 oai:enb-L1-tx
 6508  6508 RR  -80 lte-uesoftmodem
 6508  6537 RR  -80 oai:ue-phy
 6508  6538 RR  -80 oai:ue-stand
 6509  6509 RR  -80 lte-uesoftmodem
$
```
2020-10-18 12:11:10 -04:00
Michael Cook
d61bb9836c Merge branch 'episys/andrew/dropping_dl_config_req_and_tx_req' into 'episys/master'
Episys/andrew/dropping dl config req and tx req

See merge request aburger/openairinterface5g!3
2020-10-14 14:52:25 -07:00
Andrew Burger
1a96de4518 Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-14 14:52:25 -07:00
Andrew Burger
645bcc5eff Merge branch 'episys/andrew/ul_config_req_filtering' into 'episys/master'
Episys/andrew/ul config req filtering

See merge request aburger/openairinterface5g!2
2020-10-12 14:35:53 -07:00
Andrew Burger
ec4a05515c Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-12 14:35:53 -07:00
Michael Cook
ee8781f7e1 Support for using gprof profiling 2020-10-11 12:31:40 -04:00
Michael Cook
7d0497ca80 Fix a compiler warning 2020-10-11 11:02:47 -04:00
Michael Cook
79ba247fe6 Catch SIGTERM and attempt to exit cleanly
This change is to enable use of gprof which requires the process
call `exit` to write out the collected data.

The UE (lte-uesoftmodem) exits cleanly, but the eNB
(lte-softmodem) crashes as it tries to shut down...
2020-10-11 10:22:24 -04:00
Michael Cook
f4fc89bce8 Uninitialized memory
Found by valgrind
2020-10-10 12:06:32 -04:00
Michael Cook
da81c6f97b Fix uninitialized memory
Found by valgrind
2020-10-10 11:56:55 -04:00
Michael Cook
870465e0a9 Fix numerous uninitialized memory issues
Found by valgrind.
2020-10-10 11:00:38 -04:00
Michael Cook
920fde6a69 Fix a compiler warning 2020-10-10 11:00:19 -04:00
Michael Cook
f489a751b9 Fix memcpy with overlapping memory
Found by valgrind.
2020-10-10 10:40:26 -04:00
Raymond Knopp
da82cd9a91 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop
Conflicts:
	openair1/SIMULATION/NR_PHY/ulsim.c
2020-10-09 18:38:29 +02:00
Raymond Knopp
9540a0d34a minor changes in ulsim 2020-10-09 18:35:16 +02:00
Andrew Burger
03157f93d6 Merge branch 'episys/andrew/msg4_reception_failure' into 'episys/master'
Episys/andrew/msg4 reception failure

See merge request aburger/openairinterface5g!1
2020-10-02 15:19:12 -07:00
Andrew Burger
ce2cbb9017 Episys/andrew/msg4 reception failure 2020-10-02 15:19:11 -07:00
Michael Cook
ed01a338c0 Fix compiler warnings 2020-09-26 13:31:46 -04:00
Andrew Burger
a67379ea52 platform constants change 2020-09-21 18:13:27 -07:00
Andrew Burger
6d566eb583 Merge branch 'episys/andrew/debugging_rach+fixing_rx_unpack' into 'episys/master'
Episys/andrew/debugging rach+fixing rx unpack

See merge request aburger/openairinterface5g!4
2020-09-19 11:32:25 -07:00
Andrew Burger
516de3ae9c fixing remove ul_config_req pdu func 2020-09-19 11:30:03 -07:00
Andrew Burger
129b95eec5 removing comment 2020-09-18 17:28:21 -07:00
Andrew Burger
634872b611 Changing back to 10 max indicies 2020-09-18 17:27:42 -07:00
Andrew Burger
fe6d713988 Cleaning up merge request 2020-09-18 16:58:16 -07:00
Andrew Burger
9bb8390578 Merge branch 'episys/master' into episys/andrew/debugging_rach+fixing_rx_unpack 2020-09-18 14:34:54 -07:00
Andrew Burger
f383a5bc5b Wrong code 2020-09-18 14:24:20 -07:00
Andrew Burger
d3747fe122 non-used code 2020-09-18 13:55:48 -07:00
Andrew Burger
78744a4f7a Added dropping multi cqis 2020-09-18 13:16:32 -07:00
Andrew Burger
08e52445a4 Before testing 2020-09-18 09:11:56 -07:00
Andrew Burger
fc0673bdd1 Allocating memory for new oai unpack rx_ind func 2020-09-17 12:27:42 -07:00
Andrew Burger
7045166f68 cant unpack rx_ind in UE 2020-09-16 10:44:05 -07:00
Andrew Burger
6ed8610a53 Fix for rx_ind 2020-09-16 09:54:52 -07:00
Andrew Burger
2d657b5e30 another rx_ind print 2020-09-15 16:54:08 -07:00
Andrew Burger
6cef6c340c print function for rx_ind 2020-09-15 16:23:52 -07:00
Andrew Burger
8852bb19c9 Adding hexdump logs in unpack 2020-09-15 14:44:43 -07:00
Andrew Burger
e19cee6386 hexdumping packed buffer 2020-09-15 14:12:42 -07:00
Andrew Burger
9339b06315 pack unpack 2020-09-15 13:45:34 -07:00
Andrew Burger
791347d5da forgot comma 2020-09-15 13:36:22 -07:00
Andrew Burger
1655324b69 Some logging 2020-09-15 13:35:23 -07:00
Andrew Burger
348fcb47b2 Logging 2020-09-12 15:04:13 -07:00
Andrew Burger
90af41e68e Logging buflen of rx_ind data 2020-09-12 14:47:31 -07:00
Andrew Burger
3d39494854 Logging cqi issue re emerging 2020-09-09 09:30:22 -07:00
Andrew Burger
915be291cb Damn Fujitsu 2020-09-08 14:57:55 -07:00
Andrew Burger
96d7214c68 Changing constants 2020-09-08 14:50:20 -07:00
Andrew Burger
821ef8572a RRCConnectionsetup happening too early 2020-09-08 12:14:26 -07:00
Andrew Burger
25f8761b84 whoops 2020-09-08 11:15:44 -07:00
Andrew Burger
96b5525d88 removal of LOG_A messages 2020-09-08 10:50:46 -07:00
Andrew Burger
465f1a77e0 New prach procedures 2020-09-08 10:31:36 -07:00
Andrew Burger
d089d4a289 Additional warning/Analysis logs 2020-09-06 11:45:18 -07:00
Andrew Burger
3483f7ad36 New timing members 2020-09-06 11:31:55 -07:00
Michael Cook
a0797e76c4 Use LOG_A for lte_timing_analysis.py 2020-09-06 11:29:39 -07:00
Andrew Burger
851170379c Log_As 2020-09-06 11:01:17 -07:00
Michael Cook
1f771f74a2 Change some printf statements to LOG_I
The printfs were mangling the log.
2020-09-06 10:45:03 -07:00
Andrew Burger
09b6294b24 Merge branch 'episys/log-A' into 'episys/master'
Use LOG_A for log messages intended for analysis

See merge request aburger/openairinterface5g!2
2020-09-06 10:24:19 -07:00
Michael Cook
3a2e4a3189 Use LOG_A for log messages intended for analysis
This change allows us to disable the LOG_I messages to reduce
overhead.

Removed LOG_VAR macro because it was used in only one place, and
a better solution is to simply use `__attribute__((unused))`.
2020-09-06 07:54:56 -07:00
Andrew Burger
506000cdc9 Saving work 2020-09-05 10:30:32 -07:00
Michael Cook
36c9df19b8 Merge branch 'episys/fixing_cqi_problem' into 'episys/master'
Episys/fixing cqi problem

See merge request aburger/openairinterface5g!1
2020-09-02 12:27:09 -07:00
Andrew Burger
79df38d515 Episys/fixing cqi problem 2020-09-02 12:27:09 -07:00
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
Michael Cook
24f82c5d6f Revert unnecessary whitespace changes
Relative to origin/develop
2020-08-08 08:57:35 -04:00
Andrew Burger
319b0fde99 Cleaning up logs removing unecessary code 2020-07-25 12:14:56 -07:00
Michael Cook
681d705e2e Fix warning 2020-07-25 12:12:03 -04:00
Michael Cook
66bfc517d1 Restore wacky carriage returns
This file has a mixture of line endings: some lines end in CR/LF,
others end in only LF.  Editors tend not to like this and will
switch the whole file to one kind of line ending or the other,
introducing gratuitous whitespace changes.
2020-07-25 11:56:33 -04:00
Michael Cook
3f874ee6ac Revert whitespace changes 2020-07-25 11:39:44 -04:00
Andrew Burger
5ead5cf2da Fixed memory error 2020-07-24 15:19:04 -07:00
Andrew Burger
5db290dd96 Need to fix these carriage returns but here are some important changes 2020-07-24 10:38:46 -07:00
Andrew Burger
b397bc4460 Broken Message still 2020-07-22 16:30:08 -07:00
Andrew Burger
4e1f08fd7e Debugging after msg4 Problem 2020-07-22 12:01:15 -07:00
Michael Cook
8c75f74cd1 Don't invoke multicast_link_start for NFAPI_MODE_STANDALONE_PNF
This code was previously commented out.
But the `if` expression was wrong.
2020-07-19 14:05:15 -04:00
Michael Cook
5714440427 Cleanup
Revert unnecessary changes relative to origin/develop

Reviewed with Andrew
2020-07-19 13:42:35 -04:00
Michael Cook
5ed1390898 Fix warnings 2020-07-19 12:24:48 -04:00
Michael Cook
c508d51b21 Remove color escape sequences in log messages
They cause more grief than they're worth

Define `LOG_WITH_COLORS` to re-enable them
2020-07-19 12:23:57 -04:00
Andrew Burger
8536a38f64 Merge branch 'episys/new_pnf_system' of 10.1.1.52:aburger/openairinterface5g into episys/new_pnf_system 2020-07-17 09:52:56 -07:00
Andrew Burger
8e706131d1 New logs 2020-07-17 09:52:17 -07:00
Melissa Elkadi
aeac176418 Turned off color in log messages 2020-07-17 08:07:24 -07:00
Andrew Burger
03e0656e69 Debugging msg4 2020-07-16 12:29:05 -07:00
Andrew Burger
efb786d808 Merge branch 'episys/sfn_semaphore' into episys/new_queue_system 2020-07-13 11:30:27 -07:00
Andrew Burger
f3d30dae15 Removed trailing white space and added subfram and frame log to CRC_IND 2020-07-13 10:59:48 -07:00
Andrew Burger
42709fce5a Fixing subframe issue in UE UL 2020-07-13 10:37:37 -07:00
Andrew Burger
864e594e14 Removed logging to speed up system 2020-07-11 10:20:14 -07:00
RS
7b387999b3 Replaced usleep with semaphore for current_sfn_sf 2020-07-10 15:05:02 -07:00
Andrew Burger
9a8880fd39 Added timestamps and logging 2020-07-10 10:39:55 -07:00
Andrew Burger
423cd20c43 Changes to sfn_sf before sending to Raymond 2020-07-09 11:09:26 -07:00
Andrew Burger
1fd307636a Fixing sf_ahead variable 2020-07-08 15:32:42 -07:00
Andrew Burger
4ae7d777bb added logging for debugging sockets and changed connect to bind 2020-07-08 10:03:42 -07:00
Andrew Burger
ddca335b5e New address port setup 2020-07-07 16:11:50 -07: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
RS
3936ceaa36 UE socket changed from SCTP to UDP 2020-07-01 11:48:31 -07: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
Andrew Burger
4b5f608c44 Added logging of encoded size 2020-06-30 15:29:53 -07:00
Michael Cook
d836650d41 Call sched_setscheduler 2020-06-27 14:24:56 -04:00
Michael Cook
2499b48092 Fix hexdump signature 2020-06-27 12:21:58 -04: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
Andrew Burger
ac9076761a Allowing fill functions to set correct headers 2020-06-25 17:02:57 -07:00
Andrew Burger
b6fbb51d7d Additional logging for debugging fill functions 2020-06-24 15:12:00 -07:00
Andrew Burger
16209b0555 Changes for supporting UL_config req and DCI0_req 2020-06-24 11:46:22 -07:00
Andrew Burger
6a34a8ad39 Adding ul_config_req cleanup and hi_dci0_req 2020-06-24 11:11:19 -07:00
Michael Cook
03394da33f Revert whitespace changes 2020-06-20 08:37:37 -04:00
Michael Cook
8204f3eaeb Restore original UE_phy_stub_single_thread_rxn_txnp4
Rename our version to `UE_phy_stub_standalone_pnf_task`
2020-06-20 08:35:14 -04:00
Michael Cook
92a64358d5 Fix nfapi_str_mode type 2020-06-20 08:34:59 -04:00
Michael Cook
bde572d9c3 Remove redundant declaration of send_standalone_dummy
It's in phy_stub_UE.h
2020-06-20 07:34:42 -04:00
Michael Cook
21bb7b84cd Revert some whitespace changes 2020-06-20 07:34:25 -04: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
Andrew Burger
c39276cadb Added send nfapi functions including send dummy 2020-06-16 16:39:11 -07:00
Andrew Burger
79f13e919f Added send standalone msg 2020-06-16 11:38:34 -07:00
Andrew Burger
bfc1e8b7d7 Cleaned up behemoth 2020-06-15 15:31:01 -07:00
Michael Cook
b5708a3a80 Checkpoint. 2020-06-13 10:53:01 -04:00
Michael Cook
6e721cec84 Move queue_t into it own .h, .c 2020-06-13 10:27:52 -04:00
Melissa Elkadi
7c37d6d3f2 Fixed compilation issues with standalone rach function 2020-06-12 14:25:27 -07:00
Andrew Burger
4d98e76d0c Rach being generated I think 2020-06-11 15:50:02 -07:00
Andrew Burger
1dc4eb00ff Rach Problem Solves Hopefully 2020-06-11 14:40:41 -07:00
Andrew Burger
04d27b9c64 Finalized Raymond changes 2020-06-11 03:50:06 -07:00
Andrew Burger
898d402ac0 trying to get oai sfnTo work 2020-06-10 13:30:06 -07:00
Andrew Burger
e7eabf3f0f Notes for Sync changes and format cleanup 2020-06-09 10:09:32 -07:00
Andrew Burger
de33309935 New changes to get rach working.. Still not working 2020-06-08 10:41:34 -07:00
Andrew Burger
3c9cb7f161 pairing up the dl_config_req and tx_req
Going wild..
2020-06-06 11:28:03 -07: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
Andrew Burger
af92c512cf Major queue changes note all the log supressions 2020-06-04 15:54:38 -07:00
Sy
119be5d45b Re-implementation of memcpy--> more faster | llr2cnProcBuf, cn2bnProcbuf, bn2cnProcBuf are optimized 2020-06-04 02:52:35 +02:00
Andrew Burger
1b4c8d9ebe Before explosion of Andrews machine 2020-06-03 14:55:40 -07: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
Andrew Burger
f815a22eb4 Changes to allow dl_config_req and tx_req to be sent without crashing 2020-06-01 15:23:04 -07: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
Andrew Burger
df2134026a OAI UE receive dl_config_request and call memcpy additions 2020-05-30 12:50:27 -07:00
Michael Cook
d3398332c7 Fix build issues 2020-05-30 13:47:28 -04:00
Andrew Burger
d6b038fa27 Trying to read a single packet inside oai ue 2020-05-29 15:57:43 -07:00
Andrew Burger
ebc8d95dc7 Base skeleton and comments of where socket needs to be implemented 2020-05-29 11:38:23 -07: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
2563 changed files with 249954 additions and 1115790 deletions

187
.clang-format Normal file
View File

@@ -0,0 +1,187 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
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: 200
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
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,7 +8,6 @@ cmake_targets/ran_build/
cmake_targets/nas_sim_tools/build/
log/
lte_build_oai/
targets/bin/
# vscode
.vscode
@@ -18,3 +17,8 @@ GPATH
GRTAGS
GTAGS
tags
# others
nfapi_nr_interface_scf
*.log
*.out

11
.vscode/launch.json vendored
View File

@@ -8,14 +8,17 @@
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "enter program name, for example ${workspaceFolder}/a.exe",
"args": [],
"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}",
"cwd": "${workspaceFolder}/cmake_targets",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/path/to/gdb",
"miDebuggerPath": "${workspaceFolder}/cmake_targets/sudo-gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",

File diff suppressed because it is too large Load Diff

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

@@ -1,6 +1,25 @@
# OpenAirInterface License #
<h1 align="center">
<a href="https://openairinterface.org/"><img src="https://openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png" alt="OAI" width="550"></a>
</h1>
OpenAirInterface is under OpenAirInterface Software Alliance license.
<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>
</p>
<p align="center">
<a href="https://jenkins-oai.eurecom.fr/job/RAN-Container-Parent/"><img src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fjenkins-oai.eurecom.fr%2Fjob%2FRAN-Container-Parent%2F&label=build%20Images"></a>
</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>
</p>
# OpenAirInterface License #
* [OAI License Model](http://www.openairinterface.org/?page_id=101)
* [OAI License v1.1 on our website](http://www.openairinterface.org/?page_id=698)
@@ -17,11 +36,20 @@ Please see [NOTICE](NOTICE.md) file for third party software that is included in
* [How to build](./doc/BUILD.md)
* [How to run the modems](./doc/RUNMODEM.md)
More information and documentation can be found in the [doc folder](./doc).
Unfortunately, not all information is available there, 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
├── ci-scripts : Meta-scripts used by the OSA CI process. Contains also configuration files used day-to-day by CI.
├── cmake_targets : Build utilities to compile (simulation, emulation and real-time platforms), and generated build files.
@@ -69,5 +97,6 @@ openairinterface5g
│   ├── TEST
│   ├── UDP
│   └── UTILS
├── radio : drivers for various radios such as USRP, AW2S, RFsim, ...
└── 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>
```

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,24 +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:
# 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,49 +0,0 @@
apiVersion: apps/v1
kind: Deployment
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 }}
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-ldpctest
# volumeMounts:
# - mountPath: /opt/oai-ldpctest/certs
# name: certs
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
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 "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,17 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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-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 }}
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-dlsim
# volumeMounts:
# - mountPath: /opt/oai-nr-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 "015105" -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,17 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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,24 +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:
# 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,24 +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:
# 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,24 +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:
# 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,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,17 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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,13 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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,17 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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 }}

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}
labels:
{{- include "oai-polartest.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if contains "ClusterIP" .Values.service.type }}
clusterIP: None
{{- end }}
ports:
- name: oai-polartest
# Port accessible outside cluster
port: {{ .Values.service.port }}
# Port to forward to inside the pod
targetPort: {{ .Values.service.Port }}
protocol: TCP
selector:
{{- include "oai-polartest.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,17 +27,7 @@ podSecurityContext:
runAsGroup: 0
securityContext:
privileged: true
# capabilities:
# 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-smallblocktest.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-smallblocktest.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "oai-smallblocktest.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-smallblocktest.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 }}

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