Xavier Arteaga
e832769ae6
Updated copyright
2020-03-16 11:26:06 +01:00
Francisco Paisana
afd7ea9e83
Fixed the check for msg3 delay to account for retxs
2020-03-13 19:57:48 +00:00
Francisco Paisana
5330249625
created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure
2020-03-13 19:20:40 +00:00
Francisco Paisana
e824cbd251
fixes in the mac log and cell parsing
2020-03-13 18:45:38 +01:00
Andre Puschmann
1099e75e7c
fix SCell carrier list population for MAC config
...
the issue caused to assign 0 as enb_cc_idx for the first SCell always
2020-03-13 18:41:24 +01:00
Xavier Arteaga
caf7b514a0
Avoid TTI initial magic number
2020-03-13 14:01:58 +01:00
Xavier Arteaga
5af89513eb
use double precission for frequency in srsue and srsenb
2020-03-13 14:01:58 +01:00
Xavier Arteaga
834a081c09
Add EPRE measurement to PUSCH decoder
2020-03-13 14:01:58 +01:00
Francisco Paisana
567790c1a2
Renamed struct to store cell context in rrc. Moved sib buffers to this struct. Created helper methods for lookup
2020-03-13 11:46:12 +00:00
Francisco Paisana
fe3195bb27
add default pcell to ue_cfg in RRC
2020-03-13 11:46:12 +00:00
Francisco Paisana
ce03971ca0
fix rrc_mobility_test
2020-03-13 11:46:12 +00:00
Francisco Paisana
349aed5e0d
use sib configuration to set SCellToAddModList
2020-03-13 11:46:12 +00:00
Andre Puschmann
764c912977
fix a few more displaying issue in the stdout metrics
2020-03-13 11:34:32 +01:00
Francisco Paisana
4217dba7e0
fix msg3 delayed allocation and update test
2020-03-13 08:30:42 +01:00
Ismael Gomez
e8b8c9922e
Add RF per-channel frequency band constraints ( #1026 )
2020-03-12 23:06:09 +01:00
Andre Puschmann
2f8643fb97
add tx/rx pkt ok/nok to enb metrics, also add enb metrics test
...
This is what it'll look like if running the new test:
------DL--------------------------------UL-------------------------------------
rnti cqi ri mcs brate ok nok (%) snr phr mcs brate ok nok (%) bsr
46 16 1.5 28 15.2G 1000 1000 100% 14.2 12.0 20 15.2M 50 10 20% 100.0
ffff 1.2 1.5 6.2 1.00M 100 54 54% 22.2 99.1 28 1.00k 50 10 20% 100.0
2020-03-12 21:43:36 +01:00
Andre Puschmann
074ffbbb1d
remove braces and reformat code
2020-03-12 21:04:15 +01:00
Andre Puschmann
a95605a8a2
trim log name for eNB
2020-03-12 21:04:15 +01:00
Andre Puschmann
f14697cdaa
schedule PMI for SCells right after PCell, disable SRS for SCells
2020-03-12 21:04:15 +01:00
Andre Puschmann
fdb7b0fa41
fix simple typo
2020-03-12 20:55:47 +01:00
Andre Puschmann
111aa6fc46
add SIB3 definition and enable in SI scheduling
...
SIB3 contains common cell re-selection information for intra, inter and intra-RAT cell reselection
2020-03-12 20:55:47 +01:00
Andre Puschmann
90beda34a1
fix parsing of optional field in SIB3
2020-03-12 20:55:47 +01:00
Andre Puschmann
c534ee2b55
fix SCell packing in RRC reconfig
2020-03-12 12:22:41 +01:00
Andre Puschmann
0e4f97d1a0
fix bug in MAC where new PHY RNTI was always registered for enb_cc_idx==0
2020-03-12 12:22:41 +01:00
Andre Puschmann
ab210c5f3c
tiny cosmetic changes to the error messages printing 0x and clear cc_idx use
2020-03-12 12:22:41 +01:00
Andre Puschmann
b7aad27d86
move packing of SCell list into extra method and add fill PHY config on the spot
...
previously we've packed the RRCReconfig with SCellToAddMod list and have then
parsed the message again to pack the PHY config dedicated for the new SCell carrier. This
is now done in one step.
2020-03-12 12:22:41 +01:00
Francisco Paisana
d18b476e37
use utility macro for printing function name
2020-03-12 11:11:20 +00:00
yagoda
f09c8324eb
adding success/error macros in scheduler.cc
2020-03-12 11:11:20 +00:00
yagoda
bfa451559b
adding error logs to some scheduler function calls to ue_db to add clarity
2020-03-12 11:11:20 +00:00
Francisco Paisana
9b4a0baa87
activate scells in the phy
2020-03-11 21:56:33 +01:00
Francisco Paisana
7548402632
change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers
2020-03-11 21:56:33 +01:00
Xavier Arteaga
c42cb92784
Fix srsENB PHY stop
2020-03-11 21:17:13 +01:00
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
2020-03-11 21:16:36 +01:00
Xavier Arteaga
442926cf66
Fix enb_phy_test deadlock
2020-03-11 12:08:24 +01:00
Andre Puschmann
a8acd235f6
extend eNB MAC to support multiple CC per UE
...
- add tx/rx softbuffers for each CC that a UE might have
- make sure to call assign correct buffers when iterating
over the CC for UL/DL grant assignment
2020-03-11 10:16:23 +01:00
Pedro Alvarez
96c82b3fc6
Moved PDCP configs to pdcp_config.h. Added `as_security_cfg_t` structure to hold access stratum keys.
...
Refactored PDCP, RRC and USIM accordingly.
2020-03-11 09:00:38 +00:00
Francisco Paisana
dc8dca2a08
fix namespace-related compilation error
2020-03-10 22:06:07 +00:00
Francisco Paisana
a744729007
use range of rbgs
2020-03-10 22:06:07 +00:00
Francisco Paisana
46579da1ff
use signed integer to express the error
2020-03-10 22:06:07 +00:00
Francisco Paisana
9ad80ee29f
added initial_dl_cqi to the enb rr.cfg parser
2020-03-10 22:06:07 +00:00
Francisco Paisana
bcbb08ebae
use initial_dl_cqi for first DL tx.
2020-03-10 22:06:07 +00:00
Francisco Paisana
ab69c6fe43
account for delays in RAR tx in scheduler CA tester
2020-03-10 22:06:07 +00:00
Francisco Paisana
3b937348a2
refactored some sched util methods
2020-03-10 22:06:07 +00:00
Francisco Paisana
fad897cb35
DL scheduler metric now takes into account the min and max of RBGs possible. This is to forbid segmentation of SRB0 allocations
2020-03-10 22:06:07 +00:00
Francisco Paisana
6317750de2
fix computation of ranged of allowed sched dl bytes
2020-03-10 22:06:07 +00:00
Francisco Paisana
414259e83b
fix allocation expected alloc bytes (min and max)
2020-03-10 22:06:07 +00:00
Francisco Paisana
698899d309
added scells to enb rrc reconf message
2020-03-10 21:32:16 +01:00
Xavier Arteaga
d585cf14f3
SRSENB: phy_ue_db returns default configuration for non User C-RNTI
2020-03-10 20:51:24 +01:00
Xavier Arteaga
47b7c1b72b
SRSENB: remove assert macros from phy_ue_db.cc
2020-03-10 20:51:24 +01:00
Andre Puschmann
f2e1bfa699
refactor naming for s/p/cell structs and {enb,ue}_cc_idx
2020-03-10 15:01:00 +01:00