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
5 years ago
Francisco Paisana
4baeee10c5
avoid dangerous [] map operator
5 years ago
Francisco Paisana
1839b9a6e5
cleaned up paging code to avoid extra processing steps in worker threads
5 years ago
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
5 years ago
Ismael Gomez
c157a37894
Address comments
5 years ago
Ismael Gomez
7a7385d0e5
Support multiple carriers for common buffers (RAR/BCCH/PCCH)
5 years ago
Francisco Paisana
a2866f661b
made the number of ue payload allocations proportional to number of active carriers. Made mac::ue_db use unique_ptrs
5 years ago
Francisco Paisana
8772d8f85c
use byte buffer pool for the ue tx_payload_buffer allocation. This halves the mac::ue object creation time
5 years ago
Andre Puschmann
dff00c77c0
srsenb: fix mobility test after adding UE cap enquiry
5 years ago
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
5 years ago
Francisco Paisana
82cb6baef0
now the whole ue and enb mac uses the logmap
5 years ago
Ismael Gomez
5846e64a4d
Deallocate all CQI resources when deallocating users ( #1097 )
5 years ago
Francisco Paisana
fb967d17a2
now we can disable tprofs individually
5 years ago
Francisco Paisana
deb76d5dbd
improved design to avoid data structures, and allow guarded start/stop even in lambdas
5 years ago
Francisco Paisana
8a54aef89d
created a better/more composable design for time measures
5 years ago
Francisco Paisana
eb20f651b9
account for all exit points
5 years ago
Francisco Paisana
854211496b
redesign of tprof for thread safety
5 years ago
Francisco Paisana
269c852767
created a class for time profiling. An object of such class, if disabled, has almost zero overhead. Added a compile-time flag to turn on/off time profiling
5 years ago
Francisco Paisana
807d177b47
fix hanging issue, and simplified the handling of minRBG for different CFIs
5 years ago
Francisco Paisana
ede09cb9b2
added dynamic CFI capability to the eNB scheduler
5 years ago
Xavier Arteaga
ada8772f57
Initial srenb TA compensation
5 years ago
Ismael Gomez
cf4f4508ce
Normalize throughput in CSV/stdout metrics with respect to number of TTIs
5 years ago
Ismael Gomez
858165f177
Allocate a different PDU buffer for each carrier in MAC eNodeB ( #1069 )
5 years ago
Ismael Gomez
73447972d8
Fix issue with simultaneous CQI and ACK/NACK transmission in CA ( #1067 )
...
* Fix memory corruption when phy calling mac scheduler and not yet initiated
* Do not drop CQI if collision with ACK/NACK and PUSCH
* Allocate CQI resources for SCell properly
* Use UE_PCELL_CC_IDX macro
* Protect ul_sched from being called if not yet started
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Francisco Paisana
5330249625
created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure
5 years ago
Francisco Paisana
e824cbd251
fixes in the mac log and cell parsing
5 years ago
Andre Puschmann
1099e75e7c
fix SCell carrier list population for MAC config
...
the issue caused to assign 0 as enb_cc_idx for the first SCell always
5 years ago
Francisco Paisana
567790c1a2
Renamed struct to store cell context in rrc. Moved sib buffers to this struct. Created helper methods for lookup
5 years ago
Francisco Paisana
fe3195bb27
add default pcell to ue_cfg in RRC
5 years ago
Francisco Paisana
349aed5e0d
use sib configuration to set SCellToAddModList
5 years ago
Francisco Paisana
4217dba7e0
fix msg3 delayed allocation and update test
5 years ago
Andre Puschmann
074ffbbb1d
remove braces and reformat code
5 years ago
Andre Puschmann
f14697cdaa
schedule PMI for SCells right after PCell, disable SRS for SCells
5 years ago
Andre Puschmann
fdb7b0fa41
fix simple typo
5 years ago
Andre Puschmann
c534ee2b55
fix SCell packing in RRC reconfig
5 years ago
Andre Puschmann
0e4f97d1a0
fix bug in MAC where new PHY RNTI was always registered for enb_cc_idx==0
5 years ago
Andre Puschmann
ab210c5f3c
tiny cosmetic changes to the error messages printing 0x and clear cc_idx use
5 years ago
Andre Puschmann
b7aad27d86
move packing of SCell list into extra method and add fill PHY config on the spot
...
previously we've packed the RRCReconfig with SCellToAddMod list and have then
parsed the message again to pack the PHY config dedicated for the new SCell carrier. This
is now done in one step.
5 years ago
Francisco Paisana
d18b476e37
use utility macro for printing function name
5 years ago
yagoda
f09c8324eb
adding success/error macros in scheduler.cc
5 years ago
yagoda
bfa451559b
adding error logs to some scheduler function calls to ue_db to add clarity
5 years ago
Francisco Paisana
9b4a0baa87
activate scells in the phy
5 years ago
Francisco Paisana
7548402632
change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers
5 years ago
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
5 years ago
Andre Puschmann
a8acd235f6
extend eNB MAC to support multiple CC per UE
...
- add tx/rx softbuffers for each CC that a UE might have
- make sure to call assign correct buffers when iterating
over the CC for UL/DL grant assignment
5 years ago
Pedro Alvarez
96c82b3fc6
Moved PDCP configs to pdcp_config.h. Added `as_security_cfg_t` structure to hold access stratum keys.
...
Refactored PDCP, RRC and USIM accordingly.
5 years ago
Francisco Paisana
dc8dca2a08
fix namespace-related compilation error
5 years ago
Francisco Paisana
a744729007
use range of rbgs
5 years ago
Francisco Paisana
46579da1ff
use signed integer to express the error
5 years ago