[srslte-users] measConfig IE in RRC connection reconfiguration

Roberto Riggio rriggio at fbk.eu
Tue Jun 9 08:55:27 UTC 2020


Hi,

I am implementing similar features but to track rsrp and rsrw of the
serving cell. You can check my code here [1], maybe it could give you some
idea. The code seems to work properly and reports the measurements at the
periodicity requested. However I could only test it with a Nexus 5.

[1]
https://github.com/5g-empower/srsLTE-20.04/blob/master/srsenb/src/stack/rrc/rrc.cc#L1894

R.

On Tue, Jun 9, 2020 at 10:27 AM Swaroop Kalyan <swkaxa at syntronic.com> wrote:

> 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* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>


-- 
Roberto Riggio, PhD
Head of Unit
Smart Networks and Services (SENSE)
​----------------------------------------
Fondazione Bruno Kessler (FBK)
via alla Cascata 56D
38123 Povo, Trento (Italy)
F: +39 0461 31​ 24 81
M: +39 ​338 72 93 203
e-mail: rriggio at fbk.eu
homepage: http://www.robertoriggio.net/
www: https://create-net.fbk.eu/en/win/

-- 
_FBK vi invita a leggere il suo Piano di rientro 
<https://trasparenza.fbk.eu/COVID-19-comunicazioni-del-Datore-di-Lavoro-raccomandazioni-e-altro/Piano-di-rientro-FBK/Piano-di-rientro-FBK> 
| FBK invites you to read its Premises Reopening Plan 
<https://trasparenza.fbk.eu/COVID-19-comunicazioni-del-Datore-di-Lavoro-raccomandazioni-e-altro/Piano-di-rientro-FBK/English-version_FBK-Reopening-Plan>._



--
Le informazioni contenute nella presente comunicazione sono di natura 
privata e come tali sono da considerarsi riservate ed indirizzate 
esclusivamente ai destinatari indicati e per le finalità strettamente 
legate al relativo contenuto. Se avete ricevuto questo messaggio per 
errore, vi preghiamo di eliminarlo e di inviare una comunicazione 
all’indirizzo e-mail del mittente.

--
The information transmitted is 
intended only for the person or entity to which it is addressed and may 
contain confidential and/or privileged material. If you received this in 
error, please contact the sender and delete the material.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200609/9a4b9cde/attachment.htm>


More information about the srsran-users mailing list