[PATCH 03/13] brcmfmac: Remove some redundant cfg80211 data.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: I99fb70fc03ea5c498f0fb12281b4c64d8e39e258 Reviewed-on:

[PATCH 02/13] brcmfmac: Use local storage for ssid iovar.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: I8f4438e7f86879d41e0d936f03164da755b8ca06 Reviewed-on:

[PATCH 01/13] brcmfmac: Simplify scan timing configuration.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: Ie179527eb29f2ed8b7869dac24591e2513775393 Reviewed-on:

[PATCH 13/13] brcmfmac: add arp offload ip address table configuration support

2015-12-09 Thread Arend van Spriel
From: Franky Lin Obtain ipv4 address through inetaddr notification for ARP offload host ip table configuration. Signed-off-by: Franky Lin Change-Id: I7e7d215c5267517f8c0cbbf13fe70ac443a34af8 Reviewed-on: http://hnd-swgit.sj.broadcom.com:8080/5420

[PATCH 06/13] brcmfmac: Add support for PCIE 4350 revision 5 device.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: I72b519ec6a7ff0d36f076df06d042f0c5894142c Reviewed-on:

[PATCH 05/13] brcmfmac: Make TDLS a detectable feature.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: I4f6047f247e15588b38bfff54bf5bef3e9d9a813 Reviewed-on:

[PATCH 10/13] brcmfmac: add 43242 device id for LG dongle

2015-12-09 Thread Arend van Spriel
Got a hint on IRC that a 43242 dongle for LG smart TV's works with brcmfmac: > Hello - I recently got a LG AN-WF500 wireless dongle for LG's SmartTVs. > From the information I gathered it uses a Broadcom chipset BCM43242. > The device should have been supported by brcmfmac kernel driver if it

[PATCH 08/13] brcmfmac: Fix IBSS setup.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman IBSS got broken over time. Disconnect events should not be given for IBSS mode and connect events for IBSS need to have channel information. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts

[PATCH 11/13] brcmfmac: Change error print in debug print.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman The pcie suspend and resume routines contain some error prints, which should have been debug prints. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman

[PATCH 07/13] brcmfmac: no interface combination check for single interface

2015-12-09 Thread Arend van Spriel
The interface combinations are intended for use-case in which the driver handles multiple interface concurrently. This means that the combinations do not need to be checked when there is only a single interface active. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul

[PATCH 00/13] brcmfmac: IBSS fix and cleanup

2015-12-09 Thread Arend van Spriel
This series provides following: * fix IBSS which got broken over time. * new USB id for bcm43242 dongle. * arp offload configuration through inet notifier. The series is intended for 4.5 kernel and applies to master branch of the wireless-drivers-next repository. Arend van Spriel (2):

[PATCH 12/13] brcmfmac: Move scheduled scan related interface layer structs.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman All interface layer related to scheduled scan are moved in fwil_types.h Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id:

[PATCH 04/13] brcmfmac: Cleanup pmksa cache handling code.

2015-12-09 Thread Arend van Spriel
From: Hante Meuleman Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Change-Id: Ib5026eec9652dfdfd184c2fa97e1588f9f9cb4d8 Reviewed-on:

Re: [patch] iwlwifi: mvm: remove an extra tab

2015-12-09 Thread Johannes Berg
On Wed, 2015-12-09 at 13:26 +0300, Dan Carpenter wrote: > Smatch prints a static checker warning here: > > drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c:386 > iwl_dump_prph() > warn: curly braces intended? > > Curly braces are NOT intended, the extra tab was added by mistake in >

[patch] iwlwifi: mvm: remove an extra tab

