From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Natalenko Subject: Re: mt76x2e hardware restart Date: Fri, 20 Sep 2019 08:07:36 +0200 Message-ID: <9d581001e2e6cece418329842b2b0959@natalenko.name> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: linux-mediatek@lists.infradead.org Cc: Felix Fietkau , Lorenzo Bianconi , Lorenzo Bianconi , Stanislaw Gruszka , Ryder Lee , Roy Luo , Kalle Valo , "David S. Miller" , Matthias Brugger , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-mediatek@lists.infradead.org On 19.09.2019 23:22, Oleksandr Natalenko wrote: > It checks for TX hang here: > > === mt76x02_mmio.c > 557 void mt76x02_wdt_work(struct work_struct *work) > 558 { > ... > 562 mt76x02_check_tx_hang(dev); > === I've commented out the watchdog here ^^, and the card is not resetted any more, but similarly it stops working shortly after the first client connects. So, indeed, it must be some hang in the HW, and wdt seems to do a correct job. Is it even debuggable/fixable from the driver? -- Oleksandr Natalenko (post-factum)