[PATCH v4 0/6] mbim: Add support for MediaTek T700 5G
Muhammad Asif <[email protected]> Mon, 5 May 2025 00:19:25 +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.
Muhammad Asif (6):
plugins/udevng: Add support for PCIe MBIM modems * Parses through the
sysfs tree and detects MBIM control nodes, net and AT nodes
mbimmodem: add support for MBIM extensions * With MBIMEx 3.0,
arguments for activating GPRS changed. Update as needed.
mbim: fetch MBIM version on init
plugins/udevng: Add support for the MediaTek T700 5G modem * Found in
the Lenovo ThinkPad X1 Yoga Gen 8 as the Fibocom FM350-GL modem *
Works perfectly with ofono now
mbimmodem: sim: add support for querying IMSI with MBIMEx 3 This
commit adds the ability to query IMSI with newer modems that use the
MBIMEx 3 protocol.
mbimmodem: sim: add support for querying ICCID This implements the
required functions to query file info and read file info from the
modem. Currently the other file IDs haven't been implemented, but
they will be tackled later.
drivers/mbimmodem/gprs-context.c | 59 +++++++++++++++++++------
drivers/mbimmodem/mbim.c | 55 +++++++++++++++++++++++
drivers/mbimmodem/mbim.h | 7 +++
drivers/mbimmodem/sim.c | 75 +++++++++++++++++++++++++++++---
plugins/mbim.c | 2 +
plugins/udevng.c | 57 ++++++++++++++++++++++++
6 files changed, 235 insertions(+), 20 deletions(-)
--
2.49.0