Commit Graph

63 Commits

Author SHA1 Message Date
Andre Puschmann 05abdc9516 remove printf from eNB RRC 2018-11-20 18:36:00 +01:00
Andre Puschmann 8a1368c8d6 send connection reject if MME isn't connected 2018-11-16 14:56:39 +01:00
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.
2018-09-28 21:04:01 +02:00
Andre Puschmann 10a43f04ba Merge branch 'master' into next 2018-09-25 15:10:48 +02:00
Joseph Giovatto dc3e88079a moved earb_info from parent to be unique per ue to avoid overwrites (#234)
consult integrity check result before proceeding
2018-09-25 14:18:24 +02:00
Pedro Alvarez 49c44a2bd4 Moved int_helpers to lib so that the EPC can use those functions too. 2018-09-24 14:08:00 +01:00
Ismael Gomez d95d0e2e7a Fix issue #179 in master 2018-07-12 11:17:39 +02:00
Ismael Gomez 7c7eed3ad1 Fix issue #179 in master 2018-07-07 11:12:28 +02:00
Ismael Gomez cf5a6f0580 Increased PUCCH RLF threshold and default number of errors 2018-07-05 14:09:46 +02:00
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
2018-07-05 11:00:19 +02:00
Ismael Gomez 8c92f3fddc
Improvements and fixes on srsENB scheduler (#228) 2018-06-29 11:25:22 +02:00
Andre Puschmann 91e1b27219 Merge branch 'master' into next 2018-06-27 11:43:01 +02:00
Andre Puschmann 064d7bd2dc use original UE establishment cause in S1AP initial UE message 2018-06-25 18:19:57 +02:00
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
2018-06-12 17:31:07 +02:00
Ismael Gomez d7f6820d12 Reorder UE remove procedure to avoid mutex in RLC/PDCP 2018-06-09 11:11:27 -07:00
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 2018-05-15 17:27:10 +02:00
yagoda 84f4996584 adding upper embms support to the enodeb 2018-05-15 17:13:30 +02:00
Ismael Gomez 33f6a3513a
Merge pull request #173 from wangqiang1588/master
fix out of index error
2018-05-09 14:46:45 -05:00
Andre Puschmann 9230d111ce use pool_allocate wrapper in srsENB's UE subclass in RRC 2018-05-09 13:57:50 +02:00
LongSky 9b6dc18b2c fix out of index error 2018-05-04 15:02:28 +08:00
Andre Puschmann 5ecc145f14 Merge branch 'master' into next 2018-05-01 14:50:15 +02:00
David Rupprecht 977ed71848 enodeb print security key 2018-04-30 21:24:11 +02:00
Ismael Gomez c17fbfcde1 Fixed buffer overflow in SIB generation 2018-04-26 11:45:46 +02:00
Pedro Alvarez 190015435b Fixed some un-initialized variables in E-RAB Setup Response. 2018-04-17 13:30:37 +01:00
Francisco Paisana c104c9e3c8 solved the small inconsistency with the drbid/lcid/erabid 2018-04-11 10:50:14 +02:00
Francisco Paisana 296d49f3eb Now enb does not crash when the QCI is not invalid. 2018-04-10 19:45:06 +02:00
Francisco Paisana f5b8343244 srsenb now prints an error message when the QCI is not valid 2018-04-10 17:42:50 +02:00
David Rupprecht 06d4559294 Change include path absolut to project dir 2018-04-01 18:08:24 +02:00
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.
2018-03-29 16:59:19 +02:00
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.
2018-03-26 17:21:07 -04:00
Xavier Arteaga 20934a4f89 More COverity Fixes 2018-01-31 18:10:10 +01:00
Merlin Chlosta ed863e9d14 Fix SIB config issue #134 and add comments
Correct off-by-one in memcpy of other SIBs
2018-01-20 13:57:23 +01:00
Xavier Arteaga ec254a9971 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-12-15 10:01:38 +01:00
Ismael Gomez be7f247ad7 Merge branch 'master' into next 2017-12-13 18:28:00 +01:00
Ismael Gomez dff5a6f628 Initialize variables in rrc/enb. Fixes #122 2017-12-13 18:26:26 +01:00
Xavier Arteaga 4fec7799e2 Fixed Aperiodic RI reporting for TM1-2 2017-12-07 09:41:47 +01:00
Xavier Arteaga 0773220d86 Corrected bugs for running TM3 witha phone (up to 75Mbps@10MHz) 2017-12-06 10:25:51 +01:00
Xavier Arteaga dbf10cff17 Solved PDSCH Power Allocation p_b on eNB side 2017-11-22 18:01:13 +01:00
Xavier Arteaga e2a61af462 Added Aperiodic mode 3-1 in enb and some more optimizations 2017-11-16 14:48:03 +01:00
Xavier Arteaga 9fbcf95367 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-09 16:16:39 +01:00
Ismael Gomez 45d78d33fb Consider negative elapsed time values in activity monitor due to multiple PHY threads. Fixes issue #111 2017-10-30 16:44:52 -07:00
Xavier Arteaga 96a6d6ae9f Merge branch 'next' into enbmimo 2017-10-27 16:25:03 +02:00
Xavier Arteaga 6985682ef0 Added 2nd Codeword interface in scheduler, plus pmi close loop reporting 2017-10-26 17:09:28 +02:00
Xavier Arteaga af669a6cbb Added RI reporting in enb and optimised RI computing calling time 2017-10-24 10:07:54 +02:00
Ismael Gomez db5d747c66 Fix coverty issues 2017-10-12 10:31:08 +02:00
Xavier Arteaga 21355de77e Added TM3 (1 layer only) eNB support at RRC 2017-10-11 17:00:49 +02:00
Xavier Arteaga 95897ceb71 Added TM2 (Tx diversity) support for eNB 2017-10-10 17:01:40 +02:00
Ismael Gomez cc6546db18 Fixed incorrect scheduling with PUCCH 2017-10-04 11:50:15 +02:00
Paul Sutton 428e5955df Fix for SPGW address issue for GTP bearers - now using addresses from bearer setup requests
htonl fix
2017-10-02 13:04:40 +01:00
Ismael Gomez c23ceae2ec Changes on enb::stop and rem_user to avoid segfaults 2017-09-29 13:38:47 +02:00