Commit Graph

386 Commits

Author SHA1 Message Date
JongSeok Won 4f4fcc4944 netmon: added PCI, TAC, SNR value
To support cell type LTE, the value of PCI, TAC, SNR is added
2020-07-31 10:18:53 -05:00
Richard Röjfors aea2ce4e18 gprs: Add list_active_contexts
This is useful for instance during startup where early
activated contexts can be listed at a suitable point in time.
2019-08-13 01:41:16 -05:00
Antara Borwankar dbcd081a63 netmon: adding get function for neighbouring cell information
Added declaration of functions and structures required for getting
neighbouring cell information.
2019-06-07 11:19:15 -05:00
Antara Borwankar a7a2d09d10 sim: Added set function for CardSlotCount and ActiveCardSlot
Adding set function definition for CardSlotCount and ActiveCardSlot
properties.
2019-03-28 21:08:02 -05:00
Antara Borwankar d32dc69898 gprs-context: adding get function for network interface
Added declaration of get function to get network interface
for gprs-context
2019-02-21 10:59:52 -06:00
Giacinto Cifelli 13467d5dcb include: add ofono_modem_set_powered_timeout_hint
function to set the powered timeout for those cases where a device might
require longer time to boot (uncommon).

The function is effective if called before Powered=true,
so it is best called by modem detection logic and prior to calling
ofono_modem_register.
2018-10-24 14:26:59 -05:00
Giacinto Cifelli 37b913b7bf include: add proto and authentication parameters
The ofono_lte_default_attach_info is extended with protocol,
authentication method, username and password.

Co-authored-by: Martin Baschin <martin.baschin@googlemail.com>
2018-10-22 11:44:29 -05:00
Giacinto Cifelli 93caa4ceef include: move auth_method and proto enumerations
ofono_gprs_proto and ofono_gprs_auth_method, and related length consts,
moved to types.h from gprs-context.h,
so that they can be shared also with lte core functions
2018-10-09 15:06:36 -05:00
Giacinto Cifelli 6cf24fe1f9 gprs-context: added OFONO_GPRS_AUTH_METHOD_NONE
This method makes explicit the lack of authentication.

When selected, the username and password are ignored, but they are not
changed in the user-defined properties for the context.
This treatment is necessary to allow setting independently auth_method,
username and password.

This method is also selected implicitly when username is set to
an empty string. Also this selection is done without changing the
user-defined auth_method for the context, so that the behavior is
consistent.
2018-10-09 10:40:15 -05:00
Giacinto Cifelli 9dd545ad75 include: add ofono_lte_get_modem global function
this function can be used in the drivers to query the functions
ofono_modem_get_* to retrieve modem-specific properties
2018-09-24 15:50:57 -05:00
Slava Monich 94e3275d9c include: Add ofono_modem_get_voicecall 2018-07-02 10:34:25 -05:00
Slava Monich 7af423dbb7 include: Add OFONO_ERROR_TYPE_ERRNO 2018-06-28 11:35:10 -05:00
Slava Monich 1cff977b67 include: Add ofono_voicecall_get_modem 2018-06-25 10:26:20 -05:00
Slava Monich fa670ad295 include: Add ofono_modem_get_gprs 2018-04-27 11:13:19 -05:00
Denis Kenzior 0cbddaf98b include: Add missing vendor parameter to lte atom 2018-03-12 09:37:58 -05:00
Philippe De Swert db7d9bb9dd voicecall: Add support for dialing number at a given memory location
Add a new function to be able to dial numbers from memory/favourites.
2018-02-13 13:01:37 -06:00
Slava Monich 307ea2fd49 include: Add storage.h
To expose ofono directories to dynamically loadable plugins.
2017-11-27 09:59:21 -06:00
Denis Kenzior 3b7cbabd94 include: add ofono_gprs_context_set_ipv4_prefix_length
This is a short-hand version of using set_ipv4_netmask
2017-11-13 21:24:37 -06:00
James Prestwood 589babc272 simauth: remove driver API definitions from simauth include 2017-11-09 11:50:16 -06:00
Denis Kenzior c5d83c01a8 include: Introduce ofono_sim_initialized_notify 2017-11-08 21:02:22 -06:00
James Prestwood c77fb101f9 sim: logical access API
Moved logical access API from simauth to sim atom. This removes
the need for a simauth driver completely, as the rest of the
functionality was moved in previous commits.
2017-11-07 10:55:01 -06:00
James Prestwood 9cdce0abcc sim: header definitions for ISIM context API
This will allow an atom to create a SIM context to an ISIM
AID (if available). It is then possible to access EF's on the
ISIM using this SIM context.
2017-11-06 16:13:06 -06:00
James Prestwood 3cd91409ee include: Add sim ops for session based sim access
ISIM and newer AID's require opening a logical channel to read
their EF's. This requires new driver API's to discover AID's,
open/close a channel, and reading the EF's from an opened channel.

