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

2015-03-06 Thread Larry Finger
On 03/06/2015 04:15 PM, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com This is a new driver for the rtl8723au which was written from scratch, to utilize the Linux mac80211 stack. This has been a pet project for me for some time I finally feel it is stable enough to

[PATCH net-next 0/2] build fixes for iwlwifi

2015-03-06 Thread Eric W. Biederman
drivers/net/wireles/iwlwifi/mvm fails to build for me on net-next. Eric W. Biederman (2): iwlwifi: mvm: Fix the build of mvm/mac-ctxt.c with debugfs disabled iwlwifi: mvm: Fix the build of mvm/phy-ctxt.c with debugfs disabled drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | 7 ++-

[PATCH 1/2] iwlwifi: mvm: Fix the build of mvm/mac-ctxt.c with debugfs disabled

2015-03-06 Thread Eric W. Biederman
When attempting to build my kernel I get: CC drivers/net/wireless/iwlwifi/mvm/mac-ctxt.o drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c: In function ‘iwl_mvm_beacon_loss_iterator’: drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c:1378:30: error: ‘struct iwl_mvm_vif’ has no member named ‘mvm’

[PATCH net-next 2/2] iwlwifi: mvm: Fix the build of mvm/phy-ctxt.c with debugfs disabled

2015-03-06 Thread Eric W. Biederman
When attempting to build my kernel I get: CC drivers/net/wireless/iwlwifi/mvm/phy-ctxt.o drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c: In function ‘iwl_mvm_phy_ctxt_cmd_data’: drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c:178:6: error: ‘struct iwl_mvm’ has no member named

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

2015-03-06 Thread Joe Perches
On Fri, 2015-03-06 at 17:15 -0500, jes.soren...@redhat.com wrote: 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

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Zefir Kurtisi
repost, unintentionally removed linux-wireless from CC On 03/06/2015 01:32 PM, Henning Rogge wrote: On Fri, Mar 6, 2015 at 1:24 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: On 03/06/2015 09:04 AM, Henning Rogge wrote: [...] Second, we are seeing a huge amount of radar events on some

[PATCH] brcmfmac: Perform bound checking on vendor command buffer

2015-03-06 Thread Arend van Spriel
From: Pontus Fuchs pont...@broadcom.com A short or malformed vendor command buffer could cause reads outside the command buffer. Cc: sta...@vger.kernel.org # v3.19 Signed-off-by: Pontus Fuchs pont...@broadcom.com [ar...@broadcom.com: slightly modified debug trace output] Signed-off-by: Arend van

Re: [PATCH] brcmfmac: Perform bound checking on vendor command buffer

2015-03-06 Thread Arend van Spriel
On 03/06/15 16:18, Arend van Spriel wrote: From: Pontus Fuchspont...@broadcom.com A short or malformed vendor command buffer could cause reads outside the command buffer. Cc: sta...@vger.kernel.org # v3.19 Signed-off-by: Pontus Fuchspont...@broadcom.com [ar...@broadcom.com: slightly modified

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Jes Sorensen
Quentin Lambert lambert.quen...@gmail.com writes: This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) This patch removes useful

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Julia Lawall
On Fri, 6 Mar 2015, Jes Sorensen wrote: Quentin Lambert lambert.quen...@gmail.com writes: This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows:

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Janusz Dziedzic
On 6 March 2015 at 10:26, Henning Rogge hro...@gmail.com wrote: On Fri, Mar 6, 2015 at 9:38 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 6 March 2015 at 09:04, Henning Rogge hro...@gmail.com wrote: First, we cannot open a Mesh interface on a DFS channel unless we open an AP

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Jouni Malinen
On Fri, Mar 06, 2015 at 01:54:22PM +0100, Henning Rogge wrote: Yes, wpa_supplicant has support for mesh BSS since November. Do you mean IBSS or 802.11s? Mesh BSS is the name of the functionality that was added in the 802.11s amendment.. 802.11s is not really a good name to use for this taken

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
On Fri, Mar 6, 2015 at 1:24 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: On 03/06/2015 09:04 AM, Henning Rogge wrote: [...] Second, we are seeing a huge amount of radar events on some nodes, but not on a node on the same channel in the next room. What is the status of the DFS detector

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Zefir Kurtisi
On 03/06/2015 09:04 AM, Henning Rogge wrote: [...] Second, we are seeing a huge amount of radar events on some nodes, but not on a node on the same channel in the next room. What is the status of the DFS detector in ath9k, is it reliable or is it still experimental. Henning, the DFS

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
On Fri, Mar 6, 2015 at 1:50 PM, Jouni Malinen j...@w1.fi wrote: On Fri, Mar 06, 2015 at 01:29:06PM +0100, Janusz Dziedzic wrote: So, in case of ibss/mesh you could make wpa_supplicant dfs.c common and use it (perform CAC and other operations). I actually pushed out changes yesterday to allow

