Re: [RESEND, 1/2] wlcore: fix copy-paste bug: assign from src struct not dest

2015-01-23 Thread Kalle Valo
Signed-off-by: Giel van Schijndel m...@mortis.eu Reported-at: http://www.viva64.com/en/b/0299/ Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More

Re: mwifiex: do not emit messages while holding spinlock

2015-01-23 Thread Kalle Valo
Avoid printing dev_{warn/dbg} messages while holding spinlock. Signed-off-by: Avinash Patil pat...@marvell.com Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to

Re: [PATCH] ath5k: document a fall-through case in ath5k_hw_set_opmode

2015-01-23 Thread Nick Kossifidis
It's AR5210 related, we haven't worked much on that chip but I think that's ok. AR5K_STA_ID1_NO_PSPOLL is set in every case on AR5210 so this fall-through makes sure it gets set on station and monitor mode too. Acked-by: Nick Kossifidis mickfl...@gmail.com 2015-01-19 21:09 GMT+02:00 John W.

Re: [1/8] wcn36xx: initialize device defaults on start

2015-01-23 Thread Kalle Valo
Set up default configuration for the device when we call start. The defaults come from dumps from the prima driver for the same hardware. This fixes transmit A-MPDU; previously only one MPDU would be sent per A-MPDU due to missing MAX_MPDUS_IN_AMPDU setting. Signed-off-by: Bob Copeland

[PATCH 0/6] Some changes for rtlwifi

2015-01-23 Thread Larry Finger
The first of these patches changes the logging when an encryption key is changed. The rest are for changes in the btcoexist driver. Most contain the code needed to handle the RTL8812AE chips. All patches are for -next. Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- Larry Finger (2):

[PATCH 5/6] rtlwifi: btcoexist: Add routines for RTL8812AE - all configs

2015-01-23 Thread Larry Finger
From: Troy Tan troy_...@realsil.com.cn This patch adds the routines used for all antenna configurations. Signed-off-by: Troy Tan troy_...@realsil.com.cn Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- .../wireless/rtlwifi/btcoexist/halbtc8812a_ext.c | 921 +

[PATCH 4/6 for NEXT] rtlwifi: btcoexist: Add routines for RTL8812AE with dual antennae

2015-01-23 Thread Larry Finger
From: Troy Tan troy_...@realsil.com.cn The RTL8812AE needs different BT coexistence routines than does the RTL8821AE. This patch adds the necessary routines for devices with a more than one antenna. Signed-off-by: Troy Tan troy_...@realsil.com.cn Signed-off-by: Larry Finger

[PATCH 6/6] rtlwifi: btcoexist: Enable new routines for RTL8812AE

2015-01-23 Thread Larry Finger
From: Troy Tan troy_...@realsil.com.cn In addition to turning on the build of the new routines, there are several fixes found by Realtek engineers. Signed-off-by: Troy Tan troy_...@realsil.com.cn Signed-off-by: Larry Finger larry.fin...@lwfinger.net ---

[PATCH 3/6] rtlwifi: btcoexist: Add routines for RTL8812AE with single antenna

2015-01-23 Thread Larry Finger
From: Troy Tan troy_...@realsil.com.cn The RTL8812AE needs different BT coexistence routines than does the RTL8821AE. This patch adds the necessary routines for devices with a single antenna. Signed-off-by: Troy Tan troy_...@realsil.com.cn Signed-off-by: Larry Finger larry.fin...@lwfinger.net

Re: b43: stop leds during suspend

2015-01-23 Thread Kalle Valo
Call b43_leds_stop during suspend to avoid this WARN: WARNING: CPU: 1 PID: 0 at net/mac80211/util.c:755 ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]() queueing ieee80211 work while going to suspend [...] Call Trace: [c165fb2a] dump_stack+0x48/0x69 [c1052f7b]

Re: [1/8] mwifiex: remove redundant nick_name variable

2015-01-23 Thread Kalle Valo
This is not used anywhere execpt initialization. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Amitkumar Karwar akar...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Thanks, 6 patches applied to wireless-drivers-next.git: 5e7f03b102eb mwifiex: remove redundant

Re: [PATCH V2 for 3.19 0/7] Fixes for rtl8192ee

