OM2000: Introduce VTY commands to initiate OM2000 procedures
diff --git a/openbsc/src/abis_om2000.c b/openbsc/src/abis_om2000.c
index 8b9277f..a2a69a2 100644
--- a/openbsc/src/abis_om2000.c
+++ b/openbsc/src/abis_om2000.c
@@ -100,6 +100,9 @@
OM2K_MSGT_START_RES_ACK = 0x0088,
OM2K_MSGT_START_RES_NACK = 0x0089,
OM2K_MSGT_START_RES = 0x008a,
+ OM2K_MSGT_STATUS_REQ = 0x008c,
+ OM2K_MSGT_STATUS_RESP = 0x008e,
+ OM2K_MSGT_STATUS_REJ = 0x008f,
OM2K_MSGT_NEGOT_REQ_ACK = 0x0104,
OM2K_MSGT_NEGOT_REQ_NACK = 0x0105,
@@ -435,7 +438,7 @@
{ 0, NULL }
};
-static const struct value_string om2k_mo_class_short_vals[] = {
+const struct value_string om2k_mo_class_short_vals[] = {
{ 0x01, "TRXC" },
{ 0x03, "TS" },
{ 0x04, "TF" },
@@ -534,6 +537,11 @@
return abis_om2k_tx_simple(bts, mo, OM2K_MSGT_START_REQ);
}
+int abis_om2k_tx_status_req(struct gsm_bts *bts, struct abis_om2k_mo *mo)
+{
+ return abis_om2k_tx_simple(bts, mo, OM2K_MSGT_STATUS_REQ);
+}
+
static int abis_om2k_tx_op_info(struct gsm_bts *bts, struct abis_om2k_mo *mo,
uint8_t operational)
{