]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: wwan: hwsim: refactor to support more port types
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Mon, 26 Jan 2026 06:21:56 +0000 (14:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Jan 2026 02:26:59 +0000 (18:26 -0800)
commitf5b8065e1f1be0e630a009f4c183805683c8fe88
tree0503d4b524d862106a6528ac4dd72bf59bfc21d2
parent5b2e294e0cd1380886db700b5b2907a68adab5c7
net: wwan: hwsim: refactor to support more port types

Just introduced WWAN NMEA port type needs a testing option. The WWAN HW
simulator was developed with the AT port type in mind and cannot be
easily extended. Refactor it now to make it capable to support more port
types.

No big functional changes, mostly renaming with a little code
rearrangement.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20260126062158.308598-7-slark_xiao@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wwan/wwan_hwsim.c