Commit Graph

10509 Commits

Author SHA1 Message Date
Pedro Alvarez 9ecf66f313 lib,rlc_am_nr: make sure that handle control PDU correctly locks the mutex 2022-03-31 11:18:26 +01:00
Robert Falkenberg dd7bd351b3 lib,rlc_am_nr: fix pack/unpack of NACKs in status PDUs 2022-03-31 12:04:43 +02:00
Robert Falkenberg aabd22f493 lib,rlc_am_nr: cosmetic change in assert rx_highest_status 2022-03-30 17:16:21 +02:00
Robert Falkenberg 77ae5182a6 lib,rlc_am_nr: stop/restart reassembly timer for segmented SDUs with gaps 2022-03-30 17:16:21 +02:00
Robert Falkenberg d8cb4ec700 lib,rlc_am_nr: detect gaps in sequence of received SDU segments
This is required for checks such as
"there is at least one missing byte segment [...] before
the last byte of all received segments of this SDU"
2022-03-30 17:16:21 +02:00
Robert Falkenberg 51006bbab8 lib,rlc_am_nr: fix out-of-window assignment of rx_highest_status
Also add reminders for (not yet included) handling of
SDUs with segment gaps, i.e.
"...and there is at least one missing byte segment of the SDU
associated with [...] before the last byte of all received
segments of this SDU"
2022-03-30 17:16:21 +02:00
Robert Falkenberg 1d4f10fe0d lib,rlc_am_nr: fix search start point for update of rx_next 2022-03-30 17:16:21 +02:00
Pedro Alvarez 87a4656307 lib,rlc_am_nr: fix for transmitting invalid NACKs 2022-03-29 13:55:27 +01:00
Pedro Alvarez 718c0ba2cd lib,rlc: make it easier to save rlc_stress test result log to a file 2022-03-29 13:46:40 +01:00
Ismael Gomez 6ffa036b84 srsue,stack: initialize sdap pointers 2022-03-29 14:30:14 +02:00
Ismael Gomez a1905072b8 srsue,rrc_nr: check SDAP configuration before passing to SDAP module 2022-03-29 14:30:14 +02:00
Ismael Gomez f8c2fa05bf srsue,phy: support n_ta_offset parameter from sib1 2022-03-29 14:30:14 +02:00
Ismael Gomez edeb8e8f18 srsue,nr: add TA support from RAR and MAC CE 2022-03-29 14:30:14 +02:00
Ismael Gomez b3497c4a94 srsue,nr: decode SIB1 based on coreset0 configuration in MIB 2022-03-29 14:30:14 +02:00
Ismael Gomez bfe69deccc srsue, nr: Add SDAP to the UE. Supports only UL header 2022-03-29 14:30:14 +02:00
Ismael Gomez a4f26fa5d6 srsue,rrc: send precanned UECapabilityInformation 2022-03-29 14:30:14 +02:00
Ismael Gomez f83557b891 srsue,phy: use common pucch for msg3. Completed table for all pucch_common_idx values 2022-03-29 14:30:14 +02:00
Ismael Gomez 7bb6aa1f50 srsue,mac: do not add sbsr_ce on Msg3 2022-03-29 14:30:14 +02:00
Ismael Gomez 496b8e2748 srsue,mac: do not destroy active dl_harq_proc during a reconfiguration 2022-03-29 14:30:14 +02:00
Ismael Gomez 12435eae7d srsue,phy: avoid changing the sampling rate while sync thread is already receiving 2022-03-29 14:30:14 +02:00
Ismael Gomez 7f8ac07b65 srsue: fix A1/S2 reports with CA. Fix some unstability issues when doing HO with multiple carriers due to frequent call to update_phy 2022-03-26 23:12:57 +01:00
Ismael Gomez bdbfc3478b srsue,phy: do not reestablish if configured more carriers than existing 2022-03-26 23:12:57 +01:00
Ismael Gomez 08b20ba4b2 srsue,phy: change stop order to avoid locking 2022-03-26 23:12:57 +01:00
Ismael Gomez be5c3afc51 radio: fix invalid mapping of multiple channels to multiple devices 2022-03-26 23:12:57 +01:00
Ismael Gomez 6989d435d4 cmake: reduce version requirement 2022-03-26 23:12:57 +01:00
Ismael Gomez 65dbac0bd3 srsenb,metrics: use epre for snr computation instead of rsrp 2022-03-26 22:39:16 +01:00
Ismael Gomez 2bbeef6068 srsgnb,metrics: add ul_pucch_ni metric and refactor rssi/epre nomenclature. Fix bug in rsrp_avg computation in pucch 2022-03-26 22:39:16 +01:00
Ismael Gomez cf647b1fd5 srsenb,metrics: add PUSCH/PUCCH RSSI metrics. Add bearer DL total data metric for RLC UM 2022-03-26 22:39:16 +01:00
Pedro Alvarez 9a0d7113bc lib,rlc_am_nr: fix checking the wrong SDU rx state on t-Reassembly expiry 2022-03-25 11:35:27 +00:00
Pedro Alvarez 8e06861113 lib,rlc_am_nr: fixup rx_next_highest when t-Reassembly exipres 2022-03-25 11:35:27 +00:00
Pedro Alvarez 46872a8c84 lib,rlc_am_nr: fix unprotected access to rx_window during timer expiration 2022-03-25 11:35:27 +00:00
Pedro Alvarez a15b4c039e lib,rlc_am_nr: fix state debugging info logging. Also log current TX/RX window size 2022-03-25 09:42:48 +00:00
Pedro Alvarez 0ada2adac7 lib,rlc_am_nr: minor fixes to address coments. Re-added comment, deleted useless assignement and fixed incorrect comment 2022-03-25 09:42:10 +00:00
Pedro Alvarez 6a1f6a35c1 lib,rlc_am_nr: fix loops for updating st.rx_highest_status and st.rx_next to be bounded by st.rx_next_highest, since rx_next_highest holds the value of the highest possible missing SDU. 2022-03-25 09:42:10 +00:00
Pedro Alvarez 981983377d lib,rlc_am_nr: fixes for retx_segment test for 18bits after changes for Rx_Highest_Status 2022-03-25 09:42:10 +00:00
Pedro Alvarez 1e0e451174 lib,rlc_am_nr: fixes for retx_segment_test after changes to RX_Highest_Status 2022-03-25 09:42:10 +00:00
Pedro Alvarez f4ff72bff8 lib,rlc_am_nr: fixes for setting the rx_highest_status incorrectly and incorrect status report generation. 2022-03-25 09:42:10 +00:00
Robert Falkenberg a5c61418d5 lib,rf_imp: load rf plugins when loading this library
This fixes race of concurrently loading the same plugins
when srsran_rf_open_devname is called by multiple threads

