diff options
author | Max <msuraev@sysmocom.de> | 2019-01-02 15:28:17 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2019-01-03 19:10:58 +0000 |
commit | 45867378f1def5ce15d09c8ad9a32dc9cc4aa57d (patch) | |
tree | 02fb81bb592389fb9ec8d3c8ac97b72253e2726a /include/osmocom/bsc/ipaccess.h | |
parent | 38134eac8bfe55fab5d3f3af2b77445f14f3966c (diff) |
IPA: log OML/RSL link drop reason
There could multiple reason for OML or RSL link towards BTS to be
dropped: ctrl command, vty, new link etc. Introduce "reason" parameter
to corresponding functions and log it on link drop to simplify
troubleshooting issues with more complex setups.
Change-Id: I8c8d8132ba67c31e40dbecdfe2e09be08c744899
Diffstat (limited to 'include/osmocom/bsc/ipaccess.h')
-rw-r--r-- | include/osmocom/bsc/ipaccess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/bsc/ipaccess.h b/include/osmocom/bsc/ipaccess.h index 692e79576..3853270ac 100644 --- a/include/osmocom/bsc/ipaccess.h +++ b/include/osmocom/bsc/ipaccess.h @@ -30,9 +30,9 @@ struct ipac_ext_lac_cmd { uint8_t data[0]; } __attribute__((packed)); -void ipaccess_drop_oml(struct gsm_bts *bts); +void ipaccess_drop_oml(struct gsm_bts *bts, const char *reason); void ipaccess_drop_oml_deferred(struct gsm_bts *bts); -void ipaccess_drop_rsl(struct gsm_bts_trx *trx); +void ipaccess_drop_rsl(struct gsm_bts_trx *trx, const char *reason); struct sdp_header_item { struct sdp_header_entry header_entry; |