2015-01-23 Thread Larry Finger
On 01/23/2015 09:26 AM, Kalle Valo wrote: Larry Finger larry.fin...@lwfinger.net writes: This is V2 of the patches for rtl8192ee to be applied to 3.19. They replace all the patches submitted under the title '[PATCH for 3.19 0/3] rtlwifi: Various updates/fixes. All are marked for backporting to

Re: mwifiex: check driver status in connect and scan handlers

2015-01-23 Thread Kalle Valo
Ignore scan and connection requests from cfg80211 when driver unload is in process or previous command has timed out due to a firmware bug. This patch fixes corner case system crash issues. Signed-off-by: Amitkumar Karwar akar...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com

Re: [1/5] ath9k: Fix no-ack frame status

2015-01-23 Thread Kalle Valo
From: Sujith Manoharan c_man...@qca.qualcomm.com Check if the frame has been completed without any error and use IEEE80211_TX_STAT_NOACK_TRANSMITTED to indicate successful transmission of no-ack frames. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com Thanks, applied to

Re: [1/8] mwifiex: remove redundant nick_name variable

2015-01-23 Thread Kalle Valo
Kalle Valo kv...@codeaurora.org writes: This is not used anywhere execpt initialization. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Amitkumar Karwar akar...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Thanks, 6 patches applied to wireless-drivers-next.git:

Re: [PATCH V2] bcma: clean bus initialization code

2015-01-23 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: This moves main bus init code to the main.c and renames old function to make its purpose clear. Thanks to this change we'll also be able to separate scanning from registration (and support PCIe Gen 2 devices) in the future. Signed-off-by: Rafał Miłecki

Re: [PATCH] rtl8192cu: fix the mesh beaconing

2015-01-23 Thread Larry Finger
On 01/23/2015 02:59 AM, Chun-Yeow Yeoh wrote: Patch rtlwifi: add support to send beacon frame allows the beaconing of rtl8192cu. But mesh beaconing is not working. Fix this. Signed-off-by: Chun-Yeow Yeoh yeohchuny...@gmail.com --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 1 + 1 file

[PATCH 2/6] rtlwifi: btcoexist: Remove typedef statements

2015-01-23 Thread Larry Finger
In btcoexist, there are a number of typedef statements. Not only do they violate the rule of avoiding new typdef statements in the kernel, these are also pointless as they merely introduce an extra level of indirection in the definition of some function pointers. Signed-off-by: Larry Finger

[PATCH 1/6] rtlwifi: Change logging level for key change

2015-01-23 Thread Larry Finger
A recent change in key handling included logging of these changes for all debug levels. Such key changes should only be logged when a high level of debugging is enabled. Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- drivers/net/wireless/rtlwifi/cam.c | 2 +- 1 file changed, 1

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-23 Thread Arend van Spriel
On 01/23/15 16:29, Kalle Valo wrote: Arend van Sprielar...@broadcom.com writes: On 01/22/15 14:54, Sergei Shtylyov wrote: Hello. On 1/22/2015 4:49 PM, Kalle Valo wrote: From 04d3fa673897ca4ccbea6c76836d0092dba2484a Mon Sep 17 00:00:00 2001 From: Zhonghui Fuzhonghui...@linux.intel.com

Re: [v2] ath9k_htc: Add a module parameter to disable blink

2015-01-23 Thread Kalle Valo
Add an option blink to enable or disable the LED blink. The default value is set to 1 so that existing users would not experience any unexpected changes. Signed-off-by: Hong Xu h...@topbug.net Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send

Re: wireless: p54: add handling of the signal case

2015-01-23 Thread Kalle Valo
if(!wait_for_completion_interruptible_timeout(...)) only handles the timeout case - this patch adds handling the signal case the same as timeout. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at Acked-by: Christian Lamparter chunk...@googlemail.com Thanks, applied to

Re: [v2] atmel: Remove open-coded and wrong strcasecmp

2015-01-23 Thread Kalle Valo
The kernel's string library does in fact have strcasecmp, at least since ded220bd8f08 ([STRING]: Move strcasecmp/strncasecmp to lib/string.c). Moreover, this open-coded version is in fact wrong: If the strings only differ in their last character, a and b have already been incremented to

Re: ath5k: document a fall-through case in ath5k_hw_set_opmode

2015-01-23 Thread Kalle Valo
Coverity: CID 114932 Signed-off-by: John W. Linville linvi...@tuxdriver.com Acked-by: Nick Kossifidis mickfl...@gmail.com Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to

