Re: [PATCH 1/1] wifi: mt76: mt7921: Add a new VID/PID 0b48/7922 for MT7922

Lorenzo Bianconi
2023-11-01T15:00:46Z

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

> Add VID/PID 0b48/7922 for MediaTek MT7922 wifi chip.
> Change tested on Redmi Book Pro 15 2023 (Fedora 38).
>
> Signed-off-by: Tom Waldron <tom@baremetal.dev>
> ---
> drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
> index 3dda84a93..ba805cb02 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
> @@ -21,6 +21,8 @@ static const struct pci_device_id mt7921_pci_device_table[] = {
> .driver_data = (kernel_ulong_t)MT7921_FIRMWARE_WM },
> { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x0616),
> .driver_data = (kernel_ulong_t)MT7922_FIRMWARE_WM },
> + { PCI_DEVICE(0x0b48, 0x7922),
> + .driver_data = (kernel_ulong_t)MT7922_FIRMWARE_WM },

is PCI VID 0x0b48 PCI_VENDOR_ID_ITTIM?

Regards,
Lorenzo

> { },
> };
>
> --
> 2.41.0
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]