meas_rep.h
Go to the documentation of this file.
#pragma once
#include <stdint.h>
#include <stdbool.h>
/* RX Level and RX Quality */
struct gsm_rx_lev_qual {
uint8_t rx_lev;
uint8_t rx_qual;
};
/* unidirectional measumrement report */
struct gsm_meas_rep_unidir {
struct gsm_rx_lev_qual full;
struct gsm_rx_lev_qual sub;
};
enum meas_rep_field {
MEAS_REP_DL_RXLEV_FULL,
MEAS_REP_DL_RXLEV_SUB,
MEAS_REP_DL_RXQUAL_FULL,
MEAS_REP_DL_RXQUAL_SUB,
MEAS_REP_UL_RXLEV_FULL,
MEAS_REP_UL_RXLEV_SUB,
MEAS_REP_UL_RXQUAL_FULL,
MEAS_REP_UL_RXQUAL_SUB,
};
size_t gsm0858_rsl_ul_meas_enc(struct gsm_meas_rep_unidir *mru, bool dtxd_used,
uint8_t *buf);
gsm_rx_lev_qual::rx_qual
uint8_t rx_qual
Definition: meas_rep.h:11
gsm_rx_lev_qual
Definition: meas_rep.h:9
MEAS_REP_UL_RXLEV_SUB
@ MEAS_REP_UL_RXLEV_SUB
Definition: meas_rep.h:26
MEAS_REP_UL_RXLEV_FULL
@ MEAS_REP_UL_RXLEV_FULL
Definition: meas_rep.h:25
MEAS_REP_DL_RXQUAL_SUB
@ MEAS_REP_DL_RXQUAL_SUB
Definition: meas_rep.h:24
gsm_meas_rep_unidir::sub
struct gsm_rx_lev_qual sub
Definition: meas_rep.h:17
meas_rep_field
meas_rep_field
Definition: meas_rep.h:20
MEAS_REP_DL_RXLEV_FULL
@ MEAS_REP_DL_RXLEV_FULL
Definition: meas_rep.h:21
MEAS_REP_DL_RXQUAL_FULL
@ MEAS_REP_DL_RXQUAL_FULL
Definition: meas_rep.h:23
MEAS_REP_UL_RXQUAL_FULL
@ MEAS_REP_UL_RXQUAL_FULL
Definition: meas_rep.h:27
MEAS_REP_UL_RXQUAL_SUB
@ MEAS_REP_UL_RXQUAL_SUB
Definition: meas_rep.h:28
gsm_meas_rep_unidir::full
struct gsm_rx_lev_qual full
Definition: meas_rep.h:16
MEAS_REP_DL_RXLEV_SUB
@ MEAS_REP_DL_RXLEV_SUB
Definition: meas_rep.h:22
gsm_meas_rep_unidir
Definition: meas_rep.h:15
gsm0858_rsl_ul_meas_enc
size_t gsm0858_rsl_ul_meas_enc(struct gsm_meas_rep_unidir *mru, bool dtxd_used, uint8_t *buf)
Build the RSL uplink measurement IE (3GPP TS 08.58 § 9.3.25)
Definition: gsm_utils.c:478
gsm_rx_lev_qual::rx_lev
uint8_t rx_lev
Definition: meas_rep.h:10