Re: [PATCH] wireless: p54: add handling of the signal case

2015-01-23 Thread Christian Lamparter
On Friday, January 23, 2015 01:27:05 PM Nicholas Mc Guire wrote: On Thu, 22 Jan 2015, Christian Lamparter wrote: On Tuesday, January 20, 2015 06:25:43 AM Nicholas Mc Guire wrote: @@ -249,9 +250,11 @@ int p54_download_eeprom(struct p54_common *priv, void *buf, +

Re: [PATCH 00/10] mwifiex: DFS support for mwifiex AP

2015-01-23 Thread Kalle Valo
Avinash Patil pat...@marvell.com writes: This patch series adds DFS support for mwifiex AP. Series include patches to handle cfg80211 start_radar_detection and channel_switch handlers. First 5 patches are actually refactoring effort. Patch6-10 add these handlers and other DFS handling.

Re: [v2] brcmfmac: Use put_unaligned_le32

2015-01-23 Thread Kalle Valo
This patch introduces the use of function put_unaligned_le32. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u32, __le32, uint32_t; {u32,__le32,uint32_t} e32; identifier tmp; expression ptr; expression y,e; type T; type T; @@ - tmp =

Re: [PATCH 5/6] rtlwifi: btcoexist: Add routines for RTL8812AE - all configs

2015-01-23 Thread Kalle Valo
Larry Finger larry.fin...@lwfinger.net writes: From: Troy Tan troy_...@realsil.com.cn This patch adds the routines used for all antenna configurations. Signed-off-by: Troy Tan troy_...@realsil.com.cn Signed-off-by: Larry Finger larry.fin...@lwfinger.net The commit log is REALLY vague...

Re: [PATCH V2] bcma: clean bus initialization code

2015-01-23 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: On 23 January 2015 at 18:49, Kalle Valo kv...@codeaurora.org wrote: Rafał Miłecki zaj...@gmail.com writes: This moves main bus init code to the main.c and renames old function to make its purpose clear. Thanks to this change we'll also be able to

Re: p54pci: add handling of signal case

2015-01-23 Thread Kalle Valo
if(!wait_for_completion_interruptible_timeout(...)) only handles the timeout case - this patch adds handling the signal case the same as timeout. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at Acked-by: Christian Lamparter chunk...@googlemail.com Thanks, applied to

Re: [PATCH V2 for 3.19 0/7] Fixes for rtl8192ee

2015-01-23 Thread Kalle Valo
Larry Finger larry.fin...@lwfinger.net writes: It is too bad that it took so long to get these ready. I think the reason that there are not a lot of bug reports is because the complaints are all in the GitHub issues for the rtlwifi_new repo, or with Ubuntu. If there are any that get filed

Re: [PATCH V2] bcma: clean bus initialization code

2015-01-23 Thread Rafał Miłecki
On 23 January 2015 at 18:49, Kalle Valo kv...@codeaurora.org wrote: Rafał Miłecki zaj...@gmail.com writes: This moves main bus init code to the main.c and renames old function to make its purpose clear. Thanks to this change we'll also be able to separate scanning from registration (and

[PATCH] bcma: fix watchdog on some ARM chipsets

2015-01-23 Thread Rafał Miłecki
These chipsets don't need changing clock mode. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- This patch adds one line with more than 80 columns, I hope it's OK, IMO it improves readability. --- drivers/bcma/driver_chipcommon.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-)

Re: brcmfmac: kernel panic in brcmf_cfg80211_del_key

2015-01-23 Thread Jörg Krause
Hi Arend, On Fr, 2015-01-23 at 15:21 +0100, Arend van Spriel wrote: On 01/23/15 13:31, Jörg Krause wrote: Hi all, I'm running an wireless device with Linux kernel 3.18.3 and the brcmfmac driver. When connection the device to my network, I see from time to time these messages in the

[PATCH] rtl8192cu: fix the mesh beaconing

2015-01-23 Thread Chun-Yeow Yeoh
Patch rtlwifi: add support to send beacon frame allows the beaconing of rtl8192cu. But mesh beaconing is not working. Fix this. Signed-off-by: Chun-Yeow Yeoh yeohchuny...@gmail.com --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] mac80211: synchronize_net() before flushing the queues