2015-12-09 Thread Dan Carpenter
Smatch prints a static checker warning here: drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c:386 iwl_dump_prph() warn: curly braces intended? Curly braces are NOT intended, the extra tab was added by mistake in commit 1a616dd2f171 ('iwlwifi: dump prph registers in a common place for all

[PATCH 09/13] brcmfmac: fix waitqueue_active without memory barrier in brcmfmac driver

2015-12-09 Thread Arend van Spriel
From: Kosuke Tatsukawa brcmf_msgbuf_ioctl_resp_wake() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. brcmf_msgbuf_ioctl_resp_wake brcmf_msgbuf_ioctl_resp_wait

Re: [PATCH 01/13] brcmfmac: Simplify scan timing configuration.

2015-12-09 Thread Kalle Valo
Arend van Spriel writes: > From: Hante Meuleman > Please, no empty commit logs. For a patch like this it takes like 30 seconds to write a short log describing why and how you are simplifying the code. Next year I'm thinking of start rejecting patches

[PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-09 Thread Linus Walleij
This removes the use of container_of() constructions from *all* GPIO drivers in the kernel. It is done by instead adding an optional void *data pointer to the struct gpio_chip and an accessor function, gpiochip_get_data() to get it from a driver. WHY? Because we want to have a proper userspace

Re: [PATCH] NFC: nci: fix memory leak

2015-12-09 Thread Sudip Mukherjee
On Mon, Nov 16, 2015 at 06:27:15PM +0530, Sudip Mukherjee wrote: > In case of invalid number_destination_params we were returning error but > we missed releasing cmd. Lets check for the number of parameter before > allocating memory so that we don't have a memory leak. > > Signed-off-by: Sudip

[PATCH 153/182] bcma: gpio: use gpiochip data pointer

2015-12-09 Thread Linus Walleij
This makes the driver use the data pointer added to the gpio_chip to store a pointer to the state container instead of relying on container_of(). Cc: Rafał Miłecki Cc: Hauke Mehrtens Cc: Kalle Valo Cc: linux-wireless@vger.kernel.org

Re: ath10k: device has crashed during init - qca6174 chipset

2015-12-09 Thread Bartlomiej Grzeskowiak
Hi Rajkumar, Great. It works now. I do not have a fully functional wlan yet, but at least the insmod goes through. This issue is solved. BR Bartek 2015-12-07 10:08 GMT+01:00 Rajkumar Manoharan : > On Tue, Dec 01, 2015 at 11:28:25AM +0100, Bartlomiej Grzeskowiak

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-09 Thread Russell King - ARM Linux
On Wed, Dec 09, 2015 at 02:08:35PM +0100, Linus Walleij wrote: > Because we want to have a proper userspace ABI for GPIO chips, > which involves using a character device that the user opens > and closes. While the character device is open, the underlying > kernel objects must not go away. Okay,

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-09 Thread Linus Walleij
On Wed, Dec 9, 2015 at 2:44 PM, Russell King - ARM Linux wrote: Thanks Russell, I think you speed up the design and shorten the development time by providing these ideas, so it is much, much appreciated. > On Wed, Dec 09, 2015 at 02:08:35PM +0100, Linus Walleij wrote: >>

Re: ATH10K VLAN firmware issue

2015-12-09 Thread Ben Greear
This only happens when you use STA + WDS, or is .1q broken for you in other cases as well? Thanks, Ben On 12/08/2015 06:29 AM, Cedric VONCKEN wrote: I'm testing to transmit frame with 802.1q tag (VLAN). My client is set in STA + WDS and the netdev is bridged with eth0.

[PATCH] iwlegacy: mark il_adjust_beacon_interval as noinline

2015-12-09 Thread Arnd Bergmann
With the new optimized do_div() code, some versions of gcc produce obviously incorrect code that leads to a link error in iwlegacy/common.o: drivers/built-in.o: In function `il_send_rxon_timing': :(.text+0xa6b4d4): undefined reference to `ilog2_NaN' :(.text+0xa6b4f0): undefined reference to

Re: [PATCH] iwlegacy: mark il_adjust_beacon_interval as noinline

2015-12-09 Thread Nicolas Pitre
On Wed, 9 Dec 2015, Arnd Bergmann wrote: > With the new optimized do_div() code, some versions of gcc > produce obviously incorrect code that leads to a link error > in iwlegacy/common.o: > > drivers/built-in.o: In function `il_send_rxon_timing': > :(.text+0xa6b4d4): undefined reference to

RE: ATH10K VLAN firmware issue

2015-12-09 Thread voncken
> -Message d'origine- > De : Ben Greear [mailto:gree...@candelatech.com] > Envoyé : mercredi 9 décembre 2015 16:34 > À : Cedric VONCKEN; ath...@lists.infradead.org; linux-wireless > Objet : Re: ATH10K VLAN firmware issue > > This only happens when you use STA + WDS, or is .1q broken

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-09 Thread Dmitry Torokhov
On Wed, Dec 09, 2015 at 02:08:35PM +0100, Linus Walleij wrote: > This removes the use of container_of() constructions from *all* > GPIO drivers in the kernel. It is done by instead adding an > optional void *data pointer to the struct gpio_chip and an > accessor function, gpiochip_get_data() to

[PATCH] ssb: pick SoC invariants code from MIPS BCM47xx arch

2015-12-09 Thread Rafał Miłecki
There is code in ssb fetching "invariants" that is basically a set of board specific data. Every host requires its own implementation of reading function. In ssb we have support for PCI, PCMCIA & SDIO. For some (historical?) reason code reading "invariants" for SoC was placed in arch code and

Re: [PATCH 153/182] bcma: gpio: use gpiochip data pointer

2015-12-09 Thread Hauke Mehrtens
On 12/09/2015 02:43 PM, Linus Walleij wrote: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). > > Cc: Rafał Miłecki > Cc: Hauke Mehrtens > Cc: Kalle Valo

[PATCH] NFC: fdp: fix handling return value of nci_conn_max_data_pkt_payload_size

2015-12-09 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by:

Re: [PATCH 153/182] bcma: gpio: use gpiochip data pointer

2015-12-09 Thread Rafał Miłecki
On 9 December 2015 at 14:43, Linus Walleij wrote: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). > > Cc: Rafał Miłecki > Cc: Hauke Mehrtens

[PATCH] NFC: fdp: fix handling return value of fdp_nci_create_conn

2015-12-09 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: