Re: [alsa-devel] [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Takashi Iwai
On Mon, 18 Dec 2017 01:28:44 +0100, Joe Perches wrote: > > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these

[PATCH v2] brcmfmac: Support 43455 save-restore (SR) feature if FW include -sr

2017-12-18 Thread Wright Feng
From: Double Lo This patch will add 43455 into the save-restore(SR) capable chip list, so the SR engine will be enabled with 43455 FW which built-in the -sr function. Signed-off-by: Double Lo Signed-off-by: Wright Feng ---

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Martin K. Petersen
Joe, > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. SCSI bits look OK. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Dave Chinner
On Sun, Dec 17, 2017 at 04:28:44PM -0800, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Darrick J. Wong
On Sun, Dec 17, 2017 at 04:28:44PM -0800, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for

Re: Distress Call Please don't ignore

2017-12-18 Thread Sandra Younes
Good Day, Forgive my indignation if this message comes to you as a surprise and may offend your personality for contacting you without your prior consent and writing through this channel. I came across your name and contact on the course of my personal searching when i was searching for a

Re: UBSAN: Undefined behaviour in drivers/net/wireless/intel/iwlwifi/mvm/utils.c:838:5

2017-12-18 Thread Luca Coelho
On Wed, 2017-12-13 at 16:32 +0200, Luciano Coelho wrote: > On Wed, 2017-12-13 at 14:25 +0100, Paul Menzel wrote: > > Dear Linux folks, > > > > > > I enabled the undefined behavior sanitizer, and built Linus’ > > master > > branch under Ubuntu 17.10 with gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0. > > >

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Rafael J. Wysocki
On Monday, December 18, 2017 1:28:44 AM CET Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for

Re: [PATCH 10/10] qtnfmac: support MAC address based access control

2017-12-18 Thread Sergey Matyukevich
Hello Kalle, > >> > This allows a running AP to blacklist STAs by their MAC addresses > >> > respecting the configured policy (either accept or deny unless listed). > >> > It can be setup on .start_ap or with .set_mac_acl commands. > >> > > >> > Signed-off-by: Vasily Ulyanov

Re: [PATCH 00/11] SDIO support for ath10k

2017-12-18 Thread Gary Bisson
Hi Alagu, On Fri, Oct 06, 2017 at 01:16:13PM +0200, Gary Bisson wrote: > Hi Alagu, > > On Thu, Oct 05, 2017 at 10:54:26PM +0530, Alagu Sankar wrote: > > Hi Gary, > > > > On 05-10-2017 20:42, Gary Bisson wrote: > > > Hi Alagu, > > > > > > First of all, thank you for sharing your patches, this

Re: ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue...?

2017-12-18 Thread Stanislaw Gruszka
Hi On Sat, Dec 16, 2017 at 07:33:47PM +0100, Enrico Mioso wrote: > I tested the Archer MR200 device removing the patch as you suggested: > package/kernel/mac80211/patches/600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch > ... the error still appears, but the driver is still

[PATCH][next] ath10k: wmi: remove redundant integer fc

2017-12-18 Thread Colin King
From: Colin Ian King Variable fc is being assigned but never used, so remove it. Cleans up the clang warning: warning: Value stored to 'fc' is never read Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 -- 1

Re: [PATCH] wil6210: fix build warnings without CONFIG_PM

2017-12-18 Thread Kalle Valo
Arnd Bergmann writes: > The #ifdef checks are hard to get right, in this case some functions > should have been left inside a CONFIG_PM_SLEEP check as seen by this > message: > > drivers/net/wireless/ath/wil6210/pcie_bus.c:489:12: error: > 'wil6210_pm_resume' defined but not used

pull-request: wireless-drivers-next 2017-12-18

2017-12-18 Thread Kalle Valo
Hi Dave, a pull request for 4.16 to net-next tree. This is a big one, but on the other hand most of the stuff here has been some time on linux-next so hopefully there are no nasty surprises. Even though Arnd just send a patch[1] five minutes ago about fixing a wcn36xx build warning, but I don't

Re: [PATCH 10/10] qtnfmac: support MAC address based access control

2017-12-18 Thread Kalle Valo
Sergey Matyukevich writes: > Hello Kalle, > >> Sergey Matyukevich writes: >> >> > From: Vasily Ulyanov >> > >> > This allows a running AP to blacklist STAs by their MAC addresses >> > respecting

Re: Wifi RTL8723bu driver test: failed to scan

2017-12-18 Thread Mylene JOSSERAND
Hello Jes, Le Tue, 28 Nov 2017 11:14:10 -0500, Jes Sorensen a écrit : > On 11/22/2017 04:51 AM, Mylene JOSSERAND wrote: > > Hello Jes Sorensen, > > > > I am currently testing a LM811 Wifi/BT USB dongle [1] on a Sinlinx > > SinA33 Allwinner SoC board [2]. I saw that I

Re: [PATCH 10/10] qtnfmac: support MAC address based access control

2017-12-18 Thread Sergey Matyukevich
Hello Kalle, > > > This allows a running AP to blacklist STAs by their MAC addresses > > > respecting the configured policy (either accept or deny unless listed). > > > It can be setup on .start_ap or with .set_mac_acl commands. > > > > > > Signed-off-by: Vasily Ulyanov >

[PATCH 08/11] iwlwifi: mvm: don't warn on multiple packets when opening a queue

2017-12-18 Thread Luca Coelho
From: Sara Sharon When we have TSO enabled, we might end up segmenting it and queuing multiple packets before the queue is even enabled. This causes a warning. For example, when starting TCP traffic on a non-zero TID, the first packets may not have DSCP and will be sent

[PATCH 01/11] iwlwifi: support internal debug data collection for new devices

2017-12-18 Thread Luca Coelho
From: Golan Ben Ami Support internal debug data collection on 9000 and newer devices. The method for finding the base and end address has changed on new HW's, so introduce a new version of debug destination tlv. Signed-off-by: Golan Ben Ami

[PATCH 00/11] iwlwifi: updates intended for v4.16 2017-12-18

2017-12-18 Thread Luca Coelho
From: Luca Coelho Hi, Here's the third batch of patches intended for 4.16. Nothing major, just continued development, some cleanups and small fixes here and there. * Small cleanups in the new rate-scaling code; * Some improvements in debugging; * New FW API changes;

[PATCH 02/11] iwlwifi: avoid duplicate sw reset executions in the code

2017-12-18 Thread Luca Coelho
From: Golan Ben Ami Most of the sw resets in the code are done by one function, which writes to the relevant CSR. Use the common function to perform the only reset which was done separately, redundant to the common code. Signed-off-by: Golan Ben Ami

[PATCH 05/11] iwlwifi: mvm: support RX flags API change

2017-12-18 Thread Luca Coelho
From: Sara Sharon Latest firmware calculates both phases of the TKIP field, so the TTAK ok flag is not needed and deprecated. Support this API change. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho ---

[PATCH 07/11] iwlwifi: add skb address to tx cmd in trace events data

2017-12-18 Thread Luca Coelho
From: Mordechay Goodstein This helps matching tx cmd with other trace events, like net_dev_xmit and net_dev_queue etc. Signed-off-by: Mordechay Goodstein Signed-off-by: Luca Coelho ---

[PATCH 09/11] iwlwifi: mvm: adjust to quota offload

2017-12-18 Thread Luca Coelho
From: Shaul Triebitz Skip Quota handling if firmware implements Quota. Signed-off-by: Shaul Triebitz Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/file.h | 2 ++

[PATCH 03/11] iwlwifi: mvm: force quota update upon NoA setting

2017-12-18 Thread Luca Coelho
From: Shaul Triebitz The way p2p NoA is forced in SCM (used for WFA tests) is by setting a quota < 100% (simulating DCM). A test-mode command is used for setting the NoA params. In that case, force quota update or nothing will happen if there was no significant change

[PATCH 11/11] iwlwifi: define and use if iwl_mvm_has_tlc_offload

2017-12-18 Thread Luca Coelho
From: Emmanuel Grumbach This aligns the code with the existing pattern to check if the firmware has a certain capability. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho ---

[PATCH 10/11] iwlwifi: mvm: send the low latency command

2017-12-18 Thread Luca Coelho
From: Shaul Triebitz Recently a new command was added to the firmware for setting a MAC's low-latency mode. Use it. Signed-off-by: Shaul Triebitz Signed-off-by: Luca Coelho ---

[PATCH 06/11] iwlwifi: fw: fix the enums in the rate scaling API

2017-12-18 Thread Luca Coelho
From: Emmanuel Grumbach We don't need the _enum suffix. Also refer to iwl_tlc_mng_vht_he_types instead of %IWL_TLC_MNG_VALID_VHT_HE_TYPES_\* Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho ---

[PATCH 04/11] iwlwifi: runtime: sync FW and host clocks for logs

2017-12-18 Thread Luca Coelho
From: Mordechay Goodstein For sync we send a marker cmd every seconds. The trigger for getting gp2 clock values from the FW is set by writing to debugfs a periodic time in seconds, if value zero is written, only one request would be sent and the timer would be

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Andy Shevchenko
On Mon, Dec 18, 2017 at 2:28 AM, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work >

[PATCH 2/2] nl80211: send deauth reason if locally generated

2017-12-18 Thread Luca Coelho
From: David Spinadel Send disconnection reason code to user space even if it's locally generated, since some tests that check reason code may fail because of the current behavior. Signed-off-by: David Spinadel Signed-off-by: Luca Coelho

[PATCH 0/2] cfg80211/mac80211 patches from our internal tree 2017-12-18

2017-12-18 Thread Luca Coelho
From: Luca Coelho Hi, Here are a couple of patches from our internal tree. Cheers, Luca. Adiel Aloni (1): mac80211_hwsim: enable TODS BIT in null data frame David Spinadel (1): nl80211: send deauth reason if locally generated

[PATCH 1/2] mac80211_hwsim: enable TODS BIT in null data frame

2017-12-18 Thread Luca Coelho
From: Adiel Aloni Same as in ieee80211_nullfunc_get, enable the TODS bit, otherwise the nullfunc packet will not be handled in ap rx path. (will be dropped in ieee80211_accept_frame()). Signed-off-by: Adiel Aloni Signed-off-by: Luca Coelho