[OML] Add support for ip.access SET ATTRIBUTE message
Since TS 12.21 implements only SET ATTRIBUTE for some object classes, ip.access had to extend it to be able to set attributes on arbitrary objects. We now introduce a function implementing that message.
This commit is contained in:
parent
55dd443ac2
commit
daef521ea5
|
@ -749,6 +749,9 @@ int abis_nm_ipaccess_msg(struct gsm_bts *bts, u_int8_t msg_type,
|
|||
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);
|
||||
int abis_nm_ipaccess_set_attr(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 *attr, u_int8_t attr_len);
|
||||
int abis_nm_ipaccess_rsl_connect(struct gsm_bts_trx *trx,
|
||||
u_int32_t ip, u_int16_t port, u_int8_t stream);
|
||||
|
||||
|
|
|
@ -2662,3 +2662,12 @@ int abis_nm_ipaccess_restart(struct gsm_bts *bts)
|
|||
{
|
||||
return __simple_cmd(bts, NM_MT_IPACC_RESTART);
|
||||
}
|
||||
|
||||
int abis_nm_ipaccess_set_attr(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 *attr, u_int8_t attr_len)
|
||||
{
|
||||
return abis_nm_ipaccess_msg(bts, NM_MT_IPACC_SET_ATTR,
|
||||
obj_class, bts_nr, trx_nr, ts_nr,
|
||||
attr, attr_len);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue