Loading...
Searching...
No Matches
gsm44068.c File Reference
`#include <stddef.h>`
`#include <osmocom/gsm/tlv.h>`
`#include <osmocom/gsm/protocol/gsm_44_068.h>`

## Variables

const struct value_string | osmo_gsm44068_msg_type_names []
const struct value_string | osmo_gsm44068_priority_level_names []
const struct value_string | osmo_gsm44068_cause_names []
const struct value_string | osmo_gsm44068_call_state_names []
const struct value_string | osmo_gsm44068_talker_priority_names []
const struct tlv_definition | osmo_gsm44068_att_tlvdef

## Variable Documentation

## osmo_gsm44068_att_tlvdef

const struct tlv_definition osmo_gsm44068_att_tlvdef

Initial value:
= {
.def = {
[OSMO_GSM44068_IEI_MOBILE_IDENTITY] = { TLV_TYPE_TLV },
[OSMO_GSM44068_IEI_USER_USER] = { TLV_TYPE_TLV },
[OSMO_GSM44068_IEI_CALL_STATE] = { TLV_TYPE_SINGLE_TV },
[OSMO_GSM44068_IEI_STATE_ATTRIBUTES] = { TLV_TYPE_SINGLE_TV },
[OSMO_GSM44068_IEI_TALKER_PRIORITY] = { TLV_TYPE_SINGLE_TV },
[OSMO_GSM44068_IEI_SMS_INDICATIONS] = { TLV_TYPE_SINGLE_TV },
},
}
TLV_TYPE_TLV
@ TLV_TYPE_TLV
tag-length-value
Definition tlv.h:513
TLV_TYPE_SINGLE_TV
@ TLV_TYPE_SINGLE_TV
tag and value (both 4 bit) in 1 byte
Definition tlv.h:516
OSMO_GSM44068_IEI_TALKER_PRIORITY
@ OSMO_GSM44068_IEI_TALKER_PRIORITY
Definition gsm_44_068.h:36
OSMO_GSM44068_IEI_SMS_INDICATIONS
@ OSMO_GSM44068_IEI_SMS_INDICATIONS
Definition gsm_44_068.h:37
OSMO_GSM44068_IEI_CALL_STATE
@ OSMO_GSM44068_IEI_CALL_STATE
Definition gsm_44_068.h:34
OSMO_GSM44068_IEI_MOBILE_IDENTITY
@ OSMO_GSM44068_IEI_MOBILE_IDENTITY
Definition gsm_44_068.h:32
OSMO_GSM44068_IEI_USER_USER
@ OSMO_GSM44068_IEI_USER_USER
Definition gsm_44_068.h:33
OSMO_GSM44068_IEI_STATE_ATTRIBUTES
@ OSMO_GSM44068_IEI_STATE_ATTRIBUTES
Definition gsm_44_068.h:35

## osmo_gsm44068_call_state_names

const struct value_string osmo_gsm44068_call_state_names[]

