Francisco Paisana
a61d59993f
sched,nr: created time-domain round-robin scheduler
3 years ago
Francisco Paisana
eecfee365b
sched,nr: fix softbuffer dimensioning for NR scheduler. Renamed sched_nr_rb_grid file
3 years ago
Andre Puschmann
4795f57da0
enb,mac: only handle MAC SDUs
3 years ago
Andre Puschmann
824424a858
slot_worker: fix length calculation for PUSCH PDUs
3 years ago
Andre Puschmann
32ab1baeb1
enb,rrc: during NSA activation, remove EUTRA DRB and set MAC logical channel config
3 years ago
Andre Puschmann
fc2b6a7fb5
ue,rrc: fail NR reconfiguration if mac-logicalChannelConfig is not present
3 years ago
Andre Puschmann
2e9f487ebc
enb,nsa: add missing RLC config and MAC cell group config
3 years ago
Andre Puschmann
9e7852ac83
srsran_asn1_nr: add RLC config to packing test
3 years ago
Andre Puschmann
e6d9ec40ef
ue,rrc: let RRC reconfig fail when LCID cannot be derived from DRB id
3 years ago
Andre Puschmann
1c3a03cb2b
rlc: fix memleak in queue_rx_pdu
...
* alternative to #3141
* use byte_buffer as queue element
3 years ago
faluco
deb157daa2
Fix an invalid read lock when mutating the users member map in the rlc class.
...
The method rlc::add_user should use a write lock instead since we assert that no user exists before inserting a new one.
3 years ago
Andre Puschmann
46346d6a9a
enb,nr: init RLC and PDCP components
3 years ago
Andre Puschmann
c365c16531
gnb_interfaces: inherit from EUTRA interfaces when they are identical
3 years ago
Andre Puschmann
4076338a1b
enb: add MAC-NR PCAP
...
* use fixed filename until eNB stack layout is decided
3 years ago
Andre Puschmann
c03623863b
enb,nsa: fix UL PDU processing
...
* remove const from pusch_info() MAC/PHY interface to allow moving unique byte buffer
3 years ago
Andre Puschmann
10ce25442f
rrc_nr: remove redundant configuration of log level
3 years ago
Andre Puschmann
40cabdff08
set DL MCS for NR to 28
3 years ago
Andre Puschmann
08215a85ff
enb,nr: handle nullptr return when allocating PDU
3 years ago
Andre Puschmann
fc35c0ee51
enb,nsa: fix packing of DL MAC PDUs
...
* use byte_buffer_t as interface type for DL PHY-MAC interface
* fix missing clear() for new DL tx
3 years ago
Andre Puschmann
4a828be39f
rlc_am_test: fix reestablishment test
...
after changing the retx counting we receive one SDU more than before
3 years ago
Andre Puschmann
7726acad41
rlc_am_lte: fix counting of retx of entire PDUs and PDU segments
...
this patch fixes a bug discovered in a real network where the DL CQI of a
user degraded repidly in very short time. A relativly big RLC PDU that
was still sent with the good CQI in a big grant now needs to be split
across many tiny segments because the CQI degraded so much.
The retx couting for each transmitted segment caused the retx counter to
reach maxRetx quickly.
With this patch we do not increment the retx counter for each transmitted
PDU or segment of a PDU but instead only increment the counter when
a given SN is added to the retx queue. This can happen either:
a) if the SN is negativly acknowledged and was not already on the retx queue,
b) no new data is available for tx and a SN is selected for retx.
This is in accordance with TS 36.322 which handles retx counting in section
5.2.1 according to the above description.
3 years ago
Xavier Arteaga
cba6df3722
Extended NR PHY robustnes against wrong RRC configuration
3 years ago
Xavier Arteaga
d518f6da46
Added gNb RRC missing fields
3 years ago
Xavier Arteaga
de89e829e7
Added NR PUCCH Resource ASN1 helper
3 years ago
Xavier Arteaga
3ae131b336
gNb creates PUSCH decode PDU
3 years ago
Xavier Arteaga
ac39607c22
Add HARQ codebook configuration in GNB RRC
3 years ago
Xavier Arteaga
0ca70e6ad7
Implement enb to gnb number of PRB conversion
3 years ago
Xavier Arteaga
98f29961bc
Fix old GCC compilation
3 years ago
Xavier Arteaga
856573b92f
Added 4096 symbol size as LTE rate
3 years ago
Xavier Arteaga
6707ec9928
Introduced multiple BW for PHY DL NR test
3 years ago
Xavier Arteaga
b728367149
Fix Scheduler NR cell config generator for variable number of PRB
3 years ago
Xavier Arteaga
54e1fe172c
Minor NR PHY aesthetical modifications
3 years ago
Xavier Arteaga
ce0cd230bb
Reduced NR PHY test PDSCH MCS to 27
3 years ago
Xavier Arteaga
956c4f8266
Added PHY NR test TDD FR1.15-1 pattern
3 years ago
Xavier Arteaga
dfa323df6b
Added 20MHz default configuration
3 years ago
Xavier Arteaga
ea802c23f2
Remove PHY lib verbose from test and use byte vector random function
3 years ago
Xavier Arteaga
4bc7df45c6
Added R.PDSCH.2-1.1 TDD reference for NZP-CSI-RS testing
3 years ago
Xavier Arteaga
1b50758bd5
Initial NZP-CSI default configuration from TS38.101-4
3 years ago
Xavier Arteaga
64885a6741
Added PDSCH debug trace in slot worker
3 years ago
Alejandro Leal Conejos
184f51486e
Added new line to split the header from the actual code.
3 years ago
Andre Puschmann
be81fda08d
phy: move initial NR config into init_nr() helper
3 years ago
Andre Puschmann
0a40880a9f
fix typo
3 years ago
Andre Puschmann
6148ed043e
rrc_nr: hard-code new UE id to 0x4602
3 years ago
Andre Puschmann
28668aac34
ue,proc_ra_nr: add temporary flag to skip RAR reception
...
this will be removed again as soon as the eNB supports full RAR
transmission.
3 years ago
Andre Puschmann
7e38a5119b
enb: fix log IDs and default params
3 years ago
Andre Puschmann
f1658cbf98
enb,mac_nr: fix handling of UCI data from PHY
3 years ago
Andre Puschmann
2adb1c0723
sched_nr_worker: make cond var to sync workers an integer
...
the boolean isn't enough for more than 2 PHY workers, replace by int
3 years ago
Andre Puschmann
3b5344b0f7
thread_pool: add optional ID to thread pool
...
this allows to prepend an ID to each thread pool to
better differentiate workers from different pools
3 years ago
Andre Puschmann
4d9d882d75
phy_common: fix getter for nof PRB and ports for NR carriers
3 years ago
Andre Puschmann
c0163d7389
nr,slot_worker: add mutex to protect class from concurrent access
...
detected during debug while slot_worker was still initialized on the
main process, the PHY workers were already running and accessing
class members
3 years ago