Commit Graph

8414 Commits

Author SHA1 Message Date
Aleksander Morgado
c9bcaa3312 broadband-modem-mbim: translate UNSUPPORTED error during packet attach
So that the upper layers are allowed to decide what to do in case the
modem doesn't support the operation.
2022-11-08 14:25:32 +00:00
Aleksander Morgado
9f330da90b broadband-modem-mbim: return nw_error on packet service attach failure
If the packet attach operation fails we may still get the response
with a nw_error field telling us a more detailed error reason for the
failure. Try to parse the message and return an error including the
nw_error information.
2022-11-08 14:25:32 +00:00
Aleksander Morgado
d28d00f04f broadband-modem-mbim: increase to 30s the packet service set timeout
Same timeout as used in the connection attempt.
2022-11-08 14:25:32 +00:00
Aleksander Morgado
179a800ab6 iface-modem-simple: explicitly request packet service attach if needed
Instead of just waiting for the packet service to be attached, if we
waited and still didn't get it, an explicit request will be sent.
2022-11-08 14:25:32 +00:00
Aleksander Morgado
cabb003dd6 iface-modem-3gpp: allow internal request to set packet service
Provide a new internal method in the 3GPP interface to request an
explicit packet service state update.
2022-11-08 13:43:07 +00:00
Jack Song
347c25445c mm-broadband-modem-mbim: ignore SIM related indications during SIM slot switch
Using pending_sim_slot_switch_action to ignore SIM slot update during modem shutdown

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/645
2022-11-08 13:09:01 +00:00
Aleksander Morgado
1be8c2ed3d TODO: remove obsolete file, we keep pending tasks in gitlab 2022-11-07 14:26:10 +00:00
Aleksander Morgado
f419f56628 build: drop autotools 2022-11-07 14:26:02 +00:00
Aleksander Morgado
3c430ce292 ci: completely switch to meson 2022-11-07 14:25:34 +00:00
Aleksander Morgado
8142d7bc53 build: intel plugin depends on the XMM shared utils 2022-11-07 14:25:34 +00:00
Aleksander Morgado
634f6cbcbc build: disable Test interface in base manager if building without tests
There is no real need for this interface if tests are not being built.
2022-11-07 14:25:34 +00:00
Aleksander Morgado
7ea2452b1e build: fix building without tests support 2022-11-07 14:25:34 +00:00
Aleksander Morgado
30d77d378a build: fix building without MBIM support
The foxconn shared utils are only built when MBIM is enabled, and
therefore the dell and foxconn plugins should only expect those shared
utils to be present if MBIM is enabled. The foxconn plugin will be
fully disabled when MBIM is disabled.

The fibocom shared utils are only built when MBIM is enabled, and
therefore the fibocom plugin should not expect them built
unconditionally, they will only be present if MBIM is enabled
2022-11-07 14:25:34 +00:00
Aleksander Morgado
fb13be6e0e base-modem: log port names and types detected 2022-11-04 13:12:58 +00:00
Aleksander Morgado
815e7f7c7e bearer-qmi: improve logging of connection failures
Clearly specify whether the IPv4 or IPv6 path is failing.
2022-11-04 13:12:58 +00:00
Aleksander Morgado
cd5c5d8374 iface-modem-3gpp: decrease severity of logs that don't affect functionality
Instead of warning about various unimportant things failing that don't
affect functionality, just print the logs in debug level and go on.
2022-11-04 13:12:58 +00:00
Aleksander Morgado
fa0cfd4c4d base-sim: include GID1/GID2 loaded values in info level 2022-11-04 13:12:58 +00:00
Aleksander Morgado
ceee8938e8 base-sim: decrease severity of logs that don't affect functionality
Instead of warning about various unimportant things failing that don't
affect functionality, just print the logs in debug level and go on.

E.g. this warning can be completely skipped:
 <wrn> [modem0/sim0] couldn't load GID2: Couldn't read data from UIM: QMI protocol error (16): 'NotProvisioned'
2022-11-04 13:12:58 +00:00
Aleksander Morgado
a872541259 iface-modem: decrease severity of logs that don't affect functionality
Instead of warning about various unimportant things failing that don't
affect functionality, just print the logs in debug level and go on.

E.g. this warning can be completely skipped:
 <wrn> [modem0] couldn't load list of own numbers: Couldn't get MSISDN: QMI protocol error (16): 'NotProvisioned'
