Re: [PATCH v7] nl80211: Stop scheduled scan if netlink client disappears

2014-11-26 Thread Johannes Berg
On Wed, 2014-11-26 at 11:07 +0200, Jukka Rissanen wrote: An attribute NL80211_ATTR_SOCKET_OWNER can be set by the scan initiator. If present, the attribute will cause the scan to be stopped if the client dies. Signed-off-by: Jukka Rissanen jukka.rissa...@linux.intel.com --- Hi, v7: -

Re: BCM4313 brcmsmac 3.12: only semi-working?

2014-11-26 Thread Michael Tokarev
I'm sorry this took so long - I was AFK during weekend and had to deal with a huge backlog after that. Now it is all sorted. 23.11.2014 12:43, Arend van Spriel wrote: On 19-11-14 22:00, Michael Tokarev wrote: [] Well, it shows tx looks ok, but with download there is not much of that going on.

Re: [PATCH v7] nl80211: Stop scheduled scan if netlink client disappears

2014-11-26 Thread Johannes Berg
On Wed, 2014-11-26 at 12:30 +0200, Jukka Rissanen wrote: Just some examples: * don't synchronize_rcu() after assignment - what did you do that for? Following the examples described in Documentation/RCU/whatisRCU.txt Hmm, I don't think that documentation says that - was where you took it

Re: [PATCH v3 1/3] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Arik Nemtsov
On Tue, Nov 25, 2014 at 9:38 PM, Luis R. Rodriguez mcg...@suse.com wrote: Please rename to REGULATORY_IGNORE_STALE_KICKOFF, also please add some information about the amount current of grace period used, and types of interfaces supported. Since this is a regulatory flag this information will

Message - RX: wrong xfer size (usblen=72)

2014-11-26 Thread Husni Ali Husni
Hello! I installed Linux Mint Quiana in my computer. My computer is old and it have D-link DWL-G132 (wireless) to navigate at internet, ready as research, it use driver ar5523. I saw the log archive (Kernel, dmesg) and all second I receive the message: [ 38.094218] usb 2-8: RX: wrong xfer

Re: [PATCH v3 3/3] cfg80211: Allow usermode to query wiphy specific regd info

2014-11-26 Thread Arik Nemtsov
On Tue, Nov 25, 2014 at 10:28 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Sun, Nov 23, 2014 at 05:02:21PM +0200, Arik Nemtsov wrote: From: Jonathan Doron j...@wizery.com Allow usermode to query wiphy-specific regd info, for drivers that use wiphy-specific regulatory management. Use the

Re: [PATCH] mmc: new API for data write using scatter gather DMA

2014-11-26 Thread Ulf Hansson
On 26 November 2014 at 12:07, Avinash Patil pat...@marvell.com wrote: From: Bing Zhao bz...@marvell.com This patch adds new API to handle scatter gather aggregation. Why is this needed? Signed-off-by: Bing Zhao bz...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com

[PATCH 1/4] rt2x00: use timeout in rt2x00usb_vendor_request

2014-11-26 Thread Stanislaw Gruszka
Use provided timeout value in rt2x00usb_vendor_request() instead of iterating REGISTER_BUSY_COUNT times. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- drivers/net/wireless/rt2x00/rt2x00usb.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH 3/4] rt2x00: change REGISTER_TIMEOUT

2014-11-26 Thread Stanislaw Gruszka
Waiting 500ms for register access is too long, decrease this value to 100ms. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- drivers/net/wireless/rt2x00/rt2x00usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h

[PATCH 4/4] Revert rt2x00: Endless loop on hub port power down

2014-11-26 Thread Stanislaw Gruszka
This reverts commit 2ad69ac5976191e9bb7dc4044204a504653ad1bb. It causes wireless device disappear when we get -EPROTO error form USB request. I encounter such situation occasionally when resume form suspend with RT3070 adapter: [ 289.619985] ieee80211 phy0: rt2x00usb_vendor_request: Error -

[PATCH 2/4] rt2x00: change REGISTER_BUSY_COUNT for USB

2014-11-26 Thread Stanislaw Gruszka
Because of delays on USB we do not have to iterate so many times on USB hardware when waiting for H/W register become valid. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- drivers/net/wireless/rt2x00/rt2500usb.c | 8 drivers/net/wireless/rt2x00/rt2x00.h| 5 -

