All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] Improve wwan qcdm compatibility with user-space tools
@ 2026-07-22  9:04 Daniele Palmas
  2026-07-22  9:04 ` [PATCH net-next v2 1/2] net: wwan: add minimalistic IOCTls support also to QCDM port Daniele Palmas
  2026-07-22  9:04 ` [PATCH net-next v2 2/2] net: wwan: add exclusive open mode capability to AT and QCDM ports Daniele Palmas
  0 siblings, 2 replies; 5+ messages in thread
From: Daniele Palmas @ 2026-07-22  9:04 UTC (permalink / raw)
  To: Loic Poulain, Sergey Ryazanov, Johannes Berg, Andrew Lunn,
	David Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, Daniele Palmas

Historically, Qualcomm diagnostic port was a serial device, so user-space
tools were developed using tty specific features. One of the most common
tool is, for example, ModemManager libqcdm, available at
https://gitlab.freedesktop.org/mobile-broadband/ModemManager
which requires tcgetattr/tcsetattr and the possibility to get exclusive
device access to properly work.

The wwan qcdm is not really a tty device, but, besides the lack of tty
functions, it behaves as a standard serial Qualcomm diagnostic port, so,
as c230035c2f2f ("net: wwan: core: implement terminal ioctls for AT port"),
this series add support for terminal ioctls also for qcdm ports and
implement the exclusive open mode feature to improve compatibility with
user-space tools.

This is an incremental change which should not affect the existing tools
using wwan which do not rely on the implemented features.

V2: fixed race condition highlighted by Sashiko at
https://sashiko.dev/#/patchset/20260717081935.2071083-1-dnlplm%40gmail.com

Daniele Palmas (2):
  net: wwan: add minimalistic IOCTls support also to QCDM port
  net: wwan: add exclusive open mode capability to AT and QCDM ports

 drivers/net/wwan/wwan_core.c | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-22  9:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22  9:04 [PATCH net-next v2 0/2] Improve wwan qcdm compatibility with user-space tools Daniele Palmas
2026-07-22  9:04 ` [PATCH net-next v2 1/2] net: wwan: add minimalistic IOCTls support also to QCDM port Daniele Palmas
2026-07-22  9:50   ` Loic Poulain
2026-07-22  9:04 ` [PATCH net-next v2 2/2] net: wwan: add exclusive open mode capability to AT and QCDM ports Daniele Palmas
2026-07-22  9:41   ` Loic Poulain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.