446 Commits (c9c43e44e9d821c7dfb85c27c37986d92e7d1216)

Author SHA1 Message Date
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