lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon,  2 Aug 2021 09:51:01 +0200
From:   Loic Poulain <loic.poulain@...aro.org>
To:     unlisted-recipients:; (no To-header on input)
Cc:     netdev@...r.kernel.org, johannes@...solutions.net,
        richard.laing@...iedtelesis.co.nz,
        Loic Poulain <loic.poulain@...aro.org>
Subject: [PATCH net-next RESEND 0/2] net: mhi: move MBIM to WWAN

Implement a proper WWAN driver for MBIM network protocol, with multi link
management supported through the WWAN framework (wwan rtnetlink).

Until now, MBIM over MHI was supported directly in the mhi_net driver, via
some protocol rx/tx fixup callbacks, but with only one session supported
(no multilink muxing). We can then remove that part from mhi_net and restore
the driver to a simpler version for 'raw' ip transfer (or QMAP via rmnet link).

Note that a wwan0 link is created by default for session-id 0. Additional links
can be managed via ip tool:

    $ ip link add dev wwan0mms parentdev wwan0 type wwan linkid 1

Loic Poulain (2):
  net: wwan: Add MHI MBIM network driver
  net: mhi: Remove MBIM protocol

 drivers/net/Kconfig              |   4 +-
 drivers/net/Makefile             |   2 +-
 drivers/net/mhi/Makefile         |   3 -
 drivers/net/mhi/mhi.h            |  41 ---
 drivers/net/mhi/net.c            | 487 -----------------------------
 drivers/net/mhi/proto_mbim.c     | 310 -------------------
 drivers/net/mhi_net.c            | 418 +++++++++++++++++++++++++
 drivers/net/wwan/Kconfig         |  12 +
 drivers/net/wwan/Makefile        |   1 +
 drivers/net/wwan/mhi_wwan_mbim.c | 648 +++++++++++++++++++++++++++++++++++++++
 10 files changed, 1082 insertions(+), 844 deletions(-)
 delete mode 100644 drivers/net/mhi/Makefile
 delete mode 100644 drivers/net/mhi/mhi.h
 delete mode 100644 drivers/net/mhi/net.c
 delete mode 100644 drivers/net/mhi/proto_mbim.c
 create mode 100644 drivers/net/mhi_net.c
 create mode 100644 drivers/net/wwan/mhi_wwan_mbim.c

-- 
2.7.4

Powered by blists - more mailing lists