2022-11-04 13:12:58 +00:00
Aleksander Morgado
c7fcc2dc2f broadband-modem: improve logging during SIM swap check
Log the contents loaded during the operation and treat them as
personal info so that they are hidden if needed.
2022-11-04 13:12:58 +00:00
Aleksander Morgado
20390488dd base-sim: improve logging during initialization
We will print all the loaded SIM contents, treating as personal info
the SIM ICCID, IMSI and EID.
2022-11-04 13:12:57 +00:00
Pavan Holla
1533112182 iface-modem-signal: print signal quality under INFO verbosity 2022-11-04 13:12:57 +00:00
Aleksander Morgado
ec5eb6c3ac iface-modem-simple: improve logging of user request to disconnect modem 2022-11-04 13:12:57 +00:00
Aleksander Morgado
794386d490 iface-modem-simple: improve logging of user request to connect modem 2022-11-04 13:12:57 +00:00
Aleksander Morgado
b5a727d086 iface-modem-sar: improve logging of user-requested actions 2022-11-04 13:12:57 +00:00
Aleksander Morgado
9d8e92b965 iface-modem-3gpp-profile-manager: improve logging of user request to delete profile 2022-11-04 13:12:57 +00:00
Aleksander Morgado
f75be75e5c iface-modem-3gpp-profile-manager: improve logging of user request to set profile 2022-11-04 13:12:57 +00:00
Aleksander Morgado
4534d6bb8d iface-modem-3gpp-profile-manager: improve logging of user request to list profiles 2022-11-04 13:12:57 +00:00
Aleksander Morgado
3bf15120f4 iface-modem-3gpp: improve logging of user request to disable facility locks 2022-11-04 13:12:57 +00:00
Aleksander Morgado
58f4eefea1 iface-modem-3gpp: improve logging of user request to set packet service state 2022-11-04 13:12:57 +00:00
Aleksander Morgado
e0c251fe68 iface-modem-3gpp: improve logging of user request to scan networks 2022-11-04 13:12:57 +00:00
Aleksander Morgado
856f6a8db8 iface-modem-3gpp: improve logging of user request to set EPS UE mode of operation 2022-11-04 13:12:57 +00:00
Aleksander Morgado
406338dcfe iface-modem-3gpp: improve logging of user request to set 5GNR registration settings 2022-11-04 13:12:57 +00:00
Aleksander Morgado
2571ab0146 iface-modem-3gpp: improve logging of user request to set initial EPS bearer settings 2022-11-04 13:12:57 +00:00
Aleksander Morgado
11d881c0a4 iface-modem-3gpp: improve logging of user request to register in network 2022-11-04 13:12:57 +00:00
Aleksander Morgado
c0f8d21188 iface-modem-3gpp: log registration check results in INFO level 2022-11-04 13:12:57 +00:00
Aleksander Morgado
5c604d9d35 iface-modem: improve logging of user request to set current modes 2022-11-04 13:12:57 +00:00
Aleksander Morgado
d4c0af9128 iface-modem: improve logging of user request to set current bands 2022-11-04 13:12:57 +00:00
Aleksander Morgado
21d60de42f iface-modem: improve logging of user request to factory reset modem 2022-11-04 13:12:57 +00:00
Aleksander Morgado
b82c89f45c iface-modem: improve logging of user request to reset modem 2022-11-04 13:12:57 +00:00
Aleksander Morgado
03528fbff7 iface-modem: improve logging of user request to set power state 2022-11-04 13:12:57 +00:00
Aleksander Morgado
a86fb711b3 iface-modem: improve logging of user request to enable/disable modem 2022-11-04 13:12:57 +00:00
Aleksander Morgado
9fe16af157 iface-modem: improve logging of user request to get cell info 2022-11-04 13:12:57 +00:00
Aleksander Morgado
73696cab1a iface-modem: improve logging of user request to set primary SIM slot 2022-11-04 13:12:57 +00:00
Aleksander Morgado
4fa773d234 iface-modem: improve logging of user request to delete bearer 2022-11-04 13:12:57 +00:00
Aleksander Morgado
aed53fe30a iface-modem: improve logging of user request to run AT command 2022-11-04 13:12:57 +00:00
Aleksander Morgado
ac28a6a1c0 iface-modem: improve logging of user request to set current capabilities 2022-11-04 13:12:57 +00:00
Aleksander Morgado
9840818766 iface-modem: improve logging of user request to create bearer 2022-11-04 13:12:56 +00:00
Aleksander Morgado
f98bcd5f58 iface-modem: refactor user request to list bearers 2022-11-04 13:12:56 +00:00
Aleksander Morgado
f1fa2eb81e iface-modem: improve logging in INFO level 2022-11-04 13:12:56 +00:00