netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] net: wwan: add NMEA port type support
@ 2025-04-08 23:31 Sergey Ryazanov
  2025-04-08 23:31 ` [RFC PATCH 1/6] net: wwan: core: remove unused port_id field Sergey Ryazanov
                   ` (5 more replies)
  0 siblings, 6 replies; 31+ messages in thread
From: Sergey Ryazanov @ 2025-04-08 23:31 UTC (permalink / raw)
  To: Loic Poulain, Johannes Berg
  Cc: Andrew Lunn, Eric Dumazet, David S . Miller, Jakub Kicinski,
	Paolo Abeni, netdev, Slark Xiao, Muhammad Nuzaihan, Qiang Yu,
	Manivannan Sadhasivam, Johan Hovold

The series introduces a long discussed NMEA port type support for the
WWAN subsystem. There are two goals. From the WWAN driver perspective,
NMEA exported as any other port type (e.g. AT, MBIM, QMI, etc.). From
user space software perspective, the exported chardev belongs to the
GNSS class what makes it easy to distinguish desired port and the WWAN
device common to both NMEA and control (AT, MBIM, etc.) ports makes it
easy to locate a control port for the GNSS receiver activation.

Done by exporting the NMEA port via the GNSS subsystem with the WWAN
core acting as proxy between the WWAN modem driver and the GNSS
subsystem.

The series starts from a cleanup patch. Then two patches prepares the
WWAN core for the proxy style operation. Followed by a patch introding a
new WWNA port type, integration with the GNSS subsystem and demux. The
series ends with a couple of patches that introduce emulated EMEA port
to the WWAN HW simulator.

The series is the product of the discussion with Loic about the pros and
cons of possible models and implementation. Also Muhammad and Slark did
a great job defining the problem, sharing the code and pushing me to
finish the implementation. Many thanks.

Comments are welcomed.

CC: Slark Xiao <slark_xiao@163.com>
CC: Muhammad Nuzaihan <zaihan@unrealasia.net>
CC: Qiang Yu <quic_qianyu@quicinc.com>
CC: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
CC: Johan Hovold <johan@kernel.org>

Sergey Ryazanov (6):
  net: wwan: core: remove unused port_id field
  net: wwan: core: split port creation and registration
  net: wwan: core: split port unregister and stop
  net: wwan: add NMEA port support
  net: wwan: hwsim: refactor to support more port types
  net: wwan: hwsim: support NMEA port emulation

 drivers/net/wwan/Kconfig      |   1 +
 drivers/net/wwan/wwan_core.c  | 260 ++++++++++++++++++++++++++++------
 drivers/net/wwan/wwan_hwsim.c | 201 +++++++++++++++++++++-----
 include/linux/wwan.h          |   2 +
 4 files changed, 389 insertions(+), 75 deletions(-)

-- 
2.45.3


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2025-06-23 20:33 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 23:31 [RFC PATCH 0/6] net: wwan: add NMEA port type support Sergey Ryazanov
2025-04-08 23:31 ` [RFC PATCH 1/6] net: wwan: core: remove unused port_id field Sergey Ryazanov
2025-04-14 18:38   ` Loic Poulain
2025-04-08 23:31 ` [RFC PATCH 2/6] net: wwan: core: split port creation and registration Sergey Ryazanov
2025-04-14 18:50   ` Loic Poulain
2025-04-14 21:29     ` Sergey Ryazanov
2025-04-17 20:35       ` Loic Poulain
2025-04-18 23:04         ` Sergey Ryazanov
2025-04-19 11:44           ` Loic Poulain
2025-04-19 16:51             ` Sergey Ryazanov
2025-04-08 23:31 ` [RFC PATCH 3/6] net: wwan: core: split port unregister and stop Sergey Ryazanov
2025-04-14 18:54   ` Loic Poulain
2025-04-14 21:34     ` Sergey Ryazanov
2025-04-16 20:21       ` Loic Poulain
2025-04-08 23:31 ` [RFC PATCH 4/6] net: wwan: add NMEA port support Sergey Ryazanov
2025-04-09  3:54   ` Slark Xiao
2025-04-09  8:30     ` Slark Xiao
2025-04-09 10:42       ` Sergey Ryazanov
2025-04-28  8:27         ` Slark Xiao
2025-04-28 13:23           ` [RFC " Muhammad Nuzaihan Kamal Luddin
2025-04-29  6:34             ` Slark Xiao
2025-06-13  9:23               ` Slark Xiao
2025-06-23 20:33                 ` Sergey Ryazanov
2025-04-09 20:18     ` Sergey Ryazanov
2025-04-16 20:04   ` Loic Poulain
2025-04-18 23:20     ` Sergey Ryazanov
2025-04-17 20:41   ` Loic Poulain
2025-04-18 23:07     ` Sergey Ryazanov
2025-04-08 23:31 ` [RFC PATCH 5/6] net: wwan: hwsim: refactor to support more port types Sergey Ryazanov
2025-04-14 18:56   ` Loic Poulain
2025-04-08 23:31 ` [RFC PATCH 6/6] net: wwan: hwsim: support NMEA port emulation Sergey Ryazanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).