Pedro Alvarez
47caa60b45
lib,rlc_am_nr: fix up comment
3 years ago
Pedro Alvarez
2f1cf8ee11
lib,rlc_am_nr: make max retx configurable in AM stress test
3 years ago
Pedro Alvarez
4e2f7cf029
lib,rlc_am_nr: make sure that we RETX the segments if we get a NACK for an SDU that was already segmented
3 years ago
Pedro Alvarez
865dfe87e7
lib,rlc_am_nr: Added assert to check SO_start <= SO_end
3 years ago
Pedro Alvarez
7f7656e200
lib,rlc_am_nr: fix missing modulus
3 years ago
Pedro Alvarez
b70e6284e6
lib,rlc_am_nr: added logging info to to handling NACKs
3 years ago
Pedro Alvarez
330513ae57
lib,rlc_am_nr: updating segment info when segmenting RETX
3 years ago
Pedro Alvarez
9d0bbc45b3
lib,rlc_am_nr: added debug window function
3 years ago
Pedro Alvarez
1aa13cee9e
lib,rlc_am_nr: cleanup logging of configuration
3 years ago
Robert Falkenberg
1180d0f24d
lib,rlc_am_nr: properly remove all fully received SDUs from rx window
3 years ago
Pedro Alvarez
9ecf66f313
lib,rlc_am_nr: make sure that handle control PDU correctly locks the mutex
3 years ago
Robert Falkenberg
dd7bd351b3
lib,rlc_am_nr: fix pack/unpack of NACKs in status PDUs
3 years ago
Robert Falkenberg
aabd22f493
lib,rlc_am_nr: cosmetic change in assert rx_highest_status
3 years ago
Robert Falkenberg
77ae5182a6
lib,rlc_am_nr: stop/restart reassembly timer for segmented SDUs with gaps
3 years ago
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"
3 years ago
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"
3 years ago
Robert Falkenberg
1d4f10fe0d
lib,rlc_am_nr: fix search start point for update of rx_next
3 years ago
Pedro Alvarez
87a4656307
lib,rlc_am_nr: fix for transmitting invalid NACKs
3 years ago
Ismael Gomez
b3497c4a94
srsue,nr: decode SIB1 based on coreset0 configuration in MIB
3 years ago
Ismael Gomez
f83557b891
srsue,phy: use common pucch for msg3. Completed table for all pucch_common_idx values
3 years ago
Ismael Gomez
be5c3afc51
radio: fix invalid mapping of multiple channels to multiple devices
3 years ago
Ismael Gomez
65dbac0bd3
srsenb,metrics: use epre for snr computation instead of rsrp
3 years ago
Ismael Gomez
2bbeef6068
srsgnb,metrics: add ul_pucch_ni metric and refactor rssi/epre nomenclature. Fix bug in rsrp_avg computation in pucch
3 years ago
Ismael Gomez
cf647b1fd5
srsenb,metrics: add PUSCH/PUCCH RSSI metrics. Add bearer DL total data metric for RLC UM
3 years ago
Pedro Alvarez
9a0d7113bc
lib,rlc_am_nr: fix checking the wrong SDU rx state on t-Reassembly expiry
3 years ago
Pedro Alvarez
8e06861113
lib,rlc_am_nr: fixup rx_next_highest when t-Reassembly exipres
3 years ago
Pedro Alvarez
46872a8c84
lib,rlc_am_nr: fix unprotected access to rx_window during timer expiration
3 years ago
Pedro Alvarez
a15b4c039e
lib,rlc_am_nr: fix state debugging info logging. Also log current TX/RX window size
3 years ago
Pedro Alvarez
0ada2adac7
lib,rlc_am_nr: minor fixes to address coments. Re-added comment, deleted useless assignement and fixed incorrect comment
3 years ago
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.
3 years ago
Pedro Alvarez
f4ff72bff8
lib,rlc_am_nr: fixes for setting the rx_highest_status incorrectly and incorrect status report generation.
3 years ago
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)
3 years ago
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.
3 years ago
Robert Falkenberg
fbdbc81bdd
lib,pdcp: fix modulus for SN increments
3 years ago
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.
3 years ago
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.
3 years ago
Pedro Alvarez
c023dba175
lib,rlc_am_nr: cleaned up some test names and some comments.
3 years ago
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.
3 years ago
Pedro Alvarez
47aea19bd3
lib,rlc_am_nr: added test for poll setting in RETXes
3 years ago
Pedro Alvarez
1d1e6dd832
lib,rlc_am_nr: added pollBYTE support and a unit test for it
3 years ago
Pedro Alvarez
eaa8fff6a0
lib,rlc_am_nr: Passing bool to get_pdu_poll() to differentiate the
...
behaviour between RETX and non-RETX PDUs.
3 years ago
Robert Falkenberg
5bb6cdec1e
lib,rlc_am_nr: use std:vector for nacks in rlc_am_nr_status_pdu_t
...
- Also create tx_status a member to avoid frequent allocations
for each created PDU.
- Remove unused member nack_range from rlc_am_nr_status_pdu_t.
3 years ago
Robert Falkenberg
0cf052e31d
lib,rlc_am_nr: replace hard-coded WINDOWS_SIZE
3 years ago
Robert Falkenberg
80e23624f8
lib,rlc_am_nr: extract function am_window_size()
3 years ago
Robert Falkenberg
717132e0c3
lib,rlc_am_nr: fix access of unconfigured entity
3 years ago
Robert Falkenberg
47c1845cdc
lib,rlc_am_nr: add pdu_retx_queue_base, rlc_ringbuffer_base as interfaces
...
that are independent from templated capacity.
3 years ago
Robert Falkenberg
11ac8c2529
lib,rlc_am_nr: add support for 18-bit SNs
...
and first bunch of corresponding unit tests
3 years ago
Xavier Arteaga
f57cf0b195
PHY: Initial PUCCH default resource selection (hard-coded row index 11)
3 years ago
Xavier Arteaga
99d2cd068f
PHY: Initial PUCCH Format 1 frequency hopping
3 years ago
Robert Falkenberg
50ac1c6c0a
cmake: flag install() of compiled targets as OPTIONAL
...
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
3 years ago