Re: [PATCH v3 1/3] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Arik Nemtsov
On Tue, Nov 25, 2014 at 9:38 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Sun, Nov 23, 2014 at 05:02:19PM +0200, Arik Nemtsov wrote: When the regulatory settings change, some channels might become invalid. Disconnect interfaces acting on these channels, after giving userspace code a grace

Re: [PATCH v3 1/3] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 05:06:37PM +0200, Arik Nemtsov wrote: On Tue, Nov 25, 2014 at 9:38 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Sun, Nov 23, 2014 at 05:02:19PM +0200, Arik Nemtsov wrote: When the regulatory settings change, some channels might become invalid. Disconnect

Re: [PATCH v3 1/3] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 10:39 AM, Arik Nemtsov a...@wizery.com wrote: On Wed, Nov 26, 2014 at 5:28 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Wed, Nov 26, 2014 at 05:06:37PM +0200, Arik Nemtsov wrote: On Tue, Nov 25, 2014 at 9:38 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Sun, Nov

Re: [PATCH v3 3/3] cfg80211: Allow usermode to query wiphy specific regd info

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 11:43 AM, Arik Nemtsov a...@wizery.com wrote: On Tue, Nov 25, 2014 at 10:28 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Sun, Nov 23, 2014 at 05:02:21PM +0200, Arik Nemtsov wrote: From: Jonathan Doron j...@wizery.com Allow usermode to query wiphy-specific regd info,

Re: [PATCH v3 3/3] cfg80211: Allow usermode to query wiphy specific regd info

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 11:49 AM, Arik Nemtsov a...@wizery.com wrote: On Wed, Nov 26, 2014 at 6:47 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Wed, Nov 26, 2014 at 11:43 AM, Arik Nemtsov a...@wizery.com wrote: On Tue, Nov 25, 2014 at 10:28 PM, Luis R. Rodriguez mcg...@suse.com wrote: On

Re: ath9k - bogus usb xfer on at91

2014-11-26 Thread David Lechner
On 11/26/14 12:29 PM, Oleksij Rempel wrote: Am 26.11.2014 um 01:28 schrieb David Lechner: On 7 July 2014 17:08, Oleksij Rempel linux@ wrote: / Am 07.07.2014 15:40, schrieb Anders Darander:/ / On 4 July 2014 18:54, Oleksij Rempel linux@ wrote:/ / Am 04.07.2014

Re: rtl8192ce 3.18 regression scan doesn't find any APs

2014-11-26 Thread Catalin Iacob
On Thu, Nov 20, 2014 at 11:34 PM, Larry Finger larry.fin...@lwfinger.net wrote: I have reproduced the problem, but I do not yet know the fix. Please file a bug report at bugzilla.kernel.org on this problem. Be sure to mark it as a regression, and assign it to me. When I find the fix, being able

