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
This commit is contained in:
parent
cdcfc80176
commit
a7f8020bfa
|
@ -151,12 +151,13 @@ DEFUN(cfg_net_name_long,
|
||||||
|
|
||||||
DEFUN(cfg_net_encryption,
|
DEFUN(cfg_net_encryption,
|
||||||
cfg_net_encryption_cmd,
|
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
|
ENCRYPTION_STR
|
||||||
"GSM A5 Air Interface Encryption.\n"
|
"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"
|
"A5/n Algorithm Number\n"
|
||||||
|
"A5/n Algorithm Number\n"
|
||||||
"A5/n Algorithm Number\n")
|
"A5/n Algorithm Number\n")
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
|
@ -16,7 +16,7 @@ OsmoMSC(config-net)# list
|
||||||
mobile network code <0-999>
|
mobile network code <0-999>
|
||||||
short name NAME
|
short name NAME
|
||||||
long 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>]
|
encryption uea <0-2> [<0-2>] [<0-2>]
|
||||||
authentication (optional|required)
|
authentication (optional|required)
|
||||||
rrlp mode (none|ms-based|ms-preferred|ass-preferred)
|
rrlp mode (none|ms-based|ms-preferred|ass-preferred)
|
||||||
|
|
Loading…
Reference in New Issue