summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-06-16 19:17:29 +0200
committerAndreas.Eversberg2010-06-16 19:17:29 +0200
commitf195635d31ecb7f9f7057418059c731104a4b912 (patch)
treed76da5fb23aee91664c902bf9edfefe01a0c972c /src/host/layer23/include
parentlayer23 VTY: "end" now ends configuration in all config subnodes. (diff)
downloadosmocom-f195635d31ecb7f9f7057418059c731104a4b912.tar.gz
osmocom-f195635d31ecb7f9f7057418059c731104a4b912.tar.xz
osmocom-f195635d31ecb7f9f7057418059c731104a4b912.zip
layer23: Added VTY command to display current states.
Also rejecting ASSIGNMENT COMMAND.
Diffstat (limited to 'src/host/layer23/include')
-rwxr-xr-xsrc/host/layer23/include/osmocom/gsm322.h3
-rw-r--r--src/host/layer23/include/osmocom/gsm48_mm.h2
-rw-r--r--src/host/layer23/include/osmocom/gsm48_rr.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/gsm322.h b/src/host/layer23/include/osmocom/gsm322.h
index 6cb1677..3a275b1 100755
--- a/src/host/layer23/include/osmocom/gsm322.h
+++ b/src/host/layer23/include/osmocom/gsm322.h
@@ -191,5 +191,8 @@ int gsm322_dump_ba_list(struct gsm322_cellsel *cs, uint16_t mcc, uint16_t mnc,
void (*print)(void *, const char *, ...), void *priv);
void start_cs_timer(struct gsm322_cellsel *cs, int sec, int micro);
void start_loss_timer(struct gsm322_cellsel *cs, int sec, int micro);
+extern const char *plmn_a_state_names[];
+extern const char *plmn_m_state_names[];
+extern const char *cs_state_names[];
#endif /* _GSM322_H */
diff --git a/src/host/layer23/include/osmocom/gsm48_mm.h b/src/host/layer23/include/osmocom/gsm48_mm.h
index ad71ce0..22c5983 100644
--- a/src/host/layer23/include/osmocom/gsm48_mm.h
+++ b/src/host/layer23/include/osmocom/gsm48_mm.h
@@ -221,5 +221,7 @@ struct msgb *gsm48_mmxx_msgb_alloc(int msg_type, uint32_t ref,
uint8_t transaction_id);
const char *get_mmr_name(int value);
const char *get_mmxx_name(int value);
+extern const char *gsm48_mm_state_names[];
+extern const char *gsm48_mm_substate_names[];
#endif /* _GSM48_MM_H */
diff --git a/src/host/layer23/include/osmocom/gsm48_rr.h b/src/host/layer23/include/osmocom/gsm48_rr.h
index cde5433..4fc7547 100644
--- a/src/host/layer23/include/osmocom/gsm48_rr.h
+++ b/src/host/layer23/include/osmocom/gsm48_rr.h
@@ -154,5 +154,6 @@ int gsm48_decode_lai(struct gsm48_loc_area_id *lai, uint16_t *mcc,
int gsm48_rr_enc_cm2(struct osmocom_ms *ms, struct gsm48_classmark2 *cm);
int gsm48_rr_tx_rand_acc(struct osmocom_ms *ms, struct msgb *msg);
int gsm48_rr_los(struct osmocom_ms *ms);
+extern const char *gsm48_rr_state_names[];
#endif /* _GSM48_RR_H */