Re: [PATCH] staging:rtl8723au: core: fix checkpatch error: that open brace { should be on the previous line

2014-11-26 Thread Greg KH
On Tue, Nov 11, 2014 at 03:28:57PM +0530, Sanjeev Sharma wrote: This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: that open brace { should be on the previous line This patch does much more than that :( -- To unsubscribe from this list: send the line unsubscribe

travelling...

2014-11-26 Thread David Miller
I will be travelling for about 10 days starting tomorrow. Email will be read and patches will be reviewed, but my response time will be a little bit longer. I've purged patchwork of every patch I can apply right now, the two in there right now require either an expert review or a response to

[PATCH v4 1/4] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Arik Nemtsov
When the regulatory settings change, some channels might become invalid. Disconnect interfaces acting on these channels, after giving userspace code a grace period to leave them. This mode is currently opt-in, and not all interface operating modes are supported for regulatory-enforcement checks.

[PATCH v4 4/4] cfg80211: return private regdom for self-managed devices

2014-11-26 Thread Arik Nemtsov
If a device has self-managed regulatory, insist on returning the wiphy specific regdomain if a wiphy-idx is specified. The global regdomain is meaningless for such devices. Also add an attribute for self-managed devices, so usermode can distinguish them as such. Signed-off-by: Arik Nemtsov

[PATCH v4 2/4] cfg80211: allow wiphy specific regdomain management

2014-11-26 Thread Arik Nemtsov
From: Jonathan Doron j...@wizery.com Add a new regulatory flag that allows a driver to manage regdomain changes/updates for its own wiphy. A self-managed wiphys only employs regulatory information obtained from the FW and driver and does not use other cfg80211 sources like beacon-hints,

[PATCH v4 3/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-26 Thread Arik Nemtsov
If a wiphy-idx is specified, the kernel will return the wiphy specific regdomain, if such exists. Otherwise return the global regdom. When no wiphy-idx is specified, return the global regdomain as well as all wiphy-specific regulatory domains in the system, via a new nested list of attributes.

Re: [PATCH v4 1/4] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 10:56:25PM +0200, Arik Nemtsov wrote: When the regulatory settings change, some channels might become invalid. Disconnect interfaces acting on these channels, after giving userspace code a grace period to leave them. This mode is currently opt-in, and not all

pull request: wireless 2014-11-26

2014-11-26 Thread John W. Linville
Dave, Please pull this little batch of fixes intended for the 3.18 stream... For the iwlwifi one, Emmanuel says: Not all the firmware know how to handle the HOT_SPOT_CMD. Make sure that the firmware will know this command before sending it. This avoids a firmware crash. Along with that, Larry

Re: [PATCH v4 3/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-26 Thread Luis R. Rodriguez
On Wed, Nov 26, 2014 at 4:35 PM, Luis R. Rodriguez mcg...@suse.com wrote: We're not checking here if this was a managed wiphy or not, we want userspace to be able to tell if a wiphy was managed or not. Ah I see what you did, yes that is what I wanted but since you allowed for self managed

Re: Setting WLAN RF Sensitivity value

2014-11-26 Thread Rafał Miłecki
On 26 November 2014 at 00:12, Sergey Ryazanov ryazanov@gmail.com wrote: Manufacturer of my device is Broadcom. It seems that either the hardware or the driver doesn't support setting and getting sensitivity. I need to know if there exists a device and/or device driver that support this

Re: [PATCH v4 3/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-26 Thread Arik Nemtsov
On Wed, Nov 26, 2014 at 11:43 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Wed, Nov 26, 2014 at 4:35 PM, Luis R. Rodriguez mcg...@suse.com wrote: We're not checking here if this was a managed wiphy or not, we want userspace to be able to tell if a wiphy was managed or not. Ah I see what

Re: [PATCH 1/3] ath10k: embed supported chip ids in hw_params

2014-11-26 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: 2. Have a dedicatd pci-specific structure: struct ath10k_pci_supported_chip { u16 dev_id; u32 chip_id; }; struct ath10k_pci_supported_chip ath10k_pci_supported_chips[] = { { QCA988X_2_0_DEVICE_ID, QCA988X_HW_2_0_CHIP_ID_REV },

[PATCH v5 1/4] cfg80211: leave invalid channels on regdomain change

2014-11-26 Thread Arik Nemtsov
When the regulatory settings change, some channels might become invalid. Disconnect interfaces acting on these channels, after giving userspace code a grace period to leave them. This mode is currently opt-in, and not all interface operating modes are supported for regulatory-enforcement checks.

Re: [PATCH 1/3] ath10k: embed supported chip ids in hw_params

2014-11-26 Thread Michal Kazior
On 27 November 2014 at 08:30, Kalle Valo kv...@qca.qualcomm.com wrote: Michal Kazior michal.kaz...@tieto.com writes: 2. Have a dedicatd pci-specific structure: struct ath10k_pci_supported_chip { u16 dev_id; u32 chip_id; }; struct ath10k_pci_supported_chip

[PATCH v5 4/4] cfg80211: return private regdom for self-managed devices

2014-11-26 Thread Arik Nemtsov
If a device has self-managed regulatory, insist on returning the wiphy specific regdomain if a wiphy-idx is specified. The global regdomain is meaningless for such devices. Also add an attribute for self-managed devices, so usermode can distinguish them as such. Signed-off-by: Arik Nemtsov

[PATCH v5 3/4] cfg80211: allow wiphy specific regdomain management

2014-11-26 Thread Arik Nemtsov
From: Jonathan Doron j...@wizery.com Add a new regulatory flag that allows a driver to manage regdomain changes/updates for its own wiphy. A self-managed wiphys only employs regulatory information obtained from the FW and driver and does not use other cfg80211 sources like beacon-hints,

[PATCH v5 2/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-26 Thread Arik Nemtsov
If a wiphy-idx is specified, the kernel will return the wiphy specific regdomain, if such exists. Otherwise return the global regdom. When no wiphy-idx is specified, return the global regdomain as well as all wiphy-specific regulatory domains in the system, via a new nested list of attributes.