aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-17 19:17:21 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-17 19:17:21 +0100
commitbdb22ef7c0ab3f83c2dd3b406c6e4edd66bd1dda (patch)
tree526aaf4250711cfc8e09a0babbf49ff214140f33
parent3b090abf45451c7378bd1b053851070e8217411f (diff)
pcu_if: remove function to transmit RTS request
The BSC will never be in charge of sending RTS requests to the PCU. Change-Id: I3473f47eaa686375a39e3e49cfdfadf1f238106f
-rw-r--r--openbsc/include/openbsc/pcu_if.h7
-rw-r--r--openbsc/src/libbsc/pcu_sock.c27
2 files changed, 0 insertions, 34 deletions
diff --git a/openbsc/include/openbsc/pcu_if.h b/openbsc/include/openbsc/pcu_if.h
index 717e077f7..9d1b5b1c7 100644
--- a/openbsc/include/openbsc/pcu_if.h
+++ b/openbsc/include/openbsc/pcu_if.h
@@ -24,17 +24,10 @@ int pcu_tx_rach_ind(struct gsm_bts *bts, int16_t qta, uint16_t ra, uint32_t fn,
/* Forward timing intformation (frame number) to PCU */
int pcu_tx_time_ind(struct gsm_bts *bts, uint32_t fn);
-
-int pcu_tx_rts_req(struct gsm_bts *bts, 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 *bts, 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,
int8_t rssi, uint16_t ber10k, int16_t bto, int16_t lqual);
-
-
-
-
int pcu_tx_pag_req(struct gsm_bts *bts, const uint8_t *identity_lv, uint8_t chan_needed);
int pcu_tx_pch_data_cnf(struct gsm_bts *bts, uint32_t fn, uint8_t *data, uint8_t len);
diff --git a/openbsc/src/libbsc/pcu_sock.c b/openbsc/src/libbsc/pcu_sock.c
index 469e54fa2..c5ab71c04 100644
--- a/openbsc/src/libbsc/pcu_sock.c
+++ b/openbsc/src/libbsc/pcu_sock.c
@@ -248,33 +248,6 @@ void pcu_info_update(struct gsm_bts *bts)
pcu_tx_info_ind(bts);
}
-
-int pcu_tx_rts_req(struct gsm_bts *bts, struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn,
- uint16_t arfcn, uint8_t block_nr)
-{
- struct msgb *msg;
- struct gsm_pcu_if *pcu_prim;
- struct gsm_pcu_if_rts_req *rts_req;
-
- LOGP(DPCU, LOGL_DEBUG, "Sending rts request: is_ptcch=%d arfcn=%d "
- "block=%d\n", is_ptcch, arfcn, block_nr);
-
- msg = pcu_msgb_alloc(PCU_IF_MSG_RTS_REQ, bts->nr);
- if (!msg)
- return -ENOMEM;
- pcu_prim = (struct gsm_pcu_if *) msg->data;
- rts_req = &pcu_prim->u.rts_req;
-
- rts_req->sapi = (is_ptcch) ? PCU_IF_SAPI_PTCCH : PCU_IF_SAPI_PDTCH;
- rts_req->fn = fn;
- rts_req->arfcn = arfcn;
- rts_req->trx_nr = ts->trx->nr;
- rts_req->ts_nr = ts->nr;
- rts_req->block_nr = block_nr;
-
- return pcu_sock_send(bts, msg);
-}
-
int pcu_tx_data_ind(struct gsm_bts *bts, 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,
int8_t rssi, uint16_t ber10k, int16_t bto, int16_t lqual)