aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/network_listen.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-22 20:12:09 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-22 21:54:19 +0200
commitc95cf10d0849f0795f69ef9b5b8db76e970272a6 (patch)
tree103578ce0c7a9ff70f47a0ff2ebb680db15782a0 /openbsc/include/openbsc/network_listen.h
parente39a5912f115215c75db1f0ff850227025dec136 (diff)
[ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attribute
... while asking the BTS to perform tests for us. The length of the ARFCN whitelist is the actual length in bytes, not the number of 16bit ARFCN numbers. Also, implement a limit, either by rxlevel or by number of ARFCN that should end up in the whitelist.
Diffstat (limited to 'openbsc/include/openbsc/network_listen.h')
-rw-r--r--openbsc/include/openbsc/network_listen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/network_listen.h b/openbsc/include/openbsc/network_listen.h
index 8ca5cd8d4..67d1f4ef7 100644
--- a/openbsc/include/openbsc/network_listen.h
+++ b/openbsc/include/openbsc/network_listen.h
@@ -10,4 +10,7 @@ void ipac_nwl_init(void);
int ipac_nwl_test_start(struct gsm_bts_trx *trx, uint8_t testnr,
const uint8_t *phys_conf, unsigned int phys_conf_len);
+int ipac_rxlevstat2whitelist(uint16_t *buf, const struct rxlev_stats *st, uint8_t min_rxlev,
+ uint16_t max_num_arfcns);
+
#endif /* _OPENBSC_NWL_H */