diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-16 22:15:28 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-17 21:09:55 +0100 |
commit | 1764ae7361619cafab15ed3328981043bf487192 (patch) | |
tree | 1c4ac4809533c1686bfa5934f65d7e4217fa69d9 | |
parent | 814d289200e87489944f894b389139009d80287a (diff) |
WIP: RBS related fixes
Change-Id: Iaefc2a07561fbead516685b17ac528696374802f
-rw-r--r-- | src/osmo-bts-rbs/pgsl_l1_if.c | 21 |
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; +} |