Initial value:
= {
{ OSMO_GSM44068_CSTATE_U0, "U0" },
{ OSMO_GSM44068_CSTATE_U1, "U1" },
{ OSMO_GSM44068_CSTATE_U2sl_U2, "U2sl/U2" },
{ OSMO_GSM44068_CSTATE_U3, "U3" },
{ OSMO_GSM44068_CSTATE_U4, "U4" },
{ OSMO_GSM44068_CSTATE_U5, "U5" },
{ OSMO_GSM44068_CSTATE_U0p, "U0.p" },
{ OSMO_GSM44068_CSTATE_U2wr_U6, "U2wr/U6" },
{ OSMO_GSM44068_CSTATE_U2r, "U2r" },
{ OSMO_GSM44068_CSTATE_U2ws, "U2ws" },
{ OSMO_GSM44068_CSTATE_U2sr, "U2sr" },
{ OSMO_GSM44068_CSTATE_U2nc, "U2nc" },
{ 0, NULL }
}
OSMO_GSM44068_CSTATE_U0
@ OSMO_GSM44068_CSTATE_U0
Definition gsm_44_068.h:67
OSMO_GSM44068_CSTATE_U5
@ OSMO_GSM44068_CSTATE_U5
Definition gsm_44_068.h:72
OSMO_GSM44068_CSTATE_U2wr_U6
@ OSMO_GSM44068_CSTATE_U2wr_U6
Definition gsm_44_068.h:74
OSMO_GSM44068_CSTATE_U2sl_U2
@ OSMO_GSM44068_CSTATE_U2sl_U2
Definition gsm_44_068.h:69
OSMO_GSM44068_CSTATE_U2nc
@ OSMO_GSM44068_CSTATE_U2nc
Definition gsm_44_068.h:78
OSMO_GSM44068_CSTATE_U2ws
@ OSMO_GSM44068_CSTATE_U2ws
Definition gsm_44_068.h:76
OSMO_GSM44068_CSTATE_U2r
@ OSMO_GSM44068_CSTATE_U2r
Definition gsm_44_068.h:75
OSMO_GSM44068_CSTATE_U4
@ OSMO_GSM44068_CSTATE_U4
Definition gsm_44_068.h:71
OSMO_GSM44068_CSTATE_U0p
@ OSMO_GSM44068_CSTATE_U0p
Definition gsm_44_068.h:73
OSMO_GSM44068_CSTATE_U3
@ OSMO_GSM44068_CSTATE_U3
Definition gsm_44_068.h:70
OSMO_GSM44068_CSTATE_U1
@ OSMO_GSM44068_CSTATE_U1
Definition gsm_44_068.h:68
OSMO_GSM44068_CSTATE_U2sr
@ OSMO_GSM44068_CSTATE_U2sr
Definition gsm_44_068.h:77

## osmo_gsm44068_cause_names

const struct value_string osmo_gsm44068_cause_names[]

