summaryrefslogtreecommitdiff
path: root/src/plugins/telit
Commit message (Collapse)AuthorAgeFilesLines
* port-serial-at: make mm_port_serial_at_command_finish() transfer ownershipLubomir Rintel2023-04-111-1/+1
| | | | | | | | | This will make it slightly easier to port mm_port_serial_at_command() to use GTask, since we won't have to keep a pointer to the result in GTask after _finish() has been called. In most cases the caller needs the value anyway, so this doesn't add too much hasle.
* telit: ignore composition 0x1075Daniele Palmas2023-03-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Telit FN990 is integrated through PCIe, but also USB lines are available, ModemManager will consider the port on the USB composition as a different modem: oem@sw-test:~$ mmcli -L /org/freedesktop/ModemManager1/Modem/1 [telit] FN990A40 /org/freedesktop/ModemManager1/Modem/0 [Telit] FN990A40 oem@sw-test:~$ mmcli -m 0 <snip> | equipment id: 359172390022295 -------------------------------- System | device: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5 | drivers: option | plugin: telit | primary port: ttyUSB0 | ports: ttyUSB0 (at) oem@sw-test:~$ mmcli -m 1 <snip> | equipment id: 359172390022295 ----------------------------------- System | device: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 | drivers: mhi-pci-generic | plugin: telit | primary port: wwan0mbim0 | ports: wwan0 (net), wwan0at0 (at), wwan0at1 (at), | wwan0mbim0 (mbim), wwan0nmea0 (ignored), wwan0qcdm0 (ignored) Ignore composition 0x1075, since it should not be used by ModemManager and can only show when PCIe is used.
* telit: fallback to AT commands in case of MBIM loading revision failureDaniele Palmas2023-01-302-2/+27
| | | | | | Some firmware versions return an empty string for the revision when using the device caps MBIM request, so use AT commands as a fallback in case this happens.
* telit: increase initial delay for AT portsDaniele Palmas2023-01-301-2/+2
| | | | | FN990 requires more time for the AT ports to become responsive, so increase the initial delay up to 40 seconds.
* telit: add port type hints for FN990 0x1070, 0x1071 compositionsDaniele Palmas2023-01-301-0/+18
|
* telit: add shared support for 5G modesDaniele Palmas2023-01-302-1/+39
|
* plugins: setup new helper macros to define shared utilsAleksander Morgado2023-01-031-4/+2
|
* plugins: setup new helper macros to define pluginsAleksander Morgado2023-01-032-49/+5
| | | | | We also remove the plugin headers completely as they are not really required anywhere.
* build: move plugins directory to src/pluginsAleksander Morgado2023-01-0315-0/+5310
We are going to allow including the plugin sources built within the ModemManager daemon binary; moving the sources within the daemon sources directory makes it easier.