faluco
9075251627
Move the cleanup code from the signal handlers down to the new emergency handlers for the ue, epc and enb.
2021-10-15 15:05:37 +02:00
Bedran Karakoc
0507d9df2b
nas,nr: Fix ciphering and sequence numbers in NAS
2021-10-15 14:47:22 +02:00
Andre Puschmann
c467c3c0e6
ue,rrc_nr: remove warning when zp_csi_rs_res_to_add_mod_list is not present
...
we currently don't enable ZP CSI in the eNB so the warning can be removed.
2021-10-15 10:58:31 +02:00
faluco
5f648d195c
Implement JSON reporting in the scell search test.
2021-10-15 10:44:37 +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
Andre Puschmann
fed53c91d0
mac_nr_test: add TC to reproduce #3325
...
extend the rlc_dummy to allow providing different RLC PDUs.
add TC for issue #3325 but leave the original TV because it is very large.
2021-10-14 11:16:37 +02:00
Andre Puschmann
7cbd3d50b7
mac_sch_pdu_nr,bsr: fix length check for BSR
...
fix nasty bug where the length calucation for the LCID
was taking the bsr_format_nr_t that was having the same name.
2021-10-14 11:16:37 +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
753edc7d7b
Force NR PRACH scaling to 0.99 of the DAC dynamic range
2021-10-13 11:00:03 +02:00
Xavier Arteaga
c7940f455c
More clear equation to calculate number of PRACH subframes
2021-10-13 11:00:03 +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
Xavier Arteaga
9d4fd1c5cc
Add NR SFN from SSB assertion and fix dummy SSB scheduling
2021-10-08 09:49:07 +02:00
Xavier Arteaga
954d6f5f8d
Removed sfn_4lsb from debug trace
2021-10-08 09:49:07 +02:00
Xavier Arteaga
5afe20e7da
UE loads SSB config from helper method
2021-10-08 09:49:07 +02:00
Francisco
47e5e85449
refactor: clean unnecessary includes of the asn1/rrc_nr.h
2021-10-07 23:08:07 +01:00
Joaquim
82ae0e6c37
nr_phy test: add AWGN channel simulator, add High Speed Train channel ( #3288 )
...
Add channel simulator to nr_phy tests.
UL and DL channel simulators added, with AWGN and CFO using the HST scenario. The DL AWGN is adjusted according to signal power.
2021-10-07 16:14:46 +02:00
Ismael Gomez
9d35c5d018
srsue: stop rx stream after finishing sync thread to avoid deadlock at stop
2021-10-07 15:28:10 +02:00
Ismael Gomez
8fff7f6646
Fix potential overflow in rssi_read_cnt
2021-10-07 11:38:45 +02:00
Bedran Karakoc
1e1e1420b1
Return AUTS in authentication failure for case AUTH_SYNCH_FAILURE
2021-10-06 20:01:00 +02:00
Bedran Karakoc
361ff3f37a
Extend identity type handling in Identity Response
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
1adf67c559
Extend NAS failure causes
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
Fabian Eckermann
991013ca2c
Fix order of dl/ul common cfg. dl must be first.
2021-10-06 14:44:55 +02:00
Ismael Gomez
6bdeb2d6b6
Fix division by zero in JSON metrics
2021-10-05 17:19:07 +02:00
Andre Puschmann
ea21232f61
ue,rrc_nr: fix SSB config warning
...
first read freqInfoDL then try to build SSB config
2021-10-04 12:12:32 +02:00
Xavier Arteaga
c9d7db7314
Minor changes
2021-10-04 10:28:34 +02:00
Xavier Arteaga
e3bd92d87c
Fix SSB pattern in UE
2021-10-04 10:28:34 +02:00
Xavier Arteaga
8f90ee847a
Refactor carrier frequency from PHY and fix OFDM phase compensation
2021-10-04 10:28:34 +02:00
Xavier Arteaga
2ab3971ef1
Fix NR PBCH encoding/decoding
2021-10-04 10:28:34 +02:00
Ismael Gomez
6b506ec357
phy_common: clear tx_hold flag before releasing the semaphore ( #3342 )
2021-10-03 20:05:38 +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
3cd2de1ffe
ue,rrc_nr: accept RRC Reconfigs with disable NZP and ZP configs
2021-10-01 12:21:54 +02:00
Francisco Paisana
78dad52cc8
rrc,nr,gnb: disable CQI configuration in gNB until gNB PHY supports it
2021-09-30 11:34:22 +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