mt76x0u blocks resume from suspend

2019-07-22 Thread Johannes Stezenbach
Hi, I met failure to resume from suspend to RAM with v5.1.19 and TP-Link Archer T2UH connected to my PC (Asus P8H77-V). I tried about a dozen times while trying to figure out the reason, the issue happened every time. Eventually I connected a serial console and captured this: [ 87.803576][ T464

Re: mt76x0u blocks resume from suspend

2019-07-26 Thread Johannes Stezenbach
Hi Stanislaw, On Tue, Jul 23, 2019 at 09:18:07AM +0200, Stanislaw Gruszka wrote: > On Mon, Jul 22, 2019 at 06:40:20PM +0200, Johannes Stezenbach wrote: > > I met failure to resume from suspend to RAM with v5.1.19 > > and TP-Link Archer T2UH connected to my PC (Asus P8H77-V). >

Re: About adding support for MT76x2U to Linux kernel

2015-12-16 Thread Johannes Stezenbach
Hi, On Wed, Dec 16, 2015 at 07:53:04PM +0100, Felix Fietkau wrote: > Once I'm done with mt7603 bringup (monitor mode rx already works), I > plan on submitting mt76 upstream, and then we can see about adding > support for 76x2u, or even merging the hardware support for mt7601u. > > You can check o

Re: About adding support for MT76x2U to Linux kernel

2015-12-17 Thread Johannes Stezenbach
Hi Felix and Jakub, On Wed, Dec 16, 2015 at 10:24:25PM +0100, Johannes Stezenbach wrote: > On Wed, Dec 16, 2015 at 07:53:04PM +0100, Felix Fietkau wrote: > > Once I'm done with mt7603 bringup (monitor mode rx already works), I > > plan on submitting mt76 upstream, and then we

mt76 tx status

2016-01-31 Thread Johannes Stezenbach
Hi Felix, I noticed in mt76x2_mac_poll_tx_status() you are reading MT_TX_STAT_FIFO before reading MT_TX_STAT_FIFO_EXT, however I have a hunch that reading MT_TX_STAT_FIFO clobbers the corresponding MT_TX_STAT_FIFO_EXT since MT_TX_STAT_FIFO has the valid bit, and both registers together seem to imp

Re: [PATCHv3] mac80211: minstrel: Change expected throughput unit back to Kbps

2016-02-01 Thread Johannes Stezenbach
Hi Sven, On Mon, Feb 01, 2016 at 11:00:16PM +0100, Sven Eckelmann wrote: > - tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * AVG_PKT_SIZE * 8 / > 1024; > + tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * 10; > + tp_avg *= AVG_PKT_SIZE * 8 / 1024; This doesn't look right, in integ

Re: [PATCH v3 0/1] rtl8xxxu (mac80211) driver for rtl8188[cr]u/rtl8192cu/rtl8723au

2015-10-25 Thread Johannes Stezenbach
Hi Jes and Larry, On Wed, Oct 14, 2015 at 08:44:50PM -0400, jes.soren...@redhat.com wrote: > Per default only devices I have actually tested will be enabled. If > you are interested in trying it out with other 8188cu/8188ru/819[12]cu > dongles, you need to enable CONFIG_RTL8XXXU_UNTESTED. Please r

Re: About adding support for MT76x2U to Linux kernel

2016-03-07 Thread Johannes Stezenbach
On Wed, Mar 02, 2016 at 09:32:10AM +0200, Tuomas Räsänen wrote: > On Fri, Aug 14, 2015 at 02:32:29PM +0200, Jakub Kiciński wrote: > > CC: Linus W who was hacking on mt7630e recently. > > > > There is a fourth option: merge mt76 and mt7601u and add support for > > mt76x2u along the way ;) > > Btw,

Re: About adding support for MT76x2U to Linux kernel

2016-03-07 Thread Johannes Stezenbach
On Mon, Mar 07, 2016 at 12:51:43PM +0100, Felix Fietkau wrote: > On 2016-03-07 12:14, Johannes Stezenbach wrote: > > FWIW, the mt7610u vendor driver > > doesn't support AP mode, while the mt7612u vendor driver does, > > but I didn't understand how their timing of se

Re: About adding support for MT76x2U to Linux kernel

2016-03-08 Thread Johannes Stezenbach
On Mon, Mar 07, 2016 at 10:22:38PM +0100, Felix Fietkau wrote: > On 2016-03-07 13:41, Johannes Stezenbach wrote: > > http://www.mediatek.com/en/downloads1/downloads/mt7612u/ > I checked, they simply use a software timer for it and stuff buffered > multicast packets into the BE queue

Re: About adding support for MT76x2U to Linux kernel

2016-03-08 Thread Johannes Stezenbach
On Tue, Mar 08, 2016 at 01:58:03PM +0100, Felix Fietkau wrote: > On 2016-03-08 13:49, Johannes Stezenbach wrote: > > On Mon, Mar 07, 2016 at 10:22:38PM +0100, Felix Fietkau wrote: > >> On 2016-03-07 13:41, Johannes Stezenbach wrote: > >> > http://www.mediatek.com/e

[PATCH] ath9k_htc: fix random decryption failure

2014-09-12 Thread Johannes Stezenbach
introduced in 4ed1a8d4a257 ("ath9k_htc: use ath9k_cmn_rx_accept") and used in 341b29b9cd2f ("ath9k_htc: use ath9k_cmn_rx_skb_postprocess"). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78581 Fixes: 341b29b9cd2f ("ath9k_htc: use ath9k_cmn_rx_skb_postprocess") Sign

Re: using DMA-API on ARM

2014-12-08 Thread Johannes Stezenbach
On Fri, Dec 05, 2014 at 06:53:03PM +, Catalin Marinas wrote: > On Fri, Dec 05, 2014 at 06:39:45PM +, Catalin Marinas wrote: > > > > Does your system have an L2 cache? What's the SoC topology, can PCIe see > > such L2 cache (or snoop the L1 caches)? > > BTW, if you really have a PL310-like

Re: using DMA-API on ARM

2014-12-08 Thread Johannes Stezenbach
On Mon, Dec 08, 2014 at 03:55:57PM +, Catalin Marinas wrote: > On Mon, Dec 08, 2014 at 12:55:38PM +0000, Johannes Stezenbach wrote: > > On Fri, Dec 05, 2014 at 06:53:03PM +, Catalin Marinas wrote: > > > > > > BTW, if you really have a PL310-like L2 cache, have a

4.18.16: memory leak in sta_set_sinfo

2018-10-22 Thread Johannes Stezenbach
Hi, I used 4.18.11 for a while and noticed a memleak showing in slabtop as kmalloc-2048. Then I updated to 4.18.16 and enabled kmemleak, it dumps this: unreferenced object 0xa10a5cc49800 (size 2048): comm "conky", pid 2734, jiffies 4295635396 (age 454.650s) hex dump (first 32 bytes):

Re: 4.18.16: memory leak in sta_set_sinfo

2018-10-22 Thread Johannes Stezenbach
On Mon, Oct 22, 2018 at 10:25:07AM +0200, Johannes Berg wrote: > On Mon, 2018-10-22 at 10:02 +0200, Johannes Stezenbach wrote: > > > > [<b7b13d1a>] sta_set_sinfo+0x634/0x900 [mac80211] > > [<a74db622>] ieee80211_get_station+0x50/0x70 [mac