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

## Variables

const struct value_string | cbsp_msg_type_names []
const struct value_string | cbsp_iei_names []
const struct value_string | cbsp_category_names []
const struct tlv_definition | cbsp_att_tlvdef

## Variable Documentation

## cbsp_att_tlvdef

const struct tlv_definition cbsp_att_tlvdef

Initial value:
= {
.def = {
[CBSP_IEI_MSG_CONTENT] = { TLV_TYPE_FIXED, 83 },
[CBSP_IEI_OLD_SERIAL_NR] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_NEW_SERIAL_NR] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_CELL_LIST] = { TLV_TYPE_TL16V },
[CBSP_IEI_CATEGORY] = { TLV_TYPE_TV },
[CBSP_IEI_REP_PERIOD] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_NUM_BCAST_REQ] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_NUM_BCAST_COMPL_LIST] = { TLV_TYPE_TL16V },
[CBSP_IEI_FAILURE_LIST] = { TLV_TYPE_TL16V },
[CBSP_IEI_RR_LOADING_LIST] = { TLV_TYPE_TL16V },
[CBSP_IEI_CAUSE] = { TLV_TYPE_TV },
[CBSP_IEI_DCS] = { TLV_TYPE_TV },
[CBSP_IEI_RECOVERY_IND] = { TLV_TYPE_TV },
[CBSP_IEI_MSG_ID] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_EMERG_IND] = { TLV_TYPE_TV },
[CBSP_IEI_WARN_TYPE] = { TLV_TYPE_FIXED, 2 },
[CBSP_IEI_WARN_SEC_INFO] = { TLV_TYPE_FIXED, 50 },
[CBSP_IEI_CHANNEL_IND] = { TLV_TYPE_TV },
[CBSP_IEI_NUM_OF_PAGES] = { TLV_TYPE_TV },
[CBSP_IEI_SCHEDULE_PERIOD] = { TLV_TYPE_TV },
[CBSP_IEI_NUM_OF_RES_SLOTS] = { TLV_TYPE_TV },
[CBSP_IEI_BCAST_MSG_TYPE] = { TLV_TYPE_TV },
[CBSP_IEI_WARNING_PERIOD] = { TLV_TYPE_TV },
[CBSP_IEI_KEEP_ALIVE_REP_PERIOD] = { TLV_TYPE_TV },
},
}
TLV_TYPE_TV
@ TLV_TYPE_TV
tag-value (8bit)
Definition tlv.h:502
TLV_TYPE_FIXED
@ TLV_TYPE_FIXED
fixed-length value-only
Definition tlv.h:500
TLV_TYPE_TL16V
@ TLV_TYPE_TL16V
tag, 16 bit length, value
Definition tlv.h:504
CBSP_IEI_MSG_CONTENT
@ CBSP_IEI_MSG_CONTENT
Definition gsm_48_049.h:23
CBSP_IEI_EMERG_IND
@ CBSP_IEI_EMERG_IND
Definition gsm_48_049.h:37
CBSP_IEI_CATEGORY
@ CBSP_IEI_CATEGORY
Definition gsm_48_049.h:27
CBSP_IEI_OLD_SERIAL_NR
@ CBSP_IEI_OLD_SERIAL_NR
Definition gsm_48_049.h:24
CBSP_IEI_SCHEDULE_PERIOD
@ CBSP_IEI_SCHEDULE_PERIOD
Definition gsm_48_049.h:42
CBSP_IEI_NUM_OF_RES_SLOTS
@ CBSP_IEI_NUM_OF_RES_SLOTS
Definition gsm_48_049.h:43
CBSP_IEI_WARNING_PERIOD
@ CBSP_IEI_WARNING_PERIOD
Definition gsm_48_049.h:45
CBSP_IEI_WARN_SEC_INFO
@ CBSP_IEI_WARN_SEC_INFO
Definition gsm_48_049.h:39
CBSP_IEI_MSG_ID
@ CBSP_IEI_MSG_ID
Definition gsm_48_049.h:36
CBSP_IEI_DCS
@ CBSP_IEI_DCS
Definition gsm_48_049.h:34
CBSP_IEI_CELL_LIST
@ CBSP_IEI_CELL_LIST
Definition gsm_48_049.h:26
CBSP_IEI_NUM_BCAST_COMPL_LIST
@ CBSP_IEI_NUM_BCAST_COMPL_LIST
Definition gsm_48_049.h:30
CBSP_IEI_NUM_OF_PAGES
@ CBSP_IEI_NUM_OF_PAGES
Definition gsm_48_049.h:41
CBSP_IEI_NEW_SERIAL_NR
@ CBSP_IEI_NEW_SERIAL_NR
Definition gsm_48_049.h:25
CBSP_IEI_CAUSE
@ CBSP_IEI_CAUSE
Definition gsm_48_049.h:33
CBSP_IEI_BCAST_MSG_TYPE
@ CBSP_IEI_BCAST_MSG_TYPE
Definition gsm_48_049.h:44
CBSP_IEI_NUM_BCAST_REQ
@ CBSP_IEI_NUM_BCAST_REQ
Definition gsm_48_049.h:29
CBSP_IEI_RECOVERY_IND
@ CBSP_IEI_RECOVERY_IND
Definition gsm_48_049.h:35
CBSP_IEI_KEEP_ALIVE_REP_PERIOD
@ CBSP_IEI_KEEP_ALIVE_REP_PERIOD
Definition gsm_48_049.h:46
CBSP_IEI_FAILURE_LIST
@ CBSP_IEI_FAILURE_LIST
Definition gsm_48_049.h:31
CBSP_IEI_WARN_TYPE
@ CBSP_IEI_WARN_TYPE
Definition gsm_48_049.h:38
CBSP_IEI_RR_LOADING_LIST
@ CBSP_IEI_RR_LOADING_LIST
Definition gsm_48_049.h:32
CBSP_IEI_REP_PERIOD
@ CBSP_IEI_REP_PERIOD
Definition gsm_48_049.h:28
CBSP_IEI_CHANNEL_IND
@ CBSP_IEI_CHANNEL_IND
Definition gsm_48_049.h:40

