[PATCH mt76 v5 16/16] wifi: mt76: mt7996: Add SW path for HW-RRO v3.1

Lorenzo Bianconi lorenzo at kernel.org
Wed Jul 15 00:46:14 PDT 2026


> Hi,

Hi Chukun,

> 
> > +	if (dev->mt76.hwrro_mode == MT76_HWRRO_V3_1) {
> > +		/* rxdmad_c */
> > +		mdev->q_rx[MT_RXQ_RRO_RXDMAD_C].flags = MT_WED_RRO_Q_RXDMAD_C;
> 
> This introduces the RRO_Q_RXDMAD_C flag for the MT7992 chipset.
> However, the mt76_wed_dma_setup function lacks handling for
> MT76_WED_RRO_Q_RXDMAD_C, causing it to return -EINVAL:
> 
> [   20.049167] mt7996e 0000:01:00.0: attaching wed device 0 version 3
> [   20.114412] platform 15010000.wed: MTK WED WO Firmware Version: ..
> [   20.123728] platform 15010000.wed: MTK WED WO Chip ID 00 Region 2
> [   20.965401] mt7996e 0000:01:00.0: probe with driver mt7996e failed with error -22
> 
> Can you fix this?

IIRC WED is not supported for HW RRO3.1 at the moment, it is not just a matter of
fixing mt76_wed_dma_setup().

Regards,
Lorenzo

> 
> Thanks,
> Chukun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260715/2627ca9a/attachment.sig>


More information about the Linux-mediatek mailing list