Thread (1 message) 1 message, 1 author, 2021-10-13

Re: [PATCH v4 11/16] mt76: sdio: extend sdio module to support CONNAC2

From: <sean.wang@mediatek.com>
Date: 2021-10-13 21:24:27
Also in: linux-wireless

From: Sean Wang <sean.wang@mediatek.com>
[...]
quoted
In the current driver, we can see we only created one Rx queue
(dev->q_rx with qid = 0) in mt76s_alloc_queues for processing all incoming packets including MCU events and wifi packets.

And from the point of view of the device, mt7663s use the hardware
queue 0 for all MCU events and wifi packets; mt7921s use the hardware
queue 1 for all MCU events and wifi packets.

So if we don't remap from hardware queue 1 to dev->q_rx[0] for mt7921s
to handle incoming packets, we will get the kernel panic on accessing the invalid pointer on dev->q_rx[1].

Sean
quoted
Regards,
Lorenzo
<snip>
ok, what about doing something like the patch below?
If it works for you, I will post a formal patch.
go ahead. that looks fine to me.
Regards,
Lorenzo
<snip>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help