]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: wwan: hwsim: support NMEA port emulation
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Mon, 26 Jan 2026 06:21:57 +0000 (14:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Jan 2026 02:27:00 +0000 (18:27 -0800)
commit193985d1e447d20dc4225550fa8ff24d340a535e
tree91ef62780144e71dbc67eefeffad69f596f6c295
parentf5b8065e1f1be0e630a009f4c183805683c8fe88
net: wwan: hwsim: support NMEA port emulation

Support NMEA port emulation for the WWAN core GNSS port testing purpose.
Emulator produces pair of GGA + RMC sentences every second what should
be enough to fool gpsd into believing it is working with a NMEA GNSS
receiver.

If the GNSS system is enabled then one NMEA port will be created
automatically for the simulated WWAN device. Manual NMEA port creation
is not supported at the moment.

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-8-slark_xiao@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wwan/wwan_hwsim.c