aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-05 13:57:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-05 13:57:45 +0100
commit893ea65f381acc877f852e48894f4575904b7cf9 (patch)
tree77b795c436019640d0cf33583d37337b2f7e7900 /openbsc/include
parent64b811f11321a13138ec48edcd6cafae23fcc7ed (diff)
[bsc_msc_ip] Turn the MNC hack into a config option
* Make it possible to have a different MNC in the RSL traffic than in the core network. * Introduce the "core network code NUMBER" variable. If it is set this network code will be used in traffic with the MSC. * Use the core_network_code number when sending a packet to the MSC * Regenerate the LAI (this is where I could have a bug) when sending packets to the BTS. * Add size checks. This is not tested, I might got something wrong.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 4e1977e38..c34d4af10 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -593,6 +593,9 @@ struct gsm_network {
struct {
enum rrlp_mode mode;
} rrlp;
+
+ /* a hack for On Waves. It must be signed */
+ u_int32_t core_network_code;
};
#define SMS_HDR_SIZE 128