|
|
@ -533,7 +533,7 @@ public:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
// Default constructor with default values as in 36.331 9.2.2
|
|
|
|
// Default constructor with default values as in 36.331 9.2.2
|
|
|
|
mac_cfg_t() { time_alignment_timer = -1; }
|
|
|
|
mac_cfg_t() { set_defaults(); }
|
|
|
|
|
|
|
|
|
|
|
|
void set_defaults()
|
|
|
|
void set_defaults()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -545,6 +545,15 @@ public:
|
|
|
|
time_alignment_timer = -1;
|
|
|
|
time_alignment_timer = -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void set_mac_main_cfg_default()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
bsr_cfg.reset();
|
|
|
|
|
|
|
|
phr_cfg.reset();
|
|
|
|
|
|
|
|
sr_cfg.reset();
|
|
|
|
|
|
|
|
harq_cfg.reset();
|
|
|
|
|
|
|
|
time_alignment_timer = -1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Called only if section is present
|
|
|
|
// Called only if section is present
|
|
|
|
void set_sched_request_cfg(asn1::rrc::sched_request_cfg_c& cfg)
|
|
|
|
void set_sched_request_cfg(asn1::rrc::sched_request_cfg_c& cfg)
|
|
|
|
{
|
|
|
|
{
|
|
|
|