* use 16bit for network and country code
* use aligned attribute for more data structures
* add command line arguments for operator/country code
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 2d0c3c5..c0c431e 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -126,8 +126,8 @@
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_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,