Change in osmo-bsc[master]: abis_rsl: permit simultaneous ACCH repetition and overpower

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Nov 7 17:34:11 UTC 2021


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


Change subject: abis_rsl: permit simultaneous ACCH repetition and overpower
......................................................................

abis_rsl: permit simultaneous ACCH repetition and overpower

As stated in "GSM/EDGE Evolution and Performance", section 12.3,
both features *can* be enabled simultaneously.

Change-Id: I2189f01bd78625dab3d642597240338ee581fc98
Related: SYS#5319
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 3 insertions(+), 18 deletions(-)



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

diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index cdd57c2..75c0bd7 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -555,30 +555,15 @@
 /* indicate Temporary overpower of SACCH and FACCH channels */
 static void top_acch_cap_for_bts(struct gsm_lchan *lchan, struct msgb *msg)
 {
-	struct abis_rsl_osmo_temp_ovp_acch_cap cap;
 	struct gsm_bts *bts = lchan->ts->trx->bts;
-	bool acch_rep_enabled;
-	bool acch_rep_supp_by_ms;
 
 	/* The BTS_FEAT_ACCH_TEMP_OVP IE is a proprietary IE, that can only be used with osmo-bts type BTSs */
 	if (!(bts->model->type == GSM_BTS_TYPE_OSMOBTS && osmo_bts_has_feature(&bts->features, BTS_FEAT_ACCH_TEMP_OVP)))
 		return;
 
-	memcpy(&cap, &bts->temporary_overpower, sizeof(cap));
-
-	/* The user has enabled one of the two downlink related ACCH repetition features. */
-	acch_rep_enabled = bts->repeated_acch_policy.dl_sacch || bts->repeated_acch_policy.dl_facch_all
-	    || bts->repeated_acch_policy.dl_facch_cmd;
-
-	/* The MS indicates support for ACCH repetition */
-	acch_rep_supp_by_ms = lchan->conn && lchan->conn->cm3_valid && lchan->conn->cm3.repeated_acch_capability;
-
-	/* If the MS fully supports repeated ACCH capabilites as specified in 3GPP TS 44.006, section 10 and 11. and if
-	 * ACCH repetition is enabled for this BTS, then we will not apply temporary overpower. */
-	if (acch_rep_enabled && acch_rep_supp_by_ms)
-		cap.overpower_db = 0;
-
-	msgb_tlv_put(msg, RSL_IE_OSMO_TEMP_OVP_ACCH_CAP, sizeof(cap), (uint8_t*) &cap);
+	msgb_tlv_put(msg, RSL_IE_OSMO_TEMP_OVP_ACCH_CAP,
+		     sizeof(bts->temporary_overpower),
+		     (void *)&bts->temporary_overpower);
 }
 
 /* Write RSL_IE_OSMO_TRAINING_SEQUENCE to msgb. The tsc_set argument's range is 1-4, tsc argument range is 0-7. */

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I2189f01bd78625dab3d642597240338ee581fc98
Gerrit-Change-Number: 26144
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211107/7127b77e/attachment.htm>


More information about the gerrit-log mailing list