Re: A good way to get CSI info to user-space?

2017-10-23 Thread Johannes Berg
On Mon, 2017-10-23 at 13:59 -0700, Ben Greear wrote: > > The CSI data has variable length [1] but it's fundamentally always tied > > to a specific frame and as such we've always attached it to that frame > > using a radiotap vendor namespace. > > > > You can easily implement that in a mac80211

Re: [PATCH] ath10k: rebuild crypto header in RX data frames

2017-10-23 Thread Kalle Valo
Jasmine Strong writes: > That's what I saw. A bcom client was able to associate and not pass > any traffic. This is on all three of 9882, 9888 and 4019. Thanks for the report, we'll investigate it. And I see that your email was now succesfully delivered to the list:

[PATCH] rtlwifi: Remove seq_number from rtl_tid_data

2017-10-23 Thread pkshih
From: Ping-Ke Shih Since mac80211 maintains the sequence number for each STA/TID, driver doesn't need to maintain a copy. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/base.c | 6 ++ drivers/net/wireless/realtek/rtlwifi/pci.c

[PATCH] rtlwifi: rtl8821ae: Fix typo in variable name

2017-10-23 Thread Nik Nyby
In _rtl8821ae_dbi_write(), wrtie_addr should be write_addr. Signed-off-by: Nik Nyby --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c

Re: elce linux conference 2017

2017-10-23 Thread Sergey Matyukevich
> Hi all, > > are there any one of WiFi devs on ELCE? > Will be good to meet you. For example: > Table 1 - Networking Area, Level LL, Outside Roma. Hello Oleksij, I am here on ELCE till Wednesday evening. Feel free to ping me via conferenece app or email. Regards, Sergey

Re: A good way to get CSI info to user-space?

2017-10-23 Thread Ben Greear
On 10/23/2017 01:30 PM, Johannes Berg wrote: Hi, I have been poking at ath10k to get some CSI reporting working. The CSI reports are a bit over 2k bytes in length, and they could happen quite often. As far as I can tell, there is no good way in the kernel to make this available. I was

Re: A good way to get CSI info to user-space?

2017-10-23 Thread Johannes Berg
Hi, > I have been poking at ath10k to get some CSI reporting working. > The CSI reports are a bit over 2k bytes in length, and they could > happen quite often. As far as I can tell, there is no good way in > the kernel to make this available. > > I was thinking maybe a callback into the

Re: [PATCH] ath10k: rebuild crypto header in RX data frames

2017-10-23 Thread Sebastian Gottschall
Am 23.10.2017 um 16:24 schrieb Vasanthakumar Thiagarajan: On Saturday 21 October 2017 01:41 AM, Sebastian Gottschall wrote: i suggest the following patch on top of yours. please tell me if my thoughts are correct here. its mainly a guess I agree we need to take care of this for newly added

elce linux conference 2017

2017-10-23 Thread Oleksij Rempel
Hi all, are there any one of WiFi devs on ELCE? Will be good to meet you. For example: Table 1 - Networking Area, Level LL, Outside Roma. Please contact me if you are here :) -- Regards, Oleksij signature.asc Description: OpenPGP digital signature

A good way to get CSI info to user-space?

2017-10-23 Thread Ben Greear
Hello, I have been poking at ath10k to get some CSI reporting working. The CSI reports are a bit over 2k bytes in length, and they could happen quite often. As far as I can tell, there is no good way in the kernel to make this available. I was thinking maybe a callback into the mac80211 stack,

Re: [PATCH] ath10k: rebuild crypto header in RX data frames

2017-10-23 Thread Vasanthakumar Thiagarajan
On Saturday 21 October 2017 01:41 AM, Sebastian Gottschall wrote: > i suggest the following patch on top of yours. please tell me if my thoughts > are correct here. its mainly a guess I agree we need to take care of this for newly added ciphers as well. How about making it as a separate patch

Re: [PATCH] staging: wilc1000: replace redundant computations with 0

2017-10-23 Thread Dan Carpenter
On Tue, Oct 10, 2017 at 03:05:48PM +0100, Colin King wrote: > From: Colin Ian King > > Shifting and masking strHostIfSetMulti->enabled is redundant since > enabled is a bool and so all the shifted and masked values will be > zero. Replace them with zero to simplify the

Re: [PATCH v2 31/37] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-10-23 Thread Johannes Berg
> > I guess you mean you *can* build it? Surely you're introducing the new > > HR timer modes in some patch that I didn't see? :-) > > Sorry, we did not want to expose you to 30 patches fiddling with the core > code. They are on LKML though. Sure, no worries. I just didn't even realize I

Re: [PATCH v2 31/37] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-10-23 Thread Thomas Gleixner
On Mon, 23 Oct 2017, Johannes Berg wrote: > On Mon, 2017-10-23 at 12:23 +0200, Thomas Gleixner wrote: > > On Mon, 23 Oct 2017, Johannes Berg wrote: > > > > > On Sun, 2017-10-22 at 23:40 +0200, Anna-Maria Gleixner wrote: > > > > From: Thomas Gleixner > > > > > > > > Switch

Re: [PATCH v2 31/37] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-10-23 Thread Johannes Berg
On Mon, 2017-10-23 at 12:23 +0200, Thomas Gleixner wrote: > On Mon, 23 Oct 2017, Johannes Berg wrote: > > > On Sun, 2017-10-22 at 23:40 +0200, Anna-Maria Gleixner wrote: > > > From: Thomas Gleixner > > > > > > Switch the timer to HRTIMER_MODE_SOFT, which executed the timer >

Re: [PATCH v2 31/37] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-10-23 Thread Thomas Gleixner
On Mon, 23 Oct 2017, Johannes Berg wrote: > On Sun, 2017-10-22 at 23:40 +0200, Anna-Maria Gleixner wrote: > > From: Thomas Gleixner > > > > Switch the timer to HRTIMER_MODE_SOFT, which executed the timer > > callback in softirq context and remove the hrtimer_tasklet. I

Re: [PATCH v2 31/37] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-10-23 Thread Johannes Berg
On Sun, 2017-10-22 at 23:40 +0200, Anna-Maria Gleixner wrote: > From: Thomas Gleixner > > Switch the timer to HRTIMER_MODE_SOFT, which executed the timer > callback in softirq context and remove the hrtimer_tasklet. This doesn't build on my tree, due to HRTIMER_MODE_REL_SOFT

Re: [PATCH] net: wireless: mark expected switch fall-throughs

2017-10-23 Thread Johannes Berg
On Fri, 2017-10-20 at 12:21 -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva > --- > This code was tested by compilation only (GCC

Re: [PATCH V6 1/5] mac80211: Enable TDLS peer buffer STA feature

2017-10-23 Thread Johannes Berg
On Fri, 2017-10-20 at 03:34 +, Yingying Tang wrote: > Hi Johannes, > > I have built and tested it, it can work No, you haven't, at least not comprehensively. Try to enable debugfs. johannes