8864 Commits (b87b760326c7139b8ad6ee25d1fe44f3dceabd23)
 

Author SHA1 Message Date
Codebot b87b760326 Merge branch 'next' into agpl_next 3 years ago
Pedro Alvarez c988fc49b4 Remove comparison between LGC priority and allocation retantion priority, as these do not seem related. 3 years ago
Andre Puschmann e563e5918e rf_imp: fail opening RF altogether if specified device fails to open
we've had a few runs in the CI where opening the specified RF device
failed but the eNB/UE still continued to run, just picking the next available
run. This led to false-positive tests.

The policy should be that whenever the user specified a RF device to
be openend, and this device fails, the whole process should fail and
the application should exit.

The auto-detection mode is still available but only if no device name
is specified at all.
3 years ago
Andre Puschmann c9478a4306 enb,erab: fix error handling when setting up ERABs
when handling ERAB setup requests from MME, don't add the ERAB
before all checks have been performed, otherwise the ERAB
needs to be removed again.

Since this was not the case, invalid NAS PDUs have been transmitted.

Also raise error level for some events to error since the eNB
misses a config or is mal-configured and cant recover from that.
3 years ago
Andre Puschmann b127327684 enb,s1ap: print filename when writing S1AP PCAP 3 years ago
David Rupprecht e8a464228d Cleaned string helpers 3 years ago
Andre Puschmann 36af79b9d5 ue,proc_bsr_nr: add missing mutex when redeading SBSR
detected with TSAN
3 years ago
Andre Puschmann ab6210b1fc ue,proc_sr_nr: add mutex to protect access from PHY and Stack
also detected by TSAN
3 years ago
Andre Puschmann 2248e63219 ue,proc_ra_nr: add mutex to protect access from PHY and Stack
detected with TSAN
3 years ago
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.
3 years ago
Andre Puschmann ed92f2bd34 enb,mac_nr: remove EUTRA cell param for MAC-NR cell config calls
* the old srsran_cell_cfg_t is only carried for SIB params
* the SIB scheduling, etc needs to be ported and integrated into NR data structures
* disbable SIB test for the moment
3 years ago
Andre Puschmann e2b1bbe2dc enb,metrics: add helper method to print MAC metrics
preparation to be used to print MAC metrics for EUTRA and NR cells
3 years ago
Andre Puschmann 6a46931144 mac_nr,enb: move header into nr subfolder 3 years ago
Andre Puschmann 4a5d2a8659 mac_nr: add basic get_metrics() implementation 3 years ago
Andre Puschmann dbcf5c9503 sched_nr: add ue_exists() helper 3 years ago
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.
3 years ago
faluco 485ec2edab Implement a new option to flush the file sink contents on every write. 3 years ago
Nils Fürste d75fe22a0a Soapy: Fix include path of Types.h 3 years ago
Nils Fürste 690bccccc6 cmake: Export non-default Limesuite driver path 3 years ago
Nils Fürste c177ed3331 cmake: Export non-default libbladerf driver path 3 years ago
Nils Fürste 13d4fd174b cmake: Export non-default SoapySDR driver path 3 years ago
Andre Puschmann 88878e07c6 sched_nr_test: enable auto-refill for failing NR sched tests 3 years ago
Andre Puschmann 9a49d47968 sched_nr_interface: disable auto-refill of NR scheduler 3 years ago
Andre Puschmann 06f000c2c4 band_helper: fix format 3 years ago
faluco c7ddedcf72 Log the invalid format string to help grepping it in the logs. 3 years ago
faluco 9571109a69 Abort program execution if STOP_ON_WARNING is defined when formatting an invalid log entry. 3 years ago
faluco 8cde3f20e7 Catch exceptions thrown on invalid format strings in the log backend and print an error message to signal the issue. 3 years ago
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
3 years ago
Andre Puschmann 11af5662a7 band_helper_test: extend TC for band 5 FDD freq calcs 3 years ago
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
3 years ago
Andre Puschmann 377eb52b86 band_helper_test: add TC for band n5 3 years ago
Andre Puschmann 69619d725a band_helper: add helper to derive UL ARFCN from DL ARFCN 3 years ago
Codebot 9e83bc7329 Adding AGPL copyright to new files 3 years ago
Codebot 958542dc2b Merge branch 'next' into agpl_next 3 years ago
Andre Puschmann dbbc621905 phy_common: fix PRB lookup for NR cells 3 years ago
Andre Puschmann 93e1d7712d enb,phy: add checks for invalid EARFCN and exit eNB if config is wrong 3 years ago
Andre Puschmann 1f01e4be51 rr.conf.example: add empty NR cell list to example 3 years ago
Andre Puschmann b5dcf7804c enb,cfg: add new NR cell list to RR configuration parser 3 years ago
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.
3 years ago
Andre Puschmann f382a7c7db Revert "ue,proc_ra_nr: add temporary flag to skip RAR reception"
This reverts commit 28668aac34.
3 years ago
Andre Puschmann a518b81a10 phy,nr: don't print hex content of failed PDSCH 3 years ago
Andre Puschmann 312a91a460 enb,rrc_nr: disable encryption for DRB 3 years ago
Andre Puschmann f814a0ed09 ue_nr: reduction of log level when packing MAC PDU 3 years ago
Andre Puschmann c1892eb2ec enb,nsa: refactor of SgNB addition interface
* update of FSM
* better integration of parameter for X2 calls
3 years ago
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
3 years ago
Andre Puschmann f7e943b6b6 enb,mac_nr: add handling of SBSR MAC CE 3 years ago
Andre Puschmann aba0ba9ad8 mac_sch_pdu_nr: fix newline in logs 3 years ago
Andre Puschmann 54ab64327a ue,mac_nr: move BSR levels lookup table into lib header
prepare for shared use with gNB
3 years ago
Andre Puschmann ba17b64c70 worker_pool: fix newline 3 years ago
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.
3 years ago