Referenced by osmo_cbsp_decode().

## cbsp_category_names

const struct value_string cbsp_category_names[]

Initial value:
= {
{ CBSP_CATEG_HIGH_PRIO, "High Priority" },
{ CBSP_CATEG_BACKGROUND, "Background" },
{ CBSP_CATEG_NORMAL, "Normal" },
{ 0, NULL }
}
CBSP_CATEG_NORMAL
@ CBSP_CATEG_NORMAL
Definition gsm_48_049.h:80
CBSP_CATEG_HIGH_PRIO
@ CBSP_CATEG_HIGH_PRIO
Definition gsm_48_049.h:78
CBSP_CATEG_BACKGROUND
@ CBSP_CATEG_BACKGROUND
Definition gsm_48_049.h:79

## cbsp_iei_names

const struct value_string cbsp_iei_names[]

Initial value:
= {
{ CBSP_IEI_MSG_CONTENT, "Message Content" },
{ CBSP_IEI_OLD_SERIAL_NR, "Old Serial Number" },
{ CBSP_IEI_NEW_SERIAL_NR, "New Serial Number" },
{ CBSP_IEI_CELL_LIST, "Cell List" },
{ CBSP_IEI_CATEGORY, "Category" },
{ CBSP_IEI_REP_PERIOD, "Repetition Period" },
{ CBSP_IEI_NUM_BCAST_REQ, "Number of Broadcasts Requested" },
{ CBSP_IEI_NUM_BCAST_COMPL_LIST,"Number of Broadcasts Completed List" },
{ CBSP_IEI_FAILURE_LIST, "Failure List" },
{ CBSP_IEI_RR_LOADING_LIST, "Radio Resource Loading List" },
{ CBSP_IEI_CAUSE, "Cause" },
{ CBSP_IEI_DCS, "Data Coding Scheme" },
{ CBSP_IEI_RECOVERY_IND, "Recovery Indication" },
{ CBSP_IEI_MSG_ID, "Message Identifier" },
{ CBSP_IEI_EMERG_IND, "Emergency Indicator" },
{ CBSP_IEI_WARN_TYPE, "Warning Type" },
{ CBSP_IEI_WARN_SEC_INFO, "warning Security Information" },
{ CBSP_IEI_CHANNEL_IND, "Channel Indicator" },
{ CBSP_IEI_NUM_OF_PAGES, "Number of Pages" },
{ CBSP_IEI_SCHEDULE_PERIOD, "Schedule Period" },
{ CBSP_IEI_NUM_OF_RES_SLOTS, "Number of Reserved Slots" },
{ CBSP_IEI_BCAST_MSG_TYPE, "Broadcast Message Type" },
{ CBSP_IEI_WARNING_PERIOD, "Waring Period" },
{ CBSP_IEI_KEEP_ALIVE_REP_PERIOD, "Keep Alive Repetition Period" },
{ 0, NULL }
}

## cbsp_msg_type_names

const struct value_string cbsp_msg_type_names[]

