Zenm Chen <zenmchen@xxxxxxxxx> wrote: > Add two more USB IDs found in > https://github.com/RinCat/RTL88x2BU-Linux-Driver > to support Mercusys MA30N and D-Link DWA-T185 rev. A1. > > Signed-off-by: Zenm Chen <zenmchen@xxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > --- > Related discussions: > https://github.com/RinCat/RTL88x2BU-Linux-Driver/issues/237 > https://github.com/RinCat/RTL88x2BU-Linux-Driver/issues/146 > --- > drivers/net/wireless/realtek/rtw88/rtw8822bu.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c > b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c > index 8883300fc6ad..572d1f31832e 100644 > --- a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c > +++ b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c > @@ -73,6 +73,10 @@ static const struct usb_device_id rtw_8822bu_id_table[] = { > .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* ELECOM WDB-867DU3S */ > { USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0107, 0xff, 0xff, 0xff), > .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Mercusys MA30H */ > + { USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x010a, 0xff, 0xff, 0xff), > + .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Mercusys MA30N */ > + { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3322, 0xff, 0xff, 0xff), > + .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* D-Link DWA-T185 rev. A1 */ By the way, these IDs aren't in increasing order, how did you pick IDs from vendor driver? Not sure if it's worth to sort these IDs so that it would be easier to align IDs with vendor driver (it should be sorted as well).