vty: allow A5/4 encryption in config

Add A5/4 to the internal mask of allowed algorithms.

(Not actually working yet, A5/4 implementation follows in other
patches.)

Related: SYS#5324
Change-Id: I5b46aaa8579f8d069ca39caf996a8795ffe63dd7
changes/32/24632/3
Eric Wild 1 year ago committed by Neels Hofmeyr
parent cdcfc80176
commit a7f8020bfa
  1. 3
      src/libmsc/msc_vty.c
  2. 2
      tests/test_nodes.vty

@ -151,12 +151,13 @@ DEFUN(cfg_net_name_long,
DEFUN(cfg_net_encryption,
cfg_net_encryption_cmd,
"encryption a5 <0-3> [<0-3>] [<0-3>] [<0-3>]",
"encryption a5 <0-4> [<0-4>] [<0-4>] [<0-4>] [<0-4>]",
ENCRYPTION_STR
"GSM A5 Air Interface Encryption.\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n")
{
unsigned int i;

@ -16,7 +16,7 @@ OsmoMSC(config-net)# list
mobile network code <0-999>
short name NAME
long name NAME
encryption a5 <0-3> [<0-3>] [<0-3>] [<0-3>]
encryption a5 <0-4> [<0-4>] [<0-4>] [<0-4>] [<0-4>]
encryption uea <0-2> [<0-2>] [<0-2>]
authentication (optional|required)
rrlp mode (none|ms-based|ms-preferred|ass-preferred)

Loading…
Cancel
Save