[PATCH v8 0/8] mbim: Add support for MediaTek T700 5G
Muhammad Asif <[email protected]> Sat, 13 Dec 2025 02:02:41 +0500
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
This modem is a PCIe MBIM modem, found in a lot of modern laptops,
like the Lenovo ThinkPad X1. Unfortunately, oFono does not support
PCIe MBIM modems out of the box, so this patch adds support for them,
as well as MBIM extensions which are needed for newer modems.
Changes from v7:
- Applied changes from Andres Salomon
- Improved the SIM path resolution
- Unified the core logic between mbim_register_{auto,manual}
- Fixed some leaking variables in the MBIM code
- Removed a pointless patch
- Improved comments for the code responsible for resolving the PCI MBIM mod=
em
Muhammad Asif (8):
sim: add ofono_sim_get_modem method
plugins/udevng: Add support for PCIe MBIM modems
mbimmodem: add support for MBIM extensions
plugins/udevng: Add support for the MediaTek T700 5G modem
mbim-message: Add support for parsing both UTF8/16 strings
mbim: Add support for nested fixed arrays in arrays/structs
mbim: Add support for SIM I/O operations
mbim/network-registration: add support for manual registration
drivers/mbimmodem/gprs-context.c | 64 ++++--
drivers/mbimmodem/gprs.c | 2 +-
drivers/mbimmodem/mbim-message.c | 51 +++--
drivers/mbimmodem/mbim.c | 18 ++
drivers/mbimmodem/mbim.h | 37 ++++
drivers/mbimmodem/network-registration.c | 108 +++++++++-
drivers/mbimmodem/sim.c | 248 ++++++++++++++++++++++-
drivers/mbimmodem/sms.c | 5 +-
drivers/mbimmodem/util.c | 50 +++++
drivers/mbimmodem/util.h | 2 +
include/sim.h | 2 +
plugins/mbim.c | 36 ++++
plugins/udevng.c | 112 +++++++++-
src/sim.c | 5 +
14 files changed, 692 insertions(+), 48 deletions(-)
--=20
2.52.0