Re: ath9k_htc kernel driver regression affecting throughput

2016-09-20 Thread Oleksij Rempel
Am 21.09.2016 um 05:43 schrieb bruce m beach: > Oleksij > > I looked at > https://unix.stackexchange.com/questions/122050/ > send-traffic-to-self-over-physical-network-on-ubuntu > > It appearred to too complicated but > > https://unix.stackexchange.com/questions/122050/ >

ath9k_htc kernel driver regression affecting throughput

2016-09-20 Thread bruce m beach
Oleksij I looked at https://unix.stackexchange.com/questions/122050/ send-traffic-to-self-over-physical-network-on-ubuntu It appearred to too complicated but https://unix.stackexchange.com/questions/122050/ send-traffic-to-self-over-physical-network-on-ubuntu with: # Create a

[PATCH 4/4] rtl8xxxu: Stop log spam from each successful interrupt

2016-09-20 Thread Jes . Sorensen
From: Larry Finger As soon as debugging is turned on, the logs are filled with messages reporting the interrupt status. As this quantity is usually zero, this output is not needed. In fact, there will be a report if the status is not zero, thus the debug line in

[PATCH 1/4] rtl8xxxu: Fix off by one error calculating pubq

2016-09-20 Thread Jes . Sorensen
From: Jes Sorensen This was detected tracing the 8188eu driver, but doesn't seem to make any difference when using it. Signed-off-by: Jes Sorensen --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +- 1 file changed, 1

[PATCH 2/4] rtl8xxxu: Clean up llt_init() API

2016-09-20 Thread Jes . Sorensen
From: Jes Sorensen Remove last_tx_page argument from the llt_init() function. The rtl8xxxu_fileops structure contains the correct TX_TOTAL_PAGE_NUM value for the device, and rtl8xxxu_auto_llt_table() doesn't need to know the value in the first place. Signed-off-by: Jes

[PATCH 0/4] rtl8xxxu - four patches for 4.9

2016-09-20 Thread Jes . Sorensen
From: Jes Sorensen Hi, This is a small set of patches, all but one are preparatory for the 8188eu support I am working on. The last is Larry's patch to reduce debug messages. It would be great to get in for 4.9. Cheers, Jes Jes Sorensen (3): rtl8xxxu: Fix off by

[PATCH 3/4] rtl8xxxu: Use a struct rtl8xxxu_fileops * in rtl8xxxu_init_device()

2016-09-20 Thread Jes . Sorensen
From: Jes Sorensen This saves some 217, or about, derefences of priv->fops. Signed-off-by: Jes Sorensen --- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 37 +++--- 1 file changed, 19 insertions(+), 18 deletions(-) diff

Re: nl80211 fine timing measurement support

2016-09-20 Thread Lior David
On 9/20/2016 9:39 AM, Luca Coelho wrote: > On Mon, 2016-09-19 at 20:42 +0200, Arend Van Spriel wrote: >> >> On 19-9-2016 19:31, Lior David wrote: >>> >>> Hi Johannes, >>> >>> We are working on adding indoor location support to the wil6210 >>> 11ad driver. This includes fine timing measurement

Re: [PATCH v2 RESEND] qtnfmac: announcement of new FullMAC driver for Quantenna chipsets

2016-09-20 Thread IgorMitsyanko
On 09/17/2016 04:46 PM, Kalle Valo wrote: writes: From: Avinash Patil This patch adds support for new FullMAC WiFi driver for Quantenna QSR10G chipsets. QSR10G is Quantenna's 8x8, 160M, 11ac offering. QSR10G supports 2 simultaneous

Re: RTL8192EU on rtl8xxxu driver breaks every few minutes

2016-09-20 Thread Jes Sorensen
"Franc[e]sco" writes: > Hi, I happen to own a RTL8192EU WiFi dongle which is marked as untested > by the rtl8xxxu driver. > > I'm on a linux from scratch system using kernel 4.7.3 and wpa_supplicant > 2.5. > > The dongle appears to connect and work fine, but after around

Re: [PATCH v2 RESEND] qtnfmac: announcement of new FullMAC driver for Quantenna chipsets

2016-09-20 Thread IgorMitsyanko
On 09/17/2016 04:56 PM, Kalle Valo wrote: writes: From: Avinash Patil This patch adds support for new FullMAC WiFi driver for Quantenna QSR10G chipsets. QSR10G is Quantenna's 8x8, 160M, 11ac offering. QSR10G supports 2 simultaneous

