aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-07-29 09:42:23 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:39:02 +0200
commit5e90f2a809f85817883bb567c5a51efe8e1ecb46 (patch)
treeee8c1471b8497169e54fbe2a46885a2dc903df1b /tests
parent1eaa3d72eaa10bb854b2adff48d3f7f3e06dcb8c (diff)
Add BCCH message to PH-/MPH-/TCH-SAP interface
This first part moves BCCH message primitives from osmo-bts-sysmo to common part. A new file "common/l1sap.c" is introduced to implement handling of layer 1 messages from/to BTS model.
Diffstat (limited to 'tests')
-rw-r--r--tests/stubs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stubs.c b/tests/stubs.c
index 39604ab5..89ab8027 100644
--- a/tests/stubs.c
+++ b/tests/stubs.c
@@ -40,6 +40,8 @@ int bts_model_rsl_chan_mod(struct gsm_lchan *lchan)
{ return 0; }
void bts_model_rtp_rx_cb(struct osmo_rtp_socket *rs, const uint8_t *rtp_pl,
unsigned int rtp_pl_len) {}
+int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap)
+{ return 0; }
int l1if_pdch_req(struct gsm_bts_trx_ts *ts, int is_ptcch, uint32_t fn,
uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len)