Initial value:
= {
{ OSMO_GSM44068_CAUSE_ILLEGAL_MS, "Illegal MS" },
{ OSMO_GSM44068_CAUSE_IMEI_NOT_ACCEPTED, "IMEI not accepted" },
{ OSMO_GSM44068_CAUSE_ILLEGAL_ME, "Illegal ME" },
{ OSMO_GSM44068_CAUSE_SERVICE_NOT_AUTHORIZED, "Service not authorized" },
{ OSMO_GSM44068_CAUSE_APP_NOT_SUPPORTED_ON_PROTO, "Application not supported on the protocol" },
{ OSMO_GSM44068_CAUSE_RR_CONNECTION_ABORTED, "RR connection aborted" },
{ OSMO_GSM44068_CAUSE_NORMAL_CALL_CLEARING, "Normal call clearing" },
{ OSMO_GSM44068_CAUSE_NETWORK_FAILURE, "Network failure" },
{ OSMO_GSM44068_CAUSE_BUSY, "Busy" },
{ OSMO_GSM44068_CAUSE_CONGESTION, "Congestion" },
{ OSMO_GSM44068_CAUSE_USER_NOT_ORIGINATOR, "User not originator of call" },
{ OSMO_GSM44068_CAUSE_NET_WANTS_TO_MAINTAIN_CALL, "Network wants to maintain call" },
{ OSMO_GSM44068_CAUSE_RESPONSE_TO_GET_STATUS, "Response to GET STATUS" },
{ OSMO_GSM44068_CAUSE_SERVICE_OPTION_NOT_SUBSCR, "Service option not supported" },
{ OSMO_GSM44068_CAUSE_REQUESTED_SERVICE_NOT_SUB, "Requested service option not subscribed" },
{ OSMO_GSM44068_CAUSE_SERVICE_OPTION_OOO, "Service option temporarily out of order" },
{ OSMO_GSM44068_CAUSE_CALL_CANNOT_BE_IDENTIFIED, "Call cannot be identified" },
{ OSMO_GSM44068_CAUSE_RETRY_UPON_ENTRY_NEW_CALL, "retry upon entry into a new cell" },
{ OSMO_GSM44068_CAUSE_INVALID_TRANSACTION_ID, "Invalid transaction identifier value" },
{ OSMO_GSM44068_CAUSE_SEMANTICALLY_INCORRECT_MSG, "Semantically incorrect message" },
{ OSMO_GSM44068_CAUSE_INVALID_MANDATORY_INFO, "Invalid mandatory information" },
{ OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NON_EXISTENT, "Message type non-existent or not implemented" },
{ OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NOT_COMPAT, "Message type not compatible with the protocol state" },
{ OSMO_GSM44068_CAUSE_IE_NON_EXISTENT, "Information element non-existent or not implemented" },
{ OSMO_GSM44068_CAUSE_IE_NOT_COMPAT, "Message type not compatible with the protocol state" },
{ OSMO_GSM44068_CAUSE_PROTOCOL_ERROR, "Protocol error, unspecified" },
{ 0, NULL }
}
OSMO_GSM44068_CAUSE_IE_NON_EXISTENT
@ OSMO_GSM44068_CAUSE_IE_NON_EXISTENT
Definition gsm_44_068.h:106
OSMO_GSM44068_CAUSE_SERVICE_OPTION_OOO
@ OSMO_GSM44068_CAUSE_SERVICE_OPTION_OOO
Definition gsm_44_068.h:98
OSMO_GSM44068_CAUSE_IMEI_NOT_ACCEPTED
@ OSMO_GSM44068_CAUSE_IMEI_NOT_ACCEPTED
Definition gsm_44_068.h:84
OSMO_GSM44068_CAUSE_INVALID_TRANSACTION_ID
@ OSMO_GSM44068_CAUSE_INVALID_TRANSACTION_ID
Definition gsm_44_068.h:101
OSMO_GSM44068_CAUSE_NET_WANTS_TO_MAINTAIN_CALL
@ OSMO_GSM44068_CAUSE_NET_WANTS_TO_MAINTAIN_CALL
Definition gsm_44_068.h:94
OSMO_GSM44068_CAUSE_RESPONSE_TO_GET_STATUS
@ OSMO_GSM44068_CAUSE_RESPONSE_TO_GET_STATUS
Definition gsm_44_068.h:95
OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NOT_COMPAT
@ OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NOT_COMPAT
Definition gsm_44_068.h:105
OSMO_GSM44068_CAUSE_CONGESTION
@ OSMO_GSM44068_CAUSE_CONGESTION
Definition gsm_44_068.h:92
OSMO_GSM44068_CAUSE_SERVICE_OPTION_NOT_SUBSCR
@ OSMO_GSM44068_CAUSE_SERVICE_OPTION_NOT_SUBSCR
Definition gsm_44_068.h:96
OSMO_GSM44068_CAUSE_ILLEGAL_ME
@ OSMO_GSM44068_CAUSE_ILLEGAL_ME
Definition gsm_44_068.h:85
OSMO_GSM44068_CAUSE_NORMAL_CALL_CLEARING
@ OSMO_GSM44068_CAUSE_NORMAL_CALL_CLEARING
Definition gsm_44_068.h:89
OSMO_GSM44068_CAUSE_PROTOCOL_ERROR
@ OSMO_GSM44068_CAUSE_PROTOCOL_ERROR
Definition gsm_44_068.h:108
OSMO_GSM44068_CAUSE_BUSY
@ OSMO_GSM44068_CAUSE_BUSY
Definition gsm_44_068.h:91
OSMO_GSM44068_CAUSE_APP_NOT_SUPPORTED_ON_PROTO
@ OSMO_GSM44068_CAUSE_APP_NOT_SUPPORTED_ON_PROTO
Definition gsm_44_068.h:87
OSMO_GSM44068_CAUSE_CALL_CANNOT_BE_IDENTIFIED
@ OSMO_GSM44068_CAUSE_CALL_CANNOT_BE_IDENTIFIED
Definition gsm_44_068.h:99
OSMO_GSM44068_CAUSE_SEMANTICALLY_INCORRECT_MSG
@ OSMO_GSM44068_CAUSE_SEMANTICALLY_INCORRECT_MSG
Definition gsm_44_068.h:102
OSMO_GSM44068_CAUSE_RR_CONNECTION_ABORTED
@ OSMO_GSM44068_CAUSE_RR_CONNECTION_ABORTED
Definition gsm_44_068.h:88
OSMO_GSM44068_CAUSE_USER_NOT_ORIGINATOR
@ OSMO_GSM44068_CAUSE_USER_NOT_ORIGINATOR
Definition gsm_44_068.h:93
OSMO_GSM44068_CAUSE_INVALID_MANDATORY_INFO
@ OSMO_GSM44068_CAUSE_INVALID_MANDATORY_INFO
Definition gsm_44_068.h:103
OSMO_GSM44068_CAUSE_REQUESTED_SERVICE_NOT_SUB
@ OSMO_GSM44068_CAUSE_REQUESTED_SERVICE_NOT_SUB
Definition gsm_44_068.h:97
OSMO_GSM44068_CAUSE_ILLEGAL_MS
@ OSMO_GSM44068_CAUSE_ILLEGAL_MS
Definition gsm_44_068.h:83
OSMO_GSM44068_CAUSE_NETWORK_FAILURE
@ OSMO_GSM44068_CAUSE_NETWORK_FAILURE
Definition gsm_44_068.h:90
OSMO_GSM44068_CAUSE_RETRY_UPON_ENTRY_NEW_CALL
@ OSMO_GSM44068_CAUSE_RETRY_UPON_ENTRY_NEW_CALL
Definition gsm_44_068.h:100
OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NON_EXISTENT
@ OSMO_GSM44068_CAUSE_MESSAGE_TYPE_NON_EXISTENT
Definition gsm_44_068.h:104
OSMO_GSM44068_CAUSE_IE_NOT_COMPAT
@ OSMO_GSM44068_CAUSE_IE_NOT_COMPAT
Definition gsm_44_068.h:107
OSMO_GSM44068_CAUSE_SERVICE_NOT_AUTHORIZED
@ OSMO_GSM44068_CAUSE_SERVICE_NOT_AUTHORIZED
Definition gsm_44_068.h:86

