]> git.baikalelectronics.ru Git - kernel.git/commit
net: mhi: Add protocol support
authorLoic Poulain <loic.poulain@linaro.org>
Tue, 9 Feb 2021 09:05:54 +0000 (10:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Feb 2021 23:11:50 +0000 (15:11 -0800)
commitca0a8234e35b8afbed3ed99916aaddc5bf3f4f55
tree3833ad7244ad789588d435636ebfa595f313984c
parent3ea9a4374dc4d3cf88ed594b3746d385397e7901
net: mhi: Add protocol support

MHI can transport different protocols, some are handled at upper level,
like IP and QMAP(rmnet/netlink), but others will need to be inside MHI
net driver, like mbim. This change adds support for protocol rx and
tx_fixup callbacks registration, that can be used to encode/decode the
targeted protocol.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mhi_net.c