Change in osmo-bsc[master]: fix HO inter-BSC-IN target bts for counters

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Mon Aug 31 16:39:46 UTC 2020


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/19897 )

Change subject: fix HO inter-BSC-IN target bts for counters
......................................................................

fix HO inter-BSC-IN target bts for counters

Related: OS#4736
Change-Id: Id38c69695c4ab93733571c0c288a2d5c10624ace
---
M src/osmo-bsc/handover_fsm.c
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  neels: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 7e46147..3975ed3 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -919,6 +919,11 @@
 	if (hdc && hdc->on_handover_end)
 		hdc->on_handover_end(conn, result);
 
+	/* HO_INTER_BSC_IN has the source BTS on a remote BSS, so count all of those on the target BTS; also count
+	 * errors onto the HO target BTS if no lchan was obtained. */
+	if (ho->scope & HO_INTER_BSC_IN)
+		bts = ho->new_bts;
+
 	ho_count_bsc(result_counter_BSC_HANDOVER(result));
 	ho_count_bsc(result_counter_bsc(ho->scope, result));
 	ho_count_bts(bts, result_counter_BTS_HANDOVER(result));

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/19897
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id38c69695c4ab93733571c0c288a2d5c10624ace
Gerrit-Change-Number: 19897
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200831/0a1ee62e/attachment.htm>


More information about the gerrit-log mailing list