Thread (7 messages) flat view 7 messages, 2 authors, 2021-02-08

Re: [PATCH net-next v4 5/5] net: mhi: Add mbim proto

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-02-08 21:14:04

On Mon,  8 Feb 2021 09:00:37 +0100 Loic Poulain wrote:
MBIM has initially been specified by USB-IF for transporting data (IP)
between a modem and a host over USB. However some modern modems also
support MBIM over PCIe (via MHI). In the same way as QMAP(rmnet), it
allows to aggregate IP packets and to perform context multiplexing.

This change adds minimal MBIM data transport support to MHI, allowing
to support MBIM only modems. MBIM being based on USB NCM, it reuses
and copy some helpers/functions from the USB stack (cdc-ncm, cdc-mbim).

Note that is a subset of the CDC-MBIM specification, supporting only
transport of network data (IP), there is no support for DSS. Moreover
the multi-session (for multi-pdn) is not supported in this initial
version, but will be added latter, and aligned with the cdc-mbim
solution (VLAN tags).

This code has been inspired from the mhi_mbim downstream implementation
(Carl Yin [off-list ref]).

Signed-off-by: Loic Poulain <redacted>
Sparse says:

drivers/net/mhi/proto_mbim.c:159:41: warning: restricted __le32 degrades to integer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help