Commit Graph

4605 Commits

Author SHA1 Message Date
Francisco 52106be3d5 sched,nr: remove phy cfg types from sched_nr_cell_cfg_t 2022-01-20 10:54:00 +00:00
Francisco b25814de27 sched,nr: fix failing sched test due to misconfiguration 2022-01-20 10:54:00 +00:00
Francisco 7ef206e15b sched,rrc,nr: remove need to pass sched ue cfg object to rrc during ra procedure 2022-01-20 10:54:00 +00:00
Francisco 7f200ac7f7 sched,nr: pass asn1 TDD configuration to scheduler as defined in ORAN 2022-01-20 10:54:00 +00:00
Xavier Arteaga 66f6c11561 Fix concurrent issues in dummy radio used in nr_phy_test 2022-01-19 18:33:39 +01:00
Xavier Arteaga 8a7a4a588d Fix concurrent access to decimator busy flag 2022-01-19 18:33:39 +01:00
Andre Puschmann aaceb029eb rlc_am_lte: fix wrong fmt string 2022-01-19 12:26:18 +01:00
dvdgrgrtt c9beba6f36 Use srsran_convert_dB_to_power
Instead of computing power using the power function.
2022-01-19 11:13:28 +01:00
dvdgrgrtt 3ffefe5ba7 Use copyright as file header 2022-01-19 11:13:28 +01:00
dvdgrgrtt a69fb1d50f ch_awgn: Improve API
The API of functions srsran_ch_awgn_X was causing confusion between
noise variance and standard deviation. Also, in the complex-valued case,
the noise variance did not take into account the fact that the signal is
two-dimensional.

All uses of these functions are modified accordingly.
2022-01-19 11:13:28 +01:00
Andre Puschmann 92a13294b2 rrc_nr_utils: set RAT for PDCP config for SRB to NR 2022-01-18 18:20:04 +01:00
Andre Puschmann 99c2d16c1b ue_nr_interface: include SRB ARFCN in cell search result 2022-01-18 18:20:04 +01:00
Andre Puschmann ee8d334aaa phy,nr: logging fix for PDCCH 2022-01-18 18:07:21 +01:00
Andre Puschmann 02cdc66302 security: fix k_gnb* derivation for 5G
add FC code for gNB KDF and fix ARFCN encoding (can be more than 2 bytes)
2022-01-18 18:07:21 +01:00
Pedro Alvarez 9bd368e0a9 lib,rlc: changed back status and header logging helpers to log directly. Make sure RB name is automatically logged. 2022-01-18 11:53:37 +00:00
Pedro Alvarez 00a60dbb97 lib,rlc: removed duplicate rb_name in logs of rlc_am_base and rlc_tm 2022-01-18 11:53:37 +00:00
Pedro Alvarez 87607a4ea7 lib,rlc: changed RLC UM NR to use new logging macros 2022-01-18 11:53:37 +00:00
Pedro Alvarez b53da22eb1 lib,rlc: changed return of string helper functions from char* to std::string to avoid UB 2022-01-18 11:53:37 +00:00
Pedro Alvarez b46c5423f0 lib,rlc: make sure TM rb name is initialized. changed rlc_um_lte to use new logging macros 2022-01-18 11:53:37 +00:00
Pedro Alvarez e157806db2 lib,rlc_am_lte: removed RB_NAME macro. changed status and data pdu logging helpers to return C strings. Using new logging macros to make sure that RB name is included when logging status and amd pdus. 2022-01-18 11:53:37 +00:00
Pedro Alvarez 0f4b64f13f lib,rlc: added macros for hex logging that automatically add the rb_name. changed logging to use new macros in multiple places. 2022-01-18 11:53:37 +00:00
Pedro Alvarez b687072815 lib,rlc: added rb_name and logger to rlc_common. Added macros to help making sure bearer name is always included to the log to rlc_common.h. Started using said macros in TM, UM and AM entities. 2022-01-18 11:53:37 +00:00
Alejandro Leal 74d847efe9 Removed unneeded libraries in the test as srsran_phy already includes
srsran_phy_common
2022-01-17 15:43:20 +01:00
Francisco 3c25b6cb24 asn1: remove presence flag for lists and octet strings, as the size of the latter implicitly tell if the asn1 field is present 2022-01-17 11:58:00 +00:00
Xavier Arteaga 65255ecb4e Unpack MIB to update MIB 2022-01-17 10:55:38 +01:00
Xavier Arteaga c88774a3f4 Fix UE SYNC NR CFO feedback and periodicity 2022-01-17 10:55:38 +01:00
Xavier Arteaga 8694cc63ec Added SSB configuration conversion to string 2022-01-17 10:55:38 +01:00
faluco 634db621e4 Fix compiler error due to a bug in clang9. 2022-01-16 22:17:14 +01:00
sauka d5040540fb use NR type1 RIV function helper 2022-01-14 10:40:18 +01:00
sauka 9b24867bc4 set SCH configuration only for non SI-RNTI case. Fix formatting 2022-01-14 10:40:18 +01:00
sauka 870c3ab8c5 update TV, enable ue_dl_nr_file_test for c-rnti case
Cell:
nr_arfcn=368500 ul_nr_arfcn=349500 pci=500 mode=FDD rat=nr n_rb_dl=52 n_rb_ul=52 dl_mu=0 ul_mu=0 ssb_mu=0 ssb_arfcn=368410 ssb_prb=13:21 k_ssb=6 coreset0_prb=1:48 coreset0_idx=6

