diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-06 11:38:05 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-22 21:54:19 +0200 |
commit | 887deabe38dd18dfc0c1eb7e81223dae10b3182d (patch) | |
tree | 7035fb8b87b9efcfbade6b4dae9f3c9bed70bd41 /openbsc/include/openbsc | |
parent | 549faada213f3a446e6cf7d008c0e36cf8bf1c53 (diff) |
ipaccess-config / network listen: ordered list of RxLevels
Use libosmocore 'rxlev_stat' module to generate an ordered list
of ARFCN's, sorted by RxLev while performing test nr. 64
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/abis_nm.h | 3 | ||||
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 | ||||
-rw-r--r-- | openbsc/include/openbsc/network_listen.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h index 13c074686..7672bb17c 100644 --- a/openbsc/include/openbsc/abis_nm.h +++ b/openbsc/include/openbsc/abis_nm.h @@ -106,8 +106,7 @@ int abis_nm_conn_mdrop_link(struct gsm_bts *bts, u_int8_t e1_port0, u_int8_t ts0 int abis_nm_perform_test(struct gsm_bts *bts, u_int8_t obj_class, u_int8_t bts_nr, u_int8_t trx_nr, u_int8_t ts_nr, - u_int8_t test_nr, u_int8_t auton_report, - const u_int8_t *phys_config, u_int16_t phys_config_len); + u_int8_t test_nr, u_int8_t auton_report, struct msgb *msg); int abis_nm_chcomb4pchan(enum gsm_phys_chan_config pchan); diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 5ec4441be..09e0a2105 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -45,11 +45,13 @@ enum gsm_chreq_reason_t { #include <openbsc/abis_rsl.h> #include <openbsc/system_information.h> #include <openbsc/mncc.h> + #include <osmocore/tlv.h> #include <osmocore/bitvec.h> #include <osmocore/statistics.h> #include <osmocore/gsm_utils.h> #include <osmocore/utils.h> +#include <osmocore/rxlev_stat.h> #define TRX_NR_TS 8 #define TS_MAX_LCHAN 8 @@ -381,6 +383,7 @@ struct gsm_bts_trx { } bs11; struct { unsigned int test_state; + struct rxlev_stats rxlev_stat; } ipaccess; }; struct gsm_bts_trx_ts ts[TRX_NR_TS]; diff --git a/openbsc/include/openbsc/network_listen.h b/openbsc/include/openbsc/network_listen.h index afd0049b7..8ca5cd8d4 100644 --- a/openbsc/include/openbsc/network_listen.h +++ b/openbsc/include/openbsc/network_listen.h @@ -7,6 +7,7 @@ void ipac_nwl_init(void); /* Start a NWL test. It will raise the S_IPAC_TEST_COMPLETE signal. */ -int ipac_nwl_test_start(struct gsm_bts_trx *trx, uint8_t testnr); +int ipac_nwl_test_start(struct gsm_bts_trx *trx, uint8_t testnr, + const uint8_t *phys_conf, unsigned int phys_conf_len); #endif /* _OPENBSC_NWL_H */ |