Commit Graph

925 Commits

Author SHA1 Message Date
Andre Puschmann ec9b7e921a fix RLC AM double unlock mutex 2018-07-30 11:52:39 +02:00
Andre Puschmann dc41240106 increase UHD tx timeout to 1.0 2018-07-27 14:45:17 +02:00
Andre Puschmann bfb9ba43b4 increase UHD recv timeout to 1.0 2018-07-27 12:06:39 +02:00
Andre Puschmann 22f1487d64 log dropped SDU in RLC as info rather than warning 2018-07-27 11:25:13 +02:00
Andre Puschmann e6366b4570 fix stopping of async thread in UHD 2018-07-26 14:20:40 +02:00
Andre Puschmann 74e38ee0a2 Merge branch 'rlc_refactor' into next 2018-07-26 13:24:32 +02:00
Andre Puschmann 9b8d7aeddf fix warning 2018-07-26 13:24:12 +02:00
Andre Puschmann b0a79ac616 fix segfault when ASYNC thread is disabled 2018-07-26 12:55:16 +02:00
wangqiang1588 dfce3ea155 Fix crash if args is NULL ,enable multi rx channels setting (#198) 2018-07-25 16:41:06 +02:00
Merlin Chlosta deab23c9ec Fix non-blocking rf_uhd_recv_with_time_multi (#195)
Return the number of actually received samples, not the requested samples.
2018-07-25 16:40:23 +02:00
Andre Puschmann 89df8f1582 unify RLC interface for writing SDUs w/ and w/o blocking 2018-07-25 16:08:07 +02:00
Andre Puschmann 3950629a75 remove obsolete RLC_MODE struct and move existing one to rlc_interface.h 2018-07-25 16:06:42 +02:00
Andre Puschmann 5444b2a0b7 tiny cosmetic changes 2018-07-25 15:09:54 +02:00
Andre Puschmann ee5b055829 rename pdcp function for GW to is_lcid_enabled() 2018-07-25 15:09:19 +02:00
Andre Puschmann 40d19e2d32 fix PDCP reset 2018-07-25 15:08:35 +02:00
Andre Puschmann 260fbff6ab unlock before adding SRB0 again during RLC reset 2018-07-25 09:20:45 +02:00
Andre Puschmann b8438e9cc3 extend PDCP interface to allow non-blocking write of SDUs 2018-07-24 15:49:09 +02:00
Andre Puschmann 2b86272c5e protect PCAP bearer additions with write lock 2018-07-24 09:43:33 +02:00
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
2018-07-23 17:30:32 +02:00
Andre Puschmann 8e8fab027b refactor RLC base class
- add rwlock
- put RLC entities into map
- general cleanup
2018-07-23 15:42:54 +02:00
Ismael Gomez 3a9f224f40 Turbo Coder LUT not a function of CB size 2018-07-19 17:22:18 +02:00
Andre Puschmann 800eea888f fix PDCP security config 2018-07-19 10:23:15 +02:00
Andre Puschmann b8b5ad9755 Merge branch 'pdcp_refactor' into next 2018-07-17 17:42:13 +02:00
Xavier Arteaga a21db86a78 SCH Codeblock CRC is computed at same time than parity 0 2018-07-17 15:37:57 +02:00
Andre Puschmann 47a8b1343f add rwlock to PDCP 2018-07-17 15:27:04 +02:00
Andre Puschmann 93c11e4416 turn PDCP array into map 2018-07-17 12:50:10 +02:00
Andre Puschmann be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
Epc stacktrace
2018-07-13 14:28:13 +02:00
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 2018-07-13 11:57:15 +01:00
Ismael Gomez c012a6ea83 Mutex more operations in worker to fix segfault when HO. Protect pdsch/pusch from regenerating sequence 2018-07-13 12:48:57 +02:00
Xavier Arteaga 3d3f98b21e Fixed posible interleaver segfault 2018-07-13 12:48:49 +02:00
Andre Puschmann 291d80119c fix conflicts after merging 2018-07-13 12:42:54 +02:00
Ismael Gomez 3cb9f51460 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-12 18:12:32 +02:00
Ismael Gomez b6f84c2a1f Fix reestablish UM 2018-07-12 18:08:36 +02:00
Ismael Gomez a0d4650c2c Fix reestablish UM 2018-07-12 18:07:13 +02:00
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 2018-07-12 15:43:27 +01:00
Andre Puschmann a9b023258c refactor RLC UM to have separate tx/rx objects 2018-07-12 16:13:03 +02:00
Andre Puschmann 4c59f52f9a
Merge pull request #237 from softwareradiosystems/epc_pcap
Epc pcap
2018-07-12 16:00:31 +02:00
Ismael Gomez 3122d8e959 RLC reestablish to re-enable tx_enabled 2018-07-12 11:18:14 +02:00
Ismael Gomez 1a7e746a06 Minor cleanup 2018-07-11 15:43:11 +02:00
Ismael Gomez 9690125882 Minor cleanup 2018-07-11 15:42:51 +02:00
Ismael Gomez 75e8df2e9f Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-11 15:33:22 +02:00
Ismael Gomez 653d126319 Merge branch 'tx_enabled_issue' into next 2018-07-11 15:32:41 +02:00
Ismael Gomez 9c5b9cef94 Set initial AGC gain correctly 2018-07-11 12:56:49 +02:00
Andre Puschmann 9b894799f0 add support for ciphered authentication response 2018-07-10 12:34:25 +02:00
yagoda 8751645a48 cleaning up viterbi neon 2018-07-10 10:26:59 +01:00
Pedro Alvarez ff49e56871 Starting to add s1ap_pcap class. 2018-07-09 18:25:43 +01:00
Pedro Alvarez 32a5c6a92f Starting to add s1ap_pcap class. 2018-07-09 16:50:35 +01:00
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 2018-07-09 14:33:50 +01:00
Pedro Alvarez 96786e96da Splitting the lib debug into phy and common debug. 2018-07-09 13:15:35 +01:00
Ismael Gomez 005fe87ae9 RLC reestablish to re-enable tx_enabled 2018-07-09 00:26:58 +02:00
Ismael Gomez f273ec959b Set initial AGC gain correctly 2018-07-07 12:44:31 +02:00
Ismael Gomez 1e61dbceff Set initial AGC gain correctly 2018-07-07 12:43:50 +02:00
Ismael Gomez 4762483396 Fix compilation warnings 2018-07-06 16:38:31 +02:00
Ismael Gomez 0dae08f812 Removed printf 2018-07-06 15:44:32 +02:00
Ismael Gomez 2da9787907 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-06 15:31:29 +02:00
Ismael Gomez a2615628aa Increase buffer pool size for enb 2018-07-06 15:30:51 +02:00
Ismael Gomez efea8f4436 Set Dropped to debug level and reduce eNodeB RLC TX size 2018-07-06 15:30:26 +02:00
Pedro Alvarez b460ece601 Merge branch 'mbms_tun' into next 2018-07-06 13:01:14 +01:00
Andre Puschmann 355330dab9
Merge pull request #234 from softwareradiosystems/log_fix
Log fix
2018-07-06 13:07:55 +02:00
Andre Puschmann f4768eb267 Merge branch 'soapy' into next 2018-07-06 12:53:03 +02:00
Andre Puschmann 5a0de01905 adding async thread to soapy 2018-07-06 12:52:22 +02:00
Andre Puschmann 9ef12859b0 register rf error handler in radio benchmark 2018-07-06 11:10:26 +02:00
Andre Puschmann d7e4797f3f add rf error handler in soapy 2018-07-06 11:09:56 +02:00
Ismael Gomez 85a7daa09d Move RLC buffer size to common 2018-07-06 09:08:29 +02:00
Ismael Gomez 19ac35d933 Increased RLC UL buffer size 2018-07-05 18:11:47 +02:00
Ismael Gomez c64e26559e Dropped PDU log level to info 2018-07-05 14:08:23 +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 546b631c93 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-05 10:56:43 +02:00
Ismael Gomez fae5531bcc Correction to commit 2a4a84a578. We don't check for tailroom but for read space 2018-07-05 10:56:32 +02:00
Andre Puschmann 1634072ef7 add signal handler to benchmark_radio and fix runtime 2018-07-04 21:43:37 +02:00
Andre Puschmann 9b9a56e543 fix printf in RLC_AM 2018-07-04 15:35:42 +02:00
Andre Puschmann f7a791866d turn sanity check in RLC_AM into info rather then error 2018-07-04 15:23:05 +02:00
Ismael Gomez 2a4a84a578 Add check for rx_window tailroom 2018-07-04 13:26:57 +02:00
Ismael Gomez c32ee8944f Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-07-03 18:57:32 +02:00
Ismael Gomez 1a1471955e Fix incorrect MIB generation. Fixes issue #232 2018-07-03 18:57:10 +02:00
Ismael Gomez a8f6081837 Minor changes in scheduler logs and style 2018-07-03 18:23:46 +02:00
Xavier Arteaga 92954c1aa4 Fixed UCI decoder defect in eNb. Improved PUSCH Unit Test. PUSCH CQI is printed like UE. 2018-07-03 17:29:22 +02:00
Pedro Alvarez 0e135adc6f Starting to change gtpu_read_header and gtpu_write_header to lib. 2018-07-03 14:30:20 +01:00
Andre Puschmann 87fd218c72 remove unused cond variable in logger 2018-07-03 13:17:48 +02:00
Andre Puschmann 4deb251071 remove duplicate run-state variable in logger_file 2018-07-03 13:09:43 +02:00
Xavier Arteaga 2c1608f6f1 Fixed UCI short CQI decoder. Fixed possible interleaver segfault. PUSCH Unit test tidied up. 2018-07-02 18:22:15 +02:00
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.
2018-07-02 17:51:09 +02:00
Ismael Gomez 8c92f3fddc
Improvements and fixes on srsENB scheduler (#228) 2018-06-29 11:25:22 +02:00
Pedro Alvarez 58823b1611 Destroying condition variable. 2018-06-28 21:22:37 +01:00
Pedro Alvarez 28844b54dd Possible fix for #164. 2018-06-28 21:13:41 +01:00
Andre Puschmann 1cba6b18ee
Merge pull request #221 from softwareradiosystems/op_vs_opc
Op vs opc
2018-06-28 12:44:39 +02:00
Ismael Gomez d81062145f Fixed phy_log was allocating memory dynamically on every call even when not enabled 2018-06-28 10:29:18 +02:00
Xavier Arteaga f01f7b4945 Added Vector max abs SIMD function 2018-06-28 09:28:17 +02:00
Ismael Gomez e18ba937dc Limit uplink signal normalization to avoid clipping 2018-06-27 16:29:40 +02:00
Andre Puschmann 91e1b27219 Merge branch 'master' into next 2018-06-27 11:43:01 +02:00
Ismael Gomez ea3fdf7f51 Increased uhd timeout 2018-06-26 14:52:00 +02:00
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 2018-06-26 11:36:40 +01:00
Andre Puschmann 0fcb27de53 soapy: make soapy log level a device param and fix issue in setting tx bandwidth 2018-06-26 11:46:42 +02:00
Ismael Gomez c04c147451 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-06-26 10:27:51 +02:00
Ismael Gomez 9d18349a08 Reduced uhd timeout 2018-06-26 10:27:39 +02:00
Andre Puschmann ddf7d2b2f7 soapy: rework driver init and add option to load config file 2018-06-25 16:13:09 +02:00
Xavier Arteaga 5e4fb48184 Refactored CQI reporting logging in UE. Fixes #199 2018-06-25 14:57:12 +02:00
Francisco Paisana 337857df5f added a normalization factor 2018-06-25 14:57:12 +02:00
Xavier Arteaga 22c0a67b97 Fixed minor issues 2018-06-25 14:57:11 +02:00
Paul Sutton 2a0c98c82a minor uninitialized variable fix 2018-06-22 14:52:04 +01:00