libosmogsm  1.5.1.118-645a
Osmocom GSM library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bts_features.h File Reference

Go to the source code of this file.

Macros

#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,
  BTS_FEAT_ETWS_PN,
  BTS_FEAT_PAGING_COORDINATION,
  BTS_FEAT_IPV6_NSVC,
  BTS_FEAT_ACCH_REP,
  BTS_FEAT_CCN,
  BTS_FEAT_VAMOS,
  _NUM_BTS_FEAT
}
 

Functions

static const char * osmo_bts_features_desc (enum osmo_bts_features val)
 
const char * osmo_bts_feature_name (enum osmo_bts_features feature) OSMO_DEPRECATED("Use osmo_bts_features_desc() instead")
 return description string of a BTS feature (osmo_bts_features_descs). More...
 
static const char * osmo_bts_features_name (enum osmo_bts_features val)
 
static int osmo_bts_set_feature (struct bitvec *features, enum osmo_bts_features feature)
 
static int osmo_bts_unset_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

const struct value_string osmo_bts_features_descs []
 
const struct value_string osmo_bts_features_names []
 

Macro Definition Documentation

#define MAX_BTS_FEATURES   128

Enumeration Type Documentation

Enumerator
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 
BTS_FEAT_ETWS_PN 
BTS_FEAT_PAGING_COORDINATION 
BTS_FEAT_IPV6_NSVC 
BTS_FEAT_ACCH_REP 
BTS_FEAT_CCN 
BTS_FEAT_VAMOS 
_NUM_BTS_FEAT 

Function Documentation

const char* osmo_bts_feature_name ( enum osmo_bts_features  feature)

return description string of a BTS feature (osmo_bts_features_descs).

To get the plain feature name, use osmo_bts_features_name() instead.

References get_value_string().

static const char* osmo_bts_features_desc ( enum osmo_bts_features  val)
inlinestatic
static const char* osmo_bts_features_name ( enum osmo_bts_features  val)
inlinestatic
static bool osmo_bts_has_feature ( const struct bitvec features,
enum osmo_bts_features  feature 
)
inlinestatic
static int osmo_bts_set_feature ( struct bitvec features,
enum osmo_bts_features  feature 
)
inlinestatic
static int osmo_bts_unset_feature ( struct bitvec features,
enum osmo_bts_features  feature 
)
inlinestatic

Variable Documentation

const struct value_string osmo_bts_features_descs[]

Referenced by osmo_bts_features_desc().

const struct value_string osmo_bts_features_names[]

Referenced by osmo_bts_features_name().