Re: Stable request 9374e7d2 rtlwifi: rtl8192cu: Add new device ID

2015-04-28 Thread Marek Vasut
On Tuesday, April 28, 2015 at 03:56:04 PM, Anders Larsen wrote: Hi, commit 9374e7d2fdcad3c36dafc8d3effd554bc702c4b6 Author: Marek Vasut ma...@denx.de Date: 2015-03-26 02:16:06 +0100 rtlwifi: rtl8192cu: Add new device ID Add new ID for ASUS N10 WiFi dongle. in Linus' tree

Re: Stable request 9374e7d2 rtlwifi: rtl8192cu: Add new device ID

2015-04-28 Thread Anders Larsen
On 2015-04-28 16:10, Marek Vasut wrote: did you check [1] please? I might be wrong, but these are the official -stable submission guidelines to my knowledge. [1] https://www.kernel.org/doc/Documentation/stable_kernel_rules.txt sure I did - networking has its own stable submission guidelines

Re: [PATCH 1/1] New driver: rtl8723au (mac80211)

2015-04-28 Thread Jes Sorensen
Kalle Valo kv...@codeaurora.org writes: jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This is an alternate driver for the Realtek 8723AU (rtl8723au) written from scratch utilizing the mac80211 stack. After spending months cleaning up the vendor provided

Stable request 9374e7d2 rtlwifi: rtl8192cu: Add new device ID

2015-04-28 Thread Anders Larsen
Hi, commit 9374e7d2fdcad3c36dafc8d3effd554bc702c4b6 Author: Marek Vasut ma...@denx.de Date: 2015-03-26 02:16:06 +0100 rtlwifi: rtl8192cu: Add new device ID Add new ID for ASUS N10 WiFi dongle. in Linus' tree has been tested on 3.16.7 and 3.10.5x and applies cleanly all the way back

Re: Stable request 9374e7d2 rtlwifi: rtl8192cu: Add new device ID

2015-04-28 Thread Marek Vasut
On Tuesday, April 28, 2015 at 04:22:34 PM, Anders Larsen wrote: On 2015-04-28 16:10, Marek Vasut wrote: did you check [1] please? I might be wrong, but these are the official -stable submission guidelines to my knowledge. [1]

Re: NFC: CONFIG_NFC_DEBUG not defined

2015-04-28 Thread Clément Perrochaud
On Mon, Apr 27, 2015 at 9:03 AM, Valentin Rothberg wrote: Hi Clément, your commit dece45855a8b (NFC: nxp-nci: Add support for NXP NCI chips) adds the Makefile drivers/nfc/nxp-nci/Makefile with the following line: +ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG The Kconfig option NFC_DEBUG is not

Re: [for,4.1] rtlwifi: rtl8192cu: Fix kernel deadlock

2015-04-28 Thread Kalle Valo
The USB mini-driver in rtlwifi, which is used by rtl8192cu, issues a call to usb_control_msg() with a timeout value of 0. In some instances where the interface is shutting down, this infinite wait results in a CPU deadlock. A one second timeout fixes this problem without affecting any normal

Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

2015-04-28 Thread Larry Finger
On 04/28/2015 11:40 AM, Taehee Yoo wrote: 2015-04-29 1:21 GMT+09:00 Kalle Valo kv...@codeaurora.org: Taehee Yoo ap420...@gmail.com writes: Sometimes rtl8192cu is not sending beacon frame. This patch fix this issue. Signed-off-by: Taehee Yoo ap420...@gmail.com Larry, what do you think?

Re: [PATCH 1/1] New driver: rtl8723au (mac80211)

2015-04-28 Thread Kalle Valo
Kalle Valo kv...@codeaurora.org writes: And I pushed this to wireless-drivers-next.git pending branch so that kbuild will run it's tests with this driver. There was one warning from kbuild, but I didn't check if it's just a false warning or what: drivers/net/wireless/rtl8xxxu.c: In function

[PATCH 1/8] iwlwifi: mvm: fix Tx Power firmware API

2015-04-28 Thread Emmanuel Grumbach
From: Avri Altman avri.alt...@intel.com The firmware doesn't relate the scan to a vif. The scan is run by a separate entity called auxiliary MAC (aka AUX MAC). This AUX MAC needs to get Tx power limitations that are not applied on a specific vif, but on the device as a whole. This can be