Initial value:
= {
{ CBSP_MSGT_WRITE_REPLACE, "WRITE-REPLACE" },
{ CBSP_MSGT_WRITE_REPLACE_COMPL, "WRITE-REPLACE COMPLETE" },
{ CBSP_MSGT_WRITE_REPLACE_FAIL, "WRITE-REPLACE FAILURE" },
{ CBSP_MSGT_KILL, "KILL" },
{ CBSP_MSGT_KILL_COMPL, "KILL COMPLETE" },
{ CBSP_MSGT_KILL_FAIL, "KILL FAILURE" },
{ CBSP_MSGT_LOAD_QUERY, "LOAD QUERY" },
{ CBSP_MSGT_LOAD_QUERY_COMPL, "LOAD QUERY COMPLETE" },
{ CBSP_MSGT_LOAD_QUERY_FAIL, "LOAD QUERY FAILURE" },
{ CBSP_MSGT_MSG_STATUS_QUERY, "MESSAGE STATUS QUERY" },
{ CBSP_MSGT_MSG_STATUS_QUERY_COMPL, "MESSAGE STATUS QUERY COMPLETE" },
{ CBSP_MSGT_MSG_STATUS_QUERY_FAIL, "MESSAGE STATUS QUERY FAILURE" },
{ CBSP_MSGT_SET_DRX, "SET-DRX" },
{ CBSP_MSGT_SET_DRX_COMPL, "SET-DRX COMPLETE" },
{ CBSP_MSGT_SET_DRX_FAIL, "SET-DRX FAILURE" },
{ CBSP_MSGT_RESET, "RESET" },
{ CBSP_MSGT_RESET_COMPL, "RESET COMPLETE" },
{ CBSP_MSGT_RESET_FAIL, "RESET FAILURE" },
{ CBSP_MSGT_RESTART, "RESTART" },
{ CBSP_MSGT_FAILURE, "FAILURE" },
{ CBSP_MSGT_ERROR_IND, "ERROR INDICATION" },
{ CBSP_MSGT_KEEP_ALIVE, "KEEP-ALIVE" },
{ CBSP_MSGT_KEEP_ALIVE_COMPL, "KEEP-ALIVE COMPLETE" },
{ 0, NULL }
}
CBSP_MSGT_WRITE_REPLACE
@ CBSP_MSGT_WRITE_REPLACE
Definition gsm_48_049.h:51
CBSP_MSGT_RESET_COMPL
@ CBSP_MSGT_RESET_COMPL
Definition gsm_48_049.h:67
CBSP_MSGT_SET_DRX_COMPL
@ CBSP_MSGT_SET_DRX_COMPL
Definition gsm_48_049.h:64
CBSP_MSGT_KILL_FAIL
@ CBSP_MSGT_KILL_FAIL
Definition gsm_48_049.h:56
CBSP_MSGT_FAILURE
@ CBSP_MSGT_FAILURE
Definition gsm_48_049.h:70
CBSP_MSGT_LOAD_QUERY_FAIL
@ CBSP_MSGT_LOAD_QUERY_FAIL
Definition gsm_48_049.h:59
CBSP_MSGT_LOAD_QUERY
@ CBSP_MSGT_LOAD_QUERY
Definition gsm_48_049.h:57
CBSP_MSGT_RESET_FAIL
@ CBSP_MSGT_RESET_FAIL
Definition gsm_48_049.h:68
CBSP_MSGT_RESTART
@ CBSP_MSGT_RESTART
Definition gsm_48_049.h:69
CBSP_MSGT_KILL
@ CBSP_MSGT_KILL
Definition gsm_48_049.h:54
CBSP_MSGT_SET_DRX
@ CBSP_MSGT_SET_DRX
Definition gsm_48_049.h:63
CBSP_MSGT_KEEP_ALIVE
@ CBSP_MSGT_KEEP_ALIVE
Definition gsm_48_049.h:72
CBSP_MSGT_MSG_STATUS_QUERY_COMPL
@ CBSP_MSGT_MSG_STATUS_QUERY_COMPL
Definition gsm_48_049.h:61
CBSP_MSGT_MSG_STATUS_QUERY_FAIL
@ CBSP_MSGT_MSG_STATUS_QUERY_FAIL
Definition gsm_48_049.h:62
CBSP_MSGT_LOAD_QUERY_COMPL
@ CBSP_MSGT_LOAD_QUERY_COMPL
Definition gsm_48_049.h:58
CBSP_MSGT_ERROR_IND
@ CBSP_MSGT_ERROR_IND
Definition gsm_48_049.h:71
CBSP_MSGT_SET_DRX_FAIL
@ CBSP_MSGT_SET_DRX_FAIL
Definition gsm_48_049.h:65
CBSP_MSGT_WRITE_REPLACE_COMPL
@ CBSP_MSGT_WRITE_REPLACE_COMPL
Definition gsm_48_049.h:52
CBSP_MSGT_WRITE_REPLACE_FAIL
@ CBSP_MSGT_WRITE_REPLACE_FAIL
Definition gsm_48_049.h:53
CBSP_MSGT_KILL_COMPL
@ CBSP_MSGT_KILL_COMPL
Definition gsm_48_049.h:55
CBSP_MSGT_MSG_STATUS_QUERY
@ CBSP_MSGT_MSG_STATUS_QUERY
Definition gsm_48_049.h:60
CBSP_MSGT_RESET
@ CBSP_MSGT_RESET
Definition gsm_48_049.h:66
CBSP_MSGT_KEEP_ALIVE_COMPL
@ CBSP_MSGT_KEEP_ALIVE_COMPL
Definition gsm_48_049.h:73