Commit Graph

8003 Commits

Author SHA1 Message Date
Andre Puschmann ace8ff2a95 build: fix linking failure on RPi 32bit
this fixes a linking problem with RPi 3 (and probably others) running
with Raspbian (new Raspberry Pi OS) that can't use the inline
atomic functions but instead require linking against the lib -latomic.

The CMake code is based on SoapyRTLSdr file (licensed under MIT)
https://github.com/pothosware/SoapyRTLSDR/blob/master/CheckAtomic.cmake
2021-05-12 21:04:12 +02:00
Francisco 72bff83b63 check if MME-UE-S1AP-ID has been yet assigned before sending UL NAS Transport. If it hasn't log error and abort s1 tx. 2021-05-10 15:35:28 +01:00
Francisco cdd3932e73 Fix GTPU RRC reestablishment handling
- GTPU bearers rnti is correctly updated during RRC reestablishment
- Create rnti_map_t typedef for circular maps of rntis
- Failed GTPU rnti creation is now handled
- Extend indirect GTPU tunnel timeout to 2000msec
- Support EIA0 during S1 Handover
2021-05-10 15:22:02 +01:00
Francisco 24a7ea9c6a Change enb max_nof_ues config parameter to nof_prealloc_ues 2021-05-10 14:29:25 +01:00
Francisco 4aa100f7ae GTPU bearer removal fixes
- call gtpu rem bearer when erab is removed
- fix gtpu bearer removal during handover
2021-05-10 14:23:24 +01:00
Francisco b94b0e77b3 Several fixes in UL scheduler
- Limit minimum UL grant size to accommodate both BSR and RLC headers
- Limit UL CQI update to PUSCH SNR reports
- Avoid TPC commands when target PUSCH and PUCCH SNR are not specified
2021-05-10 14:16:35 +01:00
Francisco ad03a147d3 avoid logging error message when UE sends CRNTI MAC CE for old rnti whose context has already been erased 2021-05-10 14:02:11 +01:00
Codebot d0c3a42326 Merge branch 'next' into agpl_next 2021-04-30 16:12:22 +02:00
Andre Puschmann 9f9fbe2420 readme: update list url 2021-04-30 15:52:11 +02:00
Codebot f66600cd67 Merge branch 'next' into agpl_next 2021-04-30 15:45:53 +02:00
Andre Puschmann 271d1c3112 readme: update badge url 2021-04-30 15:43:51 +02:00
Codebot 6731baa6b3 Merge branch 'next' into agpl_next 2021-04-30 12:42:12 +02:00
Andre Puschmann 0d74b4b778 readme: update coverity badge 2021-04-30 12:41:09 +02:00
Codebot 30df8052ce Merge branch 'next' into agpl_next 2021-04-30 12:37:29 +02:00
Andre Puschmann 566d985472 readme: update link to mailing list 2021-04-30 12:34:46 +02:00
Andre Puschmann cd061d46e6 metrics_stdout: remove obsolete if 2021-04-30 12:33:35 +02:00
Codebot 77908eed1c Merge branch 'next' into agpl_next 2021-04-30 09:24:44 +02:00
faluco 90e23d9de6 Print in the ue stdout metrics the CC number for LTE and the RAT for NR. 2021-04-29 22:48:03 +02:00
faluco b9be7c7594 Small cleanup in the stdout UE metrics.
- Switch to use fmt for formatting the output.
- Change the CC column to be rat now.
- Reworked and re-styled the column alignment.
2021-04-29 22:48:03 +02:00
Francisco 5cecb40410 rlc,bugfix - increase pdcp sn notification ack list maximum size 2021-04-29 15:41:00 +02:00
Francisco ad1a0eb2ac rlc,fix - Add PDCP PDUs to undelivered_sdu_info_queue when the PDUs are popped from the tx_sdu_queue, rather than they are pushed to.
- This simplifies the sdu discard
- This also fixes an existing race condition
2021-04-29 15:41:00 +02:00
Andre Puschmann 526a076906 readme: update CI banners 2021-04-29 15:16:19 +02:00
Xavier Arteaga 95dafcb413 SRSUE: fix NR carrier PCI in metrics 2021-04-29 15:14:12 +02:00
Codebot c950209902 Merge branch 'next' into agpl_next 2021-04-29 11:46:34 +02:00
David Rupprecht c8b03a20fb Updated findBackward cmake file to suppress dev warnings 2021-04-29 10:06:37 +02:00
Andre Puschmann 3b553359c0 cmake: fix some warnings 2021-04-29 10:06:37 +02:00
Nikita Pushchin 8622b1c284 cmake/modules fix 2021-04-29 10:06:37 +02:00
Andre Puschmann 598594c51a all: bunch of pass by const& changes suggested by LGTM 2021-04-29 10:00:09 +02:00
Francisco 7ced0e73eb rlc,bugfix - avoid accessing the PDCP info of RLC segments when the PDCP has already discarded the respective PDCP SN. 2021-04-28 21:15:00 +02:00
Andre Puschmann 597729ac53 rlc: always remove PDCP SNs from undelivered queue
if RLC PDUs with certain PDCP SNs were already in flight
when their discard timer at PDCP expires, they weren't
remove from the undelivered_sdu_info_queue causing
indesired log entries like:

08:08:52.455280 [RLC    ] [W] PDCP_SN=2103 already marked as undelivered

when the SN was sent again (after wrap around).

The patch makes sure to always try to delete the PDCP SN
from the queue. It should fix (at least partly) #2560
2021-04-28 21:15:00 +02:00
Andre Puschmann 20075f6f33 rf_uhd_generic: fix segfault when accessing device tree
for some reasons the dev tree isn't available on the X310
with UHD4 and the code never checked the return value, causing
a segfault with that combo.
2021-04-28 20:24:17 +02:00
Xavier Arteaga 949ce965c7 Fix SCH NR CRC check 2021-04-28 20:23:52 +02:00
Xavier Arteaga e1ff824cc2 SRSUE avoid NR SR in UCI for PUSCH 2021-04-28 20:23:52 +02:00
Xavier Arteaga fb5dfb3a86 Improved NR unit test 2021-04-28 20:23:52 +02:00
Xavier Arteaga 28170c92a9 Multiple NR SCH fixes 2021-04-28 20:23:52 +02:00
Xavier Arteaga efb8da69d8 Cleaned DCI NR info string 2021-04-28 20:23:52 +02:00
Xavier Arteaga 8cb3e92ab3 Added LDPC flooded early stop 2021-04-28 20:23:52 +02:00
Xavier Arteaga 033661182a Aded SF len macro for NR 2021-04-28 20:23:52 +02:00
Xavier Arteaga 6c39a5e4ff Added PDSCH DMRS aditional unpacking 2021-04-28 20:23:52 +02:00
Xavier Arteaga 334b308c35 Fix DCI NR configuration from main configuration 2021-04-28 20:23:52 +02:00
Xavier Arteaga 86ad0446e1 Added NR PDSCH and PUSCH resource allocating flattening 2021-04-28 20:23:52 +02:00
Xavier Arteaga 892aea8219 Fix coverity warnings under lib/src/phy/utils 2021-04-28 16:53:44 +02:00
Xavier Arteaga 87cf3cf2e5 Fix coverity warnings under lib/src/phy/phch 2021-04-28 16:53:44 +02:00
Francisco 3f64b94a0f increase asn1 variable length field intermediate buffer, to support longer UE Radio Capabilities messages 2021-04-28 16:01:22 +02:00
Andre Puschmann 2a30cc72ab
Merge pull request #2758 from softwareradiosystems/pr_merge_with_master
Merge public master into `dev`
2021-04-28 16:00:31 +02:00
Andre Puschmann c86d38b8fa Merge remote-tracking branch 'github_public/master' into pr_merge_with_master 2021-04-28 13:14:13 +02:00
David Rupprecht bde30bb9be Added tests for band helper 2021-04-28 12:43:58 +02:00
Andre Puschmann 937c4ff3c3 demod_soft: removed unused NEON code
clang complained about unused code, so remove it of course.
2021-04-28 12:42:44 +02:00
Codebot 887f1da10c Merge branch 'next' into agpl_next 2021-04-28 12:40:09 +02:00
Xavier Arteaga 71226e89df Minor dereference check 2021-04-28 10:28:09 +02:00