Re: [PATCH v2 RESEND] qtnfmac: announcement of new FullMAC driver for Quantenna chipsets

2016-09-20 Thread IgorMitsyanko
On 09/17/2016 05:50 PM, Johannes Berg wrote: drivers/net/wireless/quantenna/qtnfmac/event.c: In function `qtnf_event_handle_scan_complete': drivers/net/wireless/quantenna/qtnfmac/event.c:342:2: warning: passing argument 2 of `cfg80211_scan_done' makes pointer from integer without a cast

Re: py80211 events

2016-09-20 Thread Johannes Berg
On Tue, 2016-09-20 at 21:09 +0200, Arend Van Spriel wrote: > Op 20 sep. 2016 16:22 schreef "Johannes Berg" net>: > > > > Hi Arend, > > > > Does py80211 support events in any way? I couldn't find anything. > Reply from my android phone so excluding linux-wireless as they

Qualcomm: Power Save Algorithm in STA+STA mode

2016-09-20 Thread Gucea Doru
Hello, everyone I'm a master student and I currently work on designing an algorithm for reducing the power consumption when a mobile device is associated to multiple Access Points that operate on the same channel. I tried to design my algorithm around the prima driver [1] but I noticed that the

Re: Problem with 40Mhz on 2.5GHz with Intel 8260

2016-09-20 Thread Volker Mische
Hi, On 09/20/2016 08:22 AM, Volker Mische wrote: > On 09/20/2016 07:39 AM, Emmanuel Grumbach wrote: >> On Mon, Sep 19, 2016 at 5:00 PM, Volker Mische >> wrote: >>> I'm having connectivity issues with an Intel 8260 on a 2.5GHz network >>> when using 40Mhz. I'm getting

[PATCH 1/3] mwifiex: fix kernel crash for USB chipsets

2016-09-20 Thread Amitkumar Karwar
From: Cathy Luo Following crash issue is observed during TCP traffic stress test [ 2253.625439] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kworker/u17:1:5191] [ 2253.625520] Call Trace: [ 2253.625527] [] ? moal_spin_lock+0x30/0x30 [usb8xxx] [ 2253.625533] [] ?

[PATCH 3/3] mwifiex: code rearrangement in mwifiex_usb_host_to_card()

2016-09-20 Thread Amitkumar Karwar
This patch helps get rid of goto statement and improves readability. Signed-off-by: Amitkumar Karwar Signed-off-by: Cathy Luo --- drivers/net/wireless/marvell/mwifiex/usb.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-)

[PATCH 2/3] mwifiex: fix race condition causing tx timeout

2016-09-20 Thread Amitkumar Karwar
From: Cathy Luo It's been observed that in a corner case mwifiex_usb_tx_complete() gets called before we exit from mwifiex_usb_host_to_card() after submitting the urb. 'data_sent' flag remains set in this case. It blocks further Tx packets and triggers watchdog timeout. The

Re: [PATCH v2 2/9] mac80211: add boilerplate code for start / stop NAN

2016-09-20 Thread Luca Coelho
Hi Arend, On Tue, 2016-09-20 at 14:29 +0200, Arend Van Spriel wrote: > On 20-9-2016 13:45, Beker, Ayala wrote: > > I don't think there is something in common to those interface types > > that can fit such a function semantically, so I decided not to > > change it. > > Do you have any idea? > >

[PATCH v3 9/9] mac80211: Add API to report NAN function match

2016-09-20 Thread Luca Coelho
From: Ayala Beker Provide an API to report NAN function match. Mac80211 will lookup the corresponding cookie and report the match to cfg80211. Signed-off-by: Andrei Otcheretianski Signed-off-by: Emmanuel Grumbach

[PATCH v3 8/9] mac80211: Implement add_nan_func and rm_nan_func

2016-09-20 Thread Luca Coelho
From: Ayala Beker Implement add/rm_nan_func functions and handle NAN function termination notifications. Handle instance_id allocation for NAN functions and implement the reconfig flow. Signed-off-by: Andrei Otcheretianski Signed-off-by:

[PATCH v3 7/9] mac80211: implement nan_change_conf

2016-09-20 Thread Luca Coelho
From: Ayala Beker Implement nan_change_conf callback which allows to change current NAN configuration (master preference and dual band operation). Store the current NAN configuration in sdata, so it can be used both to provide the driver the updated configuration with

