gsm_49_031.h File Reference
3GPP TS 49.031 BSSMAP-LE.
`#include <stdint.h>`
`#include <stdbool.h>`
`#include <osmocom/gsm/protocol/gsm_48_071.h>`
`#include <osmocom/gsm/protocol/gsm_23_032.h>`
`#include <osmocom/gsm/gsm0808_utils.h>`
`#include <osmocom/gsm/gsm48.h>`

Go to the source code of this file.

## Data Structures

struct | lcs_cause_ie
| 3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former. More...
struct | bssmap_le_location_type
struct | bssmap_le_perform_loc_req
struct | bssmap_le_perform_loc_resp
struct | bssmap_le_conn_oriented_info
struct | bssmap_le_pdu
struct | bssap_le_pdu

## Enumerations

enum

lcs_cause {
LCS_CAUSE_UNSPECIFIED = 0 ,
LCS_CAUSE_SYSTEM_FAILURE = 1 ,
LCS_CAUSE_PROTOCOL_ERROR = 2 ,
LCS_CAUSE_DATA_MISSING_IN_REQ = 3 ,
LCS_CAUSE_UNEXP_DATA_IN_REQ = 4 ,
LCS_CAUSE_POS_METH_FAILURE = 5 ,
LCS_CAUSE_TGT_MS_UNREACHABLE = 6 ,
LCS_CAUSE_REQUEST_ABORTED = 7 ,
LCS_CAUSE_FACILITY_NOTSUPP = 8 ,
LCS_CAUSE_INTER_BSC_HO = 9 ,
LCS_CAUSE_INTRA_BSC_HO = 10 ,
LCS_CAUSE_CONGESTION = 11 ,
LCS_CAUSE_INTER_NSE_CHG = 12 ,
LCS_CAUSE_RA_UPDAT = 13 ,
LCS_CAUSE_PTMSI_REALLOC = 14 ,
LCS_CAUSE_GPRS_SUSPENSION = 15
}

| 3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former. More...
enum | bssap_le_msg_discr { BSSAP_LE_MSG_DISCR_BSSMAP_LE = 0 }

enum

bssmap_le_msgt {
BSSMAP_LE_MSGT_PERFORM_LOC_REQ = 0x2b ,
BSSMAP_LE_MSGT_PERFORM_LOC_RESP = 0x2d ,
BSSM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IEI_IMSI = 0x0 ,
BSSMAP_LE_IEI_LCS_CAPABILITY = 0x50 ,
BSSMAP_LE_IEI_PKT_MEAS_REP = 0x51 ,
BSSMAP_LE_IEI_CELL_ID_LIST = 0x52 ,
BSSMAP_LE_IEI_IMEI = 0x80 ,
BSSMAP_LE_IEI_BSS_MLAT_CAP = 0x84 ,
BSSMAP_LE_IEI_CELL_INFO_LIST = 0x85 ,
BSSMAP_LE_IEI_BTS_RX_ACC_LVL = 0x86 ,
BSSMAP_LE_IEI_MLAT_METHOD = 0x87 ,
BSSMAP_LE_IEI_MLAT_TA = 0x88 ,
BSSMAP_LE_IEI_MS_SYNC_ACC = 0x89 ,
BSSMAP_LE_IEI_SHORT_ID_SET = 0x8a ,
BSSMAP_LE_IEI_RANDOM_ID_SET = 0x8b ,
BSSMAP_LE_IEI_SHORT_BSS_ID = 0x8c ,
BSSMAP_LE_IEI_RANDOM_ID = 0x8d ,
BSSMAP_LE_IEI_SHORT_ID = 0x8e ,
BSSMAP_LE_IEI_COVERAGE_CLASS = 0x8f ,
BSSMAP_LE_IEI_MTA_ACC_SEC_RQD = 0x90
}

enum | bssmap_le_apdu_proto { BSSMAP_LE_APDU_PROT_RESERVED = 0 , BSSMAP_LE_APDU_PROT_BSSLAP = 1 , BSSMAP_LE_APDU_PROT_LLP = 2 , BSSMAP_LE_APDU_PROT_SMLCPP = 3 }
enum | bssmap_le_location_information { BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC = 0x0 , BSSMAP_LE_LOC_INFO_ASSIST_TARGET_MS = 0x1 , BSSMAP_LE_LOC_INFO_BC_DECIPHER_KEYS = 0x2 }
enum | bssmap_le_positioning_method { BSSMAP_LE_POS_METHOD_OMITTED = 0x0 , BSSMAP_LE_POS_METHOD_MOBILE_ASSISTED_E_OTD = 0x1 , BSSMAP_LE_POS_METHOD_MOBILE_BASED_E_OTD = 0x2 , BSSMAP_LE_POS_METHOD_ASSISTED_GPS = 0x3 }

enum

bssmap_le_lcs_client_type {
BSSMAP_LE_LCS_CTYPE_VALUE_ADDED_UNSPECIFIED = 0x0 ,
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_UNSPECIFIED = 0x20 ,
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_BCAST_SERVICE = 0x21 ,
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_OAM = 0x22 ,
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_ANON_STATS = 0x23 ,
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_TGT_MS_SVC = 0x24 ,
BSSMAP_LE_LCS_CTYPE_EMERG_SVC_UNSPECIFIED = 0x30 ,
BSSMAP_LE_LCS_CTYPE_LI_UNSPECIFIED = 0x40
}