From dbcd081a639722a242aee7217312d6d654e876e5 Mon Sep 17 00:00:00 2001 From: Antara Borwankar Date: Fri, 7 Jun 2019 11:56:55 +0530 Subject: [PATCH] netmon: adding get function for neighbouring cell information Added declaration of functions and structures required for getting neighbouring cell information. --- include/netmon.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/netmon.h b/include/netmon.h index c8fcafa6..a99d6ca9 100644 --- a/include/netmon.h +++ b/include/netmon.h @@ -43,6 +43,8 @@ struct ofono_netmon_driver { unsigned int enable, unsigned int period, ofono_netmon_cb_t cb, void *data); + void (*neighbouring_cell_update)(struct ofono_netmon *netmon, + ofono_netmon_cb_t cb, void *data); }; enum ofono_netmon_cell_type { @@ -104,6 +106,10 @@ void ofono_netmon_set_data(struct ofono_netmon *netmon, void *data); void *ofono_netmon_get_data(struct ofono_netmon *netmon); +void ofono_netmon_neighbouring_cell_notify(struct ofono_netmon *netmon, + enum ofono_netmon_cell_type type, + int info_type, ...); + #ifdef __cplusplus } #endif