diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-30 08:38:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-30 08:38:43 +0100 |
commit | 2e83782b1c185bd63544bdd74de2e5e4d965f981 (patch) | |
tree | 054e8d9e6db01736f65ec1351242ecb41f86a730 /openbsc/include/openbsc/signal.h | |
parent | f9811defe28eb8fde03c4dfa91f27ecbd876eb97 (diff) |
[ipaccess] Restart only after setting the OML IP, software load
* Do not issue the restart right aways if we have OML IP or
software load in the queue (hint, we need a real queue of operations
to carry out... with one big state machine)
* Change the signal_data of ipacc ACK/NACK to contain the msg type
and the bts pointer.
* Issue a restart for software load and OML and use the BTS pointer
we got out of the new signal data.
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index f13b12be8..8b6b4a628 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -124,6 +124,11 @@ struct scall_signal_data { void *data; }; +struct ipacc_ack_signal_data { + struct gsm_bts *bts; + u_int8_t msg_type; +}; + /* Management */ int register_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data); void unregister_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data); |