diff options
-rw-r--r-- | doc/examples/osmo-bsc/osmo-bsc.cfg | 1 | ||||
-rw-r--r-- | doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg | 1 | ||||
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 1 | ||||
-rw-r--r-- | src/libbsc/bsc_vty.c | 4 | ||||
-rw-r--r-- | src/libbsc/net_init.c | 1 | ||||
-rw-r--r-- | src/libcommon-cs/common_cs_vty.c | 17 |
6 files changed, 0 insertions, 25 deletions
diff --git a/doc/examples/osmo-bsc/osmo-bsc.cfg b/doc/examples/osmo-bsc/osmo-bsc.cfg index 6ad5e595a..c7ba689c8 100644 --- a/doc/examples/osmo-bsc/osmo-bsc.cfg +++ b/doc/examples/osmo-bsc/osmo-bsc.cfg @@ -8,7 +8,6 @@ network mobile network code 1 short name OsmoBSC long name OsmoBSC - location updating reject cause 13 encryption a5 0 neci 0 paging any use tch 0 diff --git a/doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg b/doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg index 5031f2c36..341aa43cc 100644 --- a/doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg +++ b/doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg @@ -7,7 +7,6 @@ network mobile network code 1 short name OsmoBSC long name OsmoBSC - location updating reject cause 13 encryption a5 0 neci 0 paging any use tch 0 diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 0f8bcb921..8e4dc04f6 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -280,7 +280,6 @@ struct gsm_network { uint16_t network_code; char *name_long; char *name_short; - enum gsm48_reject_value reject_cause; int a5_encryption; int neci; int send_mm_info; diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c index 6fa8e0478..a73c6a471 100644 --- a/src/libbsc/bsc_vty.c +++ b/src/libbsc/bsc_vty.c @@ -172,8 +172,6 @@ static void net_dump_vty(struct vty *vty, struct gsm_network *net) vty_out(vty, " Short network name: '%s'%s", net->name_short, VTY_NEWLINE); vty_out(vty, "%s", VTY_NEWLINE); - vty_out(vty, " Location updating reject cause: %u%s", - net->reject_cause, VTY_NEWLINE); vty_out(vty, " Encryption: A5/%u%s", net->a5_encryption, VTY_NEWLINE); vty_out(vty, " NECI (TCH/H): %u%s", net->neci, @@ -810,8 +808,6 @@ static int config_write_net(struct vty *vty) vty_out(vty, " mobile network code %u%s", gsmnet->network_code, VTY_NEWLINE); vty_out(vty, " short name %s%s", gsmnet->name_short, VTY_NEWLINE); vty_out(vty, " long name %s%s", gsmnet->name_long, VTY_NEWLINE); - vty_out(vty, " location updating reject cause %u%s", - gsmnet->reject_cause, VTY_NEWLINE); vty_out(vty, " encryption a5 %u%s", gsmnet->a5_encryption, VTY_NEWLINE); vty_out(vty, " neci %u%s", gsmnet->neci, VTY_NEWLINE); vty_out(vty, " paging any use tch %d%s", gsmnet->pag_any_tch, VTY_NEWLINE); diff --git a/src/libbsc/net_init.c b/src/libbsc/net_init.c index 59a8d5caa..30de0cce9 100644 --- a/src/libbsc/net_init.c +++ b/src/libbsc/net_init.c @@ -42,7 +42,6 @@ struct gsm_network *bsc_network_init(void *ctx, INIT_LLIST_HEAD(&net->bsc_data->mscs); net->num_bts = 0; - net->reject_cause = GSM48_REJECT_ROAMING_NOT_ALLOWED; net->T3101 = GSM_T3101_DEFAULT; net->T3103 = GSM_T3103_DEFAULT; net->T3105 = GSM_T3105_DEFAULT; diff --git a/src/libcommon-cs/common_cs_vty.c b/src/libcommon-cs/common_cs_vty.c index 8f6e4efb3..2732ebfb1 100644 --- a/src/libcommon-cs/common_cs_vty.c +++ b/src/libcommon-cs/common_cs_vty.c @@ -102,22 +102,6 @@ DEFUN(cfg_net_name_long, return CMD_SUCCESS; } -DEFUN(cfg_net_reject_cause, - cfg_net_reject_cause_cmd, - "location updating reject cause <2-111>", - "Set the reject cause of location updating reject\n" - "Set the reject cause of location updating reject\n" - "Set the reject cause of location updating reject\n" - "Set the reject cause of location updating reject\n" - "Cause Value as Per GSM TS 04.08\n") -{ - struct gsm_network *gsmnet = gsmnet_from_vty(vty); - - gsmnet->reject_cause = atoi(argv[0]); - - return CMD_SUCCESS; -} - DEFUN(cfg_net_encryption, cfg_net_encryption_cmd, "encryption a5 (0|1|2|3)", @@ -264,7 +248,6 @@ int common_cs_vty_init(struct gsm_network *network, install_element(GSMNET_NODE, &cfg_net_mnc_cmd); install_element(GSMNET_NODE, &cfg_net_name_short_cmd); install_element(GSMNET_NODE, &cfg_net_name_long_cmd); - install_element(GSMNET_NODE, &cfg_net_reject_cause_cmd); install_element(GSMNET_NODE, &cfg_net_encryption_cmd); install_element(GSMNET_NODE, &cfg_net_mm_info_cmd); install_element(GSMNET_NODE, &cfg_net_timezone_cmd); |