Re: mt76x2e hardware restart

2019-10-23 Thread Oleksandr Natalenko
Hi. On 23.10.2019 10:50, Lorenzo Bianconi wrote: I think I spotted the SG issue on mt76x2e. Could you please: - keep pcie_aspm patch I sent - remove the debug patch where I disabled TX Scatter-Gather on mt76x2e - apply the following patch Thanks for the patch. So far so good, I was able to

Re: mt76x2e hardware restart

2019-10-23 Thread Lorenzo Bianconi
> > Hello. > > > > On 15.10.2019 18:52, Oleksandr Natalenko wrote: > > > Thanks for the answer and the IRC discussion. As agreed I've applied > > > [1] and [2], and have just swapped the card to try it again. So far, > > > it works fine in 5 GHz band in 802.11ac mode as an AP. > > > > > > I'll

Re: mt76x2e hardware restart

2019-10-16 Thread Lorenzo Bianconi
> Hello. > > On 15.10.2019 18:52, Oleksandr Natalenko wrote: > > Thanks for the answer and the IRC discussion. As agreed I've applied > > [1] and [2], and have just swapped the card to try it again. So far, > > it works fine in 5 GHz band in 802.11ac mode as an AP. > > > > I'll give it more load

Re: mt76x2e hardware restart

2019-10-16 Thread Oleksandr Natalenko
Hello. On 15.10.2019 18:52, Oleksandr Natalenko wrote: Thanks for the answer and the IRC discussion. As agreed I've applied [1] and [2], and have just swapped the card to try it again. So far, it works fine in 5 GHz band in 802.11ac mode as an AP. I'll give it more load with my phone over

Re: mt76x2e hardware restart

2019-10-15 Thread Oleksandr Natalenko
Hey. On 12.10.2019 18:50, Lorenzo Bianconi wrote: sorry for the delay. Felix and me worked on this issue today. Could you please try if the following patch fixes your issue? Thanks for the answer and the IRC discussion. As agreed I've applied [1] and [2], and have just swapped the card to

Re: mt76x2e hardware restart

2019-10-12 Thread Lorenzo Bianconi
> 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

Re: mt76x2e hardware restart

2019-09-20 Thread Oleksandr Natalenko
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

Re: mt76x2e hardware restart

2019-09-19 Thread Oleksandr Natalenko
On 19.09.2019 18:24, Oleksandr Natalenko wrote: [ +9,979664] mt76x2e :01:00.0: Firmware Version: 0.0.00 [ +0,14] mt76x2e :01:00.0: Build: 1 [ +0,10] mt76x2e :01:00.0: Build Time: 201507311614 [ +0,018017] mt76x2e :01:00.0: Firmware running! [ +0,001101] ieee80211

mt76x2e hardware restart

2019-09-19 Thread Oleksandr Natalenko
Hi. Recently, I've got the following card: 01:00.0 Network controller: MEDIATEK Corp. Device 7612 Subsystem: MEDIATEK Corp. Device 7612 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at 8120 (64-bit, non-prefetchable) [size=1M] Expansion ROM at