diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-04-30 15:16:27 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-04-30 15:16:27 +0000 |
commit | 193fefc68322d5ed0cf7f545d1ba2f09c9c879f4 (patch) | |
tree | 123e0186de13880555859daf045383fda2e3ae7f /include | |
parent | 3788196026f8701f4b98abade3e70767275fff1c (diff) |
functionality to set nanoBTS NVRAM attributes and to restart BTS
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/abis_nm.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h index af5ade0b1..1ed4ccedf 100644 --- a/include/openbsc/abis_nm.h +++ b/include/openbsc/abis_nm.h @@ -171,6 +171,9 @@ enum abis_nm_msgtype { NM_MT_SET_ALARM_THRES, NM_MT_SET_ALARM_THRES_ACK, NM_MT_SET_ALARM_THRES_NACK, + + NM_MT_IPACC_RESTART = 0x87, + NM_MT_IPACC_RESTART_ACK, }; enum abis_nm_msgtype_bs11 { @@ -212,8 +215,12 @@ enum abis_nm_msgtype_ipacc { NM_MT_IPACC_RSL_CONNECT = 0xe0, NM_MT_IPACC_RSL_CONNECT_ACK, NM_MT_IPACC_RSL_CONNECT_NACK, - NM_MT_IPACC_RSL_SET_NVATTR = 0xef, - NM_MT_IPACC_RSL_SET_NVATTR_ACK = 0xff, + NM_MT_IPACC_SET_NVATTR = 0xef, + NM_MT_IPACC_SET_NVATTR_ACK, + NM_MT_IPACC_SET_NVATTR_NACK, + NM_MT_IPACC_GET_NVATTR = 0xf2, + NM_MT_IPACC_GET_NVATTR_ACK, + NM_MT_IPACC_GET_NVATTR_NACK, }; /* Section 9.2: Object Class */ @@ -337,7 +344,11 @@ enum abis_nm_attr { NM_ATT_IPACC_RSL_BSC_IP = 0x80, NM_ATT_IPACC_RSL_BSC_PORT = 0x81, - NM_ATT_IPACC_PRIM_OML_IP = 0x88, + NM_ATT_IPACC_LOCATION = 0x8e, /* string describing location */ + NM_ATT_IPACC_UNIT_ID = 0x91, + NM_ATT_IPACC_UNIT_NAME = 0x93, /* default: nbts-<mac-as-string> */ + NM_ATT_IPACC_PRIM_OML_IP = 0x95, + NM_ATT_IPACC_SEC_OML_IP = 0x96, NM_ATT_BS11_RF_RES_IND_PER = 0x8f, @@ -570,6 +581,9 @@ int abis_nm_ipaccess_msg(struct gsm_bts *bts, u_int8_t msg_type, u_int8_t obj_class, u_int8_t bts_nr, u_int8_t trx_nr, u_int8_t ts_nr, u_int8_t *attr, int attr_len); +int abis_nm_ipaccess_set_nvattr(struct gsm_bts *bts, u_int8_t *attr, + int attr_len); +int abis_nm_ipaccess_restart(struct gsm_bts *bts); /* Functions calling into other code parts */ enum nm_evt { |