diff options
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/abis_nm.h | 2 | ||||
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h index c20e4e172..79d27301d 100644 --- a/openbsc/include/openbsc/abis_nm.h +++ b/openbsc/include/openbsc/abis_nm.h @@ -170,4 +170,6 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, const char *nm_opstate_name(u_int8_t os); const char *nm_avail_name(u_int8_t avail); int nm_is_running(struct gsm_nm_state *s); +void abis_nm_clear_queue(struct gsm_bts *bts); + #endif /* _NM_H */ diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 9e9dc6d52..9cf03efa9 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -81,6 +81,7 @@ enum bts_gprs_mode { BTS_GPRS_EGPRS = 2, }; +#define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3] struct msgb; typedef int gsm_cbfn(unsigned int hooknum, unsigned int event, @@ -540,6 +541,10 @@ struct gsm_bts { /* transceivers */ int num_trx; struct llist_head trx_list; + + /* Abis NM queue */ + struct llist_head abis_queue; + int abis_nm_pend; }; /* Some statistics of our network */ |