[PATCH] rtlwifi: Remove duplicated prototype

2015-03-06 Thread Taehee Yoo
Remove duplicated prototype in base.h Signed-off-by: Taehee Yoo ap420...@gmail.com --- drivers/net/wireless/rtlwifi/base.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/base.h b/drivers/net/wireless/rtlwifi/base.h index dee4ac2..ff9a4bf 100644 ---

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Jes Sorensen
Julia Lawall julia.law...@lip6.fr writes: On Fri, 6 Mar 2015, Jes Sorensen wrote: Quentin Lambert lambert.quen...@gmail.com writes: This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that

pull-request: wireless-drivers-next 2015-03-06

2015-03-06 Thread Kalle Valo
Hi Dave, here's a pull request for net-next. Lots of smaller fixes and cleanup, major changes are documented in the signed tag and available below Do note that I wasn't able compile net-next (commit 23375a0fd549) with my config: wireless-drivers-next/include/net/switchdev.h:133: multiple

Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

2015-03-06 Thread Kalle Valo
Jim Davis jim.ep...@gmail.com writes: However, that commit is in next-20150304 and we still get the error (see, for example, http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/). I applied few fixes from Rafal and Chen: 1ca2760fb2c1 bcma: prepare Kconfig symbol for PCI driver

Re: pull request: iwlwifi 2015-03-05

2015-03-06 Thread Kalle Valo
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: Hi Kalle, This is a pull request for 4.0. Details in the tag as usual. Thanks! The following changes since commit f5af19d10d151c5a2afae3306578f485c244db25: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-02-17

Re: carl1970: monitor mode only displaying beacons/probs from APs?

2015-03-06 Thread marco
On Fri, Mar 06, 2015 at 10:34:42AM +0100, wim torfs wrote: Hi, Perhaps a silly question, and I'm sure you already covered this, but I need to ask, just to be sure. Did you enable promiscuous mode to capture the data packets? Could you elaborate on the employed method for capturing the

Re: [RFC v2] [RFC] mac80211: lock rate control

