Francisco Paisana
b1c5bf7185
reverse addrv4 packing in s1ap
5 years ago
Francisco Paisana
a740fcb954
bug - wrong ue context release cmd
5 years ago
Francisco Paisana
3066b404ac
fix integer ext asn1 generation
5 years ago
Francisco Paisana
b6c53d786b
updated s1ap rrc interface with new asn1 lib types
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
Andre Puschmann
13bc9196b0
fix uninit memory in metrics processing
5 years ago
Andre Puschmann
b0bfc7956d
use const& in metrics interface
5 years ago
yagoda
2db90c5dd3
allowing TA CE commands in Msg4
5 years ago
Francisco Paisana
f280720564
this fix was detected by Syed in the mailing list
5 years ago
Andre Puschmann
be4ba504bd
fix another bunch of uninit memory in tests, and one in srsENB
5 years ago
Andre Puschmann
6ec573987a
remove default value for 'blocking' param from pdcp::write_sdu()
...
there were two defaults and one was shadowing the other. This
commit removes both defaults and uses blocking-mode for RRC
calls to PDCP in the UE. The eNB write_sdu() uses the non-blocking
mode by default. We have to review the eNB's RRC perhaps and use blocking
there too and non-blocking only for data plane
5 years ago
Andre Puschmann
0bd493b567
call byte_buffer cleanup in two enb tests and fix typo
5 years ago
Xavier Arteaga
11eafa8ab4
srsLTE: FFTW wisdom gets loaded and saved by default
5 years ago
Francisco Paisana
2eb6145b99
reset carriers on each set_cfg call
5 years ago
Andre Puschmann
7e294f7325
move common helper for eNB tests into own header file and split mobility and erab tests
5 years ago
Andre Puschmann
75672324b9
fix RRC connection reconfig for new bearer
...
this fixes the packing of a RRC connection reconfig after creating
a new ERAB
it also adds a PDCP config factory based on the received request
5 years ago
yagoda
845c0fc2c0
fixing lcid issue with eMBMS, adding MRNTI user to stdout metrics
5 years ago
Andre Puschmann
476f970ee1
replace FIXME with TODO
5 years ago
Andre Puschmann
705cd3c211
fix typos spotted by aleksander0m
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
Andre Puschmann
c7ee887170
add factory function for creating PDCP config
5 years ago
Andre Puschmann
8a064cd3a6
pass msg_type from caller when logging RRC message
...
before the type of some message wasn't displayed correctly,
like SIBs, for example because the logger didn't
know the filed to retrieve the type string
5 years ago
Andre Puschmann
60d07f1656
assign msg-type to temp variable before logging ASN1 message in RRC
5 years ago
Francisco Paisana
d59016ae68
use of srslte::log* type for ASN1 logging. Initialization of the asn1 and rrc_asn1 loggers done now in both the ue and enb
5 years ago
Andre Puschmann
c379ef6cb1
fix uninit var
5 years ago
Aleksander Morgado
52ce1fbfd1
enb: fix list of logging layers in conf example
...
Added 'phy_lib' and 's1ap', removed 'nas'.
As per the srsenb help:
$ srsenb --help | grep level | grep log
--log.rf_level arg RF log level
--log.phy_level arg PHY log level
--log.phy_lib_level arg (=none) PHY lib log level
--log.mac_level arg MAC log level
--log.rlc_level arg RLC log level
--log.pdcp_level arg PDCP log level
--log.rrc_level arg RRC log level
--log.gtpu_level arg GTPU log level
--log.s1ap_level arg S1AP log level
--log.all_level arg (=info) ALL log level
5 years ago
Francisco Paisana
d270518d69
updated rrc to new srsasn1 version
5 years ago
Francisco Paisana
1212d403c6
added {} in if condition
5 years ago
Francisco Paisana
0894e6b2f1
updated dummy interfaces
5 years ago
Francisco Paisana
67411ecfa9
updated dummy interfaces
5 years ago
Francisco Paisana
6b4488d5c1
added sending of enb status transfer from SeNB
5 years ago
Francisco Paisana
c7f11e5690
fixed issue with the liblte_s1ap transparent container packing
5 years ago
Francisco Paisana
39fcf25e0d
added extra tests for handover. Did a some refactoring to move boilerplate out of the test mobility function
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
b792a3158c
removed magic numbers for s1ap timers, and handled the error in the s1 ho cmd
5 years ago
Francisco Paisana
524c80a804
added handling of ho command
5 years ago
Pedro Alvarez
e1cdd51eba
Clang-formated before pull request
5 years ago
Pedro Alvarez
e68956bcf6
Adding discard timer timeout to PDCP config.
5 years ago
Pedro Alvarez
a049ec6b82
Finished to add boiler plate code to support PDCP discard notifications to RLC.
5 years ago
Pedro Alvarez
2e7ddef038
Continue to add discard_sdu to RLC interfaces.
5 years ago
Pedro Alvarez
a77dd4e959
Starting to add boiler-plate code to support Discard at RLC.
5 years ago
Francisco Paisana
ab3d7dd413
updated sched interface for multiple carriers
5 years ago
Francisco Paisana
1da86df597
added map between cc_idx and enb cell specifier
5 years ago
Francisco Paisana
eeb47f8fa4
fixed issue regarding repetition of ConRes tx
5 years ago
Francisco Paisana
e94e0a8641
changed the logic associated with the tx of the conres CE
5 years ago
Francisco Paisana
3159a5b84a
added cc_idx to dl_rach_info
5 years ago
Francisco Paisana
01847c5f5d
phy_config_enabled is general to all the carriers of the ue
5 years ago
Francisco Paisana
cab9327b1a
updated scheduler interfaces to accommodate multiple carriers
5 years ago
Xavier Arteaga
8dd1c59e18
Added amplitude and power conversions to dB and viceversa
5 years ago
Francisco Paisana
6d4f746a61
moved tti_sched_result out of carrier_sched. Removed interdependencies between the two classes. Simplified ra_sched and bc_sched initialization
5 years ago
Francisco Paisana
7990e2f563
use of a common tti_params struct to store all values derived from tti_rx
5 years ago
Francisco Paisana
36c45c7d64
added the changes in the enb stack from next
5 years ago
Francisco Paisana
54992e72f1
fixed and simplified multiqueue task api to avoid dangling pointers.
5 years ago
Francisco Paisana
ac4d3b9624
std::functions do not accept move-only captures. So I had to create a wrapper earlier. In this PR, I cleaned a bit the previous API for the code to be a bit more readable
5 years ago
Francisco Paisana
0b962f19f4
fix compilation issue
5 years ago
Francisco Paisana
67ccaf1029
created a file with common test utils, including assertions, a logger specialized for tests that counts the number of errors and warnings during the test run and can print diagnostics on exit
5 years ago
Francisco Paisana
011b2168a6
grouped different sched params/args/derived params into a single struct to simplify the ctor api of different sched sub components
5 years ago
Andre Puschmann
2195012dc1
fix uninit var in cfg parser
5 years ago
Andre Puschmann
6a9c4d94b0
fix printf in scheduler test
5 years ago
Andre Puschmann
6f72cbffab
fix snprintf of uint64 for ARM
5 years ago
Pedro Alvarez
d4fb4d8c86
Fixup clang-format in pdcp before PR.
5 years ago
Pedro Alvarez
15613465cf
Moving some initialization from init function to constructor in the PDCP entities.
5 years ago
Francisco Paisana
0f01b0acc2
clean paging_opportunity function
5 years ago
Francisco Paisana
77f63f7bcd
removed gtpu mutex
5 years ago
Francisco Paisana
73e06a0858
removed threads from eNB MAC
5 years ago
Francisco Paisana
151159e2c6
avoid passing stack vars by reference in callbacks
5 years ago
Francisco Paisana
e8487211e4
changed the naming of mch to m1u in the gtpu class
5 years ago
Francisco Paisana
2512e0fd79
removed thread from GTPU MCH
5 years ago
Francisco Paisana
1400777639
removed 1st thread from GTPU
5 years ago
yagoda
ca0922ddc6
adding missing embms section header to enb.conf
5 years ago
yagoda
088e3e9bcf
remove comma from rr.conf
5 years ago
Francisco Paisana
a9a33256e9
fixed some of the net utils functions
5 years ago
Francisco Paisana
546ee98879
fixed small issue that was causing compilation errors
5 years ago
Francisco Paisana
2de0eee9c7
clean up some comments
5 years ago
Francisco Paisana
76673d2d40
cleaned up socket util methods, and made the S1AP non-blocking.
5 years ago
Andre Puschmann
30aac5a89a
fix wrong c-type cast accessing UE database and uninit mem
5 years ago
Andre Puschmann
b6dd0de50a
move timers in eNB stack class up to force later dtor call
5 years ago
Aleksander Morgado
ed6044eb54
enb,rrc: always print full RRC message contents
...
Do not limit them to 1024 chars.
5 years ago
Francisco Paisana
177e880293
removed extra threads from enb rrc
5 years ago
Francisco Paisana
33aa858118
rr.conf.example fix
5 years ago
Francisco Paisana
ff62ae6ad0
created the method chain in RRC to receive and handle the response to a S1AP HORequired
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
c8e50c1e19
DL/UL sched are called in a round-robin fashion
5 years ago
Francisco Paisana
690a9850e7
cleaned up some old patterns and run clang-format in RRC and scheduler
5 years ago
Paul Sutton
b2e6ef772b
Minor typo fix
5 years ago
Francisco Paisana
ee209fc0a2
added a stack thread to the eNB and move the tti_clock() method to this thread to avoid race conditions
5 years ago
Xavier Arteaga
2e1479e9d6
SRSENB: Added PHY CA PRACH workers
5 years ago
Andre Puschmann
2f00fd62ec
fix PDCP config in TTCN3 SS
5 years ago
Pedro Alvarez
b7fdcaabc5
Starting to add reordering timers at PDCP NR entity. Timeout seems to be triggered correctly and pass the SDUs to the upper layers when it expires. First tests passing.
5 years ago
Francisco Paisana
35c9f02579
added quant cfg parsing and addition to measCfg
5 years ago
Francisco Paisana
b6b1dd1814
extended mobility test
5 years ago
Francisco Paisana
427fdb83fe
using std::make_tuple now to support old compilers. Move operator== definitions for meascfg types to rrc_asn1_types
5 years ago
Francisco Paisana
200e18ee3a
added diff computation for reportconfig and measid. Tests passing
5 years ago
Francisco Paisana
1524e28c3a
finished the function to compute diffs between cells/measObjs of two var_meas_cfg objects. Added tests for this. Now the update of a UE's var_meas_cfg is made via a shared pointer.
5 years ago
Francisco Paisana
b7559171b7
added logic to insert cells from conf file into var_meas_cfg and calculate diffs between meas_objs
5 years ago
Francisco Paisana
b88b8fde7b
moved the carrier scheduler and tti_result_t classes out of the main sched class. Now it is possible to instantiate more than one carrier_sched per sched
5 years ago
Francisco Paisana
2019fec37a
moved dl/ul scheduling to the a separate class carrier_sched
5 years ago
Francisco Paisana
00d24872d9
clang-format on all the scheduler files
5 years ago
Francisco Paisana
c1f9d8768c
started to implement separate SIB scheduler, and its tests. This is particualrly important for CA
5 years ago
Francisco Paisana
22f2781f28
fixed bug associated with the initialization of srsenb::rrc::ue. Disabled std::map::operator[] as a result
5 years ago
Francisco Paisana
d5a2114320
added a default configuration to the rr.conf for meas cells
5 years ago
Francisco Paisana
7e62d6d1f9
added parser for rrc_cnfg section of rr.conf file, and dummy rrc_mobility class
5 years ago
Francisco Paisana
b0d2584795
Merge pull request #735 from softwareradiosystems/pr_sched_changes
...
Scheduler changes
5 years ago
Francisco Paisana
8440126d35
removal of srslte::timers class
5 years ago
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
5 years ago
Francisco Paisana
6aec98e140
cleanup of some type names, and other minor changes
5 years ago
Francisco Paisana
c19e0d9423
moved the RAR/Msg3 scheduling to a separate class
5 years ago
Francisco Paisana
388776d1fa
provided a general way to access ue_db from the scheduler - part2
5 years ago
Francisco Paisana
e0b8be61e5
provided a general way to access ue_db from the scheduler
5 years ago
Francisco Paisana
d79e49ed4c
moved the BC scheduling to a separate class/file
5 years ago
Francisco Paisana
837c16557f
started to implement separate SIB scheduler, and its tests. This is particualrly important for CA
5 years ago
Francisco Paisana
84ac16826f
modernized the scheduler code, and removed some clang-tidy warnings
5 years ago
Francisco Paisana
ad0b3ce6e2
modernize the random sched test
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
73517f981e
Minor fixes
5 years ago
Xavier Arteaga
423475173d
Refactored magnitude and argument extraction from sf_worker
5 years ago
Xavier Arteaga
f9a795e985
SRSENB: cleanup and mutex rearange
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
Xavier Arteaga
4238c045a4
fix unitialised value
5 years ago
Xavier Arteaga
ce9bcc1033
fix unitialised value
5 years ago
Ismael Gomez
1d83bb08e2
Changes in ACK procedure to support CA. Tested 1 cell in SISO/MIMO
5 years ago
Francisco Paisana
a2f1998350
fix issue with thread pool shut down
5 years ago
Francisco Paisana
6db0e474be
moved RA waiting procedure to a background task of the stack thread pool
5 years ago
Xavier Arteaga
b3e8c4ae6a
SRSENB: Schedule RI reporting
5 years ago
Ismael Gomez
9325aaddf2
Do not change master clock rate if not necessary. Hint in ue/enb configs for low BW cells
5 years ago
Andre Puschmann
a2ab043c0d
fix memleaks and uninitialized vars found by cppcheck
5 years ago
Ismael Gomez
6bb0790cf1
Fix coverty issues ( #652 )
5 years ago
Pedro Alvarez
004db4a067
Applied clang-format to zuc_support PR.
5 years ago
Pedro Alvarez
1ae8ccda8c
Added EIA3 and EEA3 to default UE capabilities to srsUE. Added parsers for EEA3/EIA3 config options in srsENB and srsEPC
5 years ago
Andre Puschmann
49279c89d8
send DL-DCCH on SRB2 after it has been established
5 years ago
Harald Welte
2e426948fe
[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
Ismael Gomez
c92c61d560
Optimized front-end logging processing ( #641 )
...
Avoid memory allocation and stringstream in log frontend calls (executed from worker threads). Uses a buffer pool of fixed buffer and vsnprintf
5 years ago
Francisco Paisana
67d6a25194
Moving mac timers to stack timers ( #638 )
...
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.
* moved timers out of the UE MAC
5 years ago
Francisco Paisana
116dc0a57b
fixed group extensions, removed extra presence flag for copy_ptr<T> types as it was just a source of bugs.
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
343c30be4a
fix RF metrics/logging in eNB
5 years ago
Harald Welte
44977bcdec
[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
d01dd7fb91
[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
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
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
5 years ago
Pedro Alvarez
494be243c0
Changed security direction to use an enum.
5 years ago
Pedro Alvarez
f90b69e5f4
More clang-format for PDCP
5 years ago
Pedro Alvarez
964db869a6
Fix mistake in configuring SRB1's PDCP.
5 years ago
Pedro Alvarez
d3b6828082
Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine.
5 years ago
Pedro Alvarez
73e30743d1
Added enum to PDCP config to replace two bools.
5 years ago
Pedro Alvarez
457f35699d
Reverted back to a single config structure between PDCP NR and PDCP LTE.
5 years ago
Pedro Alvarez
005d03cb1a
Starting to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr to support NR PDCP
5 years ago
Andre Puschmann
e0bd7f156d
replace remaining warning macros with pragma message
5 years ago
Andre Puschmann
09610ce788
add type setter to sch_subh and use it for MCH PDUs
5 years ago
Andre Puschmann
e60a4490d2
streamline embms parameters and fix MCS selection
5 years ago
yagoda
408400bee6
adding fixes and tests for eMBMS
5 years ago
Francisco Paisana
424876c5e4
added DL TTI mask for MBMS
5 years ago
Ismael Gomez
98f52529f7
Minor change to ue.conf
5 years ago
Ismael Gomez
0dac2ef59b
Update SIB2 also when forcing p_b
5 years ago
Ismael Gomez
feafec2725
Fix srsENB PHY log and reorganized expert args
5 years ago
Andre Puschmann
62eba8f3d8
fix default radio, channel and rx antenna setting in eNB ( #594 )
5 years ago
Andre Puschmann
f1387d8cf8
fix uninitialized vars in scheduler_grid
5 years ago
Ismael Gomez
1b970fa978
Modified comments
5 years ago
Xavier Arteaga
5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
...
Resource allocation extended tables and PDSCH table 2 for 256QAM
5 years ago
Andre Puschmann
e0b583db5d
remove extra indirection from enb_phy
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
Ismael Gomez
d595c4d882
Fixes issue #545 and unlocking of tti_sync condvar before closing causing deadlock at stop
5 years ago
Andre Puschmann
5faa819dcd
fixing uninitialized class members found by coverity
5 years ago
Andre Puschmann
92f0d58856
mac: move further init/config into ctor to allow early logging, etc.
5 years ago
Andre Puschmann
6a11030ae1
enb: fix race condition in workers overwriting the DL tx buffer
...
this adds a own tx buffer for each HARQ PID
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
Guillem Foreman
db4127ca64
Fixes 256QAM, added pdsch table 2, fixed warnings
5 years ago
Guillem Foreman
535325bc37
srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test
5 years ago
Andre Puschmann
62a4fa1c93
fix various potential buffer overruns
...
this is based on suggested fixes by Dirk Grabinski and David who
have fuzzed various parts of srsLTE using afl
5 years ago
Francisco Paisana
34fde16b40
change scheduler mutex to std::mutex ( #546 )
...
* change scheduler mutex to std::mutex
* rename lck to lock
5 years ago
Pedro Alvarez
498f1b8e4b
Small PDCP fixes:
...
- Moved most the initialization of the pdcp_entity to the header.
- Initilize some variables in gtpu_ntoa.
- Removed debug print.
- Format eNB GTP-u debugging code.
5 years ago
Pedro Alvarez
5d8dcbe4cb
Make sure that PDCP SN is initialized properly in the eNB. UE attaches again when using encription.
5 years ago
Pedro Alvarez
b97d1191f4
Added more debug info at eNB GTP-U. Changed the pdcp_entity to follow the standard more strictly for RLC AM DRBs.
5 years ago
Pedro Alvarez
09144a2c5f
Added check of IP version to the eNB GTP-u. Helpfull for debug.
5 years ago
Andre Puschmann
58763fb714
stack: move initialization of log object into ctor
...
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
5 years ago
Andre Puschmann
da35f41dd5
rework MAC logical channel prioritization
5 years ago
Andre Puschmann
e0a28cf4c0
simplify PDCP init and also bypass it for SRB0 on eNB
5 years ago
Francisco Paisana
ce29ed545d
moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks
5 years ago
Francisco Paisana
415d3418b6
reorganized enb to mirror ue director/class structure with a stack class
5 years ago
Andre Puschmann
e47010130f
extend thread class to set unique thread name in ctor
...
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
6 years ago
Andre Puschmann
0e95867f13
remove task dispatcher class
6 years ago
Xavier Arteaga
1f52c32b84
SRSENB: Fixed CLang Tidy in enb.cc
6 years ago
Xavier Arteaga
080b4a327c
SRSUE: Refactored asynchronous cell and ue_radio. CA Fixed.
6 years ago
Andre Puschmann
65f50cd7ba
introduce new UE layer design
...
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
6 years ago
Francisco Paisana
0e3baa0f2f
Renamed the reset() method of byte_buffer_t to clear()
6 years ago
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
6 years ago
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
6 years ago
Francisco Paisana
0976ea6f27
created a unique byte buffer that automatically deallocates
6 years ago
Francisco Paisana
7be183c223
rework scheduler
6 years ago
Francisco Paisana
b04cb0deb9
using the new choice set api in UE and eNB RRC
6 years ago
yagoda
c25f3b0acf
increasing rlc UM window size for eMBMS, small adjustment to eMBMS PHY common
6 years ago
Pedro Alvarez
d4d7691fab
Catch exception by reference to avoid compiler warning.
6 years ago
Ismael Gomez
5e5e797cb9
Adjust 75 PRB radio offset and clean log
6 years ago
Francisco Paisana
a0235ccafe
better error messages
6 years ago
Francisco Paisana
e70e88b8b4
revert prach freq offset auto change
6 years ago
Francisco Paisana
82a0145593
added extra tests in the unpacking of rrc asn1
6 years ago
Francisco Paisana
1674c8939f
automatically resolve invalid prach_offset for prb6
6 years ago
Andre Puschmann
e4ea96aa79
add check for return value for RRC unpacking
...
- handle error cases accordingly
6 years ago
yagoda
3842beab0f
- fixing pmch file test for standard LTE rates
...
- adding special value for MTCH stop
- adding error messages for config values incompatible with MBMS
6 years ago
Andre Puschmann
4b01a2e4a0
update copyright notice
6 years ago
Andre Puschmann
205db6f229
add missing license headers
6 years ago
Francisco Paisana
4ba1993815
fixed some race conditions in the scheduler ( #411 )
6 years ago
Pedro Alvarez
c51a8bfe9d
Fix compilation error when using GCC 8, C++11 and C complex functions.
6 years ago
Andre Puschmann
45de6c3305
fix selection for EEA0 and disallow EIA0
6 years ago
Ismael Gomez
7780b1aba5
add tdd/ca support
6 years ago
Andre Puschmann
bdfb408857
fix uninitialized loop counter
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
David Rupprecht
fd34e22c84
Started with local preference selection algorithm
6 years ago
David Rupprecht
735f97ceb6
Fixed Bearer ID for data Bearer and changed debug type for enc data pdus
6 years ago
David Rupprecht
b84e49310e
Enable encryption in reconfiguration and after security mode command (NOT TEST)
6 years ago
David Rupprecht
eb3a83ac45
User Plane key in configuration interface
6 years ago
Francisco Paisana
185242d5f5
default release for ack_nack_repeat
6 years ago
Francisco Paisana
8a0ae614c2
added default value to ack_nack_repeat
6 years ago
Francisco Paisana
f778c6ca8d
make mcch check
6 years ago
Francisco Paisana
41338293ea
added a default radioframe alloc
6 years ago
Francisco Paisana
dc0b903130
added default enum inits
6 years ago
Pedro Alvarez
aa3a2a3dba
Fix compilation issue with GCC 8.x using complex numbers.
6 years ago
Andre Puschmann
3702a6660e
fix compilation for gcc 4.x
6 years ago
Andre Puschmann
1cc6ae3c60
enable c++11 support
6 years ago
Andre Puschmann
8e38ef2ee4
print PDU length when logging RRC message
6 years ago
Francisco Paisana
75acb046d9
small p_a initialization fix
6 years ago
Andre Puschmann
6b04435edc
move setting of EARFCNs straight into parse_args function
6 years ago
Andre Puschmann
4204321fde
fix uninitialised variables in enb during startup
6 years ago
Francisco Paisana
43a8a8e195
checking the number of prbs available for DL requires an additional check for the prb=6 ( #322 )
6 years ago
Francisco Paisana
15abb2b020
set the correct size of the buffer for paging
6 years ago
Andre Puschmann
86232c143e
expose RLC tx queue length through config struct
6 years ago
Andre Puschmann
a436baed39
fix build string for builds without valid .git folder
6 years ago
Francisco Paisana
d22e53832b
fix sib.conf.mbsfn.example defaults
6 years ago
Francisco Paisana
be06f260db
fixed issues in the parsing of sibs
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
8326299ec5
fix uninitialized variables
6 years ago
Andre Puschmann
2590ebd10b
fix bugs reported by coverity
6 years ago
Andre Puschmann
df7ab7ffe8
Merge branch 'master' into next
6 years ago
Igor Kim
9def82d15b
add error handling on binding s1c socket ( #267 )
6 years ago
Andre Puschmann
d52ea8b602
decrease threshold for DL scheduler to allocate SDU
...
since the RLC buffer state now returns the actual number of
bytes, which may be as low as 2B for a single RLC AM status PDU waiting
to be transmitted, the current DL scheduler wasn't allocating the
PDU even though it was given a grant
6 years ago
Andre Puschmann
c3441046c9
simplify RLC buffer status query procedures
...
- add a simple and low-overhead has_data() method to check whether
an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
the actual size of the buffer is of importance
6 years ago
Andre Puschmann
df40259c26
fix issue in PDCP when bearer ID for DRBs was not starting with 1
6 years ago
Andre Puschmann
4867b16e38
move config file parsing in enb to beginning of init
...
- this waits with initializing the radio until after the configs have been read
- in case the config files contain any mistake, the enb shuts down gracefully
6 years ago
rubund
b801c3dd4e
Fix some spelling errors detected by lintian ( #271 )
6 years ago
Andre Puschmann
c60f7e9013
remove "disconnected" from enb console trace
6 years ago
Pedro Alvarez
548808ecee
Changing RRC key logging from debug to info. Small readability fix.
6 years ago
Pedro Alvarez
645bd60d75
More debug prints
6 years ago
Andre Puschmann
05abdc9516
remove printf from eNB RRC
6 years ago
Andre Puschmann
db910cb84b
add CSV metrics for eNB
6 years ago
Andre Puschmann
8a1368c8d6
send connection reject if MME isn't connected
6 years ago
Andre Puschmann
93d17fed3e
disable buffer pool logging by default
6 years ago
Andre Puschmann
c35b467d57
suppress scheduler warning for failed PUCCH allocation for 6 PRBs
6 years ago
Andre Puschmann
5a3fa7c305
fix scheduler issues for 6 PRBs
6 years ago
Francisco Paisana
d234f4a614
fix MCS assignment for 6 PRBs
...
- cherry-picked and resolved conflicts from 0960ef5c6dcd2f9b96169b3f4c266197b922c46e
6 years ago
Francisco Paisana
bbfd09b62e
add the prach fit checks for PRB=6
6 years ago
Andre Puschmann
15d439761a
log build info in eNB/EPC logs
6 years ago
Pedro Alvarez
a42c71f8ee
Added some debug logs to the eNB GTPU.
6 years ago
Pedro Alvarez
2c761069d4
Adding m1u config to enb.conf.example.
6 years ago
Pedro Alvarez
de75a74932
Fixed some compilation issues.
6 years ago
Pedro Alvarez
796e3fd707
Adding M1-U options to eNB config
6 years ago
Pedro Alvarez
d443604661
Merge next into gtp_cleanup_sn. Fixed some conflicts.
6 years ago
Andre Puschmann
c56fa3b46c
only enable eMBMS if both the sib config is present and its enabled in enb config
6 years ago
Andre Puschmann
ea35cc9b5e
fix typo in config files
6 years ago
Paul Sutton
0e4ab77fb0
GTPU cleanup, adding support for GTPU echo response ( #265 )
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
Andre Puschmann
af5a329fec
print build-info during enb startup
6 years ago
Pedro Alvarez
e925ef0a42
Added some more debug infor to error prints. Making sure that packet is not sent from the eNB if there is an error in the GTP-U header packing. Fixed error in checking msg_type.
6 years ago
Pedro Alvarez
c1f633c5c7
Dropping bitfields for now. Using #defines and uint8_t for the flags.
6 years ago
Pedro Alvarez
7b4bc6f132
Integrity fail after service request ( #268 )
...
* Adding some debug prints to confirm the issue.
* Cleanup whitespaces.
* More debug prints
* Adding boolean to whether it is actually necessary to send NAS message in RRC reconfiguration.
* Deleting debug prints.
6 years ago
Pedro Alvarez
e320c33aef
Fixed last compilation issues.
6 years ago
Pedro Alvarez
ee04639337
Changed gtpu header flags to use a bitfield. Fixing compilation issues.
6 years ago
Ismael Gomez
42e46bc599
Fix MBSFN section optional and default PRACH configuration for MBSFN example
6 years ago
Andre Puschmann
b603125dea
Revert "fix eNB config parsing issue causing eMBMS to be always disabled"
...
This reverts commit 09a47b51b2
.
Causes issues when receiving PRACH from UE.
6 years ago
Ismael Gomez
5cfdc81522
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
cfb3a43aed
Lower priority of workers
6 years ago
Andre Puschmann
09a47b51b2
fix eNB config parsing issue causing eMBMS to be always disabled
6 years ago
Paul Sutton
569a7cbc94
GTPU cleanup, adding support for GTPU echo response
6 years ago
Pedro Alvarez
c4a5af11d5
Fixed nibble order in mccmnc_to_plmn and plmn_to_mccmnc. Fixed corresponding PLMN test
6 years ago
Andre Puschmann
10a43f04ba
Merge branch 'master' into next
6 years ago
Andre Puschmann
b27ff06e79
Merge remote-tracking branch 'origin/issue_178' into next
6 years ago
Joseph Giovatto
dc3e88079a
moved earb_info from parent to be unique per ue to avoid overwrites ( #234 )
...
consult integrity check result before proceeding
6 years ago
Andre Puschmann
22599bffda
fix bug in PUSCH decoding when multiple UEs provide HARQ feedback
6 years ago
Ismael Gomez
6f0c554445
TA estimate correction factor calibrated for all bandwidths
6 years ago
Pedro Alvarez
49c44a2bd4
Moved int_helpers to lib so that the EPC can use those functions too.
6 years ago
Ismael Gomez
13cba873d5
Make SIB2 mbsfn settings optional
6 years ago
Andre Puschmann
d981f129e0
Merge branch 'master' into next
6 years ago
Ismael Gomez
dabfbfb75a
Fixes #250
6 years ago
Igor Kim
8d48613c38
fix typo in metrics rssi CMA calculation ( #230 )
6 years ago
Ismael Gomez
6a791f1416
Change TX mutex to semaphores (mutex implementation was violating lock ownership requirement)
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
Andre Puschmann
4da8bf26f8
use non-blocking PDCP write in GW
6 years ago
Andre Puschmann
27d3d697df
refactor RLC part#2
...
- move metrics into entities
- make configure interface return true/false on success/failure
- add own srslte mode type
6 years ago
Andre Puschmann
edfc9df77d
Merge branch 'master' into next
6 years ago
yagoda
a0fa2d5b01
small fix in eMBMS MAC
6 years ago
Andre Puschmann
47a8b1343f
add rwlock to PDCP
6 years ago
Andre Puschmann
ccf58a63ce
reduce default log-level to warning
6 years ago
Andre Puschmann
10469cd3a0
Merge branch 'master' of github.com:srsLTE/srsLTE
6 years ago
Andre Puschmann
f1c5835133
fix eNB default config help text
6 years ago
Andre Puschmann
be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
...
Epc stacktrace
6 years ago
Pedro Alvarez
597cf18b9d
Changing common/debug.h to crash_handler.h
6 years ago
Ismael Gomez
2d5cdc4f35
Add log to pool deallocate
6 years ago
Ismael Gomez
5474f6d55f
Add log to pool deallocate
6 years ago
Pedro Alvarez
c3ef88e112
Fixing conflicts with next.
6 years ago
Ismael Gomez
685b368df2
Fix compilation error in previous commit
6 years ago
Ismael Gomez
7df91e1283
Fix compilation error in previous commit
6 years ago
Ismael Gomez
08f7dda0f3
Consider the case of calling gtpu::add_bearer() before initialization
6 years ago
Ismael Gomez
d57bf0f786
Consider the case of calling gtpu::add_bearer() before initialization
6 years ago
Ismael Gomez
30dd539220
Add rwlock to sched class
6 years ago
Ismael Gomez
d95d0e2e7a
Fix issue #179 in master
6 years ago
Ismael Gomez
75e8df2e9f
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Andre Puschmann
55b3b61ec1
Merge branch 'master' into next
6 years ago
Pedro Alvarez
7aaa9a1789
Moved srslte_debug_handle_crash to common/debug.c
6 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.
6 years ago
Ismael Gomez
881e278a10
Add rwlock to sched class
6 years ago
Ismael Gomez
7c7eed3ad1
Fix issue #179 in master
6 years ago
Ismael Gomez
1aa9951a04
Increased default inactivity timer to 60s
6 years ago
Ismael Gomez
2da9787907
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
f394dc7aa6
Fix deadlock issue in rach_detect
6 years ago
Ismael Gomez
a2615628aa
Increase buffer pool size for enb
6 years ago
Ismael Gomez
efea8f4436
Set Dropped to debug level and reduce eNodeB RLC TX size
6 years ago
Pedro Alvarez
b460ece601
Merge branch 'mbms_tun' into next
6 years ago
Ismael Gomez
19ac35d933
Increased RLC UL buffer size
6 years ago
Ismael Gomez
cf5a6f0580
Increased PUCCH RLF threshold and default number of errors
6 years ago
Ismael Gomez
589e569ce9
Changes on srsENB mutexing logic to fix general race condition and deadlock issues ( #229 )
...
* fixed some issues with the UL scheduling
* Hack to fix UL scheduler
* minor fix
* Cleaned up code and fixed issue with the update_allocation function
* fixed the console printing in the enb
* log/console fix
* fixed the log print
* added a normalization factor
* RLC: entity uses dynamic instances. Simplified stop/reset/reestablish procedure. Added non-blocking interface
* Limit decimals in metrics stdout
* Changed mutexes to rwlock in RLC/RRC/MAC/PDCP to fix race conditions when removing users
* Fix deadlock bug for MIMO
* Remove headers
* Fix missing unlock causing overflows
* Do not decrease CQI when PUCCH (this is a temporal fix, requires to reduce the maximum MCS)
* Fix mutex unlock in worker
* Configurable RLC tx buffer. Default to 512 for enodeb
* Check NULL SDU in write_sdu()
* Protect RLC objects and tx_queue from being destroyed while using it
* Remove superfluous code
* Disable SIB logging
* Fix block_queue for enb
6 years ago
Ismael Gomez
c32ee8944f
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
a8f6081837
Minor changes in scheduler logs and style
6 years ago
Xavier Arteaga
92954c1aa4
Fixed UCI decoder defect in eNb. Improved PUSCH Unit Test. PUSCH CQI is printed like UE.
6 years ago
Pedro Alvarez
0e135adc6f
Starting to change gtpu_read_header and gtpu_write_header to lib.
6 years ago
Pedro Alvarez
27dbbcca02
Stripping GTPU in eNB's M1-U.
6 years ago
jctallon
50589108c6
Mbms fixes ( #225 )
...
* fixing the threading structure for mbms in the gtpu
fixing some leaks in pmch tests
fixing stack overflow caused by radio objext
* adding sib.conf.mbsfn.example
* creating a different thread_mch object for the gtpu
* Make mch_thread an isolated class
* excluding mbsfn subframes from noise estimation and cfo estimation
* fixing pdsch ue plotting to only show pmch constellation when mbsfn is activated.
6 years ago
Ismael Gomez
115244657f
Set GTPU socket to non-blocking
6 years ago
Ismael Gomez
a7574d288a
Set a reasonable default rs_power
6 years ago
Ismael Gomez
8c92f3fddc
Improvements and fixes on srsENB scheduler ( #228 )
6 years ago
Andre Puschmann
91e1b27219
Merge branch 'master' into next
6 years ago
Andre Puschmann
492958fdba
Merge pull request #209 from softwareradiosystems/minor_fix
...
some allocated buffers in the s1ap were not being correctly deallocated
6 years ago
Andre Puschmann
90bdb730ee
Merge branch 'est_cause' into next
6 years ago
Andre Puschmann
319f4f4ff2
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
9d18349a08
Reduced uhd timeout
6 years ago
Andre Puschmann
064d7bd2dc
use original UE establishment cause in S1AP initial UE message
6 years ago
Andre Puschmann
b551c82f7b
fix bug in packing s1ap
6 years ago
yagoda
cca8362a69
adding mbsfn conditional to gtpu to create mch thread only if mbsfn is enabled
6 years ago
Ismael Gomez
3c276e7ae3
Wait to stop ENB/PHY worker
6 years ago
Ismael Gomez
2b9105791c
Changed default DRB config QCI 9 to AM
6 years ago
Ismael Gomez
56d3b9297e
Fix previous commit
6 years ago
Ismael Gomez
ca1ec9bb61
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
9a5e29ccab
Added mutex to phch_common
6 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
6 years ago
Ismael Gomez
cde432fbb6
Added mutex to RLC and PDCP eNodeB
6 years ago
Ismael Gomez
d7f6820d12
Reorder UE remove procedure to avoid mutex in RLC/PDCP
7 years ago
Francisco Paisana
4fd82f4bcb
some allocated buffers in the s1ap were not being correctly deallocated. sctp_sendmsg() blocks until the buffer is written to the socket, so it is ok to deallocate the buffer right after this call.
7 years ago
Ismael Gomez
ca529f96fc
Consider UL activity only when RLC PDU is present
7 years ago
Ismael Gomez
27a64b4d58
Decrease PUCCH threshold causing SR failure in bad SNR conditions
7 years ago
Ismael Gomez
13fc76a5ad
Minor PUSCH print error
7 years ago
Andre Puschmann
2c179dd84f
add config install helper
7 years ago
Ismael Gomez
67e90d5a9b
Code style: Use { } even in 1-line if
7 years ago
Ismael Gomez
95690a56ec
Fix indentation
7 years ago
Andre Puschmann
aa563b1555
copy example config files and if masq script to install folder
7 years ago
Andre Puschmann
36c650399b
rework app startup to search for config files in user's home directory
7 years ago
yagoda
54bdfd83ec
adding support for mbsfn subframe configuration to pdsch examples
7 years ago
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
7 years ago
Andre Puschmann
7c56a7d083
fix compiler warning
7 years ago
Francisco Paisana
c689343d81
Scheduler fix ( #200 )
...
* scheduler still not working with RGBs. The reservation of RGBs is not sufficient for the RAR allocation.
* now in the scheduler, we allocate space not only for pending data but also for headers and CE
* cant connect. going to check if it is an issue of the next branch
* cleaned up the interface
* removed obsolete functioN
* minor fix
* function name change
7 years ago
yagoda
65f2747a8e
removing mch handler in rlc, fixing embms autostart
7 years ago
Andre Puschmann
463b138026
remove debug printfs
7 years ago
yagoda
d0cb214725
fixing sheduling issues and merge errors
7 years ago
yagoda
0ae22e0822
fixing scheduling issues for mbms
7 years ago
Andre Puschmann
9ca2b89282
fixing compile warnings
7 years ago
yagoda
f286e12ceb
fix for mbms mac scheduling
7 years ago
yagoda
fac8bb7b7a
adding mbms-gw broadcast support, adding parameter for automatic mbms service start
7 years ago
yagoda
3e46e7fbab
minor change to reintroduce mbms sib config parsing
7 years ago
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
7 years ago
yagoda
84f4996584
adding upper embms support to the enodeb
7 years ago
yagoda
08976bb948
introducing support for embms in the enodeb PHY
7 years ago
Ismael Gomez
1af24313e7
Release pending RAR if scheduler failed configuration
7 years ago
Andre Puschmann
b4a23d325a
cosmetic changes
7 years ago
Andre Puschmann
9a10f5f6d4
add buffer_pool printing option to eNB
7 years ago
Andre Puschmann
718a15608c
dealloc SCH pdu in MAC instead of pdu_queue
...
- this is basically e9fcb10c9e
but with the counterpart in the eNB's MAC
7 years ago
Ismael Gomez
33f6a3513a
Merge pull request #173 from wangqiang1588/master
...
fix out of index error
7 years ago
Andre Puschmann
9230d111ce
use pool_allocate wrapper in srsENB's UE subclass in RRC
7 years ago
LongSky
9b6dc18b2c
fix out of index error
7 years ago
Andre Puschmann
5ecc145f14
Merge branch 'master' into next
7 years ago
David Rupprecht
977ed71848
enodeb print security key
7 years ago
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
7 years ago
Ismael Gomez
62787bdd41
Remove unused include
7 years ago
Ismael Gomez
c17fbfcde1
Fixed buffer overflow in SIB generation
7 years ago
Ismael Gomez
ab78eb6d58
Process BCCH from pdu_process thread. Process PCCH from new thread in RRC
7 years ago
frankist
786d29962b
refactoring and improvement of time-domain RR scheduling ( #181 )
...
* fixed the scheduler not filling the mask for multiple UEs
* fixed a bug related with the reset of the allocations
* The RR now saves the last UE to be assigned
7 years ago
Pedro Alvarez
190015435b
Fixed some un-initialized variables in E-RAB Setup Response.
7 years ago
Francisco Paisana
c104c9e3c8
solved the small inconsistency with the drbid/lcid/erabid
7 years ago
Francisco Paisana
296d49f3eb
Now enb does not crash when the QCI is not invalid.
7 years ago
Francisco Paisana
f5b8343244
srsenb now prints an error message when the QCI is not valid
7 years ago
Andre Puschmann
319f473363
fix remaining printf warnings
7 years ago
Andre Puschmann
dd76f85313
Merge branch 'master' into next
7 years ago
Joseph Giovatto
4e05266ea8
added printf format check for hex logs
7 years ago
David Rupprecht
06d4559294
Change include path absolut to project dir
7 years ago
David Rupprecht
9d71bec7b6
Unified include guards
7 years ago
Joseph Giovatto
49da57c8a1
Changed log methods to take string literal vs string object
...
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
7 years ago
Andre Puschmann
047f09062b
Merge branch 'master' into next
7 years ago
Andre Puschmann
ded550b793
remove unneeded boost includes
7 years ago
Andre Puschmann
bf25a5a05c
fix handling of log vector in eNB
7 years ago
Eric Schreiber
0ac766658a
Initialize the E_RABFailedToSetupListCtxtSURes_present and CriticalityDiagnostics_present members of the LIBLTE_S1AP_MESSAGE_INITIALCONTEXTSETUPRESPONSE_STRUCT to false
...
to prevent "[S1AP] [E] Failed to send InitialContextSetupResponse" errors. When these members are set to false the liblte_s1ap_pack_initialcontextsetupresponse
routine ignores the corresponding (uninitialized) structures when serializing the response pdu.
7 years ago
Pedro Alvarez
6e4720771f
Merge branch 'next' into epc
7 years ago
Ismael Gomez
fa4d14652d
Added mutex for ue_rem/buffer access for more safety
7 years ago
Ismael Gomez
45cae1d1ab
Fix srsENB DL TCP stalling
7 years ago
Ismael Gomez
2d9c101027
Check all DRB config parameters
7 years ago
Pedro Alvarez
c8dafa5410
Merging next into guti attach branch
7 years ago
Pedro Alvarez
1dd87e5113
Getting rid of boost::mutext on enb singleton class
7 years ago
Andre Puschmann
4575a9e610
add further checks for pool allocate return in srsENB and RLC UM/TM
7 years ago
Ismael Gomez
fd0c8168f0
Set to Continuous RX and TX
7 years ago
Xavier Arteaga
bf80a0a21b
Udated enb.config.example for TM1-4
7 years ago
Andre Puschmann
1daf7b04bc
add copyright header
7 years ago
Ismael Gomez
86818ad65f
Fix compilations warnings and remove printf debugs
7 years ago
Ismael Gomez
b5bda138f3
Merge branch 'next'
7 years ago
Ismael Gomez
9dab102a7e
Removed debug printf from enb scheduler
7 years ago
Ismael Gomez
be62b8a179
Fixed uninitialized sock
7 years ago
Ismael Gomez
2347fe0e6f
Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI
7 years ago
Andre Puschmann
e5a04844ec
more coverity fixes
7 years ago
Andre Puschmann
dfe430a584
Merge branch 'next'
7 years ago
Andre Puschmann
36a53b9cfc
fix coverity issue
7 years ago
Xavier Arteaga
20934a4f89
More COverity Fixes
7 years ago
Xavier Arteaga
99ef760b6f
More Coverity fixes
7 years ago
Andre Puschmann
eac2b6e43c
Merge branch 'next'
7 years ago
yagoda
2dcee59fb2
minor warning fix
7 years ago
yagoda
42040f7111
fixing conflicts
7 years ago
yagoda
ee1c8c292e
fixing coverity issues
7 years ago
Andre Puschmann
c011526e38
Merge branch 'next'
7 years ago
Andre Puschmann
d500bdbc24
fix more coverity issues
7 years ago
Andre Puschmann
afcdf21dcc
Merge branch 'next'
7 years ago
Andre Puschmann
f49c1d8d65
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Andre Puschmann
02856704c8
more coverity fixes
7 years ago
Xavier Arteaga
0299e9aae1
Fixed Aperiodic reporting RM31 for TM4 (Amarisoft proof)
7 years ago
Andre Puschmann
33bae5898a
Merge branch 'next'
7 years ago
Andre Puschmann
8da4373d30
fix various coverity bugs
7 years ago
Andre Puschmann
f3b1fe0f1a
update for null-termination of strings fix
7 years ago
Andre Puschmann
c8f9a7785a
fix null-termination of strings
7 years ago
Ismael Gomez
9b6e18d84f
Lower srsENB priorities below UHD threads
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
Andre Puschmann
6a9a004311
Merge pull request #121 from jgiovatto/enb-phy-initbug
...
use vector push_back method to allocate required
7 years ago
David Rupprecht
051d884a46
fixed enb pcap mac
7 years ago
Ismael Gomez
415b528aff
Fixed MME IP address in default ENB configuration
7 years ago
Ismael Gomez
cf032fea53
Merge branch 'next'
7 years ago
Merlin Chlosta
ed863e9d14
Fix SIB config issue #134 and add comments
...
Correct off-by-one in memcpy of other SIBs
7 years ago
Merlin Chlosta
60bc634386
Fix build if WRITE_SIB_PCAP is defined
7 years ago
Ismael Gomez
0093928b73
Fixed some warnings in ARM
7 years ago
Xavier Arteaga
0ba58d8d24
Fixed PUSCH retransmissions for non-RRC configured rnti
7 years ago
Xavier Arteaga
608e5ba088
Fixes 15MHz for MIMO srsenb
7 years ago
Pedro Alvarez
4b62c9cb06
Merge branch 'next' into epc.
7 years ago
Ismael Gomez
76969932dc
Merge pull request #134 from softwareradiosystems/enbmimo
...
Enbmimo
7 years ago
Xavier Arteaga
3e29e5a853
Fixed bug. The same data was pushed in both transport blocks for TM3/4.
7 years ago
Ismael Gomez
3be48c40c8
Added rotating log to srsUE and srsENB
7 years ago
Pedro Alvarez
616d1bd0af
Merge branch 'next' into epc to add eNB SMC integrity fix
7 years ago
Xavier Arteaga
57d443ace2
Merge branch 'next' into enbmimo
7 years ago
Paul Sutton
dbdf85072c
Fix for srsenb AS security
7 years ago
Xavier Arteaga
9ca4f4ab9e
Fixed PUSCH retransmission bug, last RI report and RI trace format
7 years ago
Xavier Arteaga
9ffdb1e62d
Refactored PMI/CQI/RI reporting
7 years ago
Xavier Arteaga
de654cd344
Merge branch 'next' into enbmimo
7 years ago
Xavier Arteaga
7a840d9f59
Solved RI reporting bug and improved PUSCH log trace
7 years ago
Pedro Alvarez
042552491b
Merging next into epc branch.
7 years ago
Ismael Gomez
37ee5505e9
Removed unused log_line() functions. Added DCI info string
7 years ago
Ismael Gomez
23718aebad
Forced kill of UE and ENB by typing ctrl
...
+c multiple times
7 years ago
Ismael Gomez
845fc87945
Added option to log_filter to customize time source
7 years ago
Xavier Arteaga
ec254a9971
Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo
7 years ago
Xavier Arteaga
a8a66cb214
Block TM1 with more than 1 antenna and TM2-4 with less than 2 antennas
7 years ago
Ismael Gomez
be7f247ad7
Merge branch 'master' into next
7 years ago
Ismael Gomez
dff5a6f628
Initialize variables in rrc/enb. Fixes #122
7 years ago
Xavier Arteaga
4fec7799e2
Fixed Aperiodic RI reporting for TM1-2
7 years ago
Xavier Arteaga
0773220d86
Corrected bugs for running TM3 witha phone (up to 75Mbps@10MHz)
7 years ago
Ismael Gomez
b0a2fa3b0b
Merge branch 'enbmimo' into mob_crypto_mimo
7 years ago
Ismael Gomez
e720568e82
Revert "Added UE Mode 3-1 aperiodic reporting"
...
This reverts commit 0bd683b3c4
.
7 years ago
Ismael Gomez
eefbdbc913
Revert "Added Aperiodic mode 3-1 in enb and some more optimizations"
...
This reverts commit 8ab196901f
.
7 years ago
Xavier Arteaga
8ab196901f
Added Aperiodic mode 3-1 in enb and some more optimizations
7 years ago
Xavier Arteaga
0bd683b3c4
Added UE Mode 3-1 aperiodic reporting
7 years ago
Pedro Alvarez
13595ccb2d
Added logging to MME GTP-C. Fixed weird comment bug.
7 years ago
Ismael Gomez
d428760b20
Merge branch 'next' into mobility
7 years ago
Ismael Gomez
408545dab8
X2 (constant NCC) working
7 years ago
Xavier Arteaga
0bb789b1cd
Solved Segmentation Fault error in Power Allocation
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
af5ca314d0
Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo
7 years ago
Xavier Arteaga
c0b9129c89
String init
7 years ago
Xavier Arteaga
e2a61af462
Added Aperiodic mode 3-1 in enb and some more optimizations
7 years ago
Xavier Arteaga
d041431c13
Merge branch 'reporting' into enbmimo
7 years ago
Xavier Arteaga
b084b153cf
Added UE Mode 3-1 aperiodic reporting
7 years ago
Ismael Gomez
72d83be8bc
Fix minor issues with adaptive retx ENB
7 years ago
Joseph Giovatto
cc420d1cb9
use vector push_back method to allocate required
...
storgae for log service objects vs using index operator.
7 years ago
Xavier Arteaga
c2d8508dcb
Merge branch 'next' into enbmimo
7 years ago
Xavier Arteaga
9fbcf95367
Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo
7 years ago
Ismael Gomez
f00a752628
Fixed bug in PDSCH retx in srsENB
7 years ago
Xavier Arteaga
2b0a4fa2d0
eNB: solved sched-pdsch bug
7 years ago
Xavier Arteaga
650cc0788c
eNB: Added RI metrics trace
7 years ago
Xavier Arteaga
42626a1120
eNB: retransmissions in Diversity mode
7 years ago
Xavier Arteaga
69682d488b
eNB: Do not consider CQI/RI if PUCCH has low correlation
7 years ago
Xavier Arteaga
75957d41d7
Added DCI formats 2 and 2a inScheduler. Improved UE PHCH, corrected some MIMO bugs on both sides.
7 years ago
Ismael Gomez
3287042f18
Merge branch 'master' into next
7 years ago
Ismael Gomez
45d78d33fb
Consider negative elapsed time values in activity monitor due to multiple PHY threads. Fixes issue #111
7 years ago
Ismael Gomez
cb6adba46a
Merge branch 'master' into next
7 years ago
Ismael Gomez
c7f7409954
Edit warning log
7 years ago
Xavier Arteaga
96a6d6ae9f
Merge branch 'next' into enbmimo
7 years ago
Xavier Arteaga
6985682ef0
Added 2nd Codeword interface in scheduler, plus pmi close loop reporting
7 years ago
Xavier Arteaga
af669a6cbb
Added RI reporting in enb and optimised RI computing calling time
7 years ago
Ismael Gomez
7bef0b0e7f
Merge branch 'next' into next_novolk
7 years ago
Xavier Arteaga
c8bba2f4d0
DFT optimization. memcpy removal ( #76 )
...
* Solved PHICH Segmentation fault for MIMO
* Initial Guru FFT optimitzation
* Guru (i)FFT implemented. All test passed!
* Integrated new DFT into pdsch_enodeb and pdsch_ue. Solved more DFT bugs.
* Solved Merge Errors and bugs
* Solved UL Guru bug (DC missing). Updated Init and OFDM calls for enb and ue (cell measurement too).
7 years ago
Ismael Gomez
2f44e2bf3a
Refactored cases mcs>29 for ul/dl
7 years ago
ilshatDesu
2a381c109c
Update enb_cfg_parser.cc
...
Non critical error in SIB1.
CellIdentity is constucted from eNBID and SectorID.
7 years ago
Ismael Gomez
aeabcb4551
Merge branch 'next' into next_novolk
7 years ago
Ismael Gomez
db5d747c66
Fix coverty issues
7 years ago
Xavier Arteaga
21355de77e
Added TM3 (1 layer only) eNB support at RRC
7 years ago
Xavier Arteaga
95897ceb71
Added TM2 (Tx diversity) support for eNB
7 years ago
Xavier Arteaga
e8da7160f0
eNB transmits diversity by default if two cell ports are configured
7 years ago
Ismael Gomez
fda886407b
Added option to force the DL/UL frequency at the UE
7 years ago
Ismael Gomez
a180b5ebac
Msg3 delay is added to harq delay
7 years ago
Ismael Gomez
d6561fa067
Merge branch 'next' into next_novolk
7 years ago
Ismael Gomez
51c2c041d7
Update enb.conf.example
7 years ago
Ismael Gomez
5208c4c160
Removed unused code
7 years ago
Ismael Gomez
1dff82065b
Merge branch 'next' into next_novolk
7 years ago
Ismael Gomez
0c263b123f
Reset HARQ process if TB can't be scheduled
7 years ago
Ismael Gomez
ba91a38da4
Allow PDCCH scheduling for 6 PRB
7 years ago
Andre Puschmann
5e9750f2f6
remove clutter from enb.conf.example
7 years ago
Ismael Gomez
ca0cf017d6
Now working with variable HARQ scheduling
7 years ago
Ismael Gomez
fb0a918f7a
Merge branch 'next' into next_novolk
7 years ago
Ismael Gomez
b353ed03dd
cleaned stdout metric
7 years ago
Ismael Gomez
c8dc3d1ad7
Merge branch 'next_with_variable_harq' into next_novolk
7 years ago
Ismael Gomez
582c87e86d
Removed PUCCH reserved logs
7 years ago
Ismael Gomez
cc6546db18
Fixed incorrect scheduling with PUCCH
7 years ago
Ismael Gomez
7c081c695a
Missing call to c_str in printf
7 years ago
Ismael Gomez
c066732095
Merge branch 'next' into next_with_variable_harq
7 years ago
Ismael Gomez
48186cd4fc
fixed warning
7 years ago
Paul Sutton
428e5955df
Fix for SPGW address issue for GTP bearers - now using addresses from bearer setup requests
...
htonl fix
7 years ago
Ismael Gomez
602b684352
Reduced default TX/RX gains in srsUE/srsENB
7 years ago
Ismael Gomez
d6bdabfdc0
Changed all harq delays to variables
7 years ago
Ismael Gomez
9437731c00
Removed softbuffer TX reset
7 years ago
Ismael Gomez
c23ceae2ec
Changes on enb::stop and rem_user to avoid segfaults
7 years ago
Ismael Gomez
b625910b55
Added 50% margin to PDCCH spectral efficiency for scheduling
7 years ago
Ismael Gomez
6029d25214
Fixed bug in get_required_nprb_ul
7 years ago
Ismael Gomez
c66f5fc570
Reduced CQI more for PUSCH+UCI
7 years ago
Ismael Gomez
92144ce15d
Revert "Handle RRC ConnectionReject at eNodeB and UE"
...
This reverts commit b6f905e2df
.
7 years ago
Ismael Gomez
23179262c3
Set waiting time on Reject
7 years ago
Ismael Gomez
b6f905e2df
Handle RRC ConnectionReject at eNodeB and UE
7 years ago
Ismael Gomez
736b73bb4b
Print PDSCH iterations per codeword
7 years ago
Ismael Gomez
7be56a85ea
Changed order of stop in srsENB to avoid PHY errors at exit
7 years ago
Ismael Gomez
489ac43408
Minor logging edits
7 years ago
Ismael Gomez
4753366096
Added option to ue.conf/enb.conf to forward logs to stdout
7 years ago
Ismael Gomez
6556941e6d
simplified MAC timers. Unified mac and upper timers in same background task
7 years ago
Ismael Gomez
5359c42b46
RLC UM release timer at stop()
7 years ago
Ismael Gomez
17b97c50cf
fixed CQI reduction due to UCI in UL only
7 years ago
Ismael Gomez
20cdc85ebd
fixed scheduler for constant mcs
7 years ago
Ismael Gomez
8661503d59
restore RX gain to 50 dB
7 years ago
Ismael Gomez
b59e4d08ca
fixed incorrect initialization of PUSCH estimator
7 years ago
Ismael Gomez
22f194182c
fixed memory leaks
7 years ago
Ismael Gomez
b0639ab394
resolved merge conflicts
7 years ago
Ismael Gomez
283cb115ac
fixed bugs in enb
7 years ago
Ismael Gomez
a993e72534
correction to previous commit
7 years ago
Ismael Gomez
6e0fd43c1f
Moved FFTW to WISDOM and save/load from file
7 years ago
Ismael Gomez
a51b6b09dd
Merged with next. Attach successful
7 years ago
Ismael Gomez
e5feec1934
Temporal commit before merge. Changed sequence objects to avoid reallocating memory. new NAS/RRC working with initial attachment
7 years ago
Paul Sutton
02439f291d
Add n_prb description
7 years ago
Ismael Gomez
58aecf818d
Allowing any PUSCH MCS
7 years ago
Ismael Gomez
fabeca49c7
moved pdsch_coderate to phy_common
7 years ago
Ismael Gomez
8a25cac41b
increased timeout for RRCConnectionRelease transmission
7 years ago
Ismael Gomez
b7a91b5971
fixed unititiazed pucch_sched in sched_ue::get_pucch_sched
7 years ago
Ismael Gomez
2832ece415
Fixed SCTP stream id to 1.
7 years ago
Ismael Gomez
0ca8c8aac6
considering PUCCH2 in PUSCH scheduler
7 years ago
Ismael Gomez
955170bd52
Improved DL TCP performance by tweeking BSR reports and UL scheduler
7 years ago
Ismael Gomez
616e18c570
fixed PUCCH correlation estimator
7 years ago
Ismael Gomez
49e8a2c594
fixed memory leak in mac/ue
7 years ago
Ismael Gomez
5fed766806
fixed UE not reattaching after paging
7 years ago
Ismael Gomez
0f9f76ff00
calibrated configuration values
7 years ago
Andre Puschmann
d6c027069c
Merge branch 'master' into next
7 years ago
Philipp Gorczak
407d2ef024
Use runtime dir parameter for executables.
7 years ago
Philipp Gorczak
5fdcef60f6
Install binaries.
7 years ago
Ismael Gomez
8ad26bda07
eNodeB 2x time advance
7 years ago
Andre Puschmann
8030778809
fix PDCP initialization in eNB
7 years ago
Andre Puschmann
7ca0988ea3
refactor RLC to use RAT-agnostic config
7 years ago
Andre Puschmann
8dbabb2834
rework bearer/LCID handling
...
This is a larger patch that reworks the LCID handling throughout the
code.
- It first moves the RB/LCID mapping out of common.h into the RRC object
because different RATs may have different mappings.
- It adds a interface to RRC that other objects like RLC/PDCP/etc. may
use to get the bearer name of a specific LCID.
- The patch also introduces a PDCP config class.
7 years ago
Paul Sutton
769c2c1f6b
Merge branch 'next' of https://github.com/softwareradiosystems/srslte into next
7 years ago
Paul Sutton
776c1bbc9d
Moving fftw checks to top CMakeLists
7 years ago
Ismael Gomez
140cef69e0
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
6037a2f2bd
changed logger classes
7 years ago
Paul Sutton
b71f7b7080
Adding support for static builds
7 years ago
Ismael Gomez
8a5a2bbb4d
Merge branch 'master' of github.com:srsLTE/srsLTE
7 years ago
Ismael Gomez
362ff61c83
disabled RLC AM mode temporary due to known bug
7 years ago
Paul Sutton
00f5d654a7
Fix for uninitialized bool
8 years ago
Ismael Gomez
d5524b2a34
set default RRC timeout to 30s
8 years ago
Paul Sutton
07d8997395
Merge branch 'next' into next_paul_libs
8 years ago
Paul Sutton
4b68272964
Switch to static internal libs, set -fPIC by default
8 years ago
Ismael Gomez
fc6a38cad1
removed more unused libraries in ue binary
8 years ago
Ismael Gomez
5e030dc805
renamed SRSUE_ constants to SRSLTE_
8 years ago
Ismael Gomez
129b34201d
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next_private
8 years ago
Ismael Gomez
d05b03e43a
added buffer pool function call name debug feature
8 years ago
Paul Sutton
09f9063272
Merge branch 'restruct_update' into next
8 years ago
Paul Sutton
0b64e8a9ee
Minor cleanup of security library handling in cmake
8 years ago
Ismael Gomez
ddfeb63f5c
fixed configuration for enb
8 years ago
Ismael Gomez
b7996e58c2
increased max radio failure timeout
8 years ago
Ismael Gomez
5b974e5f7a
Merge branch 'restruct_update' of github.com:softwareradiosystems/srsLTE into restruct_update
8 years ago
Ismael Gomez
3473aa1157
fixed default enb config files
8 years ago
Andre Puschmann
04ec09bd71
add license text to various files
8 years ago
Ismael Gomez
198c705fcd
renamed srsue and srsenb
8 years ago
Ismael Gomez
930147fcda
moved boost requirement to root cmake
8 years ago
Ismael Gomez
e5ae82aef1
added srsENB code
8 years ago