diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-11 06:20:54 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-11 06:33:17 +0200 |
commit | 99e3248192caa1348a28e4a5eda3db745960fd31 (patch) | |
tree | 1af1841de62d6863677eba43a3c823b971c2ab53 /openbsc/include/openbsc/signal.h | |
parent | 6b72cdf85423f9aca68bce15084e8a1b30b3db55 (diff) |
[gprs] NS: Add signals in the event of BLOCK/UNBLOCK/RESET
The signals will be sent upon reception of NS-BLOCK/UNBLOCK/RESET PDUs
We also export functions to generate/send BLOCK/UNBLOCK and RESET.
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 73f3fe31a..6e0f5baca 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -42,6 +42,7 @@ enum signal_subsystems { SS_SCALL, SS_GLOBAL, SS_CHALLOC, + SS_NS, }; /* SS_PAGING signals */ @@ -144,4 +145,15 @@ struct challoc_signal_data { enum gsm_chan_t type; }; +enum signal_ns { + S_NS_RESET, + S_NS_BLOCK, + S_NS_UNBLOCK, +}; + +struct ns_signal_data { + struct gprs_nsvc *nsvc; + uint8_t cause; +}; + #endif |