Change in osmo-bsc[master]: hodec2: fix is_upgrade_to_tchf() for requirement A

neels gerrit-no-reply at lists.osmocom.org
Tue Jun 8 01:04:27 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24606 )


Change subject: hodec2: fix is_upgrade_to_tchf() for requirement A
......................................................................

hodec2: fix is_upgrade_to_tchf() for requirement A

Add missing REQUIREMENT_A_TCHF to form a full REQUIREMENT_TCHF_MASK.
That allows detecting TCH/F -> TCH/H upgrades also in the requirement A
flags, where we look for any viable lchan.

Prepares for upcoming patch Id40d1cf8b58410c7d4eb87407fe8b8106e352438
which implements TCH/H to TCH/F upgrades within the same cell.

Related: SYS#5198 SYS#5365
Change-Id: Ic44615b314782423bab0ceef5810311776f92754
---
M src/osmo-bsc/handover_decision_2.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/06/24606/1

diff --git a/src/osmo-bsc/handover_decision_2.c b/src/osmo-bsc/handover_decision_2.c
index 3e86a92..a866293 100644
--- a/src/osmo-bsc/handover_decision_2.c
+++ b/src/osmo-bsc/handover_decision_2.c
@@ -171,7 +171,7 @@
 {
 	return c->current.lchan
 		&& (c->current.lchan->type == GSM_LCHAN_TCH_H)
-		&& ((c->requirements & for_requirement) & (REQUIREMENT_B_TCHF | REQUIREMENT_C_TCHF));
+		&& ((c->requirements & for_requirement) & REQUIREMENT_TCHF_MASK);
 }
 
 static unsigned int ts_usage_count(struct gsm_bts_trx_ts *ts)

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ic44615b314782423bab0ceef5810311776f92754
Gerrit-Change-Number: 24606
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210608/593ebb72/attachment-0001.htm>


More information about the gerrit-log mailing list