Change in osmo-bsc[master]: add VAMOS cmodes to chan_mode_to_chan_type()

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
Sat May 29 22:37:13 UTC 2021


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


Change subject: add VAMOS cmodes to chan_mode_to_chan_type()
......................................................................

add VAMOS cmodes to chan_mode_to_chan_type()

Change-Id: I00cfda71cf731e06c258d8dc0e3f53bb51fb9deb
---
M src/osmo-bsc/lchan_select.c
1 file changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo-bsc/lchan_select.c b/src/osmo-bsc/lchan_select.c
index dba3c3a..13ba289 100644
--- a/src/osmo-bsc/lchan_select.c
+++ b/src/osmo-bsc/lchan_select.c
@@ -159,12 +159,15 @@
 			return GSM_LCHAN_NONE;
 		}
 	case GSM48_CMODE_SPEECH_EFR:
+	case GSM48_CMODE_SPEECH_V2_VAMOS:
 		/* EFR works over FR channels only */
 		if (chan_rate != CH_RATE_FULL)
 			return GSM_LCHAN_NONE;
 		/* fall through */
 	case GSM48_CMODE_SPEECH_V1:
 	case GSM48_CMODE_SPEECH_AMR:
+	case GSM48_CMODE_SPEECH_V1_VAMOS:
+	case GSM48_CMODE_SPEECH_V3_VAMOS:
 		switch (chan_rate) {
 		case CH_RATE_HALF:
 			return GSM_LCHAN_TCH_H;

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I00cfda71cf731e06c258d8dc0e3f53bb51fb9deb
Gerrit-Change-Number: 24457
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/20210529/77527c2e/attachment.htm>


More information about the gerrit-log mailing list