aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-12-28 23:42:04 +0000
committerHarald Welte <laforge@gnumonks.org>2008-12-28 23:42:04 +0000
commitb84e2f4f1b6c4f9d902ed2d23fe340b304b21fbd (patch)
tree783243ad0e3cba3afcd36a36623c36da86f46808 /include/openbsc/gsm_data.h
parentbde361064ae41d35b10ee44abf38ce867c858725 (diff)
* use 16bit for network and country code
* use aligned attribute for more data structures * add command line arguments for operator/country code
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 2d0c3c53b..c0c431eda 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -126,8 +126,8 @@ struct gsm_ms {
struct gsm_network {
/* global parameters */
- u_int8_t country_code;
- u_int8_t network_code;
+ u_int16_t country_code;
+ u_int16_t network_code;
unsigned int num_bts;
/* private lists */
@@ -136,8 +136,8 @@ struct gsm_network {
struct gsm_subscriber *subscriber;
};
-struct gsm_network *gsm_network_init(unsigned int num_bts, u_int8_t country_code,
- u_int8_t network_code);
+struct gsm_network *gsm_network_init(unsigned int num_bts, u_int16_t country_code,
+ u_int16_t network_code);
enum gsm_e1_event {
EVT_E1_NONE,