2015-03-06 Thread Sven Eckelmann
On Thursday 05 March 2015 18:07:17 Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com Both minstrel (reported by Sven Eckelmann) and the iwlwifi rate control aren't properly taking concurrency into account. It's likely that the same is true for other rate control algorithms.

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
On Fri, Mar 6, 2015 at 9:38 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 6 March 2015 at 09:04, Henning Rogge hro...@gmail.com wrote: First, we cannot open a Mesh interface on a DFS channel unless we open an AP interface first (and closing the AP interface before activating the

Re: carl1970: monitor mode only displaying beacons/probs from APs?

2015-03-06 Thread wim torfs
Hi, On 03/06/2015 06:20 AM, Marco wrote: On 03/05/15 06:10, Christian Lamparter wrote: Hello, On Wednesday, March 04, 2015 11:02:25 PM ma...@tampabay.rr.com wrote: Quite a while back after doing an upgrade to the latest (back then) compat-wireless, I noticed that I was only seeing

[PATCH V3 1/2] ath10k: Add abstraction layer for peer flags

2015-03-06 Thread SenthilKumar Jegadeesan
Abstraction layer for peer flags is added to fix ABI breakage. Signed-off-by: SenthilKumar Jegadeesan sjega...@qti.qualcomm.com --- V2: - Subject: [PATCH] ath10k: Enable encryption of ADDBA request in PMF patch is split into two patches. patch 1 : Add abstraction layer for peer flags

[PATCH V3 2/2] ath10k: Enable encryption of ADDBA request in PMF configuration

2015-03-06 Thread SenthilKumar Jegadeesan
In HT mode, firmware is not encrypting ADDBA request as PMF configuration is not set in peer flags during association. Set peer flags for MFP enabled station in ath10k driver. This change depends on mac80211 patch [PATCH] mac80211: send station PMF configuration to driver. Signed-off-by:

[PATCH 1/5] brcmfmac: Fix oops when SDIO device is removed.

2015-03-06 Thread Arend van Spriel
From: Hante Meuleman meule...@broadcom.com On removal of SDIO card both functions of card will be getting a remove call. When the first is hanging in ctrl frame xmit then the second will cause oops. This patch fixes the xmit ctrl handling in case of serious errors and also limits the handling for

[PATCH 0/5] brcmfmac: new device and some fixes

2015-03-06 Thread Arend van Spriel
This patch series adds new BCM4345 SDIO device support to brcmfmac and address a number of potential issues either found by testing or code inspection. The series is intended for the v4.1 kernel and applies to the master branch of the wireless-drivers-next repository. Hante Meuleman (4):

[PATCH 2/5] brcmfmac: Simplify watchdog sleep.

2015-03-06 Thread Arend van Spriel
From: Hante Meuleman meule...@broadcom.com The watchdog thread is used to put the SDIO bus to sleep when the system is idling. This patch simplifies the way it is determined when sleep can be entered. Reviewed-by: Arend Van Spriel ar...@broadcom.com Reviewed-by: Franky (Zhenhui) Lin

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Joe Perches
On Fri, 2015-03-06 at 11:08 -0500, Jes Sorensen wrote: Julia Lawall julia.law...@lip6.fr writes: On Fri, 6 Mar 2015, Jes Sorensen wrote: Quentin Lambert lambert.quen...@gmail.com writes: This patch reduces the kernel size by removing error messages that duplicate the normal OOM

[PATCH 5/5] brcmfmac: Add support for BCM4345 SDIO chipset.

2015-03-06 Thread Arend van Spriel
From: Syed Asifful Dayyan sy...@broadcom.com These changes add support for BCM4345 SDIO chipset. Reviewed-by: Pieter-Paul Giesberts piete...@broadcom.com Reviewed-by: Arend Van Spriel ar...@broadcom.com Reviewed-by: Hante Meuleman meule...@broadcom.com Reviewed-by: Daniel (Deognyoun) Kim

Re: carl1970: monitor mode only displaying beacons/probs from APs?

2015-03-06 Thread wim torfs
On 03/06/2015 05:12 PM, marco wrote: On Fri, Mar 06, 2015 at 10:34:42AM +0100, wim torfs wrote: Hi, Perhaps a silly question, and I'm sure you already covered this, but I need to ask, just to be sure. Did you enable promiscuous mode to capture the data packets? Could you elaborate on the

[PATCH 4/5] brcmfmac: Fix race condition in msgbuf ioctl processing.

2015-03-06 Thread Arend van Spriel
From: Hante Meuleman meule...@broadcom.com Msgbuf is using a wait_event_timeout to wait for the response on an ioctl. The wakeup routine uses waitqueue_active to see if wait_event_timeout has been called. There is a chance that the response arrives before wait_event_timeout is called, this will

[PATCH 3/5] brcmfmac: Fix possible race-condition.

2015-03-06 Thread Arend van Spriel
From: Hante Meuleman meule...@broadcom.com SDIO is using a shared variable to handoff ctl frames to DPC and to see when they are done. In a timeout situation this can lead to erroneous situation where DPC started to handle the ctl frame while the timeout expired. This patch will fix this by

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Jes Sorensen
Joe Perches j...@perches.com writes: On Fri, 2015-03-06 at 11:08 -0500, Jes Sorensen wrote: Julia Lawall julia.law...@lip6.fr writes: On Fri, 6 Mar 2015, Jes Sorensen wrote: Quentin Lambert lambert.quen...@gmail.com writes: This patch reduces the kernel size by removing error messages

Re: [PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Joe Perches
On Fri, 2015-03-06 at 14:43 -0500, Jes Sorensen wrote: Joe Perches j...@perches.com writes: On Fri, 2015-03-06 at 11:08 -0500, Jes Sorensen wrote: Julia Lawall julia.law...@lip6.fr writes: On Fri, 6 Mar 2015, Jes Sorensen wrote: Quentin Lambert lambert.quen...@gmail.com writes: This

Re: pull-request: wireless-drivers-next 2015-03-06

2015-03-06 Thread David Miller
From: Kalle Valo kv...@codeaurora.org Date: Fri, 06 Mar 2015 19:08:10 +0200 here's a pull request for net-next. Lots of smaller fixes and cleanup, major changes are documented in the signed tag and available below Do note that I wasn't able compile net-next (commit 23375a0fd549) with my

Re: [PATCH 1/2] ath10k: refactor p2p noa code

2015-03-06 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: Some files are getting bloated and it makes sense to split some of the code into separate files. Do so with the P2P NoA code and prepare it for reuse. Signed-off-by: Michal Kazior michal.kaz...@tieto.com Thanks, both patches applied. -- Kalle

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

2015-03-06 Thread Joe Perches
On Sat, 2015-03-07 at 00:37 -0500, Jes Sorensen wrote: Joe Perches j...@perches.com writes: On Sat, 2015-03-07 at 00:23 -0500, Jes Sorense wrote: Larry Finger larry.fin...@lwfinger.net writes: I also think that this code should be placed in a separate sub directory under

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

2015-03-06 Thread Jes Sorensen
Joe Perches j...@perches.com writes: On Sat, 2015-03-07 at 00:18 -0500, Jes Sorensen wrote: The long strings are an outright nack. Pity. There's a specific exclusion in CodingStyle. Chapter 2: Breaking long lines and strings never break user-visible strings such as printk messages,

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

2015-03-06 Thread Joe Perches
On Sat, 2015-03-07 at 00:23 -0500, Jes Sorensen wrote: Larry Finger larry.fin...@lwfinger.net writes: I also think that this code should be placed in a separate sub directory under drivers/net/wireless. [] If the code grows substantially, we can move it into a sub directory, but for now

Re: [PATCH 1/2] ath10k: increase duty cycle maximum limit

2015-03-06 Thread Kalle Valo
Rajkumar Manoharan rmano...@qti.qualcomm.com writes: Allow user to configure the duty cycle upto 100%. Since thermal mitigation algorithm is running in user space, remove the driver level limitation and let the user to control the temperature. Signed-off-by: Rajkumar Manoharan

Re: [PATCH] ath10k: fix ap u-apsd cmd on qca6174 w/ wmi-tlv

2015-03-06 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: The command was truncated so the parameter value was seen in fw as 0. This caused U-APSD enabled stations to be misconfigured and mistreated by AP. Signed-off-by: Michal Kazior michal.kaz...@tieto.com Thanks, applied. -- Kalle Valo -- To

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

2015-03-06 Thread Jes Sorensen
Larry Finger larry.fin...@lwfinger.net writes: On 03/06/2015 04:15 PM, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com This is a new driver for the rtl8723au which was written from scratch, to utilize the Linux mac80211 stack. This has been a pet project for me for

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

2015-03-06 Thread Joe Perches
On Sat, 2015-03-07 at 00:18 -0500, Jes Sorensen wrote: The long strings are an outright nack. Pity. There's a specific exclusion in CodingStyle. Chapter 2: Breaking long lines and strings never break user-visible strings such as printk messages, because that breaks the ability to grep

Re: pull-request: wireless-drivers-next 2015-03-06

2015-03-06 Thread Kalle Valo
David Miller da...@davemloft.net writes: From: Kalle Valo kv...@codeaurora.org Date: Fri, 06 Mar 2015 19:08:10 +0200 here's a pull request for net-next. Lots of smaller fixes and cleanup, major changes are documented in the signed tag and available below Do note that I wasn't able compile

Re: [PATCH net-next 0/2] build fixes for iwlwifi

2015-03-06 Thread Kalle Valo
ebied...@xmission.com (Eric W. Biederman) writes: drivers/net/wireles/iwlwifi/mvm fails to build for me on net-next. Eric W. Biederman (2): iwlwifi: mvm: Fix the build of mvm/mac-ctxt.c with debugfs disabled iwlwifi: mvm: Fix the build of mvm/phy-ctxt.c with debugfs disabled

Re: [PATCH 1/2] ath10k: fix broken traffic for 802.1x in client mode

2015-03-06 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: When running 802.1x WEP keys must be installed without pairwise-groupwise swap (which is necessary for static WEP). Signed-off-by: Michal Kazior michal.kaz...@tieto.com Thanks, both patches applied. -- Kalle Valo -- To unsubscribe from this

Re: [PATCH] ath10k: update MODULE_FIRMWARE definitions for QCA6174

2015-03-06 Thread Kalle Valo
Bartosz Markowski bartosz.markow...@tieto.com writes: This has been missed while adding the QCA6174 support. As in the last time, without advertising the firmware files as needed (or optional) for ath10k, these won't be built into ram disk for instance. Signed-off-by: Bartosz Markowski

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

2015-03-06 Thread Jes Sorensen
Joe Perches j...@perches.com writes: On Fri, 2015-03-06 at 17:15 -0500, jes.soren...@redhat.com wrote: 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

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

2015-03-06 Thread Jes Sorensen
Joe Perches j...@perches.com writes: On Sat, 2015-03-07 at 00:23 -0500, Jes Sorensen wrote: Larry Finger larry.fin...@lwfinger.net writes: I also think that this code should be placed in a separate sub directory under drivers/net/wireless. [] If the code grows substantially, we can

Re: [PATCH] ath10k: fix TxBF VHT capabilities for 2+ RF-chain devices

2015-03-06 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: Firmware doesn't report a complete and ready-to-use vht cap. Instead the driver is supposed to fill in the missing bits related to number of chains. This effectively increases Compressed Steering Number and Number of Sounding Dimensions in

Re: [PATCH v2] ath10k: fix AP/IBSS CSA with template based fw

2015-03-06 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: qca6174 with wmi-tlv firmware uses offloaded beaconing scheme (i.e. templates). This requires a little different approach when implementing CSA. Add missing code to update CS count and report CSA completion to mac80211. Without it channel switch

State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
Hi, I am working with a co-worker on DFS-support for the 802.11s implementation of the mac80211 stack. As a test we just removed the test for DFS not supported from net/mac80211/mesh.c, but we are still facing two problems. First, we cannot open a Mesh interface on a DFS channel unless we open

Re: linux-next: Tree for Mar 5 (iwlwifi/mvm)

2015-03-06 Thread Emmanuel Grumbach
On Fri, Mar 6, 2015 at 1:41 AM, Randy Dunlap rdun...@infradead.org wrote: On 03/04/15 19:34, Stephen Rothwell wrote: Hi all, Changes since 20150304: on i386, when IWLWIFI_DEBUGFS is not enabled: ../drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c:179:38: error: 'struct iwl_mvm' has no

[PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Quentin Lambert
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e =

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Janusz Dziedzic
On 6 March 2015 at 09:04, Henning Rogge hro...@gmail.com wrote: Hi, I am working with a co-worker on DFS-support for the 802.11s implementation of the mac80211 stack. As a test we just removed the test for DFS not supported from net/mac80211/mesh.c, but we are still facing two problems.

Re: [PATCH v10 3/3] cfg80211: Schedule timeout for all CRDA calls

2015-03-06 Thread Johannes Berg
On Thu, 2015-03-05 at 23:55 +0100, Luis R. Rodriguez wrote: On Wed, Mar 04, 2015 at 12:32:07AM -0500, Ilan Peer wrote: Timeout was scheduled only in case CRDA was called due to user hints, but was not scheduled for other cases. This can result in regulatory hint processing getting stuck in

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

2015-03-06 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com This is a new driver for the rtl8723au which was written from scratch, to utilize the Linux mac80211 stack. This has been a pet project for me for some time I finally feel it is stable enough to submit. I have used it for a while without any serious