summaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess/network_listen.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-09 22:35:37 +0100
committerHarald Welte <laforge@gnumonks.org>2010-07-22 21:54:19 +0200
commita0b0f36ff0b917105039b7aa9dba41a41f7c1d32 (patch)
tree000ddc006479b9310293b62d8822e639de4de75d /openbsc/src/ipaccess/network_listen.c
parent887deabe38dd18dfc0c1eb7e81223dae10b3182d (diff)
ipaccess-config/network-listen update
* transition through cycles of NWL tests
Diffstat (limited to 'openbsc/src/ipaccess/network_listen.c')
-rw-r--r--openbsc/src/ipaccess/network_listen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/network_listen.c b/openbsc/src/ipaccess/network_listen.c
index 87bf588f8..7625eec3d 100644
--- a/openbsc/src/ipaccess/network_listen.c
+++ b/openbsc/src/ipaccess/network_listen.c
@@ -76,6 +76,7 @@ int ipac_nwl_test_start(struct gsm_bts_trx *trx, uint8_t testnr,
switch (testnr) {
case NM_IPACC_TESTNO_CHAN_USAGE:
+ case NM_IPACC_TESTNO_BCCH_CHAN_USAGE:
rxlev_stat_reset(&trx->ipaccess.rxlev_stat);
break;
}
@@ -92,6 +93,7 @@ int ipac_nwl_test_start(struct gsm_bts_trx *trx, uint8_t testnr,
abis_nm_perform_test(trx->bts, NM_OC_RADIO_CARRIER, 0, trx->nr, 0xff,
testnr, 1, msg);
+ trx->ipaccess.test_nr = testnr;
/* FIXME: start safety timer until when test is supposed to complete */