Andre Puschmann
ceacf8508d
rlc_am_lte: fix handling of maxretx
...
this patch fixes the actions/handling after RLC detected
maxRetx reached for a given SN.
According to the TS, RLC should only inform upper layers and
not try to recover from the event itself.
As a consequence, we won't manipulate the Tx or Rx window.
As a result of this, we might retransmit a SN more than
the specified amount of times.
It's the task of RRC to reestablish the bearer to recover
from that.
2021-03-06 20:55:08 +01:00
Andre Puschmann
44e7d41f57
mac_nr: free tx softbuffer in stop()
2021-03-06 20:55:08 +01:00
Francisco
b79d09e83f
remove commented code from sched dci test
2021-03-06 20:49:05 +01:00
Francisco
fb04fdbe69
sched,bugfix - fix mcs/tbs computation for 256-QAM.
2021-03-06 20:49:05 +01:00
Andre Puschmann
9f627911df
rlc_am_{control}_test: extend status PDU test
2021-03-05 19:46:00 +01:00
Andre Puschmann
6a4bf65fd8
rlc_am_lte: extend check for valid status PDU
...
check for all NACKed SNs are smaller than ACK_SN
2021-03-05 19:46:00 +01:00
Andre Puschmann
fa23be4d6d
rlc_stress_test: fix SDU generation
...
the PDCP SN was used to fill the SDU with data. But since
the max value isn't devisable by 256 it didn't always increment
correctly. Use a normal byte now that wraps correctly.
2021-03-05 19:46:00 +01:00
Andre Puschmann
62b2327178
rlc_am_lte: fix header reconstruction
...
* optimize processing of status PDU (SN is removed from window immediately)
* fix maxRetx signaling for segments
* make tx_window_t a template class, rename and use for rx_window as well
2021-03-05 15:47:30 +01:00
Andre Puschmann
5e345df439
rlc_stress_test: make pedantic operation the default
...
among cleaning up the the stress test, it does:
* remove optional pedantic flag and make it the default to catch resegmentation issues
* use random SDU and MAC grant size the default
* use factory functions to create RLC configs (make maxretx configurable)
* remove reestablishment and print error when maxRetx is triggered
* fix NR PCAP usage and removes PCAP ifdef
2021-03-05 15:47:30 +01:00
Andre Puschmann
1a59f2d5ba
rlc_am_test: extend header reconstruction test
...
this patch adds various new test cases generated from
rlc_stress_test to test header reconstruction.
2021-03-05 15:47:30 +01:00
faluco
dc6a2e5160
Implement a log spy to check if a certain message has been logged.
2021-03-05 15:47:30 +01:00
Francisco
f79f3ca56f
change default sib and rr conf PUCCH-specific default values to decrease the size of PUCCH
2021-03-05 14:59:44 +01:00
Francisco
c53778134f
config mac pucch parameters from RRC
2021-03-05 14:59:44 +01:00
Francisco
9eeddcec5f
disabled prach vs pucch collision detection temporarily until enb cfg files are updated in the rfci
2021-03-05 14:59:44 +01:00
Francisco
cf7661e10f
perform small pusch allocation in case no space can be found in the PUCCH for ACK
2021-03-05 14:59:44 +01:00
Francisco
102cb196e1
Addition of enb cfg option to choose between PUCCH with multiplexing and without. Change default prach offset to 4.
...
- The new prach offset of 4 accounts for the size of the PUCCH-ACK region with 100 prbs
2021-03-05 14:59:44 +01:00
Francisco
34e39a9835
Implementation of scheduler algorithm to avoid PUCCH collisions
...
- The cch_allocator considers the existence of a fixed PUCCH region dedicated to CQI, SR, and HARQ ACKs
- At the moment PUCCH multiplexing is not considered
- The PUCCH width was increased to accommodate possible PUCCH-ACK positions
2021-03-05 14:59:44 +01:00
Francisco
8ae8b31ba2
Allow collisions between PUCCH and Msg3 for 6 PRBs
...
- The UL Harq now stores the type of UL alloc (msg3 or data)
2021-03-05 14:59:44 +01:00
Francisco
39aea96c69
fix sched tests UL HARQs. Set common pucch cfg in the sched tests
2021-03-05 14:59:44 +01:00
Andre Puschmann
99df71a914
rf_zmq: make error message when port bind failed more verbose
2021-03-05 10:36:11 +01:00
Francisco
7dcfe7bf0e
sched: updated tbs calculation test. Fix edge cases that failed the test.
2021-03-04 23:40:35 +01:00
Francisco
ed8ab3871c
re-designed algorithm to compute lowest mcs that meets cqi,req_bytes,nof_prbs requirements in the scheduler
2021-03-04 23:40:35 +01:00
Francisco
3dd7877199
wrote unit test to check tbs,mcs derivation based on cqi,nof_prb in scheduler
2021-03-04 23:40:35 +01:00
Francisco
9748c0be84
simplified tbs/mcs computation in scheduler
2021-03-04 23:40:35 +01:00
Pedro Alvarez
9c67a029b5
Trying to make calculation of offset in status report more readable
2021-03-04 11:22:53 +01:00
Pedro Alvarez
7b23a83306
Fixup tests to consider wrap-around in status report
2021-03-04 11:22:53 +01:00
Pedro Alvarez
c4e9516561
Fix issue when LMS wraps-around and FMS doesn't in PDCP status report. Fix incorrect update of FMS on clear_sdu. Adding unit test to LMS wrap-around.
2021-03-04 11:22:53 +01:00
Pedro Alvarez
0d020a7f07
Disable sending and handling status report on SRBs
2021-03-04 11:22:53 +01:00
Xavier Arteaga
81cc8de2b7
Protect NAS unbounded message read
2021-03-03 23:06:47 +01:00
David Rupprecht
5285550880
Fixes write SIB pcap define flag back to normal
2021-03-03 22:59:23 +01:00
David Rupprecht
e3d001a48e
Proc RA NR test: fixed uninitialized values
2021-03-03 22:50:05 +01:00
Francisco
d54cef63b2
avoid reallocating CC in mac::ue when an SCell Activation CE is sent
2021-03-03 16:49:15 +01:00
David Rupprecht
6317c9295c
SRSUE NR: Removed workaround to add pdcp lte bearer
2021-03-03 11:54:32 +01:00
David Rupprecht
027c20b0d3
SRSUE: Option mac pcap nr and lte write to the same pcap file
2021-03-03 09:50:15 +01:00
David Rupprecht
aef6805d03
Added pcap net feature to eNodeB
2021-03-03 09:50:15 +01:00
David Rupprecht
f6d8f13053
SRSUE: Updated ue config packet capture description
2021-03-03 09:50:15 +01:00
David Rupprecht
410c8e5d0e
Fix typo
2021-03-03 09:50:15 +01:00
David Rupprecht
9e72d89fa1
MAC PCAP move run thread in base class
2021-03-03 09:50:15 +01:00
David Rupprecht
894e4d3501
Added mac pcap network class that dumps the packets to a udp network sink
2021-03-03 09:50:15 +01:00
David Rupprecht
a58f0642cb
created pcap base class for main handling
2021-03-03 09:50:15 +01:00
David Rupprecht
da658ed2d4
Changable UE ID for enodeb
2021-03-03 09:50:15 +01:00
David Rupprecht
5a95cbdfae
Disable rat assignment in pcap class
2021-03-03 09:50:15 +01:00
David Rupprecht
24bea9a860
Refactored functions for pcap udp packing and write lte mac pcap with udp frame
2021-03-03 09:50:15 +01:00
David Rupprecht
bb3e87302d
Added new pcap enable option and mac nr
2021-03-03 09:50:15 +01:00
Pedro Alvarez
3f4cf0a91f
Fix setting last_submitted_rx_sn in HO
2021-03-02 22:44:59 +01:00
AlaiaL
390a4c0f76
[metrics] Changing variable types.
...
Adjusting the license.
2021-03-02 22:17:13 +01:00
AlaiaL
13fdbd9e0f
[metrics] Fixed csv header for srsenb
2021-03-02 22:17:13 +01:00
AlaiaL
723c56051e
[metrics] Changed the extension from cpp to cc.
...
- Fix date of CMakeLists.txt.
- Initialization of the used variables in the cpu usage calculation.
2021-03-02 22:17:13 +01:00
AlaiaL
41cf15f5ad
[metrics] Adjusted function names and documentation
2021-03-02 22:17:13 +01:00
AlaiaL
b1483802a2
[metrics] restoring metrics_stdout for enb and ue
2021-03-02 22:17:13 +01:00