diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/Makefile.am | 2 | ||||
-rw-r--r-- | include/osmo-bts/gsm_data.h | 4 | ||||
-rw-r--r-- | include/osmo-bts/pcu_if.h | 15 |
3 files changed, 20 insertions, 1 deletions
diff --git a/include/osmo-bts/Makefile.am b/include/osmo-bts/Makefile.am index c734f14d..ad844da2 100644 --- a/include/osmo-bts/Makefile.am +++ b/include/osmo-bts/Makefile.am @@ -1,2 +1,2 @@ noinst_HEADERS = abis.h bts.h bts_model.h gsm_data.h logging.h measurement.h \ - oml.h paging.h rsl.h signal.h vty.h amr.h + oml.h paging.h rsl.h signal.h vty.h amr.h pcu_if.h diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index 332c95c1..40b2e40b 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -7,9 +7,13 @@ #include <osmo-bts/paging.h> +struct pcu_sock_state; + struct gsm_network { struct llist_head bts_list; unsigned int num_bts; + uint16_t mcc, mnc; + struct pcu_sock_state *pcu_state; }; /* data structure for BTS related data specific to the BTS role */ diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h new file mode 100644 index 00000000..88a96cd9 --- /dev/null +++ b/include/osmo-bts/pcu_if.h @@ -0,0 +1,15 @@ +#ifndef _PCU_IF_H +#define _PCU_IF_H + +int pcu_tx_info_ind(void); +int pcu_tx_rts_req(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, + uint16_t arfcn, uint8_t block_nr); +int pcu_tx_data_ind(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, + uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len); +int pcu_tx_rach_ind(struct gsm_bts *bts, int16_t qta, uint8_t ra, uint32_t fn); +int pcu_tx_time_ind(uint32_t fn); + +int pcu_sock_init(void); +void pcu_sock_exit(void); + +#endif /* _PCU_IF_H */ |