Commit Graph

871 Commits

Author SHA1 Message Date
Pedro Alvarez 882a610504 Fix mistake in adding dedicated DRB to scheduler. 2020-04-13 20:45:27 +02:00
Pedro Alvarez b176eef8e7 Using a single map to store erab_info messages. 2020-04-13 20:45:27 +02:00
Pedro Alvarez 84b012051c Added ability to reconfigure more than one DRB in the eNB RRC reconfiguration. 2020-04-13 20:45:27 +02:00
Pedro Alvarez 9b60d7977e Make sure that the NAS buffers for multiple erabs are initialized. 2020-04-13 20:45:27 +02:00
Pedro Alvarez cc2b474754 Starting to add array of erab_info messages. 2020-04-13 20:45:27 +02:00
Pedro Alvarez f872e6ec39 Marking nas_pending a vector to support multiple erab setup on sending RRC reconf. 2020-04-13 20:45:27 +02:00
Francisco Paisana 6fedec8223 avoid dangling scells 2020-04-13 11:15:28 +01:00
Francisco Paisana ca7e667a22 small fix in list size check 2020-04-13 11:15:28 +01:00
Francisco Paisana 4d0068243b fixing scell activation in the enb rrc 2020-04-13 11:15:28 +01:00
Francisco Paisana c09f76ed6c unified stack task defer method 2020-04-10 22:30:59 +01:00
Xavier Arteaga 5b7493cab5 Added 256QAM modulation tables to scheduler 2020-04-10 17:48:53 +02:00
Xavier Arteaga a4225b189b SRSENB: Added initial UE capability parser 2020-04-10 17:48:53 +02:00
Xavier Arteaga 784bf81a1a Multiple fixes HARQ ACK/NACK feedback and CSI reporting for MIMO and CA 2020-04-10 15:58:25 +02:00
Xavier Arteaga 8b265883e4 SRSENB: UL TA measurement waits for a start order before start measuring 2020-04-10 15:57:41 +02:00
Andre Puschmann 3e916ac3a8 srsenb_phy: only wait for txrx thread if it has actually been started 2020-04-10 14:58:36 +02:00
Andre Puschmann b994255b35 enb: fix handling of GTPU and S1AP init return values
if the eNB stack startup fails, for example due to binding
the wrong GTPU socket or similar issues, the eNB should stop
and log a message. Previously the return values for
S1AP and GTPU init were not even evaluated.
2020-04-10 14:58:36 +02:00
Ismael Gomez 425c70c8d7 Fix CQI scheduling allocation for CA 2020-04-09 22:24:04 +02:00
Ismael Gomez 0841ec510c Fix deadlock when UE disconnected due to incorrect use of rwlock 2020-04-09 22:24:04 +02:00
Francisco Paisana 26211f12bd add warning when space in pdcch cannot be found 2020-04-08 15:25:33 +01:00
Francisco Paisana 40da4495ce do a loop in rrc::tti_clock() to process all pending events 2020-04-06 15:55:20 +01:00
Andre Puschmann d69aa55a42 enb: don't exit enb if rr.cfg for 6 PRBs isn't correct
we agreed to print the error message but still patch the values to
work for 6 PRBs. Since there is only one option there is not
configuration ambiguity.
2020-04-03 22:22:04 +02:00
Xavier Arteaga 9a2b0b7cc7 Standard vector allocation uses vector library 2020-04-02 20:49:58 +02:00
Francisco Paisana 076aa6b1f8 fix mobility test for when the eutra_capability is received 2020-04-01 19:27:11 +01:00
Francisco Paisana 69486f2953 took out change in cc_worker to force retxs 2020-04-01 15:02:21 +01:00
Francisco Paisana 179e959d05 fix msg3 retx issue. Now nof_prb for pucch above 1 are forbidden for prb==6 2020-04-01 15:02:21 +01:00
Francisco Paisana c661025cda fix log tti, and print a warning when the ul_harq tti does not match existing ones 2020-04-01 15:02:21 +01:00
Francisco Paisana 30ae2226c1 common interface for stack multiqueue tasks, background tasks and timers 2020-03-31 13:42:06 +01:00
Andre Puschmann 62e4bd9469 log_ptr: fix issue if accessing log_ptr that was reset already
during deinit of the UE/eNB it could happen that the log_ptr
was already set to null but the stack thread was still accessing
it through log_h->info()

i've moved the old macro into a new header and used as as much
as possible. there are still places in the code where similar
macros are used but we would need to change the variable name
to replace them
2020-03-31 12:32:52 +02:00
Pedro Alvarez 88f56721ee Fix issue where connection was still setup when no EPC was connected. 2020-03-25 22:19:26 +01: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 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
Xavier Arteaga 8e891b7038 Added AWGN channel to SRSUE and SRSENB 2020-03-24 12:16:28 +01: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 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
Xavier Arteaga 2c93f6d20a Fix PUCCH DMRS correlation 2020-03-22 08:49:12 +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 fb967d17a2 now we can disable tprofs individually 2020-03-19 10:59:37 +00:00
Francisco Paisana deb76d5dbd improved design to avoid data structures, and allow guarded start/stop even in lambdas 2020-03-19 10:59:37 +00:00
Francisco Paisana 8a54aef89d created a better/more composable design for time measures 2020-03-19 10:59:37 +00:00
Francisco Paisana eb20f651b9 account for all exit points 2020-03-19 10:59:37 +00:00