[PATCH 5/8] iwlwifi: pcie: prevent using unmapped memory in fw monitor

2015-04-28 Thread Emmanuel Grumbach
From: Liad Kaufman liad.kauf...@intel.com In the case of a DMA mapping error on the last iteration of the loop of the allocation of memory of the FW monitor we indeed free the pages, but don't NULL out the page variable thus allowing for the possibility of setting the FW monitor variables with

[PATCH 2/8] iwlwifi: mvm: don't stop the FW monitor too early

2015-04-28 Thread Emmanuel Grumbach
When the delay paramatere is provided, we need to stop the collection only after the delay has elapsed. Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com --- drivers/net/wireless/iwlwifi/mvm/fw.c | 9 -

[PATCH 6/8] iwlwifi: mvm: don't power off the device between INIT and OPER firmwares

2015-04-28 Thread Emmanuel Grumbach
From: Eran Harary eran.har...@intel.com Our device needs two different firmwares: the INIT firmware and the operational (OPER) firmware. The first one is run when the driver loads and it returns calibrations results as well as the NVM. The second one implements the WiFi protocol. If the wlan

[PATCH 3/8] iwlwifi: mvm: fix scan iteration complete notification handling

2015-04-28 Thread Emmanuel Grumbach
From: Avraham Stern avraham.st...@intel.com Scan iteration complete notification handling uses the wrong FW API version (version 2 instead of version 3). Fix that by removing version 2 API which is no longer used, and using only the updated version. Signed-off-by: Avraham Stern

[PATCH 4/8] iwlwifi: mvm: Avoid signal based decisions if ave beacon RSSI is 0

2015-04-28 Thread Emmanuel Grumbach
From: Alexander Bondar alexander.bon...@intel.com If for some reason statistics notification received from the firmware reports 0 in average beacon RSSI value, then skip it and avoid signal based decisions. Signed-off-by: Alexander Bondar alexander.bon...@intel.com Reviewed-by: Johannes Berg

[PATCH 7/8] iwlwifi: mvm: fix typo in CONFIG option

2015-04-28 Thread Emmanuel Grumbach
I forgot to rename the CPTCFG_ prefix... Fixes: 484b3d13b4ac (iwlwifi: mvm: add debugfs entry with the number of net-detect scans) Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com --- drivers/net/wireless/iwlwifi/mvm/d3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 8/8] iwlwifi: mvm: force quota update update after FW restart

2015-04-28 Thread Emmanuel Grumbach
From: Johannes Berg johannes.b...@intel.com During firmware restart, the quota command isn't calculated multiple times, but after the firmware restart it has to be sent, so force it. Otherwise the firmware crashes. Signed-off-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Emmanuel

pull request: iwlwifi 2015-04-28

2015-04-28 Thread Grumbach, Emmanuel
Hi Kalle, Here is the first round of fixes for 4.1. As usual, this first round is slightly big. I hope things will settle down later. Please pull. Thanks! The following changes since commit 6c373ca89399c5a3f7ef210ad8f63dc3437da345: Merge

Re: [PATCH 1/1] New driver: rtl8723au (mac80211)

2015-04-28 Thread Larry Finger
On 04/28/2015 09:27 AM, Jes Sorensen wrote: Kalle Valo kv...@codeaurora.org writes: jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This is an alternate driver for the Realtek 8723AU (rtl8723au) written from scratch utilizing the mac80211 stack. After spending

Re: Stable request 9374e7d2 rtlwifi: rtl8192cu: Add new device ID

2015-04-28 Thread Larry Finger
Please note that there are two commits just added to the mainline repo that should be propagated to all stable kernels. Both are addition of new USB IDs for an old driver, thus they will cause to side effects. Unfortunately, the Cc to stable was missed in the first of these, thus the need for

Re: [PATCH] ath9k: fix per-packet tx power configuration

2015-04-28 Thread Kalle Valo
Lorenzo Bianconi lorenzo.biancon...@gmail.com writes: Do not use ieee80211_vif pointer in ath_get_rate_txpower() since it has been overwritten by setup_frame_info() and it will result in a corrupted tx power configuration. Set per-packet tx power in setup_frame_info() according to current vif

Re: [PATCH 1/2] mwifiex: sdio: create global list of adapters

2015-04-28 Thread Kalle Valo
Andreas Fenkart afenk...@gmail.com writes: we need to verify that a an adapter pointer, still points to a valid adapter. this is not possible through other global structures, such as net_namespace_list. the problem with the net_namespace_list is that an adapter can have multiple interfaces,

Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