## osmo_gsm44068_msg_type_names

const struct value_string osmo_gsm44068_msg_type_names[]

Initial value:
= {
{ OSMO_GSM44068_MSGT_IMMEDIATE_SETUP, "IMMEDIATE SETUP" },
{ OSMO_GSM44068_MSGT_SETUP, "SETUP" },
{ OSMO_GSM44068_MSGT_CONNECT, "CONNECT" },
{ OSMO_GSM44068_MSGT_TERMINATION, "TERMINATION" },
{ OSMO_GSM44068_MSGT_TERMINATION_REQUEST, "TERMINATION REQUEST" },
{ OSMO_GSM44068_MSGT_TERMINATION_REJECT, "TERMINATION REJECT" },
{ OSMO_GSM44068_MSGT_STATUS, "STATUS" },
{ OSMO_GSM44068_MSGT_GET_STATUS, "GET STATUS" },
{ OSMO_GSM44068_MSGT_SET_PARAMETER, "SET PARAMETER" },
{ OSMO_GSM44068_MSGT_IMMEDIATE_SETUP_2, "IMMEDIATE SETUP 2" },
{ 0, NULL }
}
OSMO_GSM44068_MSGT_TERMINATION_REQUEST
@ OSMO_GSM44068_MSGT_TERMINATION_REQUEST
Definition gsm_44_068.h:46
OSMO_GSM44068_MSGT_CONNECT
@ OSMO_GSM44068_MSGT_CONNECT
Definition gsm_44_068.h:44
OSMO_GSM44068_MSGT_STATUS
@ OSMO_GSM44068_MSGT_STATUS
Definition gsm_44_068.h:48
OSMO_GSM44068_MSGT_GET_STATUS
@ OSMO_GSM44068_MSGT_GET_STATUS
Definition gsm_44_068.h:49
OSMO_GSM44068_MSGT_IMMEDIATE_SETUP_2
@ OSMO_GSM44068_MSGT_IMMEDIATE_SETUP_2
Definition gsm_44_068.h:51
OSMO_GSM44068_MSGT_SETUP
@ OSMO_GSM44068_MSGT_SETUP
Definition gsm_44_068.h:43
OSMO_GSM44068_MSGT_SET_PARAMETER
@ OSMO_GSM44068_MSGT_SET_PARAMETER
Definition gsm_44_068.h:50
OSMO_GSM44068_MSGT_IMMEDIATE_SETUP
@ OSMO_GSM44068_MSGT_IMMEDIATE_SETUP
Definition gsm_44_068.h:42
OSMO_GSM44068_MSGT_TERMINATION
@ OSMO_GSM44068_MSGT_TERMINATION
Definition gsm_44_068.h:45
OSMO_GSM44068_MSGT_TERMINATION_REJECT
@ OSMO_GSM44068_MSGT_TERMINATION_REJECT
Definition gsm_44_068.h:47

