Commit Graph

5635 Commits

Author SHA1 Message Date
Francisco Paisana 1538917c3f fix ue metrics 2020-03-25 19:18:00 +00:00
Francisco Paisana 599588ff51 removed uneeded locks in the rlc, moved ue stack get_metrics to stack thread, solved the idle procedure double-locking 2020-03-25 19:18:00 +00:00
Ismael Gomez 95c6916987
Improve robustness in RF Overflow (#1124)
* Use task id to track old background tasks in RA procedure

* Improve robustness against RF overflow in PHY

* Increase SNR out-of-sync threshold

* Do not change frequency if it's the same

* Increase sync priority

* Increase time to start receiving to reduce input buffer occupation

* Use scoped lock in sf_worker
2020-03-25 16:56:32 +01:00
Francisco Paisana 8aa44928e9 fix 5g compilation errors 2020-03-25 15:50:30 +00:00
Francisco Paisana 344eaf49ec use logmap in the whole enb and ue 2020-03-25 15:50:30 +00:00
Ismael Gomez 9a264b62c4
Protect access to shared grants (#1117)
* Protect access to shared grants

* Set correct number of carriers for DL

* Fix previous issues

* Address comments
2020-03-25 14:30:43 +01:00
Francisco Paisana 8e837e173d printf has already a way to pad spaces. If we use it, we can avoid accidentally adding extra logs because we did srslte::logmap::get("MAC") instead of srslte::logmap::get("MAC ") 2020-03-24 22:36:27 +00:00
Francisco Paisana 4baeee10c5 avoid dangerous [] map operator 2020-03-24 17:48:29 +00:00
Francisco Paisana 1839b9a6e5 cleaned up paging code to avoid extra processing steps in worker threads 2020-03-24 17:48:29 +00:00
Francisco Paisana 9c028ab723 removed user_mutex from srsenb::rrc. All that needed to happen was the prach_worker calling add_user from stack thread (done in an earlier PR), and the get_metrics run in the stack thread. I achieved the latter with an extra metrics queue 2020-03-24 17:48:29 +00:00
Pedro Alvarez 75f35d8ded Making the default eNB TAC match the default EPC TAC. 2020-03-24 17:02:47 +01:00
Ismael Gomez c157a37894 Address comments 2020-03-24 16:47:33 +01:00
Ismael Gomez 7a7385d0e5 Support multiple carriers for common buffers (RAR/BCCH/PCCH) 2020-03-24 16:47:33 +01:00
Ismael Gomez 4fe68e2d54 Verify that cell is valid before configuring scell 2020-03-24 16:45:05 +01:00
Francisco Paisana c7741f368f update rrc_meas_test 2020-03-24 12:28:12 +00:00
Francisco Paisana 99d9ecbf9e removed unecessary locks from rlc::write_pdu methods 2020-03-24 12:28:12 +00:00
Francisco Paisana aeed623734 removed pdu processing from the ue rrc cmd queue. Instead, now the rrc processes the incoming pdus right away. This is essential to fix the security cmd issue in the ue 2020-03-24 12:28:12 +00:00
Xavier Arteaga cd2f86687f Correction in AWGN generator 2020-03-24 12:16:28 +01:00
Xavier Arteaga ca9611654d Minor correction in AWGN channel test 2020-03-24 12:16:28 +01:00
Xavier Arteaga 8e891b7038 Added AWGN channel to SRSUE and SRSENB 2020-03-24 12:16:28 +01:00
Xavier Arteaga c107b04f5a Implemented high performance AWGN generator 2020-03-24 12:16:28 +01:00
Xavier Arteaga b5be0b94b8 Added SIMD i32 add and and functions 2020-03-24 12:16:28 +01:00
Xavier Arteaga 8bf7acdeaf Added vector malloc for i32 and u32 2020-03-24 12:16:28 +01:00
Andre Puschmann b9a2217355 fix uninit vars reported by Coverity 2020-03-24 09:47:07 +01:00
Xavier Arteaga 5e6828c3a0 SRSUE: fix add/mod meas object 2020-03-24 08:13:44 +01:00
Francisco Paisana 9bde6d442c removed the uneeded locks from the pdcp 2020-03-23 19:58:18 +00:00
Francisco Paisana f3890b2908 use of mutexed cache to store the valid lcids that can be checked from gw thread 2020-03-23 19:58:18 +00:00
Francisco Paisana a2866f661b made the number of ue payload allocations proportional to number of active carriers. Made mac::ue_db use unique_ptrs 2020-03-23 14:49:17 +00:00
Francisco Paisana 8772d8f85c use byte buffer pool for the ue tx_payload_buffer allocation. This halves the mac::ue object creation time 2020-03-23 14:49:17 +00:00
Andre Puschmann 3f10224729 refactor airplane mode simulation and move to NAS
- move handling to NAS
- use switch off to enable airplane mode (don't wait for EPC response)
- add tiny FSM to control airplane mode activation/deactivation
- only start on/off counter after state has been entered
2020-03-23 13:36:25 +01:00
Andre Puschmann 0e221f1317 adding CA support to run_lte.sh and adopt readme 2020-03-22 20:45:02 +01:00
Andre Puschmann ac1d4d994b srsue: refactor arg parsing error handling 2020-03-22 18:29:03 +01:00
Andre Puschmann dff00c77c0 srsenb: fix mobility test after adding UE cap enquiry 2020-03-22 18:28:25 +01:00
Andre Puschmann ce45aabfec srsenb: enable UE capability enquiry during attach
the UE capability information isn't used so far but can now
be analyzed in the PCAP
2020-03-22 18:28:25 +01:00
Francisco Paisana 70c2510c25 simplified mac_test step interface 2020-03-22 11:50:58 +00:00
Francisco Paisana e91a7ea513 removed stack-mac interface dedicated methods. We use now the task dispatch methods instead 2020-03-22 11:50:58 +00:00
Francisco Paisana de03c96c3b mac::process_pdus now uses the stack task dispatch interface 2020-03-22 11:50:58 +00:00
Francisco Paisana 7f6bde59fc move write_pdu_pcch and write_pdu_bcch_bch to stack thread 2020-03-22 11:50:58 +00:00
Francisco Paisana de3c28e52d added task dispatch capabilities to stack interface 2020-03-22 11:50:58 +00:00
Francisco Paisana 46a1be3e76 updated mac-rlc interface to use unique_byte_buffer 2020-03-22 11:50:58 +00:00
Ismael Gomez 7d7ac01fb4 Recalibrate 75 PRB 2020-03-22 10:24:59 +01:00
Xavier Arteaga 2c93f6d20a Fix PUCCH DMRS correlation 2020-03-22 08:49:12 +01:00
Ismael Gomez 7c7c83b9ad Address comments 2020-03-22 08:48:40 +01:00
Ismael Gomez 71723c315d Apply PHY configs to workers sequentially without interrupting processing 2020-03-22 08:48:40 +01:00
Ismael Gomez fd3d4a7874 Refactor thread_pool: use std::mutex and fix some hidden potential bugs 2020-03-22 08:48:40 +01:00
Francisco Paisana 82cb6baef0 now the whole ue and enb mac uses the logmap 2020-03-20 11:32:03 +00:00
Ismael Gomez 5846e64a4d
Deallocate all CQI resources when deallocating users (#1097) 2020-03-20 12:24:46 +01:00
Francisco Paisana 602690246e avoid calling rrc::run_tti multiple times in a tti jump 2020-03-19 21:52:53 +00:00
Francisco Paisana 45bc123967 remove manual tti counters from the rrc 2020-03-19 21:52:53 +00:00
Francisco Paisana 138347b6b5 nas using stack timers 2020-03-19 21:52:53 +00:00