summaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_bssgp_util.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-06-29 19:27:24 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-01 07:40:09 +0000
commit4aaa8abcab71a7257e20c96aa03d4f675b29c57e (patch)
tree5d36e424ec332f49d127ebd974fbfe8ed2c4c033 /src/gb/gprs_bssgp_util.c
parent411402b4dfa984d11fb14095f56e00dc2c03e6ce (diff)
Add missing BSSGP cause values
Add values from 3GPP TS 48.018 Change-Id: Ie39a6c91a46d179392d861805a106743a07c6fb0
Diffstat (limited to 'src/gb/gprs_bssgp_util.c')
-rw-r--r--src/gb/gprs_bssgp_util.c77
1 files changed, 57 insertions, 20 deletions
diff --git a/src/gb/gprs_bssgp_util.c b/src/gb/gprs_bssgp_util.c
index 78a11a36..4553da84 100644
--- a/src/gb/gprs_bssgp_util.c
+++ b/src/gb/gprs_bssgp_util.c
@@ -39,26 +39,63 @@ struct gprs_ns_inst *bssgp_nsi;
/* Chapter 11.3.9 / Table 11.10: Cause coding */
static const struct value_string bssgp_cause_strings[] = {
- { BSSGP_CAUSE_PROC_OVERLOAD, "Processor overload" },
- { BSSGP_CAUSE_EQUIP_FAIL, "Equipment Failure" },
- { BSSGP_CAUSE_TRASIT_NET_FAIL, "Transit netowkr service failure" },
- { BSSGP_CAUSE_CAPA_GREATER_0KPBS,"Transmission capacity modified" },
- { BSSGP_CAUSE_UNKNOWN_MS, "Unknown MS" },
- { BSSGP_CAUSE_UNKNOWN_BVCI, "Unknown BVCI" },
- { BSSGP_CAUSE_CELL_TRAF_CONG, "Cell traffic congestion" },
- { BSSGP_CAUSE_SGSN_CONG, "SGSN congestion" },
- { BSSGP_CAUSE_OML_INTERV, "O&M intervention" },
- { BSSGP_CAUSE_BVCI_BLOCKED, "BVCI blocked" },
- { BSSGP_CAUSE_PFC_CREATE_FAIL, "PFC create failure" },
- { BSSGP_CAUSE_SEM_INCORR_PDU, "Semantically incorrect PDU" },
- { BSSGP_CAUSE_INV_MAND_INF, "Invalid mandatory information" },
- { BSSGP_CAUSE_MISSING_MAND_IE, "Missing mandatory IE" },
- { BSSGP_CAUSE_MISSING_COND_IE, "Missing conditional IE" },
- { BSSGP_CAUSE_UNEXP_COND_IE, "Unexpected conditional IE" },
- { BSSGP_CAUSE_COND_IE_ERR, "Conditional IE error" },
- { BSSGP_CAUSE_PDU_INCOMP_STATE, "PDU incompatible with protocol state" },
- { BSSGP_CAUSE_PROTO_ERR_UNSPEC, "Protocol error - unspecified" },
- { BSSGP_CAUSE_PDU_INCOMP_FEAT, "PDU not compatible with feature set" },
+ { BSSGP_CAUSE_PROC_OVERLOAD, "Processor overload" },
+ { BSSGP_CAUSE_EQUIP_FAIL, "Equipment Failure" },
+ { BSSGP_CAUSE_TRASIT_NET_FAIL, "Transit netowkr service failure" },
+ { BSSGP_CAUSE_CAPA_GREATER_0KPBS, "Transmission capacity modified" },
+ { BSSGP_CAUSE_UNKNOWN_MS, "Unknown MS" },
+ { BSSGP_CAUSE_UNKNOWN_BVCI, "Unknown BVCI" },
+ { BSSGP_CAUSE_CELL_TRAF_CONG, "Cell traffic congestion" },
+ { BSSGP_CAUSE_SGSN_CONG, "SGSN congestion" },
+ { BSSGP_CAUSE_OML_INTERV, "O&M intervention" },
+ { BSSGP_CAUSE_BVCI_BLOCKED, "BVCI blocked" },
+ { BSSGP_CAUSE_PFC_CREATE_FAIL, "PFC create failure" },
+ { BSSGP_CAUSE_PFC_PREEMPTED, "PFC preempted" },
+ { BSSGP_CAUSE_ABQP_NOT_SUPP, "ABQP no more supported" },
+ { BSSGP_CAUSE_SEM_INCORR_PDU, "Semantically incorrect PDU" },
+ { BSSGP_CAUSE_INV_MAND_INF, "Invalid mandatory information" },
+ { BSSGP_CAUSE_MISSING_MAND_IE, "Missing mandatory IE" },
+ { BSSGP_CAUSE_MISSING_COND_IE, "Missing conditional IE" },
+ { BSSGP_CAUSE_UNEXP_COND_IE, "Unexpected conditional IE" },
+ { BSSGP_CAUSE_COND_IE_ERR, "Conditional IE error" },
+ { BSSGP_CAUSE_PDU_INCOMP_STATE, "PDU incompatible with protocol state" },
+ { BSSGP_CAUSE_PROTO_ERR_UNSPEC, "Protocol error - unspecified" },
+ { BSSGP_CAUSE_PDU_INCOMP_FEAT, "PDU not compatible with feature set" },
+ { BSSGP_CAUSE_REQ_INFO_NOT_AVAIL, "Requested Information not available" },
+ { BSSGP_CAUSE_UNKN_DST , "Unknown Destination address" },
+ { BSSGP_CAUSE_UNKN_RIM_AI, "Unknown RIM Application Identity or RIM application disabled" },
+ { BSSGP_CAUSE_INVAL_CONT_UI, "Invalid Container Unit Information" },
+ { BSSGP_CAUSE_PFC_QUEUE, "PFC queuing" },
+ { BSSGP_CAUSE_PFC_CREATED, "PFC created successfully" },
+ { BSSGP_CAUSE_T12_EXPIRY, "T12 expiry" },
+ { BSSGP_CAUSE_MS_UNDER_PS_HO, "MS under PS Handover treatment" },
+ { BSSGP_CAUSE_UL_QUALITY, "Uplink quality" },
+ { BSSGP_CAUSE_UL_STRENGTH, "Uplink strength" },
+ { BSSGP_CAUSE_DL_QUALITY, "Downlink quality" },
+ { BSSGP_CAUSE_DL_STRENGTH, "Downlink strength" },
+ { BSSGP_CAUSE_DISTANCE, "Distance" },
+ { BSSGP_CAUSE_BETTER_CELL, "Better cell" },
+ { BSSGP_CAUSE_TRAFFIC, "Traffic" },
+ { BSSGP_CAUSE_MS_RADIO_LOSS, "Radio contact lost with MS" },
+ { BSSGP_CAUSE_MS_BACK_OLD_CHAN, "MS back on old channel" },
+ { BSSGP_CAUSE_T13_EXPIRY, "T13 expiry" },
+ { BSSGP_CAUSE_T14_EXPIRY, "T14 expiry" },
+ { BSSGP_CAUSE_NOT_ALL_PFC, "Not all requested PFCs created" },
+ { BSSGP_CAUSE_CS, "CS cause" },
+ { BSSGP_CAUSE_REQ_ALG_NOT_SUPP, "Requested ciphering and/or integrity protection algorithms not supported" },
+ { BSSGP_CAUSE_RELOC_FAIL, "Relocation failure in target system" },
+ { BSSGP_CAUSE_DIR_RETRY , "Directed Retry" },
+ { BSSGP_CAUSE_TIME_CRIT_RELOC , "Time critical relocation" },
+ { BSSGP_CAUSE_PS_HO_TARG_NA , "PS Handover Target not allowed" },
+ { BSSGP_CAUSE_PS_HO_TARG_NOT_SUPP, "PS Handover not Supported in Target BSS or Target System" },
+ { BSSGP_CAUSE_PUESBINE, "Incoming relocation not supported due to PUESBINE feature" },
+ { BSSGP_CAUSE_DTM_HO_NO_CS_RES, "DTM Handover - No CS resource" },
+ { BSSGP_CAUSE_DTM_HO_PS_ALLOC_FAIL, "DTM Handover - PS Allocation failure" },
+ { BSSGP_CAUSE_DTM_HO_T24_EXPIRY, "DTM Handover - T24 expiry" },
+ { BSSGP_CAUSE_DTM_HO_INVAL_CS_IND, "DTM Handover - Invalid CS Indication IE" },
+ { BSSGP_CAUSE_DTM_HO_T23_EXPIRY, "DTM Handover - T23 expiry" },
+ { BSSGP_CAUSE_DTM_HO_MSC_ERR, "DTM Handover - MSC Error" },
+ { BSSGP_CAUSE_INVAL_CSG_CELL, "Invalid CSG cell" },
{ 0, NULL },
};