|
|
@ -26,10 +26,10 @@ class ra_sched;
|
|
|
|
class sched::carrier_sched
|
|
|
|
class sched::carrier_sched
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit carrier_sched(rrc_interface_mac* rrc_,
|
|
|
|
explicit carrier_sched(rrc_interface_mac* rrc_,
|
|
|
|
std::map<uint16_t, std::unique_ptr<sched_ue> >* ue_db_,
|
|
|
|
sched_ue_list* ue_db_,
|
|
|
|
uint32_t enb_cc_idx_,
|
|
|
|
uint32_t enb_cc_idx_,
|
|
|
|
sched_result_ringbuffer* sched_results_);
|
|
|
|
sched_result_ringbuffer* sched_results_);
|
|
|
|
~carrier_sched();
|
|
|
|
~carrier_sched();
|
|
|
|
void reset();
|
|
|
|
void reset();
|
|
|
|
void carrier_cfg(const sched_cell_params_t& sched_params_);
|
|
|
|
void carrier_cfg(const sched_cell_params_t& sched_params_);
|
|
|
@ -51,11 +51,11 @@ private:
|
|
|
|
sf_sched* get_sf_sched(srsran::tti_point tti_rx);
|
|
|
|
sf_sched* get_sf_sched(srsran::tti_point tti_rx);
|
|
|
|
|
|
|
|
|
|
|
|
// args
|
|
|
|
// args
|
|
|
|
const sched_cell_params_t* cc_cfg = nullptr;
|
|
|
|
const sched_cell_params_t* cc_cfg = nullptr;
|
|
|
|
srslog::basic_logger& logger;
|
|
|
|
srslog::basic_logger& logger;
|
|
|
|
rrc_interface_mac* rrc = nullptr;
|
|
|
|
rrc_interface_mac* rrc = nullptr;
|
|
|
|
std::map<uint16_t, std::unique_ptr<sched_ue> >* ue_db = nullptr;
|
|
|
|
sched_ue_list* ue_db = nullptr;
|
|
|
|
const uint32_t enb_cc_idx;
|
|
|
|
const uint32_t enb_cc_idx;
|
|
|
|
|
|
|
|
|
|
|
|
// Subframe scheduling logic
|
|
|
|
// Subframe scheduling logic
|
|
|
|
srsran::circular_array<sf_sched, TTIMOD_SZ> sf_scheds;
|
|
|
|
srsran::circular_array<sf_sched, TTIMOD_SZ> sf_scheds;
|
|
|
|