[PATCH 4/5] staging: wilc1000: remove unused define

2016-03-02 Thread Chaehyun Lim
This patch removes INFINITE_SLEEP_TIME that is not used in the driver, so just remove it. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_if.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h

[PATCH 3/5] staging: wilc1000: remove typedef from sdio_cmd53_t

2016-03-02 Thread Chaehyun Lim
This patch removes typedef from struct sdio_cmd53_t and renames it to sdio_cmd53. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_sdio.c| 10 +- drivers/staging/wilc1000/wilc_wlan_if.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-)

[PATCH 5/5] staging: wilc1000: remove typedef from enum tenuConnectSts

2016-03-02 Thread Chaehyun Lim
This patch removes typedef from enum tenuConnectSts and renames it to connect_status to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/5] staging: wilc1000: remove unnecessary comment codes

2016-03-02 Thread Chaehyun Lim
This patch removes unnecessary comment code in struct sdio_cmd53_t. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_if.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h

[PATCH 1/5] staging: wilc1000: remove typedef from struct sdio_cmd52_t

2016-03-02 Thread Chaehyun Lim
This patch removes typedef from struct sdio_cmd52_t and renames it to sdio_cmd52. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_sdio.c| 26 +- drivers/staging/wilc1000/wilc_wlan_if.h | 4 ++-- 2 files changed, 15

Bug report for ath10k and scanning many ssids.

2016-03-02 Thread Ben Greear
There is a bug in at least 10.1 ath10k firmware where the scan machine cannot send more than 5 or so probe requests due to running out of firmware management buffers.. Stock firmware is not smart enough to wait a bit and send them later. To reproduce, use a supplicant file like this (below).

[PATCH] mac80211: synchronize driver rx queues before removing a station

2016-03-02 Thread Emmanuel Grumbach
From: Sara Sharon Some devices, like iwlwifi, have RSS queues. This may cause a situation where a disassociation is handled in control path and results in station removal while there are prior RX frames that were still not processed in other queues. When they will be

[PATCH 1/3] mac80211: TDLS: always downgrade invalid chandefs

2016-03-02 Thread Emmanuel Grumbach
From: Arik Nemtsov Even if the current chandef width is equal to the station's max-BW, it doesn't mean it's a valid width for TDLS. Make sure to always check regulatory constraints in these cases. Fixes: dde4002 ("mac80211: upgrade BW of TDLS peers when possible")

[PATCH 2/3] mac80211: TDLS: change BW calculation for WIDER_BW peers

2016-03-02 Thread Emmanuel Grumbach
From: Arik Nemtsov The previous approach simply ignored chandef restrictions when calculating the appropriate peer BW for a WIDER_BW peer. This could result in a regulatory violation if both peers indicated 80MHz support, but the regdomain forbade it. Change the approach to

[PATCH 3/3] mac80211: recalc min_def chanctx even when chandef is identical

2016-03-02 Thread Emmanuel Grumbach
From: Arik Nemtsov The min_def chanctx is affected not only by the current chandef, but sometimes also by other stations on the vif. There's a valid scenario where a TDLS peer can widen its BW, thereby causing the min_def to increase. Signed-off-by: Arik Nemtsov

Re: [PATCH 2/2] mac80211: mesh: convert path table to rhashtable

2016-03-02 Thread David Miller
From: Bob Copeland Date: Wed, 2 Mar 2016 10:09:20 -0500 > In the time since the mesh path table was implemented as an > RCU-traversable, dynamically growing hash table, a generic RCU > hashtable implementation was added to the kernel. > > Switch the mesh path table over

[PATCH V11 2/2] brcmfmac: add support for nl80211 BSS_SELECT feature

2016-03-02 Thread Arend van Spriel
Announce support for nl80211 feature BSS_SELECT and process BSS selection behaviour provided in .connect() callback. Reviewed-by: Hante Meuleman Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Reviewed-by:

[PATCH V11 1/2] nl80211: add feature for BSS selection support

2016-03-02 Thread Arend van Spriel
Introducing a new feature that the driver can use to indicate the driver/firmware supports configuration of BSS selection criteria upon CONNECT command. This can be useful when multiple BSS-es are found belonging to the same ESS, ie. Infra-BSS with same SSID. The criteria can then be used to

Re: pull-request: mac80211 2016-03-02

2016-03-02 Thread David Miller
From: Johannes Berg Date: Wed, 2 Mar 2016 14:48:02 +0100 > Here are a few more fixes for the current cycle; the MAINTAINERS patch > isn't really a fix for the tree, but helps the kbuild robot and clearly > can't be causing any regressions :) > > Let me know if

[PATCH 1/2] mt76: add common code shared between multiple chipsets

2016-03-02 Thread Felix Fietkau
This will be used by drivers for MT76x2e, MT7603e and MT7628 Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/debugfs.c | 72 drivers/net/wireless/mediatek/mt76/dma.c | 437 ++ drivers/net/wireless/mediatek/mt76/dma.h |

[PATCH 00/14] drivers: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
I found many variations of the bug in these device drivers (and some USB drivers I already send patches for in a separate series). In each case, the power management operations structure conditionally references suspend/resume functions, but the functions are hidden in an incorrect #ifdef or not

[PATCH 10/14] wireless: cw1200: use __maybe_unused to hide pm functions_

2016-03-02 Thread Arnd Bergmann
The cw1200 uses #ifdef to check for CONFIG_PM, but then uses SIMPLE_DEV_PM_OPS, which leaves the references out when CONFIG_PM_SLEEP is not defined, so we get a warning with PM=y && PM_SLEEP=n: drivers/net/wireless/st/cw1200/cw1200_spi.c:450:12: error: 'cw1200_spi_suspend' defined but not used

[PATCH 1/2] rhashtable: accept GFP flags in rhashtable_walk_init

