Francisco
d7fae0b7a3
Implementation of time-domain PF scheduler
...
- PF scheduling becomes the new default
2020-12-12 15:59:26 +01:00
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
2020-12-12 15:59:25 +01:00
Francisco
a5ef9f1eb9
potential fix for heap-overflow in scheduler, issue #2053 . Added a bound check for the number RACH handled per tti. RACHs are ignored once the limit is surpassed.
2020-12-12 15:59:25 +01:00
Francisco
2fcb507de7
Fix gcc compilation errors with false_position_method in sched_ue.cc
2020-12-12 15:59:25 +01:00
Francisco
8d181ef41c
Optimization of cc_sched_ue::cqi_to_tbs(...) method via the use of root-finding algorithm
2020-12-12 15:59:25 +01:00
Francisco
94efeab672
Optimization of sched_ue methods to derive required number of prbs to allocate to a rnti
...
This optimization has been achieved by:
- implementation of "false position method" root-finding algorithm
- application of the false position method in cc_sched_ue::get_required_prb_dl/ul(...)
The number of iterations in the worst case scenario, reduced from 100 to 5 with
the proposed algorithm.
2020-12-12 15:59:25 +01:00
Francisco
2dc3fce9bd
fix derivation of UL-64QAM support from the UE Capabilities in the eNB
...
Before this PR, the eNB was not activating UL-64QAM if the UE release was below 12,
due to an erroneous convertion of the ASN1 EUTRA Capabilities struct into the flattened
srslte::ue_capabilities_t.
With this PR, the eNB activates UL-64QAM for the following cases:
- UE category 5
- UE category 8 and release >= 10
- UE category UL 8 and release >= 12
2020-12-12 15:59:25 +01:00
Francisco
f07e52129c
increase mcs ul upper bound to 24 when ue is cat4 and enb supports 64qam. Simplified max_mcs computation
2020-12-12 15:59:25 +01:00
Francisco
3d80ff4831
fix activation of PDCCH for adaptive retxs.
2020-12-12 15:59:25 +01:00
Francisco
fc81a5c6ba
harq ack state can now only be NACK or ACK. The ul_harq pending phich flag is now reset after phich scheduling. Thus, the existence of a crc_info(...) signal from the PHY is not required.
2020-12-12 15:59:25 +01:00
Xavier Arteaga
53d8319d2b
SRSUE: protect secondary serving cell synch from concurrent access
2020-12-12 15:59:25 +01:00
Xavier Arteaga
287e651ef1
SRSUE: Protect nullptr buffer in secondary serving cell synch
2020-12-12 15:59:25 +01:00
Andre Puschmann
477fe77f24
rlc_am: reformat log message for PDU retx
2020-12-12 15:59:25 +01:00
Andre Puschmann
1ecfb88e46
txrx: fix double white space
2020-12-12 15:59:25 +01:00
Andre Puschmann
6d3af2d2bd
rlc_um: fix bearer name in logging after re-configuration
...
the RLC bearer name was empty after reestablishing a UM bearer.
we need to pass the RLF config and RB name to the internal configure()
call of the Rx entity, like we already do for the Tx side
2020-12-12 15:59:25 +01:00
Xavier Arteaga
225bc9d260
Enable FEC SIMD acceleration
2020-12-12 15:59:25 +01:00
Jesus Gomez
c9cdb0d53c
Solve Issue 1: Invalid read in LDPC AVX2 Encoder/Decoder
2020-12-12 15:59:25 +01:00
Andre Puschmann
d014a89cfb
pdsch_ue: enable EVM measurements for PDSCH
...
enable EVM measurements by default and print them in to stdout.
This is very useful for manual receiver calibration with the
PDSCH eNB example.
2020-12-12 15:59:25 +01:00
Andre Puschmann
504d8fd9f0
pdsch: calculate average PDSCH EVM over all decoded codewords
...
when EVM measurements are enabled, instead of only logging them for
each decoded codeword, we also calculate the average.
this is useful for calibration.
2020-12-12 15:59:25 +01:00
Andre Puschmann
cfee074756
pdsch_enodeb: add tx gain control over page-up/down keys
...
this allows to modify the tx gain of a running pdsch_enodeb
with the page-up/down keys in 1dB steps
2020-12-12 15:59:25 +01:00
Andre Puschmann
382f56fbea
pdsch_{ue,enodeb}: add -Q switch to enable use of standard LTE rates
...
this is useful for RF equipment that doesn't support the shorter symbol
size we use by default, e.g. the N310
2020-12-12 15:59:25 +01:00
Xavier Arteaga
755325fc3e
Avoid sizeof and standard memory functions
2020-12-12 15:59:25 +01:00
Xavier Arteaga
35bf5b8c6d
Added generic memory malloc
2020-12-12 15:59:25 +01:00
Xavier Arteaga
83dddae525
Added vector zero
2020-12-12 15:59:25 +01:00
Xavier Arteaga
a5537cc1ef
Correct argument
2020-12-12 15:59:25 +01:00
Xavier Arteaga
b7fc2299e5
Softbuffers initialise buffer pointers with zero memory
2020-12-12 15:59:25 +01:00
Xavier Arteaga
6d3bf7089f
SRSUE: use available carriers for inter-frequency measurement
2020-12-12 15:59:25 +01:00
Andre Puschmann
43220e42d6
enb: print cell bandwidth when initializing them carrier
...
this allows to quickly check the cell bandwidth
2020-12-12 15:59:25 +01:00
Andre Puschmann
7f81f44427
rf_uhd: treat N3xx like the X3xx and do not set timespec on every burst iteration
...
the N310 too doesn't seem to like setting the timespec for each call to
send in a single burst
2020-12-12 15:59:25 +01:00
Francisco
7a74bf28d1
forward declare s1ap types in enb interfaces
2020-12-12 15:59:25 +01:00
Francisco
95cc6238a5
compilation time reduction - avoid including enb_stack_lte.h in main.cc and include enb_stack_base instead
2020-12-12 15:59:25 +01:00
Francisco
66712023bb
remove unneeded includes of full rrc asn1 lib
2020-12-12 15:59:25 +01:00
Francisco
3067e81e67
fix check of pending UL bytes
2020-12-12 15:59:25 +01:00
Francisco
bb96625129
renaming lch_manager -> lch_ue_manager
2020-12-12 15:59:25 +01:00
Francisco
a348508072
simplified sched_ue pending DL bytes calculation API
2020-12-12 15:59:25 +01:00
Francisco
0ffea62411
Wrote logging functions for SCHED MAC CE/LCID allocations
2020-12-12 15:59:25 +01:00
Francisco
c1fb161004
Move sched lch_manager to separate file
2020-12-12 15:59:25 +01:00
Francisco
eae0dc93ad
rename scheduler files. scheduler -> sched
2020-12-12 15:59:25 +01:00
Francisco
4350e8ff70
fix calculation of number of users during the phy metrics acquisition
2020-12-12 15:59:25 +01:00
Francisco
68eda336bd
remove ENB_METRICS_MAX_USERS compile time macro and use run-time variable to set maximum number of UEs the srseNB can have connected at a given instant.
2020-12-12 15:59:25 +01:00
Pedro Alvarez
2dfe335117
Remove -Winline from compiler flags.
2020-12-12 15:59:16 +01:00
Pedro Alvarez
a115c058bd
Fix issue copying the libsrslte_rf.so for packaging.
2020-12-12 15:59:16 +01:00
Andre Puschmann
8465a41980
add changelog and bump version 20.10.1
2020-12-12 15:59:16 +01:00
Ismael Gomez
ce20cc4c54
Add missing current_tx_nb which was causing all in uplink to fail
2020-12-12 15:58:34 +01:00
Pedro Alvarez
d05bc064b5
Reduced SCTP connect() timeout.
...
Added configuration for RTO_MAX. Cleanup debug prints.
2020-12-12 15:58:34 +01:00
Pedro Alvarez
6929883649
Added mutex and condition_variable to srsUE's nas_test to avoid race condition on thread initialization.
2020-12-12 15:58:34 +01:00
Francisco
324cb80cac
rename cell_info_common->enb_cell_common and cell_ctxt_dedicated->ue_cell_ded
2020-12-12 15:58:34 +01:00
yagoda
bdc1964335
consolidating RRC eMBMS configuration into single function, setting some parameters to const
2020-12-12 15:58:34 +01:00
yagoda
b90574975b
refactoring asn1 eMBMS code, removing asn1 from PHY and MAC in eNodeB
2020-12-12 15:58:34 +01:00
Andre Puschmann
fb83b5c307
enb: fix reestablishment with AS security enabled
...
this fixes RRC reestablishment with security turned on
the bearers, primarily SRB1, were reestablished before the "old"
security context was restored from the previous RNTI of the
reestablishing user.
this let SRB1 without proper security config. therefore the UE
couldn't decrypt the first response of the UE on SRB1 that was
already encrypted.
2020-12-12 15:58:34 +01:00