diff options
author | Gus Bourg <gus@bourg.net> | 2011-12-02 10:18:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-02 10:18:17 +0100 |
commit | 1c5dd2c9bbc26902cdad0487e090e97e983b0787 (patch) | |
tree | 0d9fec784cb5d1a06c49f18b7561131895fd9c04 /openbsc/include/openbsc/gsm_data_shared.h | |
parent | 6b8a56c365baa65119cc9bc827b971f2362b12a0 (diff) |
Add NITZ (timezone) support as part of MM INFO
The UTC offset from the operating system will be used by default to
calculate the NITZ in MM INFO. However, a "timezone" vty command is
added at the BTS level, allowing BTS-specific overrides, e.g. in case
BTSs are distributed accross multiple timezones.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index f7a85a38b..25e90ede0 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -473,6 +473,11 @@ struct gsm_bts { /* buffers where we put the pre-computed SI */ sysinfo_buf_t si_buf[_MAX_SYSINFO_TYPE]; + /* TimeZone hours, mins, and bts specific */ + int tzhr; + int tzmn; + int tz_bts_specific; + /* ip.accesss Unit ID's have Site/BTS/TRX layout */ union { struct { |