aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-16 22:15:28 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-17 21:09:55 +0100
commit1764ae7361619cafab15ed3328981043bf487192 (patch)
tree1c4ac4809533c1686bfa5934f65d7e4217fa69d9
parent814d289200e87489944f894b389139009d80287a (diff)
WIP: RBS related fixes
-rw-r--r--src/osmo-bts-rbs/pgsl_l1_if.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/osmo-bts-rbs/pgsl_l1_if.c b/src/osmo-bts-rbs/pgsl_l1_if.c
index 04dce584..3e360295 100644
--- a/src/osmo-bts-rbs/pgsl_l1_if.c
+++ b/src/osmo-bts-rbs/pgsl_l1_if.c
@@ -382,6 +382,9 @@ int l1if_pdch_req(void *obj, uint8_t ts, int is_ptcch, uint32_t fn,
uint8_t tei;
arfcn_to_trx(&tei, arfcn);
+ /* CAUTION HACK! Enforce TEI=1, always! */
+ tei=1;
+
/* Feature not supported yet */
OSMO_ASSERT(is_ptcch == 0);
@@ -462,3 +465,21 @@ int l1if_pdch_req(void *obj, uint8_t ts, int is_ptcch, uint32_t fn,
ps[tei].tn[ts].tx.next_seqno++;
return rc;
}
+
+int l1if_connect_pdch(void *obj, uint8_t ts)
+{
+ LOGP(DL1IF, LOGL_INFO, "l1if_connect_pdch() not applicable!\n");
+ return 0;
+}
+
+void *l1if_open_pdch(uint8_t trx_no, uint32_t hlayer1, struct gsmtap_inst *gsmtap)
+{
+ LOGP(DL1IF, LOGL_INFO, "l1if_open_pdch()\n");
+ return (void *)0x2342;
+}
+
+int l1if_close_pdch(void *obj)
+{
+ LOGP(DL1IF, LOGL_INFO, "l1if_close_pdch() not applicable!\n");
+ return 0;
+}