libosmogsm
0.12.0
Osmocom GSM library
|
Go to the documentation of this file.
3 #include <osmocom/core/utils.h>
4 #include <osmocom/core/bitvec.h>
6 #define MAX_BTS_FEATURES 128
36 return bitvec_set_bit_pos(features, feature, 1);
42 return bitvec_get_bit_pos(features, feature);
@ _NUM_BTS_FEAT
Definition: bts_features.h:26
@ BTS_FEAT_SPEECH_H_AMR
Definition: bts_features.h:25
osmo_bts_features
Definition: bts_features.h:11
@ BTS_FEAT_OML_ALERTS
Definition: bts_features.h:18
@ BTS_FEAT_HOPPING
Definition: bts_features.h:16
@ BTS_FEAT_CBCH
Definition: bts_features.h:20
@ BTS_FEAT_ECSD
Definition: bts_features.h:15
@ BTS_FEAT_SPEECH_F_AMR
Definition: bts_features.h:24
const struct value_string osmo_bts_features_descs[]
Definition: bts_features.c:26
@ BTS_FEAT_SPEECH_H_V1
Definition: bts_features.h:22
@ BTS_FEAT_GPRS
Definition: bts_features.h:13
@ BTS_FEAT_HSCSD
Definition: bts_features.h:12
@ BTS_FEAT_MULTI_TSC
Definition: bts_features.h:17
static bool osmo_bts_has_feature(const struct bitvec *features, enum osmo_bts_features feature)
Definition: bts_features.h:39
@ BTS_FEAT_AGCH_PCH_PROP
Definition: bts_features.h:19
@ BTS_FEAT_EGPRS
Definition: bts_features.h:14
@ BTS_FEAT_SPEECH_F_EFR
Definition: bts_features.h:23
static int osmo_bts_set_feature(struct bitvec *features, enum osmo_bts_features feature)
Definition: bts_features.h:33
const char * osmo_bts_feature_name(enum osmo_bts_features feature)
return string representation of a BTS feature
Definition: bts_features.c:45
#define MAX_BTS_FEATURES
Definition: bts_features.h:6
@ BTS_FEAT_SPEECH_F_V1
Definition: bts_features.h:21