177 Commits (66bf6fd28c319e95113283b3c5d507ed87a92338)

Author SHA1 Message Date
Xavier Arteaga 0ca70e6ad7 Implement enb to gnb number of PRB conversion 3 years ago
Andre Puschmann ffc63ea270 enb: use band_helper to derive freqencies for NR carrier 3 years ago
Xavier Arteaga 97db7f2d34 Added custom frequency in cell parser 3 years ago
Ismael Gomez 5d034b067e
Add option to rr.conf to select sub-band CQI K value (#3071) 3 years ago
Francisco 2a31daca4a enb,configuration: allow to specify enb specific max nof RLC retxs 3 years ago
Pedro Alvarez e946cbd5de Tweaked SRB parsing to remove unecessary parenthisis 3 years ago
Pedro Alvarez 8d41c0d476 Maded SRB configuration optional in rb.conf 3 years ago
Pedro Alvarez f0a28ebc88 Rename drb.conf to rb.conf to reflect the now configurable SRBs. 3 years ago
Pedro Alvarez 17c09dfd75 Changed enb_cfg_parcer.cc to use SRSRAN_ERROR instead of -1 for error returning. 3 years ago
Pedro Alvarez e19df2aedb Make sure that SRB configuration goes in RR config dedicated message. 3 years ago
Pedro Alvarez 72cf3a1cec Added RLC SRB1 and SRB2 configuration ability.
The configuration was added to drb.conf
3 years ago
Francisco 6ababf401b feature,sched: allow setting initial DL CQI in enb.conf 3 years ago
Francisco ceaef3523f sched,feature: Enable setting the target PHR below which the maximum UL grant size starts decreasing 3 years ago
Francisco a587d20252 allow specification of subset of valid measurement gap offsets in rr.conf 3 years ago
yagoda 9501283c1c fixing support for extended Cyclic Prefix
small cosmetic fixes of CP code
4 years ago
Francisco 9464f36714 make eNB UE release timer after RLF detection configurable 4 years ago
Francisco 15484e9472 rrc - make t304 configurable via rr.conf 4 years ago
Francisco 5818488b27 change enb max_nof_ues config parameter to nof_prealloc_ues 4 years ago
Francisco Paisana d39183419c
Separate TPC PUSCH and PUCCH target SINR (#2740)
* separate target pusch and pucch sinr configurations in tpc class and rr.conf
4 years ago
David Rupprecht f42d4dbc28 Refactored carrier config 4 years ago
Ismael Gomez 77b11b82ac
Release UE if no activity in DRB (#2658)
* Count user activity with DRB only and SRBs for initial procedures. Add counter to release user after max KO in UL.
4 years ago
Francisco 4838cd2f5e implement cell measurement bandwidth feature 4 years ago
Francisco 14d32db92f implement Handover direct forwarding path availability configuration feature 4 years ago
Francisco b8fa1d1b61 fix rrc mobility test 4 years ago
Francisco d142d7b6a5 update test helpers for enb, so that the rrc tests pass 4 years ago
Francisco 8fe27a72d0 enb - decreased default enb.conf mac.max_nof_ues to 8 to avoid large memory pool preallocations 4 years ago
Pedro Alvarez 47135cb75b Changed counting of KOs to RRC 4 years ago
Pedro Alvarez 8e48467a30 Make sure that meas_report_desc is present if ho_active == true in rr.conf 4 years ago
Codebot 4523ee6087 rename srsLTE to srsRAN 4 years ago
Francisco 3e9f93eb8a refactor - remove old log_filter and logmap libraries from the codebase 4 years ago
Pedro Alvarez bea78512e5 Make sure the eNB exits with error when some invalid configs are provided 4 years ago
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
4 years ago
Francisco 4b09507c19 remove srslte.h includes from upper layers 4 years ago
Francisco 6404722b4b convert qci_cfg in srsenb to std::map to allow qci values above 10 4 years ago
faluco 711438f756
Port enb specific classes to use srslog (#2155)
* - Started porting the enb PHY layer to use srslog loggers.
- Updated srslog to manage the none level.

* Finished porting enb phy layer including the NR part.

* Ported MAC, GTPU, PDCP, RLC and S1AP enb classes to use srslog.

* Use new stack logger.

* Ported the enb RRC clases to use srslog.

* Remove unused log macros.

* Replace loggers in sched, sched_carrier, sched_helpers.

* Replaced loggers in sched grid.

* Replaced loggers in sched harq.

* Replaced loggers in sched ue.

* Replaced loggers in sched ue ctrl.

* Replace loggers in sched ue ctrl TPC.

* Replaced loggers in sched subclasses.

* Replaced loggers in rrc_meascfg_test

* Configure loggers in rrc_mobility_test.

* Fix compilation errors left out after the rebase.

* - Implement a custom log sink that will serve as a test spy to intercept and count the number of error and warning log entries.
- Adapt the erab_test_setup and rrc_mobility tests to use this new class and make them pass again.

* - Remove trailing new lines introduced in the rebase.
- Ported the sched_ue_cell class to srslog.

* Remove unused log member.

* Ported mac tests to srslog.

* - Removed remaining trailing newlines from log entries.

* Fix compiler errors detected in CI.

* Fix another static variable without definition passed to log lines.

* Fixed a bug in srslog::flush that would never end when the backend queue is full.

* Fetch the RRC logger instead of injecting it in the constructor.
4 years ago
Francisco Paisana 2abe486e18 separate control loops for PUCCH and PUSCH TPC 4 years ago
Francisco Paisana 099dad8cb1 disable PHR handling in the UL sched by default 4 years ago
Francisco 479602ed1d add option to specify target ul sinr for UL power control to the enb rr.conf parser 4 years ago
Xavier Arteaga b501f2eeaf SRSENB/UE: Added NR workers 4 years ago
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 4 years ago
Francisco 1cb65f07f1 enable meas gaps in RRC and enb parser 4 years ago
Francisco Paisana 510959b50f update nr asn1 files, and asn1 tests 4 years ago
Andre Puschmann ff21d9c077 enb: fix error log when parsing cell config 4 years ago
Francisco Paisana 4230a60859 added a warning to the enb parsing that checks for invalid cell pci configurations 4 years ago
yagoda 7e60d8aae5 fixing issue with explicit uplink frequency setting 4 years ago
Francisco Paisana 78a3370396 added comment explaining that we evenly distribute PUCCH resources between SR and CQI 4 years ago
Francisco Paisana 68acad25c6 altered default SR and CQI mapping in rr.conf parsing to avoid collisions 4 years ago
Francisco Paisana 1abec61498 allow inactivity timers below the recommended value 4 years ago
Francisco Paisana b47f8e6c1a increased rrc inactivity timer to avoid unnecessary pagings while
setting up an initial enb-ue iperf connection
4 years ago
Pedro Alvarez 8e00febb1d srsENB: Derive inactivity timeout from T310 and T311 and N310. 4 years ago
Andre Puschmann 06d31f46ba enb: set maximum allowed TTI difference between PHY and Stack TTI clocks for ZMQ
this fixes the issue where PHY and MAC threads, and the processing
of events therein, are drifting apart too much.

This patch effectivly enforces a strong wait on the PHY if the
stack thread is too slow in processing its tasks.

For RF hardware the default is still 8192 TTIs, for ZMQ 1 TTI is used.
4 years ago
Pedro Alvarez 51f8ba60da Make MBMS MCS configurable for the eNB. 5 years ago
Francisco Paisana 71520d681a changes in pucch res allocation api to allow replacing p/scells 5 years ago
Pedro Alvarez 6a65cb0624 Accept both decimal and hexadecimal for enb_id 5 years ago
Francisco Paisana 5f4b0b1e0c added default sf_mapping for cqi and sr in the enb parser 5 years ago
yagoda faf1cf6975 limiting prach search space to number of prachs set in sib2 5 years ago
Xavier Arteaga a59884a14a SRSENB: configure PUCCH3 as default HARQ feedback for CA 5 years ago
Francisco Paisana 0526ae8ab1 updated rrc mobility parsing. added some utility methods 5 years ago
Francisco Paisana 6fedec8223 avoid dangling scells 5 years ago
Andre Puschmann d69aa55a42 enb: don't exit enb if rr.cfg for 6 PRBs isn't correct
we agreed to print the error message but still patch the values to
work for 6 PRBs. Since there is only one option there is not
configuration ambiguity.
5 years ago
Francisco Paisana 179e959d05 fix msg3 retx issue. Now nof_prb for pucch above 1 are forbidden for prb==6 5 years ago
Francisco Paisana 0770c13f08 fixed overwriting of parsed max CFI 5 years ago
Francisco Paisana 4fc243ae4b added minimum CFI to config 5 years ago
Francisco Paisana ede09cb9b2 added dynamic CFI capability to the eNB scheduler 5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Francisco Paisana e824cbd251 fixes in the mac log and cell parsing 5 years ago
Xavier Arteaga 5af89513eb use double precission for frequency in srsue and srsenb 5 years ago
Andre Puschmann 90beda34a1 fix parsing of optional field in SIB3 5 years ago
Francisco Paisana 9ad80ee29f added initial_dl_cqi to the enb rr.cfg parser 5 years ago
Andre Puschmann 73feeaeba9 make UL earfcn optional in cell list 5 years ago
Andre Puschmann 120ad76c63 refactor cell param handling and fix SIB transmissions
- move cell specific eNB params to cell list in rr.conf
- make sure DL EARFCN and DL freq can be used to manually overwrite a single cell config
- fix SIB packing and transmission for multi cell configs
- introduce cell list to MAC
- adapt default enb.conf.example and rr.conf.example
5 years ago
Ismael Gomez 4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers (#1019) 5 years ago
Andre Puschmann 33a410bda4 fix parsing of DL/UL earfcn in cell config
using a single earfcn or dl_freq value that gets set by default
in the [rf] section doesn't make sense in a enb config with more
than 1 cell, so we should actually remove the earfcn/freq setting in [rf]
and only configure the radio through the values in the cell list in rr.cfg
5 years ago
Andre Puschmann 87f1b2a939 catch exceptions from eNB config parser
since the eNB config gets more complex, especially with CA,
we need to catch potential parsing errors from libconfig,
print an error with the position of the error and gracefully
stop the enb
5 years ago
Andre Puschmann a32d4ebf59 move PRACH config check into cfg parser 5 years ago
Xavier Arteaga a6105a3020 SRSENB: made possible custom UL/DL frequencies for each carrier 5 years ago
Xavier Arteaga c5dcc5e95b SRSENB: moved backwards compatibility enb conf check 5 years ago
Xavier Arteaga c2b23d273b SRSENB: keep backwards compatibility of enb.conf 5 years ago
Xavier Arteaga b08c1f003e SRSENB: enabled multiple cells from rr.cfg 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Francisco Paisana d270518d69 updated rrc to new srsasn1 version 5 years ago
Francisco Paisana a18a7e307e moved all the parsing of the libconfig files to separate functions that can be called from individual tests. Created several stack layer dummy classes for testing. Extended the rrc_mobility test to check correctness of RRC HOPreparation struct 5 years ago
Francisco Paisana 33aa858118 rr.conf.example fix 5 years ago
Francisco Paisana 50ed2ccfec added the handling of ho preparation failure and an ue class to s1ap 5 years ago
Francisco Paisana 57cd40ca31 added an ho required message send from SeNB to MME 5 years ago
Xavier Arteaga 2b7ef9b4a8 SRSENB: Fixed rr.conf cell list example parsing errors and segfault 5 years ago
Francisco Paisana 56fdf047e6 added default cell_list config to the rr.conf, but commented 5 years ago
Francisco Paisana 37a9501db3 added scell parsing to the rr.conf 5 years ago
Francisco Paisana 35c9f02579 added quant cfg parsing and addition to measCfg 5 years ago
Francisco Paisana 7e62d6d1f9 added parser for rrc_cnfg section of rr.conf file, and dummy rrc_mobility class 5 years ago
Xavier Arteaga b3e8c4ae6a SRSENB: Schedule RI reporting 5 years ago
Harald Welte 756374419f SRSENB: Add SIB7 (GERAN neighbor) support
This adds the required missing bits to the eNB config file parser
to enable minimalistic support of parsing SIB7 configuration.

SIB7 contains GERAN (GSM) neighbor cell information, which is important
if you are operating a combined 2G+4G netowrk and want to assist the UEs
to reselect GSM cells once they move out of LTE coverage.

An example SIB7 section looks as follows:

sib7 = {
    t_resel_geran = 1;
    carrier_freqs_info_list =
    (
        {
            cell_resel_prio = 0;
            ncc_permitted = 255;
            q_rx_lev_min = 0;
            thresh_x_high = 7;
            thresh_x_low = 7;

            start_arfcn = 871;
            band_ind = "dcs1800";
            explicit_list_of_arfcns = ( 873, 875, 877 );
        }

    );
};

Closes: #357
5 years ago
Andre Puschmann e60a4490d2 streamline embms parameters and fix MCS selection 5 years ago
Ismael Gomez feafec2725 Fix srsENB PHY log and reorganized expert args 5 years ago
Andre Puschmann 4e86b2f6b2 introduce layerd architecture we use for UE to eNB
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
5 years ago
Francisco Paisana 58e2e51044 removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC. 5 years ago
Francisco Paisana b936629221 removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests 5 years ago
Francisco Paisana b04cb0deb9 using the new choice set api in UE and eNB RRC 6 years ago
Francisco Paisana e70e88b8b4 revert prach freq offset auto change 6 years ago
Francisco Paisana 1674c8939f automatically resolve invalid prach_offset for prb6 6 years ago