Referenced by gsm48_pdisc_msgtype_name_buf().

## osmo_gsm44068_priority_level_names

const struct value_string osmo_gsm44068_priority_level_names[]

Initial value:
= {
{ OSMO_GSM44068_PRIO_LEVEL_4, "priority level 4" },
{ OSMO_GSM44068_PRIO_LEVEL_3, "priority level 3" },
{ OSMO_GSM44068_PRIO_LEVEL_2, "priority level 2" },
{ OSMO_GSM44068_PRIO_LEVEL_1, "priority level 1" },
{ OSMO_GSM44068_PRIO_LEVEL_0, "priority level 0" },
{ OSMO_GSM44068_PRIO_LEVEL_B, "priority level B" },
{ OSMO_GSM44068_PRIO_LEVEL_A, "priority level A" },
{ 0, NULL }
}
OSMO_GSM44068_PRIO_LEVEL_A
@ OSMO_GSM44068_PRIO_LEVEL_A
Definition gsm_44_068.h:62
OSMO_GSM44068_PRIO_LEVEL_1
@ OSMO_GSM44068_PRIO_LEVEL_1
Definition gsm_44_068.h:59
OSMO_GSM44068_PRIO_LEVEL_4
@ OSMO_GSM44068_PRIO_LEVEL_4
Definition gsm_44_068.h:56
OSMO_GSM44068_PRIO_LEVEL_B
@ OSMO_GSM44068_PRIO_LEVEL_B
Definition gsm_44_068.h:61
OSMO_GSM44068_PRIO_LEVEL_0
@ OSMO_GSM44068_PRIO_LEVEL_0
Definition gsm_44_068.h:60
OSMO_GSM44068_PRIO_LEVEL_3
@ OSMO_GSM44068_PRIO_LEVEL_3
Definition gsm_44_068.h:57
OSMO_GSM44068_PRIO_LEVEL_2
@ OSMO_GSM44068_PRIO_LEVEL_2
Definition gsm_44_068.h:58

## osmo_gsm44068_talker_priority_names

const struct value_string osmo_gsm44068_talker_priority_names[]

Initial value:
= {
{ OSMO_GSM44068_PRIO_NORMAL, "Normal" },
{ OSMO_GSM44068_PRIO_PRIVILEGED, "Privileged" },
{ OSMO_GSM44068_PRIO_EMERGENCY, "Emergency" },
{ 0, NULL }
}
OSMO_GSM44068_PRIO_NORMAL
@ OSMO_GSM44068_PRIO_NORMAL
Definition gsm_44_068.h:121
OSMO_GSM44068_PRIO_EMERGENCY
@ OSMO_GSM44068_PRIO_EMERGENCY
Definition gsm_44_068.h:123
OSMO_GSM44068_PRIO_PRIVILEGED
@ OSMO_GSM44068_PRIO_PRIVILEGED
Definition gsm_44_068.h:122