aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/gsm_data.h4
-rw-r--r--include/osmo-bts/pcu_if.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index c4953cbb..7a486670 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -107,6 +107,10 @@ struct gsm_bts_role_bts {
float min_qual_rach; /* minimum quality for RACH bursts */
float min_qual_norm; /* minimum quality for normal daata */
+
+ struct {
+ char *sock_path;
+ } pcu;
};
enum lchan_ciph_state {
diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h
index 71738445..0c4fb696 100644
--- a/include/osmo-bts/pcu_if.h
+++ b/include/osmo-bts/pcu_if.h
@@ -1,6 +1,8 @@
#ifndef _PCU_IF_H
#define _PCU_IF_H
+#define PCU_SOCK_DEFAULT "/tmp/pcu_bts"
+
extern int pcu_direct;
int pcu_tx_info_ind(void);
@@ -14,7 +16,7 @@ int pcu_tx_time_ind(uint32_t fn);
int pcu_tx_pag_req(const uint8_t *identity_lv, uint8_t chan_needed);
int pcu_tx_pch_data_cnf(uint32_t fn, uint8_t *data, uint8_t len);
-int pcu_sock_init(void);
+int pcu_sock_init(const char *path);
void pcu_sock_exit(void);
#endif /* _PCU_IF_H */