[PATCH v3 6/9] cfg80211: Provide an API to report NAN function termination

2016-09-20 Thread Luca Coelho
From: Ayala Beker Provide a function that reports NAN DE function termination. The function may be terminated due to one of the following reasons: user request, ttl expiration or failure. If the NAN instance is tied to the owner, the notification will be sent to the socket

[PATCH v3 1/9] cfg80211: add start / stop NAN commands

2016-09-20 Thread Luca Coelho
From: Ayala Beker This allows user space to start/stop NAN interface. A NAN interface is like P2P device in a few aspects: it doesn't have a netdev associated to it. Add the new interface type and prevent operations that can't be executed on NAN interface like scan.

[PATCH v3 3/9] cfg80211: add add_nan_func / del_nan_func

2016-09-20 Thread Luca Coelho
From: Ayala Beker A NAN function can be either publish, subscribe or follow up. Make all the necessary verifications and just pass the request to the driver. Allow the user space application that starts NAN to forbid any other socket to add or remove functions.

[PATCH v3 0/9] Add support for Neighbor Awareness Networking

2016-09-20 Thread Luca Coelho
From: Luca Coelho Hi, Now v3 of the NAN patchset. Ayala has taken care of the kbuild bot compilation errors and of all Arend's comments, except for the one about adding a helper function instead checking for P2P_DEVICE and NAN for non-netdev interfaces. Comments are

[PATCH v3 2/9] mac80211: add boilerplate code for start / stop NAN

2016-09-20 Thread Luca Coelho
From: Ayala Beker This code doesn't do much besides allowing to start and stop the vif. Signed-off-by: Andrei Otcheretianski Signed-off-by: Emmanuel Grumbach Signed-off-by: Ayala Beker

py80211 events

2016-09-20 Thread Johannes Berg
Hi Arend, Does py80211 support events in any way? I couldn't find anything. How would you suggest I add support for them, structurally in the code? johannes

RE: [PATCH 2/2] mwifiex: parse WMM IEs from hostapd for mwifiex AP

2016-09-20 Thread Amitkumar Karwar
Hi Johannes, > From: Johannes Berg [mailto:johan...@sipsolutions.net] > Sent: Wednesday, September 14, 2016 3:25 PM > To: Bing Zhao; linux-wireless@vger.kernel.org > Cc: John W. Linville; Amitkumar Karwar; Avinash Patil; Nishant > Sarmukadam; Frank Huang > Subject: Re: [PATCH 2/2] mwifiex: parse

RE: [PATCH 2/2] mwifiex: firmware name correction for usb8997 chipset

2016-09-20 Thread Amitkumar Karwar
Hi Kalle, > From: Kalle Valo [mailto:kv...@codeaurora.org] > Sent: Wednesday, September 14, 2016 10:29 PM > To: Amitkumar Karwar > Cc: linux-wireless@vger.kernel.org; Cathy Luo; Nishant Sarmukadam; > Ganapathi Bhat > Subject: Re: [PATCH 2/2] mwifiex: firmware name correction for usb8997 > chipset

RE: [PATCH v2] mwifiex: cfg80211 set_default_mgmt_key handler

2016-09-20 Thread Amitkumar Karwar
Hi Kalle, > From: Kalle Valo [mailto:kv...@codeaurora.org] > Sent: Wednesday, September 14, 2016 10:18 PM > To: Amitkumar Karwar > Cc: linux-wireless@vger.kernel.org; Nishant Sarmukadam; Ganapathi Bhat > Subject: Re: [PATCH v2] mwifiex: cfg80211 set_default_mgmt_key handler > > Amitkumar Karwar

[PATCH v3] mwifiex: cfg80211 set_default_mgmt_key handler

2016-09-20 Thread Amitkumar Karwar
From: Ganapathi Bhat Previously device used to start using IGTK key as Tx key as soon as it gets downloaded in add_key(). This patch implements set_default_mgmt_key handler. We will update Tx key ID in set_default_mgmt_key(). Signed-off-by: Ganapathi Bhat

Re: [PATCH v2 2/9] mac80211: add boilerplate code for start / stop NAN

2016-09-20 Thread Arend Van Spriel
On 20-9-2016 13:45, Beker, Ayala wrote: > -Original Message- > From: Arend Van Spriel [mailto:arend.vanspr...@broadcom.com] > Sent: Sunday, September 18, 2016 22:01 > To: Otcheretianski, Andrei ; Luca Coelho > ; johan...@sipsolutions.net >

