Commit Graph

8934 Commits

Author SHA1 Message Date
Andre Puschmann 4a5d2a8659 mac_nr: add basic get_metrics() implementation 2021-09-15 14:49:28 +02:00
Andre Puschmann dbcf5c9503 sched_nr: add ue_exists() helper 2021-09-15 14:49:28 +02:00
faluco cf20b143c0 Fix the default constructor of the optional class to avoid a spurious uninitialized value warning in older GCC versions (seen for ARM32 and GCC 8.3).
Use a union of a byte and the real storage, and init the char by default.
2021-09-14 11:22:40 +02:00
faluco 485ec2edab Implement a new option to flush the file sink contents on every write. 2021-09-14 10:22:37 +02:00
Nils Fürste d75fe22a0a Soapy: Fix include path of Types.h 2021-09-14 09:38:31 +02:00
Nils Fürste 690bccccc6 cmake: Export non-default Limesuite driver path 2021-09-14 09:38:31 +02:00
Nils Fürste c177ed3331 cmake: Export non-default libbladerf driver path 2021-09-14 09:38:31 +02:00
Nils Fürste 13d4fd174b cmake: Export non-default SoapySDR driver path 2021-09-14 09:38:31 +02:00
Andre Puschmann 88878e07c6 sched_nr_test: enable auto-refill for failing NR sched tests 2021-09-13 17:10:32 +02:00
Andre Puschmann 9a49d47968 sched_nr_interface: disable auto-refill of NR scheduler 2021-09-13 17:10:32 +02:00
Andre Puschmann 06f000c2c4 band_helper: fix format 2021-09-13 17:10:32 +02:00
faluco c7ddedcf72 Log the invalid format string to help grepping it in the logs. 2021-09-13 11:11:41 +02:00
faluco 9571109a69 Abort program execution if STOP_ON_WARNING is defined when formatting an invalid log entry. 2021-09-13 11:11:41 +02:00
faluco 8cde3f20e7 Catch exceptions thrown on invalid format strings in the log backend and print an error message to signal the issue. 2021-09-13 11:11:41 +02:00
Andre Puschmann 07019a5bd6 nr: refactor DL/UL frequency deriviation
* add separate DL/UL freq point a in NR carrier struct
* use freqInfoDL/freqInfoUL to get freq point a
* simplify carrier tuning logic
2021-09-13 10:27:16 +02:00
Andre Puschmann 11af5662a7 band_helper_test: extend TC for band 5 FDD freq calcs 2021-09-13 10:27:16 +02:00
Andre Puschmann d26a7e0350 band_helper: add helper to derive DL/UL freq from abs_freq_point
calculate DL and UL freq in carrier struct based on given values
2021-09-13 10:27:16 +02:00
Andre Puschmann 377eb52b86 band_helper_test: add TC for band n5 2021-09-13 10:27:16 +02:00
Andre Puschmann 69619d725a band_helper: add helper to derive UL ARFCN from DL ARFCN 2021-09-13 10:27:16 +02:00
Andre Puschmann dbbc621905 phy_common: fix PRB lookup for NR cells 2021-09-10 22:08:26 +02:00
Andre Puschmann 93e1d7712d enb,phy: add checks for invalid EARFCN and exit eNB if config is wrong 2021-09-10 22:08:26 +02:00
Andre Puschmann 1f01e4be51 rr.conf.example: add empty NR cell list to example 2021-09-10 22:08:26 +02:00
Andre Puschmann b5dcf7804c enb,cfg: add new NR cell list to RR configuration parser 2021-09-10 22:08:26 +02:00
faluco 5703752faa Fix a enb crash when no more users could be added into the bearer manager map.
This was caused by not removing old user from the map, so add the code to cleanup the map on user removal.
2021-09-10 15:34:29 +02:00
Andre Puschmann f382a7c7db Revert "ue,proc_ra_nr: add temporary flag to skip RAR reception"
This reverts commit 28668aac34.
2021-09-09 14:29:04 +02:00
Andre Puschmann a518b81a10 phy,nr: don't print hex content of failed PDSCH 2021-09-09 14:29:04 +02:00
Andre Puschmann 312a91a460 enb,rrc_nr: disable encryption for DRB 2021-09-09 14:29:04 +02:00
Andre Puschmann f814a0ed09 ue_nr: reduction of log level when packing MAC PDU 2021-09-09 14:29:04 +02:00
Andre Puschmann c1892eb2ec enb,nsa: refactor of SgNB addition interface
* update of FSM
* better integration of parameter for X2 calls
2021-09-09 14:29:04 +02:00
Andre Puschmann 5a936d9940 ue,rrc: handle DRB removal correctly
when RRC receives a command to remove a DRB, it also needs to delete
the bearer at RLC and PDCP
2021-09-09 14:29:04 +02:00
Andre Puschmann f7e943b6b6 enb,mac_nr: add handling of SBSR MAC CE 2021-09-09 14:29:04 +02:00
Andre Puschmann aba0ba9ad8 mac_sch_pdu_nr: fix newline in logs 2021-09-09 14:29:04 +02:00
Andre Puschmann 54ab64327a ue,mac_nr: move BSR levels lookup table into lib header
prepare for shared use with gNB
2021-09-09 14:29:04 +02:00
Andre Puschmann ba17b64c70 worker_pool: fix newline 2021-09-09 12:04:27 +02:00
Andre Puschmann 6745eced49 ssb: avoid NaN when SSB can't be detected
when PSS+SSS can't be detected the RSRP was 0 and
the resulting conversion to dB resulted in NaN.
2021-09-09 12:04:27 +02:00
faluco 5798f09252 Re-format the enb stdout metrics and port the code to use the fmt library. 2021-09-08 17:05:37 +02:00
faluco ec272061a0 Fix a dangling SDU pointer in mac_sch_subpdu_nr when adding subpdus into a mac_sch_pdu_nr. 2021-09-08 14:45:23 +02:00
David Rupprecht 285aae8e36 Fixing srsue namespace in rrc meas test 2021-09-08 11:28:17 +02:00
faluco 934802d23c Report the SIB9 home enb name in the enb sector start/sector stop events. 2021-09-07 16:36:56 +02:00
faluco 2fd3ed789a Rename sector_id to carrier_id JSON key in enb metrics and events. 2021-09-07 16:36:56 +02:00
faluco fdb4b91e98 Adapt the enb metrics to allow adding a PCI field for each CC.
Include the PCI field in the enb JSON metrics.
2021-09-07 16:36:56 +02:00
faluco fd013e8a17 - Implement intra enb HO command reporting.
- Fix reversed rnti values in connection_resume event.
2021-09-07 16:36:56 +02:00
faluco d122d0c69b Add new field for the PCI in the enb JSON report file. 2021-09-07 16:36:56 +02:00
faluco d168536bc4 Add a new program option to control how ASN1 messages get printed into the enb JSON report file. 2021-09-07 16:36:56 +02:00
faluco df6ae7b0e0 - Implement new enb events:
* ho_command
* connection_resume
* rlf_detected
- Rename rlf_report event to "rlf_report".
2021-09-07 16:36:56 +02:00
faluco 8a3586dfbf Include a ASN1 json representation for RRC enb events. 2021-09-07 16:36:56 +02:00
Ismael Gomez 00653bdd46 Fix PUCCH2 RRC scheduling 2021-09-07 12:14:36 +02:00
David Rupprecht a9a23214b0 Added more 5G security kdfs
Added new 5G SIM functions

Added const parameters for security functions
2021-09-07 11:06:56 +02:00
David Rupprecht a645d74eaf USIM functions for res star
Added gen_res_star in security.h

Added USIM interfaces for res star

Added RES star test case
2021-09-07 11:06:56 +02:00
David Rupprecht bce6b5cc0f Added kdf common
Use kdf functions in 5G KDF

Moved EPS KDF function to new KDF structure
2021-09-07 11:06:56 +02:00