Ismael Gomez
c096270fc7
ue,nr: ignore NDI if received on T-CRNTI or RAR
2021-10-21 22:17:30 +02:00
faluco
d7e8d6bf65
Fix data race in mux_nr::add_bsr_ce.
2021-10-20 18:08:41 +02:00
Carlo Galiotto
4e3564a8a2
mac,stdout: add PUSCH and PUCCH SINR to stdout
...
This commit implements the PUCCH and PUSCH metrics in the MAC,
to be displayed in the eNB console.
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-20 17:47:00 +02:00
Ismael Gomez
d32bfa3756
remove warning when UE is already in camping
2021-10-19 15:16:52 +02:00
Francisco
81174bda64
nr,ue,rrc: release NR logical channels during RRC release
2021-10-15 18:28:09 +01:00
Bedran Karakoc
0507d9df2b
nas,nr: Fix ciphering and sequence numbers in NAS
2021-10-15 14:47:22 +02:00
Andre Puschmann
908c469f30
sync: don't fail camping on cell if current and target srate match
...
this fixes #3437 . The check/requirement for target srate to be different
to current srate isn't needed, and in fact fails for 6 PRBs where both are
indentical always.
2021-10-14 21:21:58 +02:00
Andre Puschmann
1068a84bd0
sync: fix typo
2021-10-14 21:21:58 +02:00
Xavier Arteaga
1bffebe0bf
Removed cached PRACH signals
2021-10-14 09:46:15 +02:00
Alejandro Leal Conejos
1a64c6adad
Enum fixes so clang 12 can build the repo
2021-10-14 08:48:04 +02:00
Xavier Arteaga
4cea3d92bd
NR PHY accepts multiple SF PRACH sequence
2021-10-13 11:00:03 +02:00
David Rupprecht
5c44d774d0
Added 5G Metrics
2021-10-12 10:48:10 +02:00
David Rupprecht
59e847ba08
Added NAS 5G args
2021-10-12 10:48:10 +02:00
David Rupprecht
5910d8847a
Split NAS security ctxt
2021-10-12 10:48:10 +02:00
Francisco
b8976ca463
nr,ue,rrc: avoid configuring the CSI until NR RA is complete
2021-10-08 12:15:55 +01:00
Francisco
47e5e85449
refactor: clean unnecessary includes of the asn1/rrc_nr.h
2021-10-07 23:08:07 +01:00
Bedran Karakoc
1e1e1420b1
Return AUTS in authentication failure for case AUTH_SYNCH_FAILURE
2021-10-06 20:01:00 +02:00
Bedran Karakoc
de750fad09
Added helper function for replayed security capabilities
2021-10-06 20:01:00 +02:00
Bedran Karakoc
193ec4abfa
Trigger switch_off in NAS
2021-10-06 20:01:00 +02:00
Bedran Karakoc
441251bdd1
Remove unused parameter
2021-10-06 20:01:00 +02:00
Bedran Karakoc
a4cc9b6ca0
Fix handle_authentication_request and add handler for authentication reject
2021-10-06 20:01:00 +02:00
Bedran Karakoc
e8bcc0a61e
Added handler for identity request and sender for identity response
2021-10-06 20:01:00 +02:00
Bedran Karakoc
850606f20b
Added deregistration (UE terminating)
2021-10-06 20:01:00 +02:00
Xavier Arteaga
d5b34696b4
Sepparate CSI report configuration from quantification and integrate in nr_phy_test with assertions
2021-10-06 16:33:51 +02:00
faluco
a9c65bd369
UE: Implement a thread safe wrapper class for accessing the mac_grant_ul_t member in ul_harq_process.
...
This fixes many race conditions detected by TSAN around this class.
2021-10-06 14:47:23 +02:00
faluco
6c4548c243
Fix several data races in LTE and NR harq classes.
2021-10-06 14:47:23 +02:00
faluco
666cb73cc9
Fix data race in phy_common::set_neighbour_cells.
2021-10-02 17:40:34 +02:00
faluco
72088dadb5
Fix race conditions in intra measure class.
2021-10-02 17:40:34 +02:00
Andre Puschmann
bf2606f94e
ue,mac_nr: fix race condition by using thread-safe RNTI class
2021-09-30 10:36:29 +02:00
Ismael Gomez
c09f09b7be
Move rrc_common from srsue to lib
2021-09-29 21:39:56 +02:00
Fabian Eckermann
8830c2796f
Add support for NSA FDD on band n3, n5 and n7.
2021-09-29 16:03:44 +02:00
Andre Puschmann
bed4cfb5e5
ue,mac_nr: fix generation of padding BSRs
...
* in Msg3 don't add explicit SBSR (rely on padding BSR to add)
* fix padding BSR generation to always use padding bytes to add it
2021-09-27 21:15:30 +02:00
faluco
fa351cd285
Rename functions that contain the unsafe word to nolock.
...
The term "unsafe" does not clearly state that the function is not locking the shared date and it sounds "dangerous", so use a more explicit term.
2021-09-27 13:26:21 +02:00
Bedran Karakoc
43915550cc
NGAP GTP Bearer Establishment
2021-09-22 15:15:47 +02:00
David Rupprecht
3712983308
Added PDU Session est request
2021-09-22 15:15:47 +02:00
David Rupprecht
c670383ae9
Added NAS 5G functions incoming msg and reg proc
2021-09-22 15:15:47 +02:00
faluco
55f5f74ff3
Fixed case where calling gw::setup_if_addr after ue attachment would spawn a new thread without closing the current one.
...
This would end up being a resource leak as the number of threads grow forever until the application crashes.
2021-09-22 13:26:59 +02:00
Andre Puschmann
26cc6d7886
ue: remove stack type parameter
...
for the moment we always use the LTE stack (also for NSA mode).
For SA we likely pick a smarter approach to pick the stack type, i.e.
using the ARFCN specified in the config.
2021-09-22 10:56:56 +02:00
Ismael Gomez
ad646f436c
Ignore PDSCH during cell selection
2021-09-21 11:09:34 +02:00
Xavier Arteaga
de00b80228
Review NR NSA CFO estimation and compensation
2021-09-20 20:48:08 +02:00
faluco
c2b705c5ce
Fix several data races in proc_phr, class needs to be fully protected since most member variables are accessed by different threads.
2021-09-17 11:34:28 +02:00
faluco
6b07e886b7
Fix data race in is_first_ul_grant.
2021-09-17 11:34:28 +02:00
faluco
1e3ba607ce
Fix data race in is_pending_tx_end.
2021-09-17 11:34:28 +02:00
faluco
7dae4a491e
Fix data race in ue_stack_lte::ul_dropped_sdus.
2021-09-17 11:34:28 +02:00
faluco
1796e12084
Fix data race in ul_harq_entity.
2021-09-17 11:34:28 +02:00
faluco
2b73beb3dd
Fix data race in ul_harq.
2021-09-17 11:34:28 +02:00
David Rupprecht
e8a464228d
Cleaned string helpers
2021-09-16 15:24:32 +02:00
Andre Puschmann
ab6210b1fc
ue,proc_sr_nr: add mutex to protect access from PHY and Stack
...
also detected by TSAN
2021-09-16 15:22:59 +02:00
Andre Puschmann
2248e63219
ue,proc_ra_nr: add mutex to protect access from PHY and Stack
...
detected with TSAN
2021-09-16 15:22:59 +02:00
Andre Puschmann
cc2d71183e
ue,phy,nr: fix race condition when setting UL grant for Msg3
...
the Msg3 UL grant requires the TTI in which the RAR has been received
to calcualte the correct timing. There was a race between PHY and Stack
thread.
This patch circumvents the issue by removing a PHY state member that only holds
the RAR Rx timing. In the new interface the RA proc passes the Rx TTI
to the PHY again when setting the UL grant so the PHY can calculate the
correct timing without any state.
2021-09-16 15:22:59 +02:00