coreset1:
11:49:15.018 [PHY] DL 0001 01 0100   718.1 PDCCH: ss_id=1 cce_index=0 al=4 dci=1_0
	rb_alloc=0x5f
	time_domain_rsc=0
	vrb_to_prb_map=0
	mcs=10
	ndi=1
	rv_idx=0
	harq_process=0
	dai=0
	tpc_command=1
	pucch_rsc=0
	harq_feedback_timing=3
	dci_len=39
11:49:15.018 [PHY] DL 0001 01 0100   718.1 PDSCH: harq=0 prb=1:48 symb=1:13 k1=4 CW0: tb_len=960 mod=4 rv_idx=0 cr=0.33 retx=0
        0000:  43 03 bd c0 05 00 59 09  47 7e 29 e5 43 3d b6 2b  C.....Y.G~).C=.+
        0010:  e3 ed a1 43 3a 53 f2 23  d4 8b 23 a0 c9 5d ec 23  ...C:S.#..#..].#
        0020:  47 80 2b 64 0d f6 2a 11  bc 76 ed 0c 72 6a 7e c5  G.+d..*..v..rj~.
        0030:  4c 14 80 56 86 69 bf 27  60 9d 0b fd 23 22 4b d1  L..V.i.'`...#"K.
        0040:  45 a4 01 b0 50 f7 02 e2  3a ac 16 b3 b3 b8 e0 09  E...P...:.......
        ...
        0380:  f2 fa 54 f3 4e 3f 14 54  38 73 ab 4e bb d7 41 76  ..T.N?.T8s.N..Av
        0390:  47 19 31 b0 86 fb 7f 9f  1d 93 91 69 66 b8 ae 91  G.1........if...
        03a0:  8f 1e 4b 03 9e 7d 03 ae  93 77 a8 81 0a 8f 44 8b  ..K..}...w....D.
        03b0:  87 cf 76 59 11 1f 31 7d  aa 01 e3 9c 26 07 33 57  ..vY..1}....&.3W
2022-01-14 10:40:18 +01:00
sauka b9fb65e301 extend ue_dl_nr_filetest to specify PDSCH allocation in time-domain, add option to enable interleaved pdcch 2022-01-14 10:40:18 +01:00
Ismael Gomez e1313cce74 sidekiq: update cur_rx_gain_db inside card sub-module 2022-01-14 10:19:08 +01:00
Ismael Gomez fd2eef132d sidekiq: configure RFIC rx_gain with user values instead of using calibrated rx_gain offsets 2022-01-14 10:19:08 +01:00
Ismael Gomez dcd94649ef enb,parser: add option to set a default tx gain per cell 2022-01-13 17:25:39 +01:00
faluco 1ec8e8a94e Raise C++ version to 14 and fix ill-formed code that is considered by this new standard. 2022-01-13 13:35:58 +00:00
Xavier Arteaga a19d68710c Fix successful related typos 2022-01-12 16:37:37 +01:00
Xavier Arteaga 2c7287e4d4 Fix successful related typos 2022-01-12 10:27:33 +01:00
Xavier Arteaga db19941985 Minor changes on UE SA PHY 2022-01-12 10:27:33 +01:00
Xavier Arteaga c494a84738 Fix ue_sync_nr_test 2022-01-12 10:27:33 +01:00
Xavier Arteaga 5e8e4b90c1 Fix memory access in SSB search and measure 2022-01-12 10:27:33 +01:00
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 2022-01-12 10:27:33 +01:00
Xavier Arteaga d6ee282796 Created dummy radio and moved UE dummy PHY into real UE SA PHY 2022-01-12 10:27:33 +01:00
Xavier Arteaga 3b396c8a9a Implement and test initial SFN synchronization for UE standalone mode 2022-01-12 10:27:33 +01:00
Xavier Arteaga 9e4e75bfda Parametrize UE SYNC NR test 2022-01-12 10:27:33 +01:00
Xavier Arteaga 5b744bb6c5 Increase SSB detection frequency range 2022-01-12 10:27:33 +01:00
Xavier Arteaga d4fd4c8350 Fix deadlock 2022-01-12 10:27:33 +01:00
Xavier Arteaga a5130673f6 More cell search development 2022-01-12 10:27:33 +01:00
Francisco b616207ef0 asn1: remove extra copy and template instantiation in unpacking of IE Containers 2022-01-11 22:59:38 +00:00
Francisco f7efee9884 asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies 2022-01-11 22:59:38 +00:00