113 Commits (a2e25014240d930b410a1ee049e3efb3456eaadb)

Author SHA1 Message Date
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Pedro Alvarez 8c58d1054a Changed pcap.mac_enable back to pcap.enable in eNB. 5 years ago
Pedro Alvarez 08a4ce0970 Added the ability to save S1AP pcaps at the eNB. 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
Pedro Alvarez bb9ff82490 Remove enb singleton and make sure log is initialized. 5 years ago
Pau Espin Pedrol 4949df257e Proper shutdown on SIGHUP
If a process exits and has a controlling terminal, everything under
it gets a SIGHUP by the kernel. That's the case for instance when
running a srsUE over ssh with some specific parameters. As a result,
when the ssh client is killed, SIGHUP is sent to srsUE, which will be
killed immediatelly without proper release, which means in turn that log
buffers are not flushed.
Let's do proper shutdown when SIGHUP is received so that everyone can
get log files.
5 years ago
Xavier Arteaga b08c1f003e SRSENB: enabled multiple cells from rr.cfg 5 years ago
Andre Puschmann fef6893ce4 make user activity handling independent of system time
this commit removes the getsystime() call from the activity handling.
it uses a single timer per UE to handle its activity.

three different timer values exist. one for the Msg3 reception. This
is like before and is quite low to quickly remove fake UEs from the
RRC. The second is a generic value (set to 1s for now) that covers
the entire UE configuration phase where multiple messages are sent
back and forth until the UE is fully set up and the default
bearer runs. From there on, the UE inactivity timer is used which
may be much bigger than 1s.
5 years ago
Andre Puschmann e5ed6ac870 fix tiny memleak by not joining input thread 5 years ago
Pedro Alvarez c5979f59eb Clang format UE, eNB and lib (#850)
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Ismael Gomez 3828e03f33
Refactor in eNodeB, add channel emulator and fixes in OFDM
* Added channel emulator to srsENB. Added support for fixed delay

* Bug in OFDM when using nonguru mode

* A few changes and refactor in eNodeB
5 years ago
Xavier Arteaga 8e92baf401 SRSENB: quitsafter entering 'q\n' 5 years ago
Xavier Arteaga 10480f62b3 SRSENB: Split sf_worker and cc_worker 5 years ago
Andre Puschmann 343c30be4a fix RF metrics/logging in eNB 5 years ago
Harald Welte 844994f2cd [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
Andre Puschmann e60a4490d2 streamline embms parameters and fix MCS selection 6 years ago
Ismael Gomez feafec2725 Fix srsENB PHY log and reorganized expert args 6 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)
6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Pedro Alvarez 435d63b871 Making sure errors in the enb.conf is handled gracefully 6 years ago
David Rupprecht 39c49ab1ef Configurable sec algo preference list 6 years ago
Andre Puschmann 6b04435edc move setting of EARFCNs straight into parse_args function 6 years ago
Pedro Alvarez c5dad67a16 Adding catch to boost program options parser. 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 6 years ago
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 6 years ago
Andre Puschmann db910cb84b add CSV metrics for eNB 6 years ago
Pedro Alvarez 796e3fd707 Adding M1-U options to eNB config 6 years ago
Andre Puschmann 0380c83175 remove RF device calibration settings from UE/eNB config
- this remove RF calibration parameters that were an extra
  section in the eNB/UE config but were hardly used (only old bladeRF)
- a better way to pass those parameter would be through the
  device args in the normal rf config section
6 years ago
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
6 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 7 years ago
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 7 years ago
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 7 years ago
Björn 23cc0ab011 enb: add bind address for s1ap connection (#128)
add s1c_bind_addr config option to specify the local bind address used for S1AP connections instead of using the GTP address.
This allows operation on setups with split S1U and S1C networks.
7 years ago
Ismael Gomez 1aa9951a04 Increased default inactivity timer to 60s 7 years ago
Ismael Gomez cf5a6f0580 Increased PUCCH RLF threshold and default number of errors 7 years ago
Ismael Gomez 6120f20290
Changes in RRC and S1AP to make enb more robust on UE add/rem operations.
* Consolidated functions in S1AP

* Fixed ASAN in some GCC

* Stop quicker the enb

* Minor typo edit

* Fixed mutexing issues in RRC and possibly RLC/PDCP when adding/removing users
7 years ago
Andre Puschmann 36c650399b rework app startup to search for config files in user's home directory 7 years ago
yagoda 84f4996584 adding upper embms support to the enodeb 7 years ago
Andre Puschmann 9a10f5f6d4 add buffer_pool printing option to eNB 7 years ago
David Rupprecht 06d4559294 Change include path absolut to project dir 7 years ago
Ismael Gomez 684a4c37dc Do not catch SIGKILL 7 years ago
Andre Puschmann 03e7d9c199 register handler for SIGTERM and SIGKILL in UE, eNB and EPC 7 years ago
Andre Puschmann a08bbe5ad4 fix stdin bug for enb 7 years ago
Ismael Gomez 8418c74a2d Fixes RLC small grant issue in eNodeB and non-adaptive retx 7 years ago
Ismael Gomez 76969932dc
Merge pull request #134 from softwareradiosystems/enbmimo
Enbmimo
7 years ago
Ismael Gomez 3be48c40c8 Added rotating log to srsUE and srsENB 7 years ago
Xavier Arteaga de654cd344 Merge branch 'next' into enbmimo 7 years ago
Ismael Gomez 23718aebad Forced kill of UE and ENB by typing ctrl
+c multiple times
7 years ago
Ismael Gomez b0a2fa3b0b Merge branch 'enbmimo' into mob_crypto_mimo 7 years ago
Xavier Arteaga f377b12f91 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 7 years ago
Xavier Arteaga dbf10cff17 Solved PDSCH Power Allocation p_b on eNB side 7 years ago
Xavier Arteaga 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 7 years ago
Xavier Arteaga e8da7160f0 eNB transmits diversity by default if two cell ports are configured 7 years ago
Ismael Gomez 38c67dc410 Moved FFTW to WISDOM and save/load from file 7 years ago
Ismael Gomez 58aecf818d Allowing any PUSCH MCS 7 years ago
Ismael Gomez 5fed766806 fixed UE not reattaching after paging 7 years ago
Ismael Gomez d5524b2a34 set default RRC timeout to 30s 8 years ago
Ismael Gomez b7996e58c2 increased max radio failure timeout 8 years ago
Andre Puschmann 04ec09bd71 add license text to various files 8 years ago
Ismael Gomez e5ae82aef1 added srsENB code 8 years ago