29 Commits
Author SHA1 Message Date
Andrew Lassalle 549e2f5118 iface-modem-3gpp: don't compare profile-name on attach APNs
When a request to set a new eps bearer settings is received, ignore the
profile-name when comparing the previous configuration with the new one,
since the modem's profile might already have a name that won't match the
settings provided by the user. Profile names are used in QMI modems.
If the profile name does not match the existing one, the modem will
detach and reattach to the network.
2023-04-19 19:10:12 +00:00
Andrew Lassalle 3745ce8b1f Revert "plugins,fibocom: Add udev filter for pci wwan"
This reverts commit 115a5d876e.
2022-05-09 14:24:09 -07:00
Andrew Lassalle 115a5d876e plugins,fibocom: Add udev filter for pci wwan
Add a udev filter to identify pci wwan ports from fibocom modems.
2022-05-05 09:35:36 -07:00
Andrew Lassalle 0fbab3c8dc broadband-modem-mbim: Set InitialEPSBearer's authentication to CHAP when is UNKNOWN
This is the same behavior that is used when creating the bearer in
mm-bearer-mbim.
2022-03-29 16:01:30 +00:00
Andrew Lassalle 9793378870 bearer-properties: Match UNKNOWN auth to CHAP for loose comparison
MBIM and QMI fallback to CHAP when a username or password is present
but no authentication type was provided. Consider CHAP==UNKNOWN when
using loose comparison.
2022-03-29 16:01:30 +00:00
Andrew Lassalle c355210f5d bearer-properties: Add profile-name to the bearer properties 2021-10-17 17:56:44 +02:00
Andrew Lassalle b2a7591bcf broadband-modem-qmi: Add the profile name to profiles 2021-10-17 17:56:44 +02:00
Andrew Lassalle 8ecf7fc83e 3gpp-profile: Add profile name
QMI modems also report a profile name, and that value can be used to
select and update a specific profile.
2021-10-17 17:56:44 +02:00
Andrew Lassalle 43e76bf1bb iface-modem: Allow SetPowerState(Low|On) on failed state
In some modems, the modem's radio can be ON when no SIM card is present.
In this case, the modem is in failed state, and the host cannot set the
power state to LOW. Since we we will allow the host to set the power to
LOW, we should allow it to set it back to ON.
2021-10-11 10:18:47 -07:00
Andrew Lassalle 5af93dbfee broadband-modem-mbim: Fix password on initial EPS bearer settings
Currently, we are sending the username twice instead of username and
password. Fix the password value.
2021-08-27 09:42:15 -07:00
Andrew Lassalle b0f40cf966 port-qmi: Increase the reference counter of the QrtrNode
Currently, we are not increasing the reference counter of the QrtrNode
when creating a PortQmi for a QRTR port, and we are clearing the object
when disposing the port.
2021-06-22 14:56:42 -07:00
Andrew Lassalle 7711e84af9 iface-modem-3gpp: Add verbose logging for initial eps bearer
Print a debug message when the user provides initial eps bearer settings
that match the ones being used. This will save time to whomever is
experimenting with initial eps bearer settings.
2021-05-15 06:14:58 -07:00
Andrew Lassalle 27c43075f9 bearer-mbim: Fix double free in ip_configuration_query_ready 2021-05-04 13:45:51 -07:00
Andrew Lassalle c2114e50d5 plugin: probe QRTR ports for QMI support 2021-04-14 11:27:27 +02:00
Andrew Lassalle f82f50fb13 base-modem: create modem for QRTR subsystem
Add support for QRTR devices so modems can be created based on ports
using the QRTR subsystem.
2021-04-14 11:27:27 +02:00
Andrew Lassalle 5f1bac5cf8 port-probe: create port-qmi using a QRTR node
For QRTR devices, create the qmi ports using the QRTR node.
2021-04-14 11:27:27 +02:00
Andrew Lassalle ec375bd959 port-qmi: add support for QRTR
Extend mm-port-qmi to accept a QRTR node to work with modems using the
QRTR protocol.
2021-04-14 11:27:27 +02:00
Andrew Lassalle 2b126725bf qrtr-bus-watcher: add a class to watch for QRTR nodes
Add a watcher to listen for QRTR add/remove signals.
2021-04-14 11:27:27 +02:00
Andrew Lassalle daf27a9933 kernel-device,qrtr: add MMKernelDeviceQrtr skeleton
Add the skeleton of MMKernelDeviceQrtr and allow building it by the
introduction of with-qrtr.
2021-04-14 11:27:27 +02:00
Andrew Lassalle 5a9460b355 log: enable QRTR logging
Add the 'Qrtr' domain so logging from libqrtr is enabled.
2021-04-14 11:27:27 +02:00
Andrew Lassalle e24346128d filter: add filter for QRTR devices
Add support for devices using the subsystem "qrtr".
2021-04-14 11:27:27 +02:00
Andrew Lassalle dbb3825984 kernel-device-helpers: Remove unused variable 2021-03-18 17:10:54 -07:00
Andrew Lassalle 71bad1d862 sim: Fix wrong return type
The function should return a boolean, so using g_return_if_fail is not
correct.
2021-03-09 15:38:16 -08:00
Andrew Lassalle e732a9afcc broadband-modem-qmi: remove unused variables 2021-02-03 09:31:28 -08:00
Andrew Lassalle 52b44aeb49 cinterion: remove unused variables 2021-02-03 09:31:28 -08:00
Andrew Lassalle 8ccd63ef64 test-sms-part-cdma: fix memory leak 2021-01-08 10:51:04 -08:00
Andrew Lassalle 9533ee2f22 mm-plugin-manager: Fix typos
Change-Id: I662061384cf48abd0975e15a91b090aa6b33ac34
2020-11-15 06:49:42 -08:00
Andrew Lassalle d7288861a5 mm-kernel-device: Fix cmp to exclude subtypes
If multiple kernel device types inherit from MMKernerDevice, and those
are compared against each other, the current logic returns TRUE if the
G_OBJECT_TYPE of one of them is smaller than the other. This function is
checking for equality, so returning FALSE is enough.
2020-11-05 09:07:55 +00:00
Andrew Lassalle ff7c0794f4 mm-broadband-modem: Allow hot SIM insertion
If the QMI modem is initialized without a SIM card in it, and it goes
to failed state, allow the modem to be reprobed when a SIM card is
inserted.
2020-10-30 12:44:20 -07:00