This functionality was moved from the simauth module.
2017-11-03 17:37:40 -05:00
Philippe De Swert 170bdc1abb include/voicecall : update ofono_voicecall_driver to support call last dialled number
Add new DBUS method to enable calling the last dialled number.
2017-11-03 13:13:28 -05:00
James Prestwood fd9b13ac42 sim-auth: prep simauth/dbus headers
Added new dbus interfaces for SimAuth module as well as
function prototype definitions to simauth header.

org.ofono.SimAuthentication:
   Interface to hold the auth object to type mapping property

org.ofono.USimApplication:
   Application with USim functionality (GSM/UMTS auth)

org.ofono.ISimApplication:
   Application with ISim functionality (IMS auth)
2017-10-11 14:17:03 -05:00
Ankit Navik 551e41b31a include: added IpMultimediaSystem interface 2017-10-05 11:38:17 -05:00
Slava Monich 6cd169b05b include: Add ofono_modem_get_sim 2017-10-05 11:22:49 -05:00
Denis Kenzior ab4a4c6604 include: add ofono_devinfo_get_modem 2017-10-05 11:08:38 -05:00
Nishanth V 80dec9b080 include: added NetworkMonitorAgent interface 2017-09-08 15:06:10 -05:00
Nishanth V 2390820d32 include: added enable_periodic_update in netmon driver
Defining new method in ofono_netmon_driver,
enable_periodic_update useful to get periodic update
on serving cell information.
2017-09-08 15:06:10 -05:00
Alexander Couzens 67b097124c include/gprs-context.h: declare struct ofono_modem
Fix a warning.
./include/gprs-context.h:99:61: error: ‘struct ofono_modem’ declared
inside parameter list will not be visible outside of this definition
or declaration...
2017-09-05 10:37:07 -05:00
Denis Kenzior eee0765c5d include: Add a quote from primary source document 2017-08-08 15:17:18 -05:00
Alexander Couzens e24ba33915 gprs-context: set apn length to 100 bytes
According to ETSI TS 123 003 version 9.15.0 Chapter 9.1
2017-08-08 15:15:26 -05:00
Alexander Couzens 41ad1c1da0 voicecall.h: declare struct ofono_modem
Fix a warning when only voicecall.h is included:
'struct ofono_modem declared' inside parameter list will not be visible
outside of this definition or declaration struct ofono_voicecall
*ofono_voicecall_create(struct ofono_modem *modem,...
2017-08-07 12:32:32 -05:00
Djalal Harouni bfd19af558 netmon: add NETMON_INFO_{EARFCN|EBAND|CQI}
Add the following types to use with ublox modems +UCGED command.

EARFCN: E-UTRA Absolute Radio Frequency Channel Number.
EBand: E-UTRA operating Band.
CQI: Channel Quality Indicator.
2016-12-13 11:03:47 -06:00
Djalal Harouni e75fca93d8 include: add NETMON_INFO_{RSCP|ECN0|RSRQ|RSRP}
Add more ofono netmon info types that will be served through the netmon
interface. The main user of this now will be the ublox modem.

RSCP: Received Signal Code Power
ECN0: Received Energy Ratio
RSRQ: Reference Signal Received Quality
RSRP: Reference Signal Received Power
2016-11-30 09:24:14 -06:00
Denis Kenzior cd0b9b9ef7 include: Fix return signature in lte methods
Only the probe method returns a value.  All other methods use a void
return signature and report errors via the callback.
2016-11-11 10:55:00 -06:00
Denis Kenzior 71a870cd98 include: Make lte method const correct 2016-11-11 10:34:33 -06:00
Dragos Tatulea ec7c109c9d include: add header file for lte atom 2016-11-11 10:14:09 -06:00
Dragos Tatulea a39bd6c47e include: add LTE dbus service define 2016-11-11 10:13:07 -06:00
Slava Monich 503775992d include: Remove unused field from primary_context 2016-10-10 17:09:32 -05:00
Denis Kenzior 6be11e19be include: Remove unused query_locked method 2016-04-27 11:14:35 -05:00
Samrat Guha Niyogi 0b35d7d8be include: Add query_facility_lock method 2016-04-27 10:38:47 -05:00
Samrat Guha Niyogi 47082976e9 include: Add support for IMEISV in devinfo 2016-03-31 10:16:23 -05:00
Denis Kenzior 34b54f6035 include: Fix whitespace issues 2016-03-31 09:46:54 -05:00
Nishanth V ef5acf0c8d include: Add netmon changes 2016-03-31 09:46:27 -05:00
Dragos Tatulea 36289ab10d gprs-context.h: add op for reading context config
This will be implemented by a gprs-context driver to support
automatic context activation. The gprs atom will call the driver
to read the ip configuration without activating the context.
2016-03-18 09:40:32 -05:00
Dragos Tatulea 573edbee58 gprs: automatic context configuration notifier
Useful for LTE automatic bearer activation.

This is called from the gprs driver to let the gprs atom know that
a new context has been activated.
2016-03-17 12:33:25 -05:00
Denis Kenzior 60ba474cdb netmon: Fix enumeration 2016-03-16 09:22:05 -05:00
Denis Kenzior c7d9ff7e63 include: Add netmon.h 2016-03-11 14:24:41 -06:00