2016-03-02 Thread Bob Copeland
In certain cases, the 802.11 mesh pathtable code wants to iterate over all of the entries in the forwarding table from the receive path, which is inside an RCU read-side critical section. Enable walks inside atomic sections by allowing GFP_ATOMIC allocations for the walker state. Change all

[PATCH 2/2] mac80211: mesh: convert path table to rhashtable

2016-03-02 Thread Bob Copeland
In the time since the mesh path table was implemented as an RCU-traversable, dynamically growing hash table, a generic RCU hashtable implementation was added to the kernel. Switch the mesh path table over to rhashtable to remove some code and also gain some features like automatic shrinking. Cc:

[PATCH] mac80211: do not pass injected frames without a valid rate to the driver

2016-03-02 Thread Felix Fietkau
Fall back to rate control if the requested bitrate was not found. Fixes: dfdfc2beb0dd ("mac80211: Parse legacy and HT rate in injected frames") Signed-off-by: Felix Fietkau --- net/mac80211/tx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/mac80211/tx.c

[PATCH] ath10k: fix firmware assert in monitor mode

2016-03-02 Thread Rajkumar Manoharan
commit 166de3f1895d ("ath10k: remove supported chain mask") had revealed an issue on monitor mode. Configuring NSS upon monitor interface creation is causing target assert in all qca9888x and qca6174 firmware. Firmware assert issue can be reproduced by below sequence even after reverting commit

[PATCH 2/2] ath10k: Remove debugfs support for Per STA total rx duration

2016-03-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan cfg80211/nl80211 interface changes for per STA total rx-duration and very basic 'ath10k_sta_statistics' mac80211 callback is implemented to extend support for per station statistics from the driver. Also provision in 'iw dev wlan#N

[PATCH 1/2] ath10k: Add support for ath10k_sta_statistics support

2016-03-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Enable support for 'drv_sta_statistics' callback. Export rx_duration support if available to cfg80211/nl80211 This can also act as a placeholder for any new per STA stats support Signed-off-by: Mohammed Shafi Shajakhan

[PATCH] iw: Add support for NL80211_STA_INFO_RX_DURATION netlink attribute

2016-03-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Enable support for parsing per station rx-duration (usecs) via adding support for new netlink attribute NL80211_STA_INFO_RX_DURATION rx_duration is total air time(usecs) for unicast data/management frames from the connected client. This

[PATCH] cfg80211/nl80211: Add support for NL80211_STA_INFO_RX_DURATION

2016-03-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Add support for new netlink attribute 'NL80211_STA_INFO_RX_DURATION' This flag will be set when drivers can fill rx_duration ( approximate total air time(usecs) for unicast data/management frames from the connected client) via

Re: [PATCH] iw: add libnl-tiny support

2016-03-02 Thread Johannes Berg
On Tue, 2016-02-23 at 20:43 +0200, Dima Krasner wrote: >  > +#ifdef CONFIG_LIBNL_TINY > +#define nl_handle nl_sock [...] >  /* libnl 1.x compatibility code */ > -#if !defined(CONFIG_LIBNL20) && !defined(CONFIG_LIBNL30) > +#if !defined(CONFIG_LIBNL20) && !defined(CONFIG_LIBNL30) && >

Re: [PATCH] staging: rtl8723au: fix static checker warning

2016-03-02 Thread Dan Carpenter
On Tue, Mar 01, 2016 at 11:22:23PM +0800, Geliang Tang wrote: > Fix the following static checker warning: > > drivers/staging/rtl8723au/core/rtw_sta_mgt.c:365 rtw_get_stainfo23a() > error: potential NULL dereference 'psta'. > > Fixes: e280d71("staging: rtl8723au: use list_for_each_entry*()") >

pull-request: mac80211 2016-03-02

2016-03-02 Thread Johannes Berg
Hi Dave, Here are a few more fixes for the current cycle; the MAINTAINERS patch isn't really a fix for the tree, but helps the kbuild robot and clearly can't be causing any regressions :) Let me know if there's any problem. Thanks, johannes The following changes since commit

RE: iwlwifi support of 802.11k RRM (Radio Resource Mangament)

2016-03-02 Thread Peer, Ilan
> -Original Message- > From: linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless- > ow...@vger.kernel.org] On Behalf Of Emmanuel Grumbach > Sent: Wednesday, March 02, 2016 14:53 > To: Stefan Feirer > Cc: linux-wireless > Subject: Re: iwlwifi support of 802.11k RRM (Radio Resource

Re: iwlwifi support of 802.11k RRM (Radio Resource Mangament)

2016-03-02 Thread Emmanuel Grumbach
On Wed, Mar 2, 2016 at 12:43 PM, Stefan Feirer wrote: > > Hello, > > I'm trying to make different wifi roaming tests with the 802.11 amandments > 802.11k and 802.11r. > I use the intel wifi chipset Intel Corporation Centrino Ultimate-N 6300 and > two Aerohive

Re: [PATCH] mac80211_hwsim: Set global RRM capability

2016-03-02 Thread Johannes Berg
On Thu, 2016-02-25 at 11:24 +0200, Emmanuel Grumbach wrote: > From: David Spinadel > > Allow publishing RRM capabilities for features that are not > HW dependent. Actually, come to think of it, why don't we do this in mac80211 rather than the drivers? The only

iwlwifi support of 802.11k RRM (Radio Resource Mangament)

2016-03-02 Thread Stefan Feirer
Hello, I'm trying to make different wifi roaming tests with the 802.11 amandments 802.11k and 802.11r. I use the intel wifi chipset Intel Corporation Centrino Ultimate-N 6300 and two Aerohive Access Points AP141 (with both 802.11k and 802.11r enabled). With using wpa_supplicant (Version 2.5)