From: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
To: jimmie.lin@gmail.com, Manivannan Sadhasivam <mani@kernel.org>
Cc: mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org,
daleyo@gmail.com, Johan Hovold <johan@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] bus: mhi: host: pci_generic: Add MBIM-mode config for generic SDX65
Date: Mon, 30 Nov 2026 19:27:22 -0700 [thread overview]
Message-ID: <7a87f13c-784f-4850-8409-1c3bd6718d9d@oss.qualcomm.com> (raw)
In-Reply-To: <20261120-mhi-sdx65-mbim-rfc-v3-1-20741d24da0c@gmail.com>
On 11/20/2026 9:30 PM, Haipeng Lin via B4 Relay wrote:
> From: Haipeng Lin <jimmie.lin@gmail.com>
>
> The Surface Pro 11 5G carries an SDX65 that enumerates with Qualcomm's
> generic IDs (17cb:0308, subsystem 17cb:0308) but runs the MBIM-mode
> firmware it ships with for Windows.
>
> Control is MBIM only (the QMI channel never answers), and data on
> channels 100/101 is framed as MBIM NTBs: the modem reports a WDA data
> format of raw IP with MBIM aggregation, up to 32 KiB downlink.
>
> The generic qcom-sdx65m entry names channels 100/101 "IP_HW0", which
> binds mhi_net. mhi_net expects raw IP, so no data session can work.
> The MBIM-mode modules in this driver name them "IP_HW0_MBIM" instead
> which binds mhi_wwan_mbim.
>
> Boards with a Qualcomm-ID modem in MBIM mode have so far been told
> apart by subsystem ID, like the SC8280XP CRD's SDX55 (17cb:010c).
> This modem carries the generic subsystem ID, so select an MBIM
> configuration by machine compatible instead.
>
> There is no known way to query the modem for MIBM mode before the
> channels are set up. As a limitation, a separate SDX65 using generic
> IDs on a matching machine (e.g., via USB4 PCIe tunneling) would also
> get the MBIM config.
>
> Like the SC8280XP CRD entry, reuse the Foxconn SDX55 channel config
> which works with this firmware. The MRU is 32 KiB to match the
> modem's downlink aggregation size.
>
> Tested on a Surface Pro 11 5G (Surface_Pro_with_5G_11th_Edition_2077,
> modem firmware 251216-DE-dc49bb9-00197) on a v7.2.11-based kernel:
> ModemManager registers the modem on wwan0mbim0, uses wwan0 for data and
> wwan0at0 for AT commands, and connects over LTE and 5G NR.
>
> Signed-off-by: Haipeng Lin <jimmie.lin@gmail.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
prev parent reply other threads:[~2026-12-01 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 4:30 Haipeng Lin via B4 Relay
2026-12-01 2:27 ` Jeff Hugo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a87f13c-784f-4850-8409-1c3bd6718d9d@oss.qualcomm.com \
--to=jeff.hugo@oss.qualcomm.com \
--cc=daleyo@gmail.com \
--cc=jimmie.lin@gmail.com \
--cc=johan@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=mhi@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®