summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/support.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-10-03 12:51:31 +0200
committerAndreas.Eversberg2010-10-03 12:51:31 +0200
commitf0c807a6828e60236de21e39748bd4eb6034c3f7 (patch)
tree720b3729c0142e1ac644b8a2effdb0cdc55afee5 /src/host/layer23/include/osmocom/bb/mobile/support.h
parentmisc: Fix the name of the header file for the hexdump... (diff)
downloadosmocom-f0c807a6828e60236de21e39748bd4eb6034c3f7.tar.gz
osmocom-f0c807a6828e60236de21e39748bd4eb6034c3f7.tar.xz
osmocom-f0c807a6828e60236de21e39748bd4eb6034c3f7.zip
[layer23] Rework of "support"-features, features can be disabled now
Supported features of hardware (support.c) can be disabled by config. This way the full featured mobile can be downgraded to indicate less features to the network, like disabling speech support or crypto support.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/support.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/support.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/support.h b/src/host/layer23/include/osmocom/bb/mobile/support.h
index e10888f..b609b7d 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/support.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/support.h
@@ -17,9 +17,6 @@
struct gsm_support {
struct osmocom_ms *ms;
- /* rf power capability */
- uint8_t pwr_lev_900; /* and < 900 */
- uint8_t pwr_lev_1800; /* DCS and PCS */
/* controlled early classmark sending */
uint8_t es_ind;
/* revision level */
@@ -52,10 +49,9 @@ struct gsm_support {
uint8_t p_gsm;
uint8_t e_gsm;
uint8_t r_gsm;
- uint8_t r_capa;
- uint8_t low_capa;
- uint8_t dcs_1800;
- uint8_t dcs_capa;
+ uint8_t dcs;
+ uint8_t class_900;
+ uint8_t class_dcs;
uint8_t freq_map[128];
/* multi slot support */
uint8_t ms_sup;
@@ -98,7 +94,7 @@ struct gsm_support_scan_max {
extern struct gsm_support_scan_max gsm_sup_smax[];
void gsm_support_init(struct osmocom_ms *ms);
-void gsm_support_dump(struct gsm_support *sup,
+void gsm_support_dump(struct osmocom_ms *ms,
void (*print)(void *, const char *, ...), void *priv);
#endif /* _SUPPORT_H */