97 Commits (5444b2a0b79a8c06837a514862b87a54fc0df949)

Author SHA1 Message Date
Andre Puschmann 4da8bf26f8 use non-blocking PDCP write in GW 7 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
7 years ago
Andre Puschmann 47a8b1343f add rwlock to PDCP 7 years ago
Ismael Gomez 685b368df2 Fix compilation error in previous commit 7 years ago
Ismael Gomez d57bf0f786 Consider the case of calling gtpu::add_bearer() before initialization 7 years ago
Andre Puschmann 55b3b61ec1 Merge branch 'master' into next 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 7c7eed3ad1 Fix issue #179 in master 7 years ago
Ismael Gomez 2da9787907 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 7 years ago
Ismael Gomez efea8f4436 Set Dropped to debug level and reduce eNodeB RLC TX size 7 years ago
Pedro Alvarez b460ece601 Merge branch 'mbms_tun' into next 7 years ago
Ismael Gomez cf5a6f0580 Increased PUCCH RLF threshold and default number of errors 7 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
7 years ago
Pedro Alvarez 0e135adc6f Starting to change gtpu_read_header and gtpu_write_header to lib. 7 years ago
Pedro Alvarez 27dbbcca02 Stripping GTPU in eNB's M1-U. 7 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.
7 years ago
Ismael Gomez 115244657f Set GTPU socket to non-blocking 7 years ago
Ismael Gomez 8c92f3fddc
Improvements and fixes on srsENB scheduler (#228) 7 years ago
Andre Puschmann 91e1b27219 Merge branch 'master' into next 7 years ago
Andre Puschmann 492958fdba
Merge pull request #209 from softwareradiosystems/minor_fix
some allocated buffers in the s1ap were not being correctly deallocated
7 years ago
Andre Puschmann 064d7bd2dc use original UE establishment cause in S1AP initial UE message 7 years ago
Andre Puschmann b551c82f7b fix bug in packing s1ap 7 years ago
yagoda cca8362a69 adding mbsfn conditional to gtpu to create mch thread only if mbsfn is enabled 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
Ismael Gomez cde432fbb6 Added mutex to RLC and PDCP eNodeB 7 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 67e90d5a9b Code style: Use { } even in 1-line if 7 years ago
Ismael Gomez 95690a56ec Fix indentation 7 years ago
yagoda 0ae22e0822 fixing scheduling issues for mbms 7 years ago
yagoda fac8bb7b7a adding mbms-gw broadcast support, adding parameter for automatic mbms service start 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
Andre Puschmann b4a23d325a cosmetic changes 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 c17fbfcde1 Fixed buffer overflow in SIB generation 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
David Rupprecht 06d4559294 Change include path absolut to project dir 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
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
Andre Puschmann 4575a9e610 add further checks for pool allocate return in srsENB and RLC UM/TM 7 years ago
Xavier Arteaga 20934a4f89 More COverity Fixes 7 years ago