Change in osmocom-bb[master]: calypso: Print warning about unsupported encryption algorithms

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jul 6 17:11:51 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9906


Change subject: calypso: Print warning about unsupported encryption algorithms
......................................................................

calypso: Print warning about unsupported encryption algorithms

Unfortunately current code architecture doesn't support a return path
with an error so tell the caller of L1CTL on the other side that
something's wrong.

Change-Id: Ib9b622dd5c9770c5e97fa58deee124a409544d3b
---
M src/target/firmware/calypso/dsp.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/06/9906/1

diff --git a/src/target/firmware/calypso/dsp.c b/src/target/firmware/calypso/dsp.c
index c37ca82..235d359 100644
--- a/src/target/firmware/calypso/dsp.c
+++ b/src/target/firmware/calypso/dsp.c
@@ -568,6 +568,9 @@
 {
 	dsp_api.ndb->d_a5mode = mode;
 
+	if (mode >= 3) /* Only A5/0, A5/1, A5/2 are supported by calypso */
+		printd("Algo A5/%u is not supported!!!\n", mode);
+
 	if (!mode || !key)
 		return;
 

-- 
To view, visit https://gerrit.osmocom.org/9906
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9b622dd5c9770c5e97fa58deee124a409544d3b
Gerrit-Change-Number: 9906
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180706/b3c65f00/attachment.htm>


More information about the gerrit-log mailing list