Re: [PATCH 1/1] rsi: fix memory leak in debugfs entry and supported bands

2016-09-20 Thread Arend Van Spriel
On 20-9-2016 8:43, Prameela Rani Garnepudi wrote: > From: Prameela Rani Garnepudi > > Signed-off-by: Prameela Rani Garnepudi > Signed-off-by: Prameela Rani Garnepudi Now you are

RE: [PATCH v2 2/9] mac80211: add boilerplate code for start / stop NAN

2016-09-20 Thread Beker, Ayala
-Original Message- From: Arend Van Spriel [mailto:arend.vanspr...@broadcom.com] Sent: Sunday, September 18, 2016 22:01 To: Otcheretianski, Andrei ; Luca Coelho ; johan...@sipsolutions.net Cc: linux-wireless@vger.kernel.org; Beker, Ayala

Re: brcmf_txfinalize misses 802.1x packet leading to infinite WARNINGs

2016-09-20 Thread Rafał Miłecki
Hi Hante, I hit this problem again and I'm afraid it's getting even more complex. Last time you were suspecting flowring deletion but it didn't make much sense to me. It was because I didn't see brcmf_flowring_delete anywhere in my log. Well, today it was different. I saw brcmf_flowring_delete

pull-request: wireless-drivers 2016-09-20

2016-09-20 Thread Kalle Valo
Hi Dave, last pull request for 4.8, unless something really drastic comes up. And a small one even, just a small fix to iwlwifi to avoid a firmware crash. Please let me know if there are any problems. Kalle The following changes since commit a0714125d11bcf21599b08b25fdaf384c0db6712: Merge

Re: [v3 PATCH 0/2] rhashtable: rhashtable with duplicate objects

2016-09-20 Thread David Miller
From: Johannes Berg Date: Mon, 19 Sep 2016 13:32:12 +0200 > On Mon, 2016-09-19 at 13:03 +0200, Johannes Berg wrote: >> On Mon, 2016-09-19 at 18:58 +0800, Herbert Xu wrote: >> > >> > v3 fixes a bug in the remove path that causes the element count >> > to decrease when

[PATCH] ath10k: Ignore SWBA event for a vif if its marked for no beacon

2016-09-20 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Ignore processing further in SWBA event scheduled for a vif, if mac80211 has marked the particular vif for stop beaconing and brought the vdev down in 'ath10k_control_beaconing'. This should potentially avoid ath10k warning/error messages

Re: [PATCH 2/4] carl9170: fix debugfs crashes

2016-09-20 Thread Greg KH
On Mon, Sep 19, 2016 at 10:12:08PM +0200, Christian Lamparter wrote: > On Sunday, September 18, 2016 6:44:08 PM CEST Greg KH wrote: > > On Sun, Sep 18, 2016 at 02:49:33PM +0200, Christian Lamparter wrote: > > > On Sunday, September 18, 2016 12:14:55 PM CEST Greg KH wrote: > > > > On Sun, Sep 18,

[PATCH 1/1] rsi: fix memory leak in debugfs entry and supported bands

2016-09-20 Thread Prameela Rani Garnepudi
From: Prameela Rani Garnepudi Signed-off-by: Prameela Rani Garnepudi Signed-off-by: Prameela Rani Garnepudi --- drivers/net/wireless/rsi/rsi_91x_mac80211.c | 10 ++ 1 file changed,

Re: nl80211 fine timing measurement support

2016-09-20 Thread Luca Coelho
On Mon, 2016-09-19 at 20:42 +0200, Arend Van Spriel wrote: > > On 19-9-2016 19:31, Lior David wrote: > > > > Hi Johannes, > > > > We are working on adding indoor location support to the wil6210 > > 11ad driver. This includes fine timing measurement (FTM) as well as > > something we call angle

Re: Problem with 40Mhz on 2.5GHz with Intel 8260

2016-09-20 Thread Volker Mische
Hi, On 09/20/2016 07:39 AM, Emmanuel Grumbach wrote: > On Mon, Sep 19, 2016 at 5:00 PM, Volker Mische > wrote: >> I'm having connectivity issues with an Intel 8260 on a 2.5GHz network >> when using 40Mhz. I'm getting errors like >> >> Queue 2 stuck for 1 ms. >>