From: Sean Wang <sean.wang@xxxxxxxxxxxx> >[...] >> >> 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 >> >> >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>