[srslte-users] measConfig IE in RRC connection reconfiguration
Swaroop Kalyan
swkaxa at syntronic.com
Tue Jun 9 13:29:32 UTC 2020
Hi Roberto,
Thank you for your email.
But I do not see the pack() function being used in your code to pack the IE that you are adding.
I thought pack () function is needed to pack the IE in ASN format.
Could you please share your thoughts on this.
Many thanks in advance
/Swaroop
From: "Roberto Riggio" <rriggio at fbk.eu>
To: "Swaroop Kalyan" <swkaxa at syntronic.com>
Cc: "srslte-users" <srslte-users at lists.softwareradiosystems.com>
Sent: Tuesday, June 9, 2020 4:55:27 AM
Subject: Re: [srslte-users] measConfig IE in RRC connection reconfiguration
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 | 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 < [ mailto:swkaxa at syntronic.com | 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 [ http://www.mailscanner.info/ | MailScanner ] , and is
believed to be clean.
_______________________________________________
srslte-users mailing list
[ mailto:srslte-users at lists.softwareradiosystems.com | srslte-users at lists.softwareradiosystems.com ]
[ http://www.softwareradiosystems.com/mailman/listinfo/srslte-users | 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: [ mailto:rriggio at fbk.eu | rriggio at fbk.eu ]
homepage: [ http://www.robertoriggio.net/ | http://www.robertoriggio.net/ ]
www: [ https://create-net.fbk.eu/en/win/ | https://create-net.fbk.eu/en/win/ ]
FBK vi invita a leggere il suo [ https://trasparenza.fbk.eu/COVID-19-comunicazioni-del-Datore-di-Lavoro-raccomandazioni-e-altro/Piano-di-rientro-FBK/Piano-di-rientro-FBK | Piano di rientro ] | FBK invites you to read its [ https://trasparenza.fbk.eu/COVID-19-comunicazioni-del-Datore-di-Lavoro-raccomandazioni-e-altro/Piano-di-rientro-FBK/English-version_FBK-Reopening-Plan | Premises 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.
--
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/20200609/5c0b921e/attachment.htm>
More information about the srsran-users
mailing list