Plugins are now loaded when srsran_rf is loaded (for
shared lib) or right before main() (for static lib)
2022-03-25 09:36:50 +01:00
Pedro Alvarez e6f42331ba lib,rlc_am_nr: fix race condition in handle data PDU. This was causing SDUs being removed from the rx_window, while the status report was geing generated. 2022-03-24 12:14:53 +00:00
Robert Falkenberg fbdbc81bdd lib,pdcp: fix modulus for SN increments 2022-03-23 14:58:09 +01:00
Robert Falkenberg 79e8f7625e lib,rlc_am_nr: fix log msg for AM NR PDU header 2022-03-23 14:58:09 +01:00
Robert Falkenberg bd6e306c94 lib,rlc_am_nr: extend unit tests for 18-bit SN 2022-03-22 10:14:44 +01:00
Robert Falkenberg 7e13cd0712 lib,rlc_am_nr: rename get_tx_window_size() to get_tx_window_utilization() 2022-03-21 15:23:21 +01:00
Robert Falkenberg 329f3e519b lib,rlc_am_nr: reset do_status flag after sending status PDU
and extend unit test to fail when redundant status PDUs exist.
2022-03-19 07:07:42 +01:00
Pedro Alvarez 12f440145d lib,rlc_am_nr: changed build_retx_pdu_without_segmentation to pass retx
info by copy. This is to avoid accidently using retx info by reference
after pop'ing the retx from the queue.
2022-03-17 13:54:56 +00:00
Pedro Alvarez c023dba175 lib,rlc_am_nr: cleaned up some test names and some comments. 2022-03-17 13:54:56 +00:00
Pedro Alvarez b4814bfdc1 lib,rlc_am_nr: added test for polling bit set when retx queue is empty. Fixed lost PDU test now that we correctly set the polling bit. 2022-03-17 13:54:56 +00:00
Pedro Alvarez 47aea19bd3 lib,rlc_am_nr: added test for poll setting in RETXes 2022-03-17 13:54:56 +00:00
Pedro Alvarez 1d1e6dd832 lib,rlc_am_nr: added pollBYTE support and a unit test for it 2022-03-17 13:54:56 +00:00
Pedro Alvarez eaa8fff6a0 lib,rlc_am_nr: Passing bool to get_pdu_poll() to differentiate the
behaviour between RETX and non-RETX PDUs.
2022-03-17 13:54:56 +00:00