4254 Commits (c4bcd6e287fc67bf85fb82a41d1f8f2c901ed8d5)
 

Author SHA1 Message Date
Harald Welte c4bcd6e287 [ENB] Add CFSB support
This commit introduces CSFB (circuit switched fall-back) capabilities to
srsLTE.  Actually, all the eNB has to do is to send a
RrcConnectionRelease with the RedirectedCarrierInfo IE.

The MME triggers this by the S1AP CS Fallback Indicator IE, which may
be present either in the Initial Context Setup Requst or in the
UE Context Modification Request.

As srsLTE has no support for the UE Context Modification Request at all
yet (!), basic support for this message is introduced in this patch.

Both Mobile Originated and Mobile Terminated CSFB with a coupel of
different UE models have been verified using this patch in a setup
consisting of srsENB attached to an undisclosed EPC connected via SGsAP
to a complete  Osmocom 2G network.

Closes: #358
Closes: #363
5 years ago
Robert Falkenberg ecdfa579ec Fixed inverted interpretation of new data indication (ndi) field in dci_format1As_pack() function 5 years ago
Robert Falkenberg 044d236a49 Fixed incorrect DCI location assignment in pdsch_enodeb.c example 5 years ago
Mark Rohrbacher c84067c10c Fixed duplex spacing for bands 65 to 70 5 years ago
Robert Falkenberg 95ec83433e Fixed inverted handling of fseek result value in srslte_filesource_seek 5 years ago
Igor Kim 92ed3f2705 Fix TBS table with auto-generated one (#368) 5 years ago
Harald Welte dc73f546b6 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
Paul Sutton 8c16bcaf30 Fix for [gw] parameter names 5 years ago
Harald Welte 6773826b26 [ENB] enb.conf.example: Mention WRITE_SIB_PCAP
The documentation talks about a MAC protocol trace, but in fact
it is only a protocol trace of dedicated channels.  There's a related
define in the source code, but that's not documented.

Let's at least make the user aware that the MAC pcap trace is
for dedicated channels only, unless he uses that #define.
5 years ago
Harald Welte 6a4dcc8c0c [ENB] Fix builds with #define WRITE_SIB_PCAP
Building with WRITE_SIB_PCAP was broken in April 2019 in commit
7780b1aba5.  Let's make it work again.
5 years ago
Harald Welte 10720aeace [ENB] Fix enabling of MAC pcap file
when using

[pcap]
enable = true
filename = /tmp/enb.pcap

in enb.conf, there is no pcap file created.

The problem is somewhere in the way how arguments are handled.
pcap.enable is properly parsed into args.pcap.  However, later on,
lte_stack->init(args.stack, rrc_cfg, lte_phy.get()) only passes
args.stack down the road, not args.pcap.  enb_stack_lte::init() then
basically uses args.stack.pcap and not args.pcap, and the latter appears
always false.

Let's remove pcap_args_t from all_args and only use the instance in
stack_args_t.

Closes: #359
5 years ago
Digicrat 743f1e2e8c Fix bug wherein blank lines or trailing newlines causes parsing of user_db.csv to fail. 5 years ago
Dottore Spina f715412659 Fix call to CHECK_LIBRARY_EXISTS in FindbladeRF
An invalid call to the CMake macro CHECK_LIBRARY_EXISTS() in
cmake/modules/FindbladeRF.cmake prevents srsLTE to enable
support for the bladeRF driver when:
 * libbladeRF is installed to the same custom prefix we use to build
srsLTE, as with cmake -DCMAKE_INSTALL_PREFIX=/path/to/custom/prefix
 * libbladeRF is installed to /usr/local/lib BUT the linker does not
search this path by default

This trivial patch makes FindbladeRF.cmake provide the linker with the path
libbladeRF is actually installed to.
5 years ago
Andre Puschmann 6cde228bc1 bump version and update changelog, readme, etc. 6 years ago
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 6 years ago
Andre Puschmann 09610ce788 add type setter to sch_subh and use it for MCH PDUs 6 years ago
Andre Puschmann e60a4490d2 streamline embms parameters and fix MCS selection 6 years ago
Andre Puschmann c4bc151e14 rlc: fix MRB logging 6 years ago
Andre Puschmann e562dfed15 minor code formating and debug fixes 6 years ago
yagoda 408400bee6 adding fixes and tests for eMBMS 6 years ago
Francisco Paisana 424876c5e4 added DL TTI mask for MBMS 6 years ago
Andre Puschmann 2e9a981a8a fix home plmn extraction for PCSC USIM module 6 years ago
Paul Sutton 028b44c1af Minor edits to config file comments 6 years ago
Xavier Arteaga f653472aa8 SRSUE: SCell parameters condensed in a single structure 6 years ago
Xavier Arteaga 5729f37ebb SRSUE PHY: Fixed frequency change 6 years ago
Xavier Arteaga b5685c8f09 SRSUE: Fixed HO with carrier aggregation 6 years ago
Xavier Arteaga 19572b485c SRSUE RRC: fix single meas_obj in multiple meas_id 6 years ago
Xavier Arteaga f616e6f5ad SRSUE: Do not add srsue_help nor srsue_version test if the GUI is enabled 6 years ago
Xavier Arteaga d64264d954 SRSUE: Added init test and ue.conf.example integrity. Solved CLang Tidy warnings. 6 years ago
Ismael Gomez 98f52529f7 Minor change to ue.conf 6 years ago
yagoda b99178d8da updating timing advance values for lime 6 years ago
Ismael Gomez 0dac2ef59b Update SIB2 also when forcing p_b 6 years ago
Ismael Gomez 32bcbd6231 Minor modification of warning message 6 years ago
Ismael Gomez 50e1ed6cc6 Change order of radio stop to avoid locking on rf_ms() by async thread 6 years ago
Guillem Foreman 2574de4d2d Fixed soft demodulator 6 years ago
Ismael Gomez feafec2725 Fix srsENB PHY log and reorganized expert args 6 years ago
Ismael Gomez 126f2efb5c
Radio and UHD fixes to avoid changing master clock rate and fixes X300 (#589)
* Fixes X300 MIMO

* Do not change sampling rate and calibrate time_adv_nsamples for b210
6 years ago
Andre Puschmann 9ee415ac82 correct the max size for a single TB
since the size in bits is counted per TB we don't need to allocate
space for the 2x2 MIMO case. Both CW have their own buffer.
6 years ago
Andre Puschmann 21f8698397 fix MAC PDU packing for large TB sizes
update the byte_buffer length variable after updating the remaining
PDU length. This has caused an error when calculating the
remaing space in the PDU because the SDU length was counted twice.
6 years ago
Andre Puschmann 94cc61e4b1 add MAC PDU pack test for max size TB PDU 6 years ago
Ismael Gomez c9c43e44e9 Fixed PDU buffer size 6 years ago
Xavier Arteaga abad5c3bbf SRSUE: Handle 256qam for CA (#585) 6 years ago
Andre Puschmann 62eba8f3d8 fix default radio, channel and rx antenna setting in eNB (#594) 6 years ago
Andre Puschmann f1387d8cf8 fix uninitialized vars in scheduler_grid 6 years ago
Andre Puschmann 86f43b008c
Fix missing general section 6 years ago
Ismael Gomez 1b970fa978 Modified comments 6 years ago
Andre Puschmann 886858a30a remove expert config and split into PHY and general config, cleanup ue.conf.example 6 years ago
Andre Puschmann bfb16e2545 remove general UE config from example 6 years ago
Ismael Gomez b81d4c5c9c Fix MAC test 6 years ago
Andre Puschmann e9342969f8 fix typo 6 years ago