aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/abis_nm.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-03-24 21:04:57 +0100
committerMax <msuraev@sysmocom.de>2017-05-08 11:49:40 +0000
commitfd2c1f90ba590fbb8c790e3619713769817997de (patch)
tree0944f57cab91f38ba01b9adc0287a8917f055a1c /openbsc/include/openbsc/abis_nm.h
parent310b73079814584c0ff92772939f9cc80e1c0171 (diff)
Use libosmocore for SW Description parsing
Diffstat (limited to 'openbsc/include/openbsc/abis_nm.h')
-rw-r--r--openbsc/include/openbsc/abis_nm.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h
index 24654527..0fe9d8ea 100644
--- a/openbsc/include/openbsc/abis_nm.h
+++ b/openbsc/include/openbsc/abis_nm.h
@@ -68,18 +68,6 @@ struct abis_nm_cfg {
int (*sw_act_req)(struct msgb *);
};
-struct abis_nm_sw_descr {
- /* where does it start? how long is it? */
- const uint8_t *start;
- size_t len;
-
- /* the parsed data */
- const uint8_t *file_id;
- uint16_t file_id_len;
- const uint8_t *file_ver;
- uint16_t file_ver_len;
-};
-
extern int abis_nm_rcvmsg(struct msgb *msg);
int abis_nm_tlv_parse(struct tlv_parsed *tp, struct gsm_bts *bts, const uint8_t *buf, int len);
@@ -181,9 +169,7 @@ int _abis_nm_sendmsg(struct msgb *msg);
void abis_nm_queue_send_next(struct gsm_bts *bts); /* for bs11_config. */
-int abis_nm_parse_sw_config(const uint8_t *data, const size_t len,
- struct abis_nm_sw_descr *res, const int res_len);
-int abis_nm_select_newest_sw(const struct abis_nm_sw_descr *sw, const size_t len);
+int abis_nm_select_newest_sw(const struct abis_nm_sw_desc *sw, const size_t len);
/* Helper functions for updating attributes */
int abis_nm_update_max_power_red(struct gsm_bts_trx *trx);