blob: 20e9206e1c0dc249c5a07f8de09b4d1f363b7bb4 [file] [log] [blame]
Harald Welte533f63f2013-03-13 15:15:50 +01001#ifndef _SMPP34_OSMOCOM_H
2#define _SMPP34_OSMOCOM_H
3/* Osmocom SMPP extensions */
4
5/* Osmocom specific new TLV definitions */
6
7/* ARFCN in 16-bit encoding, highest bit: PCS(1) / DCS(0) */
8#define TLVID_osmo_arfcn 0x2300
9/* Timing advance as uint8_t */
10#define TLVID_osmo_ta 0x2301
11/* Receive signal level (uplink) as int16_t in dBm */
12#define TLVID_osmo_rxlev_ul 0x2302
13/* Receive signal quality (uplink) as uint8_t */
14#define TLVID_osmo_rxqual_ul 0x2303
15/* Receive signal level (downlink) as int16_t in dBm */
16#define TLVID_osmo_rxlev_dl 0x2304
17/* Receive signal quality (downlink) as uint8_t */
18#define TLVID_osmo_rxqual_dl 0x2305
19/* IMEI of the subscriber, if known */
20#define TLVID_osmo_imei 0x2306
21/* MS Layer 1 Transmit Power */
22#define TLVID_osmo_ms_l1_txpwr 0x2307
23/* BTS Layer 1 Transmit Power */
24#define TLVID_osmo_bts_l1_txpwr 0x2308
25
26
27/* DELIVER_SM can contain the following optional Osmocom TLVs:
28 * TLVID_osmo_arfcn
29 * TLVID_osmo_ta
30 * TLVID_osmo_rxlev_ul
31 * TLVID_osmo_rxqual_ul
32 * TLVID_osmo_rxlev_dl
33 * TLVID_osmo_rxqual_dl
34 * TLVID_osmo_imei
35 */
36
37/* SUBMIT_SM_RESP (transaction mode) can contain the following optional
38 * Osmocom TLVs:
39 * TLVID_osmo_arfcn
40 * TLVID_osmo_ta
41 * TLVID_osmo_rxlev_ul
42 * TLVID_osmo_rxqual_ul
43 * TLVID_osmo_rxlev_dl
44 * TLVID_osmo_rxqual_dl
45 * TLVID_osmo_imei
46 */
47
48#endif