diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-06-08 18:02:10 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-07-01 08:16:41 +0200 |
commit | e2ac6b77feecc5b7194a308bbd11e206c4a41fcb (patch) | |
tree | 02088c69891c0c64124c3e3c74c8bad5462b175a /openbsc/include/openbsc/osmo_msc_data.h | |
parent | 9705671025eba34b70d73e9d4e78813e4f2d31da (diff) |
bsc: Check for the rand and then generate a res
Check if the NAT has sent 16 bytes of RAND and if a key
has been configured in the system and then generate a
result using milenage. The milenage res will be sent and
noth the four byte GSM SRES derivation.
Diffstat (limited to 'openbsc/include/openbsc/osmo_msc_data.h')
-rw-r--r-- | openbsc/include/openbsc/osmo_msc_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h index 2d863aa32..ed3818791 100644 --- a/openbsc/include/openbsc/osmo_msc_data.h +++ b/openbsc/include/openbsc/osmo_msc_data.h @@ -59,6 +59,9 @@ struct osmo_msc_data { /* Connection data */ char *bsc_token; + uint8_t bsc_key[16]; + uint8_t bsc_key_present; + int ping_timeout; int pong_timeout; struct osmo_timer_list ping_timer; |