Commit Graph
23403 Commits
Author SHA1 Message Date
francescomani d8612a6ca7 some more cleanup 2023-01-23 11:13:05 +01:00
francescomani b4b5516ca7 remove NUMBER_OF_NR_SRS_MAX 2023-01-23 11:13:05 +01:00
francescomani 571f488ddb remove NUMBER_OF_NR_CSIRS_MAX 2023-01-23 11:13:05 +01:00
francescomani dd24ddd645 remove NUMBER_OF_NR_PUCCH_MAX 2023-01-23 11:13:05 +01:00
Cedric Roux 698122d6d2 bugfix: fix sdap
There was a problem testing accelleran cu + oai du + oai ue + rfsim
because accelleran cu configures sdap header for UL but not for DL
and our sdap implementation deals with either "no sdap header at all"
or "sdap headers for both UL and DL".

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

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

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

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

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

See merge request oai/openairinterface5g!1919

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

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

  if (condition)
    macro;

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

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

See merge request oai/openairinterface5g!1906

!1796 Make SFN dependent on GPS time
!1874 Processing time optimization for SRS
!1881 Fix documentation of dot_product()
!1884 Prevent Msg3 to be scheduled in downlink slot when nrofUplinkSymbols = 0 and DDDSU
!1888 Adopting new BWP structure at UE (first MR)
!1890 Fix setup_time overflow in VNF processing thread
!1892 system.c cleaning check result of system call
!1893 fix buildhelper Soapy folder name, case not respected, reinstall was broken
!1894 doc(ci): adding constraint on the branch name
!1895 ASN_SEQUENCE_ADD return code was checked only in 0.5% of calls
!1900 bugfix CU/DU: use correct IP address for GTP-U
!1901 Adding NRPPA ASN1 definitions and library
!1903 bugfix in function channelmod_modify_cmd
!1867 CI: new Python classes for SSH & Local execution
restore LDPC docs
2023-01-14 08:39:57 +00:00
Robert Schmidt 7d3100dbe7 Force correct min_rxtxtime in OAI UE test 2023-01-13 13:42:13 +01:00
Robert Schmidt 18b9135c4f Fix warning in nFAPI 2023-01-12 18:05:16 +01:00
Robert Schmidt 75e542c6ad Restore LDPC decdoer documentation 2023-01-12 18:02:45 +01:00
Robert Schmidt da099ca77a Merge remote-tracking branch 'origin/ci-new-ssh' into integration_2023_w02 2023-01-12 17:58:09 +01:00
Robert Schmidt f36d7e8e96 Merge remote-tracking branch 'origin/bugfix_channelmod_modify_cmd' into integration_2023_w02 2023-01-12 17:57:23 +01:00
Robert Schmidt 1e812a4b7c Merge remote-tracking branch 'origin/nrppa_new' into integration_2023_w02 2023-01-12 17:57:14 +01:00
Robert Schmidt 2c3e4ef47f Merge remote-tracking branch 'origin/bugfix-cu-du-gtpu-correct-address' into integration_2023_w02 2023-01-12 17:57:06 +01:00
Robert Schmidt 47a4da8d5f Merge remote-tracking branch 'origin/fix-check-return-ASN_SEQUENCE_ADD' into integration_2023_w02 2023-01-12 17:56:56 +01:00
Robert Schmidt 3598180557 Merge remote-tracking branch 'origin/documentation-branch-name' into integration_2023_w02 2023-01-12 17:56:13 +01:00
Robert Schmidt a040fbddf2 Merge remote-tracking branch 'origin/kharobcom_fixbuildhelper' into integration_2023_w02 2023-01-12 17:56:03 +01:00
Robert Schmidt 6620471822 Merge remote-tracking branch 'origin/kharobcom_cleansystemfile' into integration_2023_w02 2023-01-12 17:55:54 +01:00
Robert Schmidt da70a37551 Merge remote-tracking branch 'origin/FAPI_fix_setup_time_from_overflowing' into integration_2023_w02 2023-01-12 17:55:42 +01:00
Robert Schmidt ce1246e0dd Merge remote-tracking branch 'origin/NR_UE_BWP_reworking' into integration_2022_wk02 2023-01-12 17:49:22 +01:00