simcommodem: Add netmon driver for Simcom A7671E
PATCH v3 1/2 simcommodem: Add netmon driver for Simcom A7671E
---
Changes in v2:
- Removed unused ref counting
Changes in v3:
- Change simcom_parse_cpsi_lte to return void
Makefile.am | 3 +- drivers/simcommodem/netmon.c | 240 +++++++++++++++++++++++++++++++++++ plugins/sim7100.c | 2 + 3 files changed, 244 insertions(+), 1 deletion(-) create mode 100644 drivers/simcommodem/netmon.c
Makefile.am +2 -1
@@ -541,7 +541,8 @@ builtin_sources += drivers/atmodem/atutil.h \ drivers/quectelmodem/radio-settings.c builtin_sources += drivers/atmodem/atutil.h \ - drivers/simcommodem/radio-settings.c + drivers/simcommodem/radio-settings.c \ + drivers/simcommodem/netmon.c if PHONESIM builtin_modules += phonesim
drivers/simcommodem/netmon.c new file +240 -0
240 lines not on this page · raw message
plugins/sim7100.c +2 -0
@@ -34,6 +34,7 @@#include <ofono/call-settings.h> #include <ofono/devinfo.h> #include <ofono/message-waiting.h> +#include <ofono/netmon.h> #include <ofono/netreg.h> #include <ofono/phonebook.h> #include <ofono/radio-settings.h>
@@ -357,6 +358,7 @@ static void sim7100_post_sim(struct ofono_modem *modem)ofono_sms_create (modem,OFONO_VENDOR_SIMCOM_A76XX ,"atmodem" , data->at);ofono_radio_settings_create (modem,0 ,"simcommodem" , data->at); +ofono_netmon_create (modem,0 ,"simcommodem" , data->at); gprs =ofono_gprs_create (modem,OFONO_VENDOR_SIMCOM_A76XX ,"atmodem" , data->at);break ;
Signature · 1 line
2.52.0
PATCH v3 2/2 doc: netmon: fix indentation
--- doc/networkmonitor-api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/networkmonitor-api.txt +1 -1
@@ -22,7 +22,7 @@ Methods a{sv} GetServingCellInformation() are available, their valid value ranges and applicability to different cell types. - a{a{sv}} GetNeighbouringCellsInformation() + a{a{sv}} GetNeighbouringCellsInformation() Requests the neighbouring cells information and basic measurements from oFono. The returned value is a
Signature · 1 line
2.52.0