Francisco Paisana
585d7c923a
refactor and simplification of cell selection procedure. Using now a SIB3 threshold to decide whether to select neighbor cell while in RRC_IDLE
2020-10-12 13:42:46 +01:00
Pedro Alvarez
9ad1328bbd
Copy copyright modifications into debian/copyright.
2020-10-09 12:51:50 +01:00
Andre Puschmann
30b8848ea9
metrics_hub: protect access to vector of metrics_listener
...
prevent potential race between metrics hub thread trying
to access the metrics vector and another thread
adding another element to it
2020-10-08 12:30:57 +02:00
Pedro Alvarez
b43e724b4c
Remove packing/unpacking code for M2AP.
2020-10-08 11:02:50 +01:00
Francisco Paisana
cae116932b
rewrite the rrc::leave_connected() function to better match the standard. The measurements should not stop while in RRC_IDLE.
2020-10-08 10:51:18 +01:00
Pedro Alvarez
5a4e71a6e4
Created k_enb_context structure that holds k_enb, NCC and NH to make it easier to restore context from failed handover.
2020-10-08 09:46:34 +01:00
Pedro Alvarez
bcb422736c
Save and restore NH on handover and handover failure.
2020-10-08 09:46:34 +01:00
Xavier Arteaga
08e24d00af
Fix TA console trace
2020-10-08 09:21:00 +02:00
Paul Sutton
36c779c491
Merge pull request #1881 from softwareradiosystems/copyright_updates
...
Restructure of included third-party copyright details
2020-10-07 17:05:57 +01:00
Paul Sutton
261425be2c
Restructure of included third-party copyright details
2020-10-07 15:50:08 +01:00
Andre Puschmann
7a1038ed4e
Merge branch 'master' into next_merge_from_master2
2020-10-07 15:50:17 +02:00
Andre Puschmann
35e7867771
move license info for pcsc class from LICENSE to COPYRIGHT file
2020-10-07 15:43:44 +02:00
Andre Puschmann
841e09b183
add tentative changelog for 20.10 release
2020-10-07 15:38:57 +02:00
Jan
df46a3284c
Add missing device names to enb.conf.example
...
The enb.conf.example config was missing the options "soapy" and "zmq" for device_name.
2020-10-07 15:38:57 +02:00
Jan Remeš
8c7b7cc55a
libsrslte_rf: add library version
...
This patch adds version string to the 'libsrslte_rf' library.
This results in the library being built as
libsrslte_rf.so.20.04.2
with the following symbolic links
libsrslte_rf.so.0 -> libsrslte_rf.so.20.04.2
libsrslte_rf.so -> libsrslte_rf.so.0
The SRSLTE_SOVERSION variable should be increased with each backwards
incompatible change of the library.
Signed-off-by: Jan Remes <jan.remes@invasys.com>
2020-10-07 15:38:57 +02:00
Andre Puschmann
a94f08f70d
bump version string for 20.10 release
2020-10-07 15:38:57 +02:00
Andre Puschmann
ffb9f60e1a
update readme and bump version of 20.04.2
2020-10-07 15:38:57 +02:00
Pedro Alvarez
00ac85e1b3
Small compilation fixes for GCC 10.1
2020-10-07 15:38:57 +02:00
Pedro Alvarez
3eb525563a
Fix issue reading MNC length in USIM.
2020-10-07 10:04:50 +01:00
Francisco Paisana
c46402c836
fix phy configuration during handover on srsenb. The function srsenb::rrc::ue::fill_scell_to_addmod_list assumes that the phy_cfg of the PCell is up-to-date, which was not the case. With this PR, the srsenb rrc updates the phy_cfg before the ho cmd is sent, but, in the case of intra-enb ho, the updates are not submitted to the phy before the reception of the crnti mac ce
2020-10-07 09:10:47 +01:00
Xavier Arteaga
da54e2b501
Better docs in RRC interface types and apply clang-format
2020-10-07 09:58:23 +02:00
Xavier Arteaga
6ae47b6510
SRSUE: Deafult PUCCH/SRS does not imply full PHY dedicated defaults
2020-10-07 09:58:23 +02:00
Andre Puschmann
9105b36cee
srsenb: backport of a Xico's patch to explicitly link against libconfig
...
this caused issues for some systems in parallel builds
2020-10-07 09:29:48 +02:00
Francisco Paisana
5325a15d42
fix libconfig std::string cast linking issue
2020-10-07 09:29:48 +02:00
Francisco Paisana
0f51d70aac
fix measObj addition in srsenb. Now the enb considers both scells and meas_cells in the rr.conf
2020-10-06 21:16:18 +01:00
Andre Puschmann
5e95fd4a43
ul_harq: reduce log level for new_grant_ul() if RNTI isn't found
...
this avoid logging a warning on UE shutdown if the MAC is already reset
but one of the PHY workers still decodes an UL grant for the old RTNI
21:30:29.254844 [RRC ] [I] Going RRC_IDLE
21:30:29.254848 [RRC ] [I] Proc "Go Idle" - Left connected state
21:30:29.259499 [PHY0] [I] [ 3865] Finished setting new PHY configuration cc_idx=0
21:30:29.259512 [PHY0] [I] [ 3865] Setting new PHY configuration cc_idx=0...
21:30:29.264190 [PHY0] [I] [ 3867] Finished setting new PHY configuration cc_idx=0
21:30:29.275036 [PHY1] [I] [ 3872] PHICH: hi=1, corr=1.0, I_lowest=1, n_dmrs=0, I_phich=0
21:30:29.275050 [MAC ] [W] [ 3872] Received grant for unknown rnti=0x46
2020-10-06 20:51:46 +02:00
Andre Puschmann
362461329a
rrc: improve log message when detecting RLF
2020-10-06 20:51:46 +02:00
Francisco Paisana
ae32ab9b13
addressed xavie's comments regarding list of scells to add to rrc reconf message not being in order when we iterate it
2020-10-06 17:08:08 +02:00
Francisco Paisana
d42cdca729
fix scell activation in the phy during intra-enb handover.
2020-10-06 17:08:08 +02:00
Andre Puschmann
76c648106f
rrc: remove varMeasState for unknown neighbor cells
...
this fixes issue #1846 that appears to be related
to the enter/exit state for measurements that is kept
even after a cell disappears from the neighbor list
2020-10-06 16:28:09 +02:00
Andre Puschmann
9866dcc10b
enb: disable qam256 configuration
...
disable qam256 altogether until underlying PHY/MAC support
is implemented
2020-10-06 16:26:50 +02:00
faluco
d53f69bf0a
- Initialize the log backend, otherwise no log entries are generated.
2020-10-06 09:23:38 +02:00
yagoda
615af5cc4d
setting seed to constant in prach test
2020-10-05 22:04:07 +01:00
Andre Puschmann
829dfc4e60
metrics_stdout: fix precision calculation for 100%
...
the precision for 100% was causing the default value of -1 which in turn
cause to print the full precision resulting in ugly stdout plots.
before:
--------Signal--------------DL-------------------------------------UL----------------------
cc pci rsrp pl cfo mcs snr turbo brate bler ta_us mcs buff brate bler
0 0 -10 74 0.0 0.0 0.0 0.0 200k 0% 0.0 0.0 0.0 0.0 0%
1 0 0.0 0.0 0.0 0.0 0.0 0.0 150k100.000000% 0.0 0.0 0.0 0.0 0%
after:
--------Signal--------------DL-------------------------------------UL----------------------
cc pci rsrp pl cfo mcs snr turbo brate bler ta_us mcs buff brate bler
0 0 -10 74 0.0 0.0 0.0 0.0 200k 0% 0.0 0.0 0.0 0.0 0%
1 0 0.0 0.0 0.0 0.0 0.0 0.0 150k 100% 0.0 0.0 0.0 0.0 0%
2020-10-05 22:42:04 +02:00
Andre Puschmann
e72219789e
ul_harq: don't clear payload buffer during HARQ reset
...
this fixes #1791 which was caused by a race between
the PHY workers preparing a new UL-SCH PDU and the Stack resetting
the MAC, which in turn resets the HARQ processeses, which cleared
the buffer and set the length to zero.
Not explicitly clearing the buffer on a HARQ reset seems to be
fine since the PHY worker clears the buffer before starting to
pack a new PDU anyway.
2020-10-05 22:41:12 +02:00
Andre Puschmann
b08a586fd4
pdu: refactor error logging
...
just some refactoring of error messages when a PDU packing error occurs
2020-10-05 22:41:12 +02:00
Francisco Paisana
49186e2b1f
Fix NCC set in HO command message for intra-enb handover
2020-10-05 20:43:05 +01:00
faluco
693d2f10b7
- Fix hex dumps newlines.
2020-10-05 13:22:53 +02:00
Pedro Alvarez
22a6dc305f
Moved common variables and functions from the usim and pcsc_usim classes into usim_base class.
2020-10-05 12:14:46 +01:00
Francisco Paisana
8a917bdd06
fix RRC phy controller call to phy->set_config. Only the PCell was being configured
2020-10-05 12:08:16 +01:00
Francisco Paisana
2e10c8e13d
bug fix - eNB was not allocating UL grants for an UE that has performed intra-enb handover. The problem resulted from the fact that the ue configuration in the scheduler not accounting for removed cells.
2020-10-03 09:12:40 +01:00
Francisco Paisana
8a5a571045
bug fix - in case of intra-enb Handover, the eNB was not adding SCells in the HO command
2020-10-02 20:10:28 +01:00
Francisco Paisana
4383796393
add scells in case of intra-enb handover
2020-10-02 20:10:28 +01:00
Francisco Paisana
4ebe92f6a3
refactor phy configuration in the rrc to keep track of activated scells, and cells configurations
2020-10-02 18:50:29 +01:00
Francisco Paisana
cfc77118d3
disable console print of scell activation command during handover
2020-10-02 18:50:29 +01:00
Francisco Paisana
d910c910a4
rrc::meas_cell now uses stack timers instead of system timers.
2020-10-02 17:53:02 +01:00
Francisco Paisana
49ad1a4312
added unit test for meas cells
2020-10-02 17:53:02 +01:00
Francisco Paisana
023d32975a
avoid use of pointers to meas_cells in ho_proc as they may become dangling
2020-10-02 17:53:02 +01:00
Francisco Paisana
072b7be582
renamed rrc::cell_t to rrc::meas_cell
2020-10-02 17:53:02 +01:00
Andre Puschmann
d02e8135fb
metrics_stdout: reset n_reports var after writing intermediate table header
2020-10-02 17:00:19 +02:00