diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-13 00:09:20 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-13 00:09:20 +0100 |
commit | ca86dd5776bdbd8785bd0df348c6bad73ccb269d (patch) | |
tree | f2cb711635db8b25285b657b0b83eba6455a15ff /openbsc/include | |
parent | b70bd52c2a88c32145c64f2abebab016a8756c6a (diff) |
bsc_api.h: Add some comments to the API structure
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_api.h b/openbsc/include/openbsc/bsc_api.h index 36ec3705c..ae700ee68 100644 --- a/openbsc/include/openbsc/bsc_api.h +++ b/openbsc/include/openbsc/bsc_api.h @@ -9,18 +9,25 @@ #define BSC_API_CONN_POL_REJECT 1 struct bsc_api { + /*! \brief BTS->MSC: tell MSC a SAPI was not established */ void (*sapi_n_reject)(struct gsm_subscriber_connection *conn, int dlci); + /*! \brief MS->MSC: Tell MSC that ciphering has been enabled */ void (*cipher_mode_compl)(struct gsm_subscriber_connection *conn, struct msgb *msg, uint8_t chosen_encr); + /*! \brief MS->MSC: New MM context with L3 payload */ int (*compl_l3)(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t chosen_channel); + /*! \brief MS->BSC/MSC: Um L3 message */ void (*dtap)(struct gsm_subscriber_connection *conn, uint8_t link_id, struct msgb *msg); + /*! \brief BSC->MSC: Assignment of lchan successful */ void (*assign_compl)(struct gsm_subscriber_connection *conn, uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, uint8_t speech_mode); + /*! \brief BSC->MSC: Assignment of lchan failed */ void (*assign_fail)(struct gsm_subscriber_connection *conn, uint8_t cause, uint8_t *rr_cause); + /*! \brief BSC->MSC: RR conn has been cleared */ int (*clear_request)(struct gsm_subscriber_connection *conn, uint32_t cause); }; |