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 <[email protected]>