libosmogsm
0.11.0-dirty
Osmocom GSM library
|
Go to the source code of this file.
Defines | |
#define | MAX_BTS_FEATURES 128 |
Enumerations | |
enum | osmo_bts_features { BTS_FEAT_HSCSD, BTS_FEAT_GPRS, BTS_FEAT_EGPRS, BTS_FEAT_ECSD, BTS_FEAT_HOPPING, BTS_FEAT_MULTI_TSC, BTS_FEAT_OML_ALERTS, BTS_FEAT_AGCH_PCH_PROP, BTS_FEAT_CBCH, BTS_FEAT_SPEECH_F_V1, BTS_FEAT_SPEECH_H_V1, BTS_FEAT_SPEECH_F_EFR, BTS_FEAT_SPEECH_F_AMR, BTS_FEAT_SPEECH_H_AMR, _NUM_BTS_FEAT } |
Functions | |
const char * | osmo_bts_feature_name (enum osmo_bts_features feature) |
return string representation of a BTS feature | |
static int | osmo_bts_set_feature (struct bitvec *features, enum osmo_bts_features feature) |
static bool | osmo_bts_has_feature (const struct bitvec *features, enum osmo_bts_features feature) |
Variables | |
struct value_string | osmo_bts_features_descs [] |
#define MAX_BTS_FEATURES 128 |
Referenced by osmo_bts_has_feature(), and osmo_bts_set_feature().
enum osmo_bts_features |
const char* osmo_bts_feature_name | ( | enum osmo_bts_features | feature | ) |
return string representation of a BTS feature
References get_value_string().
static bool osmo_bts_has_feature | ( | const struct bitvec * | features, |
enum osmo_bts_features | feature | ||
) | [inline, static] |
References _NUM_BTS_FEAT, bitvec_get_bit_pos(), MAX_BTS_FEATURES, and OSMO_ASSERT.
static int osmo_bts_set_feature | ( | struct bitvec * | features, |
enum osmo_bts_features | feature | ||
) | [inline, static] |
References _NUM_BTS_FEAT, bitvec_set_bit_pos(), MAX_BTS_FEATURES, and OSMO_ASSERT.
struct value_string osmo_bts_features_descs[] |