[srslte-users] measConfig IE in RRC connection reconfiguration

Swaroop Kalyan swkaxa at syntronic.com
Mon Jun 8 20:59:46 UTC 2020


Dear users, 
I just subscribed to the user list. 


I am trying to add measConfig IE to RRC connection reconfiguration to Ue. 
The intention is to send gap offset gp0 0 ( 40 ms MG repetition period) to ue in RRC connection reconfiguration. 

I'm changing rrr.cc like below 
void rrc::ue::send_connection_reconf(srslte::unique_byte_buffer_t pdu) 

{ 

conn_reconf->meas_cfg_present = true; 
conn_reconf->meas_cfg.meas_gap_cfg_present = true; 
meas_gap_cfg_c* meas_gap_cfg = &conn_reconf->meas_cfg.meas_gap_cfg; 
meas_gap_cfg->setup(); 
meas_gap_cfg->set(); 
asn1::bit_ref bref(pdu->msg, pdu->get_tailroom()); 
meas_gap_cfg->pack(bref); 
meas_gap_cfg->set_setup().gap_offset.set(); 
meas_gap_cfg->set_setup().gap_offset.set_gp0(); 
meas_gap_cfg->set_setup().gap_offset.gp0(); 

//should I have to call pack() once again? 
meas_gap_cfg->pack(bref); 


} 

Could anyone please review my approach and suggest if I am going in right direction. 

Also, I'm not sure how can I do unit testing on this code change, could anyone please advice. 

Many thanks for your time. 

Regards 
Swaroop 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200608/b58606a2/attachment.htm>


More information about the srsran-users mailing list