2015-01-23 Thread Emmanuel Grumbach
On Fri, Jan 23, 2015 at 12:33 PM, Johannes Berg johan...@sipsolutions.net wrote: On Fri, 2015-01-23 at 10:18 +, Grumbach, Emmanuel wrote: I don't think it will introduce that much of latency. Note that there is a call to flush() right after that, this means that any driver which

[PATCH] wireless-regdb: Disable VHT80 where 40/80 MHz on 5 GHz is not allowed

2015-01-23 Thread Jouni Malinen
VHT80 was incorrectly enabled for number of countries. 40 and 80 MHz channels are not allowed on 5 GHz for these: - Armenia (AM) - Bahrain (BH) - Costa Rica (CR) - Ecuador (EC) - Guam (GU) - Indonesia (ID) (also remove 40 MHz from 2.4 GHz) - North Korea (KP) - Sri Lanka (LK) - El Salvador (SV)

[PATCH] wireless-regdb: Add regulatory rules for Nigeria (NG)

2015-01-23 Thread Jouni Malinen
Source is QCA's regulatory team's efforts. Signed-off-by: Jouni Malinen jo...@qca.qualcomm.com --- db.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/db.txt b/db.txt index ae8a216..3ea53ec 100644 --- a/db.txt +++ b/db.txt @@ -812,6 +812,11 @@ country MY: DFS-FCC (5250 - 5330

[PATCH] wireless-regdb: Add regulatory rules for Samoa (WS)

2015-01-23 Thread Jouni Malinen
Source is QCA's regulatory team's efforts. Signed-off-by: Jouni Malinen jo...@qca.qualcomm.com --- db.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/db.txt b/db.txt index 85b4bb4..cfd81bf 100644 --- a/db.txt +++ b/db.txt @@ -1201,6 +1201,12 @@ country WF: DFS-ETSI (5250 -

[PATCH] wireless-regdb: Add regulatory rules for Tanzania (TZ)

2015-01-23 Thread Jouni Malinen
Source is QCA's regulatory team's efforts. Signed-off-by: Jouni Malinen jo...@qca.qualcomm.com --- db.txt | 4 1 file changed, 4 insertions(+) diff --git a/db.txt b/db.txt index 3ea53ec..85b4bb4 100644 --- a/db.txt +++ b/db.txt @@ -1104,6 +1104,10 @@ country TW: DFS-JP (5650 - 5710

Re: [wireless-drivers-next:master 119/130] drivers/net/wireless/ath/ath9k/ath9k_htc.o:(.data+0x47c): multiple definition of `led_blink'

2015-01-23 Thread Kalle Valo
(Adding linux-wireless) Hong Xu h...@topbug.net writes: kbuild test robot fengguang...@intel.com writes: tree: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master head: c5ed1df781cb544d4e4d189bb5b6ec7336dc commit:

Re: [PATCH] mac80211: complete scan work immediately if quiesced or suspended

2015-01-23 Thread Johannes Berg
On Thu, 2015-01-22 at 23:34 +0200, Emmanuel Grumbach wrote: From: Luciano Coelho luciano.coe...@intel.com It is possible that a deferred scan is queued after the queues are flushed in __ieee80211_suspend(). The deferred scan work may be scheduled by ROC or ieee80211_stop_poll(). To make

Re: [PATCH] mac80211: avoid races related to suspend flow

2015-01-23 Thread Johannes Berg
On Thu, 2015-01-22 at 23:32 +0200, Emmanuel Grumbach wrote: When we go to suspend, there is complex set of states that avoids races. The quiescing variable is set whlie __ieee80211_suspend is running. Then suspended is set. The code makes sure there is no window without any of these flags.

Re: [PATCH] mac80211: tell drivers the user TX power restriction

2015-01-23 Thread Johannes Berg
On Tue, 2015-01-20 at 22:15 +0200, Emmanuel Grumbach wrote: From: Avri Altman avri.alt...@intel.com When a tx power restriction is set, mac80211 protects its downstream stack by taking min(user, regulatory, 11h ap). However, we should allow drivers to use that value as it is - on their own

Re: [PATCH] mac80211: only roll back station states for WDS when suspending

2015-01-23 Thread Johannes Berg
On Wed, 2015-01-21 at 22:19 +0200, Luca Coelho wrote: From: Luciano Coelho luciano.coe...@intel.com In normal cases (i.e. when we are fully associated), cfg80211 takes care of removing all the stations before calling suspend in mac80211. But in the corner case when we suspend during

Re: [PATCH v3] mac80211: Avoid STA expiration timer truncation to u32

2015-01-23 Thread Johannes Berg
On Tue, 2015-01-20 at 11:47 +0900, Masashi Honma wrote: On some combination of plink_timeout and HZ, the STA expiration timer will be unexpectedly truncated to u32. Maybe there is a question Who sets such a large number to plink_timeout ?. At least wpa_supplicant will set 0x to

Re: [PATCH] nl80211: add an attribute to allow delaying the first scheduled scan cycle

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-16 at 16:04 +0200, Luca Coelho wrote: From: Luciano Coelho luciano.coe...@intel.com The userspace may want to delay the the first scheduled scan or net-detect cycle. Add an optional attribute to the scheduled scan configuration to pass the delay to be (optionally) used by

Re: [PATCHv5] mac80211: enable TPC through mac80211 stack

2015-01-23 Thread Johannes Berg
On Wed, 2015-01-14 at 12:55 +0100, Lorenzo Bianconi wrote: Control per packet Transmit Power Control (TPC) in lower drivers according to TX power settings configured by the user. In particular TPC is enabled if value passed in enum nl80211_tx_power_setting is NL80211_TX_POWER_LIMITED (allow

Re: [PATCH mac80211-next] nl80211: Allow set network namespace by fd

2015-01-23 Thread Johannes Berg
On Mon, 2015-01-12 at 16:34 +0200, Vadim Kochan wrote: From: Vadim Kochan vadi...@gmail.com Added new NL80211_ATTR_NETNS_FD which allows to set namespace via nl80211 by fd. Applied. johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message

Re: [PATCH] mac80211: synchronize_net() before flushing the queues

2015-01-23 Thread Johannes Berg
On Thu, 2015-01-22 at 23:30 +0200, Emmanuel Grumbach wrote: When mac80211 disconnects, it drops all the packets on the queues. This happens after the net stack has been notified that we have no link anymore (netif_carrier_off). netif_carrier_off ensures that no new packets are sent to xmit()

Re: [RFCv3 2/4] cfg80211: add VHT support for IBSS

2015-01-23 Thread Johannes Berg
/** * enum nl80211_ext_feature_index - bit index of extended features. + * @NL80211_FEATURE_VHT_IBSS: This driver supports IBSS with VHT datarates. I think that should be NL80211_EXT_FEATURE_VHT_IBSS to indicate where it lives. johannes -- To unsubscribe from this list: send the line

Re: [PATCH] mac80211: synchronize_net() before flushing the queues

2015-01-23 Thread Grumbach, Emmanuel
On Fri, 2015-01-23 at 10:56 +0100, Johannes Berg wrote: On Thu, 2015-01-22 at 23:30 +0200, Emmanuel Grumbach wrote: When mac80211 disconnects, it drops all the packets on the queues. This happens after the net stack has been notified that we have no link anymore (netif_carrier_off).

[PATCH] nl80211: suppress smatch warnings

2015-01-23 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com smatch warns that we once checked request-ssids in two functions and then unconditionally used it later again. This is actually fine, because the code has a relationship between attrs[NL80211_ATTR_SCAN_SSIDS], n_ssids and request-ssids, but smatch

Re: [PATCH] mac80211: synchronize_net() before flushing the queues

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-23 at 10:18 +, Grumbach, Emmanuel wrote: I don't think it will introduce that much of latency. Note that there is a call to flush() right after that, this means that any driver which implements this call needs to wait there. So you have the latency in either place. The

Re: [PATCH] Revert mac80211: keep sending peer candidate events while in listen state

2015-01-23 Thread Johannes Berg
On Thu, 2015-01-22 at 16:49 -0500, Bob Copeland wrote: This reverts commit 2ae70efcea7a695a62bb47170d3fb16674b8dbea. The new peer events that are generated by the change are causing problems with wpa_supplicant in userspace: wpa_s tries to restart SAE authentication with the peer when

Re: [RFCv3 4/4] mac80211: add VHT support for IBSS

2015-01-23 Thread Johannes Berg
+++ b/net/mac80211/util.c @@ -2317,6 +2317,41 @@ u8 *ieee80211_ie_build_ht_oper(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, return pos + sizeof(struct ieee80211_ht_operation); } +u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, +

[PATCH] nl80211: fix per-station group key get/del and memory leak

2015-01-23 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com In case userspace attempts to obtain key information for or delete a unicast key, this is currently erroneously rejected unless the driver sets the WIPHY_FLAG_IBSS_RSN flag. Apparently enough drivers do so it was never noticed. Fix that, and while at

Re: [PATCH mac80211-next] nl80211: Allow set network namespace by fd

2015-01-23 Thread Vadim Kochan
On Fri, Jan 23, 2015 at 10:51:44AM +0100, Johannes Berg wrote: On Mon, 2015-01-12 at 16:34 +0200, Vadim Kochan wrote: From: Vadim Kochan vadi...@gmail.com Added new NL80211_ATTR_NETNS_FD which allows to set namespace via nl80211 by fd. Applied. johannes Hi, I have changes for

Re: [RFCv3 1/4] mac80211: ibss/mesh move bw checking

2015-01-23 Thread Johannes Berg
On Tue, 2015-01-20 at 13:35 +0100, Janusz Dziedzic wrote: We will need this as a preparetion for VHT. preparation :) It'd be good to explain it a little more though. At least the very last hunk: @@ -401,6 +402,9 @@ static void mesh_sta_info_init(struct ieee80211_sub_if_data *sdata,

[PATCH] mac80211: tdls: disentangle HT supported conditions

2015-01-23 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com These conditions are rather difficult to follow, for example because !sta only exists to not crash in the case that we don't have a station pointer (WLAN_TDLS_SETUP_REQUEST) in which the additional condition (peer supports HT) doesn't actually matter

Re: [PATCH mac80211-next] nl80211: Allow set network namespace by fd

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-23 at 12:50 +0200, Vadim Kochan wrote: I have changes for 'iw' for setting netns by name in the same way as it works in 'ip link set dev XXX netns NAME', so it uses /var/run/netns path by default or absolute path if it sees / in the netns name. So may be I will send the

Re: [PATCH] mac80211: synchronize_net() before flushing the queues

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-23 at 13:36 +0200, Emmanuel Grumbach wrote: It's not actually just one packet for each vif/ac - it's a whole tail of whatever other RCU usages there are. Back when this was discussed, the wizery people measured this to hundreds of ms in many not too uncommon cases.

NetDev 0.1 conference: Important! Hotel Reservation Deadline Expiring

2015-01-23 Thread Jamal Hadi Salim
Fellow netheads: On behalf of rgb, yours truly is sending out this announcement. Today is the last day that the Westin Hotel will be holding a block of rooms for Netdev01 at a guaranteed rate of $159.00 or $179.00 (depending on the type of room required) and there are still rooms available.

Re: brcmfmac: kernel panic in brcmf_cfg80211_del_key

2015-01-23 Thread Arend van Spriel
On 01/23/15 13:31, Jörg Krause wrote: Hi all, I'm running an wireless device with Linux kernel 3.18.3 and the brcmfmac driver. When connection the device to my network, I see from time to time these messages in the kernel log: [ 899.624759] brcmfmac: brcmf_cfg80211_del_key: invalid key index

Re: [PATCH v3] mac80211: Avoid STA expiration timer truncation to u32

2015-01-23 Thread Masashi Honma
2015-01-23 18:42 GMT+09:00 Johannes Berg johan...@sipsolutions.net: Ok - but that doesn't really disable the timer? Perhaps we should have a new userspace API to explicitly disable it? OTOH, worst case I guess that means it's like 100 years in the future, so I guess it doesn't matter. However,

Re: brcmfmac: kernel panic in brcmf_cfg80211_del_key

2015-01-23 Thread Arend van Spriel
On 01/23/15 15:21, Arend van Spriel wrote: On 01/23/15 13:31, Jörg Krause wrote: Hi all, I'm running an wireless device with Linux kernel 3.18.3 and the brcmfmac driver. When connection the device to my network, I see from time to time these messages in the kernel log: [ 899.624759] brcmfmac:

Re: [PATCH V2 for 3.19 0/7] Fixes for rtl8192ee

2015-01-23 Thread Kalle Valo
Larry Finger larry.fin...@lwfinger.net writes: This is V2 of the patches for rtl8192ee to be applied to 3.19. They replace all the patches submitted under the title '[PATCH for 3.19 0/3] rtlwifi: Various updates/fixes. All are marked for backporting to 3.18. The first of these removes a

[PATCH] mac80211: support beacon statistics

2015-01-23 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com For drivers without beacon filtering, support beacon statistics entirely, i.e. report the number of beacons and average signal. For drivers with beacon filtering, give them the number of beacons received by mac80211 -- in case the device reports only

[RFC iw next] phy: Allow set netns by fd

2015-01-23 Thread Vadim Kochan
From: Vadim Kochan vadi...@gmail.com Added possibility to change network namespace for phy device by network namespace name from /var/run/netns or by absolute file path: iw phy XXX set netns nsname | pid First iw tries to find given nsname from /var/run/netns or by absoute path (in case if

Re: pull request: iwlwifi-next 2015-01-22

2015-01-23 Thread Kalle Valo
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: Hi Kalle, Here is another pull request for 3.20. Let me know if you have issues. Note that I had to merge iwlwifi-fixes because of dependencies and it also fixes a conflict. I merged mac80211-next because of a dependency on a patch

Re: [RFC iw next] phy: Allow set netns by fd

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-23 at 17:13 +0200, Vadim Kochan wrote: From: Vadim Kochan vadi...@gmail.com Added possibility to change network namespace for phy device by network namespace name from /var/run/netns or by absolute file path: iw phy XXX set netns nsname | pid First iw tries to find

Re: [RFC iw next] phy: Allow set netns by fd

2015-01-23 Thread Vadim Kochan
On Fri, Jan 23, 2015 at 04:34:27PM +0100, Johannes Berg wrote: On Fri, 2015-01-23 at 17:13 +0200, Vadim Kochan wrote: From: Vadim Kochan vadi...@gmail.com Added possibility to change network namespace for phy device by network namespace name from /var/run/netns or by absolute file

brcmfmac: kernel panic in brcmf_cfg80211_del_key

2015-01-23 Thread Jörg Krause
Hi all, I'm running an wireless device with Linux kernel 3.18.3 and the brcmfmac driver. When connection the device to my network, I see from time to time these messages in the kernel log: [ 899.624759] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 899.649874] brcmfmac:

Re: [PATCH] wireless: p54: add handling of the signal case

2015-01-23 Thread Nicholas Mc Guire
On Thu, 22 Jan 2015, Christian Lamparter wrote: On Tuesday, January 20, 2015 06:25:43 AM Nicholas Mc Guire wrote: if(!wait_for_completion_interruptible_timeout(...)) only handles the timeout case - this patch adds handling the signal case the same as timeout. Signed-off-by: Nicholas

[PATCH] mac80211: fix per-TID RX-MSDU counter

2015-01-23 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com In the case of non-QoS association, the counter was actually wrong. The right index isn't security_idx but seqno_idx, as security_idx will be 0 for data frames, while 16 is needed. Signed-off-by: Johannes Berg johannes.b...@intel.com ---

pull-request: mac80211 2015-01-23

2015-01-23 Thread Johannes Berg
Hi Dave, I have a few more fixes that seemed relevant for the current cycle and low enough impact to merge at this point. However, I can live with all of this going to -next as well since most are difficult to hit in practice. johannes The following changes since commit

Re: [PATCH 1/7] net: wireless: wcn36xx: add wcn3620 chip type definition

2015-01-23 Thread Kalle Valo
Andy Green andy.gr...@linaro.org writes: On 18 January 2015 at 22:17, Kalle Valo kv...@codeaurora.org wrote: Andy Green andy.gr...@linaro.org writes: n Convert the list of chip types to an enum, add the default UNKNOWN type and a type for WCN3620 chip Signed-off-by: Andy Green

Re: [RFC iw next] phy: Allow set netns by fd

2015-01-23 Thread Johannes Berg
On Fri, 2015-01-23 at 17:47 +0200, Vadim Kochan wrote: OK, just to clarify with nl80211.h - you will update it including new NL80211_ATTR_NETNS_FD ? If yes - I will wait for this change. No, don't wait for it - just commit it locally separately for testing, but send me only the actual code