USB: serial: cp210x: add Kamstrup RF sniffer PIDs

Message ID 20221127170811.7141-1-bruno.thomsen@gmail.com
State New
Headers
Series USB: serial: cp210x: add Kamstrup RF sniffer PIDs |

Commit Message

Bruno Thomsen Nov. 27, 2022, 5:08 p.m. UTC
  The RF sniffers are based on cp210x where the RF frontends
are based on a different USB stack.

RF sniffers can analyze packets meta data including power level
and perform packet injection.

Can be used to perform RF frontend self-test when connected to
a concentrator, ex. arch/arm/boot/dts/imx7d-flex-concentrator.dts

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
 drivers/usb/serial/cp210x.c | 2 ++
 1 file changed, 2 insertions(+)


base-commit: faf68e3523c21d07c5f7fdabd0daf6301ff8db3f
  

Comments

Johan Hovold Nov. 28, 2022, 9:38 a.m. UTC | #1
On Sun, Nov 27, 2022 at 06:08:11PM +0100, Bruno Thomsen wrote:
> The RF sniffers are based on cp210x where the RF frontends
> are based on a different USB stack.
> 
> RF sniffers can analyze packets meta data including power level
> and perform packet injection.
> 
> Can be used to perform RF frontend self-test when connected to
> a concentrator, ex. arch/arm/boot/dts/imx7d-flex-concentrator.dts
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>

Applied for 6.2, thanks.

Johan
  

Patch

diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 3bcec419f463..f6fb23620e87 100644
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
@@ -195,6 +195,8 @@  static const struct usb_device_id id_table[] = {
 	{ USB_DEVICE(0x16DC, 0x0015) }, /* W-IE-NE-R Plein & Baus GmbH CML Control, Monitoring and Data Logger */
 	{ USB_DEVICE(0x17A8, 0x0001) }, /* Kamstrup Optical Eye/3-wire */
 	{ USB_DEVICE(0x17A8, 0x0005) }, /* Kamstrup M-Bus Master MultiPort 250D */
+	{ USB_DEVICE(0x17A8, 0x0011) }, /* Kamstrup 444 MHz RF sniffer */
+	{ USB_DEVICE(0x17A8, 0x0013) }, /* Kamstrup 870 MHz RF sniffer */
 	{ USB_DEVICE(0x17A8, 0x0101) }, /* Kamstrup 868 MHz wM-Bus C-Mode Meter Reader (Int Ant) */
 	{ USB_DEVICE(0x17A8, 0x0102) }, /* Kamstrup 868 MHz wM-Bus C-Mode Meter Reader (Ext Ant) */
 	{ USB_DEVICE(0x17F4, 0xAAAA) }, /* Wavesense Jazz blood glucose meter */