Commit Graph

89 Commits

Author SHA1 Message Date
Francisco Paisana 3bedc93ba5 added _t to unique_byte_buffer type 2019-05-16 12:35:01 +02:00
Francisco Paisana f469e2178b replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use 2019-05-16 12:35:01 +02:00
Francisco Paisana b04cb0deb9 using the new choice set api in UE and eNB RRC 2019-05-10 11:59:34 +02:00
Francisco Paisana 82a0145593 added extra tests in the unpacking of rrc asn1 2019-04-29 17:33:08 +02:00
Andre Puschmann e4ea96aa79 add check for return value for RRC unpacking
- handle error cases accordingly
2019-04-29 12:39:02 +02:00
Andre Puschmann 4b01a2e4a0 update copyright notice 2019-04-29 09:20:02 +02:00
Andre Puschmann 45de6c3305 fix selection for EEA0 and disallow EIA0 2019-04-26 12:10:40 +02:00
Ismael Gomez 7780b1aba5 add tdd/ca support 2019-04-25 20:57:58 +02:00
Andre Puschmann bdfb408857 fix uninitialized loop counter 2019-04-22 11:33:20 +02:00
David Rupprecht 39c49ab1ef Configurable sec algo preference list 2019-04-11 21:38:01 +02:00
David Rupprecht fd34e22c84 Started with local preference selection algorithm 2019-04-11 21:38:01 +02:00
David Rupprecht 735f97ceb6 Fixed Bearer ID for data Bearer and changed debug type for enc data pdus 2019-04-11 21:38:01 +02:00
David Rupprecht b84e49310e Enable encryption in reconfiguration and after security mode command (NOT TEST) 2019-04-11 21:38:01 +02:00
David Rupprecht eb3a83ac45 User Plane key in configuration interface 2019-04-11 21:38:01 +02:00
Francisco Paisana 185242d5f5 default release for ack_nack_repeat 2019-04-11 09:44:20 +01:00
Francisco Paisana 8a0ae614c2 added default value to ack_nack_repeat 2019-04-02 11:03:37 +02:00
Francisco Paisana dc0b903130 added default enum inits 2019-04-02 11:03:37 +02:00
Andre Puschmann 8e38ef2ee4 print PDU length when logging RRC message 2019-03-07 21:25:10 +01:00
Francisco Paisana 75acb046d9 small p_a initialization fix 2019-02-20 16:14:58 +01:00
Francisco Paisana 15abb2b020 set the correct size of the buffer for paging 2019-02-04 15:01:44 +00:00
Francisco Paisana 0204db2e12 new asn1 rrc library 2019-01-17 17:43:13 +01:00
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 2018-12-14 16:54:46 +01:00
Andre Puschmann df40259c26 fix issue in PDCP when bearer ID for DRBs was not starting with 1 2018-12-10 16:58:08 +01:00
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 2018-12-03 10:36:15 +01:00
Pedro Alvarez 548808ecee Changing RRC key logging from debug to info. Small readability fix. 2018-11-30 21:42:43 +01:00
Pedro Alvarez 645bd60d75 More debug prints 2018-11-30 21:42:43 +01:00
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