libosmogsm UNKNOWN
Osmocom GSM library
|
Go to the source code of this file.
Data Structures | |
struct | osmo_gsm48_si_pch_nch_info |
struct | osmo_gsm48_si_vbs_vgcs_options |
struct | osmo_gsm48_si_dtm_support |
struct | osmo_gsm48_si_gprs_ms_txpwr_max_ccch |
struct | osmo_gsm48_si6_ro_info |
struct | osmo_gsm48_si_selection_params |
struct | osmo_gsm48_si_power_offset |
struct | osmo_gsm48_si3_gprs_ind |
struct | osmo_gsm48_lsa_params |
struct | osmo_gsm48_si_ro_info |
struct | osmo_gsm48_si13_info |
Macros | |
#define | SI2Q_MAX_NUM 16 |
#define | SI2Q_MAX_LEN 160 |
#define | SI2Q_MIN_LEN 18 |
#define SI2Q_MAX_LEN 160 |
Referenced by append_earfcn(), append_eutran_neib_cell(), append_uarfcns(), and osmo_gsm48_rest_octets_si2quater_encode().
#define SI2Q_MAX_NUM 16 |
#define SI2Q_MIN_LEN 18 |
int osmo_gsm48_rest_octets_si13_decode | ( | struct osmo_gsm48_si13_info * | si13, |
const uint8_t * | data ) |
Decode SI13 Rest Octests (04.08 Chapter 10.5.2.37b).
[out] | si13 | decoded SI13 rest octets |
[in] | encoded | SI13 rest octets |
References bitvec_get_bit_high(), bitvec_get_uint(), bitvec::data, decode_gprs_cell_opt(), decode_gprs_pwr_ctrl_pars(), ENOTSUP, H, and len.
int osmo_gsm48_rest_octets_si13_encode | ( | uint8_t * | data, |
const struct osmo_gsm48_si13_info * | si13 ) |
References bitvec_set_bit(), bitvec_set_uint(), bitvec_spare_padding(), bitvec::data, H, L, and len.
void osmo_gsm48_rest_octets_si3_decode | ( | struct osmo_gsm48_si_ro_info * | si3, |
const uint8_t * | data ) |
Decode SI3 Rest Octests (Chapter 10.5.2.34 / Table 10.4.72).
[out] | si3 | decoded SI3 rest octets |
[in] | encoded | SI3 rest octets, 4 octets long |
References bitvec_get_bit_high(), bitvec_get_uint(), osmo_gsm48_si_selection_params::cbq, osmo_gsm48_si_selection_params::cell_resel_off, bitvec::data, H, len, osmo_gsm48_si_selection_params::penalty_time, osmo_gsm48_si_power_offset::power_offset, osmo_gsm48_si_selection_params::present, and osmo_gsm48_si_selection_params::temp_offs.
int osmo_gsm48_rest_octets_si3_encode | ( | uint8_t * | data, |
const struct osmo_gsm48_si_ro_info * | si3 ) |
References append_gprs_ind(), append_power_offset(), append_selection_params(), bitvec_set_bit(), bitvec_set_uint(), bitvec_spare_padding(), bitvec::data, H, L, and len.
void osmo_gsm48_rest_octets_si4_decode | ( | struct osmo_gsm48_si_ro_info * | si4, |
const uint8_t * | data, | ||
int | len ) |
References bitvec_get_bit_high(), bitvec_get_uint(), osmo_gsm48_si_selection_params::cbq, osmo_gsm48_si_selection_params::cell_resel_off, bitvec::data, H, len, osmo_gsm48_si_selection_params::penalty_time, osmo_gsm48_si_power_offset::power_offset, osmo_gsm48_si_selection_params::present, and osmo_gsm48_si_selection_params::temp_offs.
int osmo_gsm48_rest_octets_si4_encode | ( | uint8_t * | data, |
const struct osmo_gsm48_si_ro_info * | si4, | ||
int | len ) |
References append_gprs_ind(), append_lsa_params(), append_power_offset(), append_selection_params(), bitvec_set_bit(), bitvec_set_uint(), bitvec::data, H, L, and len.
int osmo_gsm48_rest_octets_si6_encode | ( | uint8_t * | data, |
const struct osmo_gsm48_si6_ro_info * | in ) |
References bitvec_set_bit(), bitvec_set_uint(), bitvec_spare_padding(), bitvec::data, H, L, and len.
Decode the 5-bit 'NCH position' field within SI1 Rest Octets.
[in] | value | 5-bit value from SI1 rest octets |
[out] | num_blocks | Number of CCCH used for NCH |
[out] | first_block | First CCCH block used for NCH |
References ARRAY_SIZE, nch_pos::first_block, len, nch_pos::num_blocks, and si1ro_nch_positions.
Encode the 5-bit 'NCH position' field within SI1 Rest Octets.
[in] | num_blocks | Number of CCCH used for NCH |
[in] | first_block | First CCCH block used for NCH |
References ARRAY_SIZE, nch_pos::first_block, len, nch_pos::num_blocks, and si1ro_nch_positions.