Skip to contentSkip to conversation

netmon: adding get function for neighbouring cell information

PATCH In review Antara Borwankar 1 participant 1 message Jun 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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(+)
include/netmon.h +6 -0
index c8fcafa..a99d6ca 100644
@@ -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
Signature · 1 line
1.9.1