pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28932 )
Change subject: cbsp: Log storing of CellId info received from peers ......................................................................
cbsp: Log storing of CellId info received from peers
This is already done similarly in Sbc-AP.
Change-Id: I81ad8d40c5e2b9fbc011db795993fb7f00e99692 --- M src/cbsp_smscb_peer_fsm.c 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve daniel: Looks good to me, approved
diff --git a/src/cbsp_smscb_peer_fsm.c b/src/cbsp_smscb_peer_fsm.c index 8a435f9..f5e3d95 100644 --- a/src/cbsp_smscb_peer_fsm.c +++ b/src/cbsp_smscb_peer_fsm.c @@ -171,6 +171,8 @@ cci_from_cbsp(cci, id_discr, &ce->cell_id); cci->num_compl.num_compl += ce->num_compl; cci->num_compl.num_bcast_info += ce->num_bcast_info; + LOGPFSML(mp->fi, LOGL_DEBUG, "Appending CellId %s to Broadcast Completed list\n", + cbc_cell_id2str(cci)); } static void msg_peer_append_cbsp_compl(struct cbc_message_peer *mp, struct osmo_cbsp_num_compl_list *nclist) @@ -195,6 +197,8 @@ llist_add_tail(&cci->list, &mp->cell_list); } cci_from_cbsp(cci, id_discr, &ce->cell_id); + LOGPFSML(mp->fi, LOGL_DEBUG, "Appending CellId %s to Cell list\n", + cbc_cell_id2str(cci)); } static void msg_peer_append_cbsp_cell(struct cbc_message_peer *mp, struct osmo_cbsp_cell_list *clist) @@ -219,6 +223,8 @@ } cci->id_discr = cci_discr_from_cell_id(fe->id_discr); cci->fail.cause = fe->cause; + LOGPFSML(mp->fi, LOGL_DEBUG, "Appending CellId %s (cause: %u) to Failed list\n", + cbc_cell_id2str(cci), cci->fail.cause); } static void msg_peer_append_cbsp_fail(struct cbc_message_peer *mp, struct llist_head *flist) {