Commit Graph

19 Commits

Author SHA1 Message Date
Alexander Couzens 5331da7fa8 qmimodem: implement voice calls
The voice_generated.* files is an RFC how files should look like.
They aren't yet generated.
2019-04-28 16:39:06 +02:00
Jonas Bonn 6485522c91 qmi: make version_list private 2018-04-04 09:59:44 -05:00
Alexander Couzens 5066a45762 qmimodem: add translator qmi_error_to_ofono_cme()
Translates qmi error codes into ofono cme errors
2017-12-05 22:06:44 -06:00
Alexander Couzens 78ab13470a qmi: implement the control sync command
The sync command resets the QMI interface state. It will flushs all
previous assigned sessions and transactions.
2017-12-05 22:04:15 -06:00
Jonas Bonn 76689b81d4 qmi: add helper to get int16_t result 2017-09-07 11:57:31 -05:00
Alexander Couzens b5cc57775f qmimodem: add debug helper qmi_result_print_tlvs
qmi_result_print_tlvs prints the type and length field
of a result to DBG()
2017-05-30 17:29:13 -05:00
Jonas Bonn 529afeb67f qmi: add service ID's 2017-04-03 09:23:53 -05:00
Christophe Ronco cf3835f0f3 qmimodem: change kernel driver data format if needed
During gprs-context driver probe function, check kernel device driver
data format and modem low level data format.
If they are different, align kernel device driver data format on
modem low level data format.
If an error occurs during this process, continue probing without error.
This is inspired by what is done in qmicli and qmi-network (package
libqmi).
2017-02-02 11:48:38 -06:00
Christophe Ronco 8dffd365a2 qmimodem: get/set kernel device driver data format
Add a way to get and set data format expected by kernel device driver.
This is inspired by what is done in qmicli (package libqmi).
It does not use QMI protocol but a sysfs exported by kernel driver.
To use this feature, kernel version must be equal or more than 4.5.
2017-02-02 11:41:27 -06:00
Marcel Holtmann 788922cbdf qmi: Include persistent device configuration service 2012-12-04 05:42:14 +01:00
Marcel Holtmann 7feb9e2711 qmimodem: Add helper for error message strings 2012-11-25 00:04:14 +01:00
Marcel Holtmann a41b7a246b qmimodem: Add support for canceling all service requests 2012-06-25 10:20:08 -07:00
Marcel Holtmann a19dc51227 qmimodem: Add support for shared services with same client id 2012-06-25 09:30:31 -07:00
Marcel Holtmann 8f2549416a qmimodem: Use unsigned int for tid to make GUINT_TO_POINTER happy 2012-06-25 01:23:14 -07:00
Marcel Holtmann b168c0f953 qmimodem: Add support for unregister of individual notifications 2012-06-24 23:31:49 -07:00
Marcel Holtmann 29067f75bc qmimodem: Add support for canceling service requests 2012-06-24 23:20:25 -07:00
Marcel Holtmann 1631d21e35 qmimodem: Return transaction identifier from service requests 2012-06-24 22:38:26 -07:00
Marcel Holtmann 74d208768a qmimodem: Add helper function for accessing 64-bit integers 2012-06-24 22:24:56 -07:00
Marcel Holtmann 0e6fc7aee4 qmimodem: Add support for QMI control point handling 2012-06-21 15:18:36 -07:00