2015-04-28 Thread Kalle Valo
Taehee Yoo ap420...@gmail.com writes: Sometimes rtl8192cu is not sending beacon frame. This patch fix this issue. Signed-off-by: Taehee Yoo ap420...@gmail.com Larry, what do you think? Should I apply this? https://patchwork.kernel.org/patch/5856761/ -- Kalle Valo -- To unsubscribe from

Re: [PATCH] iwl4965: Enable checking of format strings

2015-04-28 Thread Kalle Valo
Rasmus Villemoes li...@rasmusvillemoes.dk writes: Since these fmt_* variables are just const char*, and not const char[], gcc (and smatch) doesn't to type checking of the arguments to the printf functions. Since the linker knows perfectly well to merge identical string constants, there's no

Re: [PATCH 07/10] brcmfmac: fix sdio suspend and resume

2015-04-28 Thread Arend van Spriel
On 04/28/15 18:14, Kalle Valo wrote: Ulf Hanssonulf.hans...@linaro.org writes: On 14 April 2015 at 20:10, Arend van Sprielar...@broadcom.com wrote: commit 330b4e4be937 (brcmfmac: Add wowl support for SDIO devices.) changed the behaviour by removing the MMC_PM_KEEP_POWER flag for non-wowl

Re: [PATCH] rtlwifi: rtl8192cu: Fix some beacon issue

2015-04-28 Thread Taehee Yoo
2015-04-29 1:21 GMT+09:00 Kalle Valo kv...@codeaurora.org: Taehee Yoo ap420...@gmail.com writes: Sometimes rtl8192cu is not sending beacon frame. This patch fix this issue. Signed-off-by: Taehee Yoo ap420...@gmail.com Larry, what do you think? Should I apply this?

Re: [PATCH 2/2] mwifiex: sdio: bug: dead-lock in card reset

2015-04-28 Thread Andreas Fenkart
Hi Kalle, thanks for reviewing this 2015-04-28 18:04 GMT+02:00 Kalle Valo kv...@codeaurora.org: Amitkumar Karwar akar...@marvell.com writes: Card reset is implemented by removing/re-adding the adapter instance. This is implemented by removing the mmc host, which will then trigger a cascade

Re: NFC: CONFIG_NFC_DEBUG not defined

2015-04-28 Thread Valentin Rothberg
Hi Clément, thanks for your answer. On Tue, Apr 28, 2015 at 10:23 AM, Clément Perrochaud clement.perroch...@effinnov.com wrote: On Mon, Apr 27, 2015 at 9:03 AM, Valentin Rothberg wrote: Hi Clément, your commit dece45855a8b (NFC: nxp-nci: Add support for NXP NCI chips) adds the Makefile

Re: [PATCH 1/1] New driver: rtl8723au (mac80211)

2015-04-28 Thread Kalle Valo
jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This is an alternate driver for the Realtek 8723AU (rtl8723au) written from scratch utilizing the mac80211 stack. After spending months cleaning up the vendor provided rtl8723au driver, which comes with it's own

Re: [PATCH] iwl4965: Enable checking of format strings

2015-04-28 Thread Stanislaw Gruszka
On Tue, Apr 28, 2015 at 07:19:02PM +0300, Kalle Valo wrote: Rasmus Villemoes li...@rasmusvillemoes.dk writes: Since these fmt_* variables are just const char*, and not const char[], gcc (and smatch) doesn't to type checking of the arguments to the printf functions. Since the linker knows

TX99 usage

2015-04-28 Thread Mathieu Slabbinck
Hi, we are having some troubles using TX99 for our wireless testing. Our goal is to have a system that can modify: - Tx gain - data rate - tx packet length - tx mode (continuous/burst) - specify tx antenna Currently, we're using a 3.10 kernel with all patches needed to provide tx99

[PATCH] drivers/nfc: remove obsolete setting of DEBUG

2015-04-28 Thread Valentin Rothberg
The CPP identifier 'DEBUG' is not used in the source code of nfc at all, so we can safely remove setting it in both Makefiles. Signed-off-by: Valentin Rothberg valentinrothb...@gmail.com --- I detected this issue with ./scripts/checkkconfigsymbols.py since CONFIG_NFC_DEBUG is not defined in