libosmogsm  1.5.1
Osmocom GSM library
gsm_48_071.h
Go to the documentation of this file.
1 
5 /*
6  * (C) 2020 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
7  * All Rights Reserved
8  *
9  * Author: Neels Hofmeyr <neels@hofmeyr.de>
10  *
11  * SPDX-License-Identifier: GPL-2.0+
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License along
24  * with this program; if not, write to the Free Software Foundation, Inc.,
25  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  *
27  */
28 #pragma once
29 
31 
43 };
44 
57 };
58 
59 enum bsslap_iei {
86 };
87 
89  uint16_t cell_id;
90  uint8_t ta;
91 
92  bool more_items;
93 };
94 
96  uint8_t ta;
97 
98  bool more_items;
99 };
100 
101 struct bsslap_reset {
102  uint16_t cell_id;
103  uint8_t ta;
104  struct gsm48_chan_desc chan_desc;
105  enum bsslap_cause cause;
106 
107  bool more_items;
108 };
109 
110 struct bsslap_pdu {
111  enum bsslap_msgt msg_type;
112  union {
113  /* ta_request: a TA Request message consists only of the message type. */
115  enum bsslap_cause reject;
116  struct bsslap_reset reset;
117  enum bsslap_cause abort;
119  };
120 };
121 
bsslap_ta_response::ta
uint8_t ta
Definition: gsm_48_071.h:90
BSSLAP_IEI_ENCR_KEY
@ BSSLAP_IEI_ENCR_KEY
Definition: gsm_48_071.h:74
BSSLAP_IEI_MEAS_REP
@ BSSLAP_IEI_MEAS_REP
Definition: gsm_48_071.h:63
bsslap_ta_layer3::ta
uint8_t ta
Definition: gsm_48_071.h:96
BSSLAP_IEI_LAC
@ BSSLAP_IEI_LAC
Definition: gsm_48_071.h:69
BSSLAP_IEI_PACKET_CHAN_DESC
@ BSSLAP_IEI_PACKET_CHAN_DESC
Definition: gsm_48_071.h:79
BSSLAP_CAUSE_CONCUR_POS_PROC_NOT_EN
@ BSSLAP_CAUSE_CONCUR_POS_PROC_NOT_EN
Definition: gsm_48_071.h:56
BSSLAP_IEI_RRLP
@ BSSLAP_IEI_RRLP
Definition: gsm_48_071.h:66
BSSLAP_IEI_CELL_ID_LIST
@ BSSLAP_IEI_CELL_ID_LIST
Definition: gsm_48_071.h:67
BSSLAP_MSGT_UTDOA_RESP
@ BSSLAP_MSGT_UTDOA_RESP
Definition: gsm_48_071.h:42
bsslap_ta_response::cell_id
uint16_t cell_id
Definition: gsm_48_071.h:89
BSSLAP_CAUSE_CONGESTION
@ BSSLAP_CAUSE_CONGESTION
Definition: gsm_48_071.h:46
bsslap_ta_layer3
Definition: gsm_48_071.h:95
BSSLAP_IEI_ENH_MEAS_REP
@ BSSLAP_IEI_ENH_MEAS_REP
Definition: gsm_48_071.h:68
BSSLAP_IEI_CHAN_DESC
@ BSSLAP_IEI_CHAN_DESC
Definition: gsm_48_071.h:62
BSSLAP_MSGT_MS_POS_RESP
@ BSSLAP_MSGT_MS_POS_RESP
Definition: gsm_48_071.h:40
bsslap_iei
bsslap_iei
Definition: gsm_48_071.h:59
bsslap_pdu
Definition: gsm_48_071.h:110
BSSLAP_IEI_CELL_ID
@ BSSLAP_IEI_CELL_ID
Definition: gsm_48_071.h:61
BSSLAP_CAUSE_LOSS_SIG_CONN_MS
@ BSSLAP_CAUSE_LOSS_SIG_CONN_MS
Definition: gsm_48_071.h:53
BSSLAP_MSGT_UTDOA_REQ
@ BSSLAP_MSGT_UTDOA_REQ
Definition: gsm_48_071.h:41
bsslap_reset::more_items
bool more_items
always set this to false
Definition: gsm_48_071.h:107
BSSLAP_IEI_TBF_START_TIME
@ BSSLAP_IEI_TBF_START_TIME
Definition: gsm_48_071.h:82
bsslap_msgt
bsslap_msgt
Definition: gsm_48_071.h:32
BSSLAP_IEI_CHAN_MODE
@ BSSLAP_IEI_CHAN_MODE
Definition: gsm_48_071.h:76
BSSLAP_IEI_MR_CONFIG
@ BSSLAP_IEI_MR_CONFIG
Definition: gsm_48_071.h:77
BSSLAP_IEI_RRLP_FLAG
@ BSSLAP_IEI_RRLP_FLAG
Definition: gsm_48_071.h:65
BSSLAP_IEI_PWRUP_START_TIME
@ BSSLAP_IEI_PWRUP_START_TIME
Definition: gsm_48_071.h:83
BSSLAP_IEI_TLLI
@ BSSLAP_IEI_TLLI
Definition: gsm_48_071.h:80
BSSLAP_IEI_SERVING_CELL_ID
@ BSSLAP_IEI_SERVING_CELL_ID
Definition: gsm_48_071.h:73
bsslap_pdu::ta_layer3
struct bsslap_ta_layer3 ta_layer3
Definition: gsm_48_071.h:118
BSSLAP_IEI_POLLING_REPETITION
@ BSSLAP_IEI_POLLING_REPETITION
Definition: gsm_48_071.h:78
bsslap_pdu::reset
struct bsslap_reset reset
Definition: gsm_48_071.h:116
bsslap_reset::ta
uint8_t ta
Definition: gsm_48_071.h:103
BSSLAP_CAUSE_INCORR_SERV_CELL_ID
@ BSSLAP_CAUSE_INCORR_SERV_CELL_ID
Definition: gsm_48_071.h:54
BSSLAP_CAUSE_INTRA_BSS_HO
@ BSSLAP_CAUSE_INTRA_BSS_HO
Definition: gsm_48_071.h:50
BSSLAP_CAUSE_CHAN_MODE_NOT_SUPP
@ BSSLAP_CAUSE_CHAN_MODE_NOT_SUPP
Definition: gsm_48_071.h:47
bsslap_reset::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_48_071.h:104
gsm_04_08.h
BSSLAP_CAUSE_POS_PROC_NOT_SUPP
@ BSSLAP_CAUSE_POS_PROC_NOT_SUPP
Definition: gsm_48_071.h:48
BSSLAP_MSGT_MS_POS_CMD
@ BSSLAP_MSGT_MS_POS_CMD
Definition: gsm_48_071.h:39
BSSLAP_IEI_CIPH_MODE_SET
@ BSSLAP_IEI_CIPH_MODE_SET
Definition: gsm_48_071.h:75
BSSLAP_MSGT_TA_RESPONSE
@ BSSLAP_MSGT_TA_RESPONSE
Definition: gsm_48_071.h:34
bsslap_pdu::abort
enum bsslap_cause abort
Definition: gsm_48_071.h:117
bsslap_reset::cause
enum bsslap_cause cause
Definition: gsm_48_071.h:105
bsslap_reset::cell_id
uint16_t cell_id
Definition: gsm_48_071.h:102
BSSLAP_MSGT_TA_REQUEST
@ BSSLAP_MSGT_TA_REQUEST
Definition: gsm_48_071.h:33
BSSLAP_IEI_TFI
@ BSSLAP_IEI_TFI
Definition: gsm_48_071.h:81
BSSLAP_MSGT_RESET
@ BSSLAP_MSGT_RESET
Definition: gsm_48_071.h:36
BSSLAP_IEI_LONG_ENCR_KEY
@ BSSLAP_IEI_LONG_ENCR_KEY
Definition: gsm_48_071.h:84
BSSLAP_CAUSE_INTER_BSS_HO
@ BSSLAP_CAUSE_INTER_BSS_HO
Definition: gsm_48_071.h:52
BSSLAP_MSGT_TA_LAYER3
@ BSSLAP_MSGT_TA_LAYER3
Definition: gsm_48_071.h:38
gsm48_chan_desc
Definition: gsm_04_08.h:501
BSSLAP_CAUSE_OTHER_RADIO_EVT_FAIL
@ BSSLAP_CAUSE_OTHER_RADIO_EVT_FAIL
Definition: gsm_48_071.h:49
BSSLAP_IEI_CONCUR_POS_PROC_F
@ BSSLAP_IEI_CONCUR_POS_PROC_F
Definition: gsm_48_071.h:85
bsslap_reset
Definition: gsm_48_071.h:101
bsslap_ta_response::more_items
bool more_items
always set this to false
Definition: gsm_48_071.h:92
bsslap_cause
bsslap_cause
Definition: gsm_48_071.h:45
BSSLAP_MSGT_REJECT
@ BSSLAP_MSGT_REJECT
Definition: gsm_48_071.h:35
BSSLAP_IEI_TA
@ BSSLAP_IEI_TA
Definition: gsm_48_071.h:60
BSSLAP_IEI_DELTA_TIMER
@ BSSLAP_IEI_DELTA_TIMER
Definition: gsm_48_071.h:72
bsslap_ta_response
Definition: gsm_48_071.h:88
bsslap_pdu::ta_response
struct bsslap_ta_response ta_response
Definition: gsm_48_071.h:114
bsslap_pdu::reject
enum bsslap_cause reject
Definition: gsm_48_071.h:115
BSSLAP_IEI_FREQ_LIST
@ BSSLAP_IEI_FREQ_LIST
Definition: gsm_48_071.h:70
bsslap_ta_layer3::more_items
bool more_items
always set this to false
Definition: gsm_48_071.h:98
BSSLAP_IEI_CAUSE
@ BSSLAP_IEI_CAUSE
Definition: gsm_48_071.h:64
bsslap_pdu::msg_type
enum bsslap_msgt msg_type
Definition: gsm_48_071.h:111
BSSLAP_CAUSE_SUPERV_TIMER_EXPIRED
@ BSSLAP_CAUSE_SUPERV_TIMER_EXPIRED
Definition: gsm_48_071.h:51
BSSLAP_MSGT_ABORT
@ BSSLAP_MSGT_ABORT
Definition: gsm_48_071.h:37
BSSLAP_IEI_MS_POWER
@ BSSLAP_IEI_MS_POWER
Definition: gsm_48_071.h:71
BSSLAP_CAUSE_BSSAP_LE_SEGMENT_ERR
@ BSSLAP_CAUSE_BSSAP_LE_SEGMENT_ERR
Definition: gsm_48_071.h:55