[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210608040241.10658-1-ryazanov.s.a@gmail.com>
Date: Tue, 8 Jun 2021 07:02:31 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Loic Poulain <loic.poulain@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: [PATCH 00/10] net: WWAN subsystem improvements
While working on WWAN netdev creation support, I notice a few things
that could be done to make the wwan subsystem more developer and user
friendly. This series implements them.
The series begins with a WWAN HW simulator designed simplify testing
and make the WWAN subsystem available for a wider audience. The next two
patches are intended to make the code a bit more clearer. This is
followed by a few patches to make the port device naming more
user-friendly. The series is finishes with a set of changes that allow
the WWAN AT port to be used with terminal emulation software.
All changes were tested with the HW simulator that was introduced in
this series, as well as with a Huawei E3372 LTE modem (a CDC-NCM
device), which I finally found on my desk.
Sergey Ryazanov (10):
wwan_hwsim: WWAN device simulator
wwan_hwsim: add debugfs management interface
net: wwan: make WWAN_PORT_MAX meaning less surprised
net: wwan: core: init port type string array using enum values
net: wwan: core: spell port device name in lowercase
net: wwan: core: make port names more user-friendly
net: wwan: core: expand ports number limit
net: wwan: core: implement TIOCINQ ioctl
net: wwan: core: implement terminal ioctls for AT port
net: wwan: core: purge rx queue on port close
drivers/net/wwan/Kconfig | 10 +
drivers/net/wwan/Makefile | 2 +
drivers/net/wwan/wwan_core.c | 238 ++++++++++++++--
drivers/net/wwan/wwan_hwsim.c | 500 ++++++++++++++++++++++++++++++++++
include/linux/wwan.h | 12 +-
5 files changed, 738 insertions(+), 24 deletions(-)
create mode 100644 drivers/net/wwan/wwan_hwsim.c
--
2.26.3
Powered by blists - more mailing lists