Search Linux Wireless

Re: [PATCH net-next v7 00/14] net: wwan: t7xx: PCIe driver for MediaTek M.2 modem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/6/2022 6:43 AM, Sergey Ryazanov wrote:
Hello Ricardo,

On Fri, May 6, 2022 at 4:16 AM Ricardo Martinez
<ricardo.martinez@xxxxxxxxxxxxxxx> wrote:
t7xx is the PCIe host device driver for Intel 5G 5000 M.2 solution which
is based on MediaTek's T700 modem to provide WWAN connectivity.
The driver uses the WWAN framework infrastructure to create the following
control ports and network interfaces:
* /dev/wwan0mbim0 - Interface conforming to the MBIM protocol.
   Applications like libmbim [1] or Modem Manager [2] from v1.16 onwards
   with [3][4] can use it to enable data communication towards WWAN.
* /dev/wwan0at0 - Interface that supports AT commands.
* wwan0 - Primary network interface for IP traffic.

The main blocks in t7xx driver are:
* PCIe layer - Implements probe, removal, and power management callbacks.
* Port-proxy - Provides a common interface to interact with different types
   of ports such as WWAN ports.
* Modem control & status monitor - Implements the entry point for modem
   initialization, reset and exit, as well as exception handling.
* CLDMA (Control Layer DMA) - Manages the HW used by the port layer to send
   control messages to the modem using MediaTek's CCCI (Cross-Core
   Communication Interface) protocol.
* DPMAIF (Data Plane Modem AP Interface) - Controls the HW that provides
   uplink and downlink queues for the data path. The data exchange takes
   place using circular buffers to share data buffer addresses and metadata
   to describe the packets.
* MHCCIF (Modem Host Cross-Core Interface) - Provides interrupt channels
   for bidirectional event notification such as handshake, exception, PM and
   port enumeration.

The compilation of the t7xx driver is enabled by the CONFIG_MTK_T7XX config
option which depends on CONFIG_WWAN.
This driver was originally developed by MediaTek. Intel adapted t7xx to
the WWAN framework, optimized and refactored the driver source code in close
collaboration with MediaTek. This will enable getting the t7xx driver on the
Approved Vendor List for interested OEM's and ODM's productization plans
with Intel 5G 5000 M.2 solution.

List of contributors:
Amir Hanania <amir.hanania@xxxxxxxxx>
Andriy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Chandrashekar Devegowda <chandrashekar.devegowda@xxxxxxxxx>
Dinesh Sharma <dinesh.sharma@xxxxxxxxx>
Eliot Lee <eliot.lee@xxxxxxxxx>
Haijun Liu <haijun.liu@xxxxxxxxxxxx>
M Chetan Kumar <m.chetan.kumar@xxxxxxxxx>
Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Moises Veleta <moises.veleta@xxxxxxxxx>
Pierre-louis Bossart <pierre-louis.bossart@xxxxxxxxx>
Chiranjeevi Rapolu <chiranjeevi.rapolu@xxxxxxxxx>
Ricardo Martinez <ricardo.martinez@xxxxxxxxxxxxxxx>
Madhusmita Sahu <madhusmita.sahu@xxxxxxxxx>
Muralidharan Sethuraman <muralidharan.sethuraman@xxxxxxxxx>
Soumya Prakash Mishra <Soumya.Prakash.Mishra@xxxxxxxxx>
Sreehari Kancharla <sreehari.kancharla@xxxxxxxxx>
Suresh Nagaraj <suresh.nagaraj@xxxxxxxxx>

[1] https://www.freedesktop.org/software/libmbim/
[2] https://www.freedesktop.org/software/ModemManager/
[3] https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/582
[4] https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/523
Now the driver looks really nice. Good job!

Thanks Sergey.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux