falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/42716?usp=email )
Change subject: nokia: respond to BTS_COMMISS_TEST_REQ ......................................................................
nokia: respond to BTS_COMMISS_TEST_REQ
In some cases, Flexi Multiradio BTS sends us BTS_COMMISS_TEST_REQ during its init process, and expects us to respond with BTS_COMMISS_TEST_COMPL, indicating that we did the requested commissioning tests. While we don't do any actual tests currently, and we have not yet reached an understanding of the exact conditions as to when the BTS makes this query of us, if it does send us BTS_COMMISS_TEST_REQ, we need to respond with BTS_COMMISS_TEST_COMPL to make it happy.
Change-Id: I0f2710c3cdb38a9e5b37e40ca5584237a730a902 --- M src/osmo-bsc/bts_nokia_site.c 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/16/42716/1
diff --git a/src/osmo-bsc/bts_nokia_site.c b/src/osmo-bsc/bts_nokia_site.c index 441f101..3054f44 100644 --- a/src/osmo-bsc/bts_nokia_site.c +++ b/src/osmo-bsc/bts_nokia_site.c @@ -681,6 +681,8 @@ #define NOKIA_MSG_STATE_CHANGED 172 #define NOKIA_MSG_ALARM 174 #define NOKIA_MSG_CHA_ADM_STATE 175 +#define NOKIA_MSG_COMMISS_TEST_COMPL 178 +#define NOKIA_MSG_COMMISS_TEST_REQ 179
/* some element IDs */
@@ -2008,6 +2010,14 @@ /* send ACK */ abis_nm_ack(bts, ref); break; + case NOKIA_MSG_COMMISS_TEST_REQ: + /* The BTS is asking us to do a commissioning test. + * We don't do any actual tests currently, but we need + * to tell the BTS that we did what it asked, so it + * can proceed further in its init sequence. + */ + abis_nm_send(bts, NOKIA_MSG_COMMISS_TEST_COMPL, ref, NULL, 0); + break; } nokia_abis_nm_queue_send_next(bts); return ret;