[RFC 1/2] ath10k: add WOW disconnect support

2015-02-19 Thread Janusz Dziedzic
Add support for WOW disconnect. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath10k/core.c| 1 + drivers/net/wireless/ath/ath10k/core.h| 7 ++ drivers/net/wireless/ath/ath10k/mac.c | 113 --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 70 +

[RFC 2/2] ath10k: add WOW patterns/magic packet

2015-02-19 Thread Janusz Dziedzic
Add support for WOW magic packet and patterns. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath10k/core.h| 1 + drivers/net/wireless/ath/ath10k/mac.c | 45 ++- drivers/net/wireless/ath/ath10k/wmi-ops.h | 45 +++ drivers/net/wireless/ath/ath10k/wmi-tlv.

Re: [PATCH v4 1/2] cfg80211: Add API to change the indoor regulatory setting

2015-02-19 Thread Luis R. Rodriguez
On Thu, Feb 19, 2015 at 5:03 PM, wrote: > On Fri, 20 Feb 2015 01:53:44 +0100, "Luis R. Rodriguez" said: >> Wider community: >> >> anyone aware of any *need* in the kernel to know whether one is indoor or >> not on a device running Linux other than wifi? Clearly it should be something >> that migh

Re: [PATCH v4 1/2] cfg80211: Add API to change the indoor regulatory setting

2015-02-19 Thread Valdis . Kletnieks
On Fri, 20 Feb 2015 01:53:44 +0100, "Luis R. Rodriguez" said: > Wider community: > > anyone aware of any *need* in the kernel to know whether one is indoor or > not on a device running Linux other than wifi? Clearly it should be something > that might be of interest to at least other RF devices, so

Re: [PATCH v4 1/2] cfg80211: Add API to change the indoor regulatory setting

2015-02-19 Thread Luis R. Rodriguez
Wider community: anyone aware of any *need* in the kernel to know whether one is indoor or not on a device running Linux other than wifi? Clearly it should be something that might be of interest to at least other RF devices, so that is at least one possibilty to consider already, but what else? O

[iwlwifi] fail to flush all tx fifo queues kernel 3.18.7

2015-02-19 Thread Christopher van de Sande
Hi Linux-Wireless! I've noticed that this issue has come up here a few times on this list. I was really hoping my searching would lead me to a fix, but it hasn't...so I'm asking for help. This started happening when I moved into an apartment complex that has lots of wifi access points. I d

[PATCH v2] wext: Return -E2BIG when the buffer is too small for the full scan results, including IEs.

2015-02-19 Thread James Minor
When using the wext compatibility code in cfg80211, part of the IEs can be truncated if the passed user buffer is large enough for the BSS but not large enough for all of the IEs. This can cause an EAP network to show up as a PSK network. These changes allow the scan to always return -E2BIG in th

Re: [PATCH RFC] wext: Add event stream wrappers that return E2BIG when values don't fit

2015-02-19 Thread James Minor
On 01/29/2015 03:22 PM, Johannes Berg wrote: > > What you mean is "with the wext (compatibility) code in cfg80211". Comment fixed in the v2 of the patch (coming shortly). > > Either way, I *strongly* recommend against using this in the first > > place. There's an upper bound of 64k (I think) on

Re: Connection issues with BW Tracking in mac80211

2015-02-19 Thread Krishna Chaitanya
On Fri, Feb 20, 2015 at 1:00 AM, Krishna Chaitanya wrote: > Hi Johannes, > > The BW tracking feature in mac80211 is causing connection problems and > operating mode/bw problems when switching b/w modes and bw's in AP. > > For Eg. Initially if AP is operating in VHT-80MHz, and then we changed > in

Connection issues with BW Tracking in mac80211

2015-02-19 Thread Krishna Chaitanya
Hi Johannes, The BW tracking feature in mac80211 is causing connection problems and operating mode/bw problems when switching b/w modes and bw's in AP. For Eg. Initially if AP is operating in VHT-80MHz, and then we changed in to HT-40MHz, mac80211 cannot handle it because the VHT capability is mi

Re: Issue with frame injection on monitor interface (ath9k)

2015-02-19 Thread wim torfs
On 02/19/2015 03:53 PM, Mário Lopes wrote: Hi everyone. When using frame injection over monitor interface, with handmade packet with Radiotap header + QoS + Data, at sender I capture the packet with tcpdump and it is equal to the one I sent. Although, at receiver station, the packet is diferen

Re: rtl8192cu beacon fix unreliable

2015-02-19 Thread Larry Finger
On 02/19/2015 11:37 AM, Mike Turner wrote: Sorry, I know personal replies aren't liked, however couldn't see how to send a reply to your reply to my original post. (if you can tell me how to do that then I will in future) Anyway, I had already checked the send_beacon_frame() call and it gets ca

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

2015-02-19 Thread Rajkumar Manoharan
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 --- drivers/net/wireless/ath/ath10k/thermal.h | 2 +- 1 file changed, 1

[PATCH 2/2] ath10k: fix quiet duration configuration

2015-02-19 Thread Rajkumar Manoharan
Duty cycle is nothing but percentage of one period in which a signal is active. But it is wrongly interpreted as ratio of quiet duration. So fix the quiet duration to the remaining percentage of duty cycle (active ratio). Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/ther

[PATCH v3 1/2] dt: bindings: add wl18xx wireless device

2015-02-19 Thread Eliad Peller
Add device tree binding documentation for TI's wl18xx wlan chip. Signed-off-by: Eliad Peller --- v3: * make the bindings device-specific (wl18xx) (Arnd, Mark) * split bindings and driver changes (Arnd) * make interrupt-parent optional (Arnd) * make unit-address same as reg (Mark) .../device

[PATCH v3 2/2] wl18xx: add basic device-tree support

2015-02-19 Thread Eliad Peller
When running with device-tree, we no longer have a board file that can set up the platform data for wlcore. Allow this data to be passed from DT. For now, parse only the irq used. Other (optional) properties can be added later on. Signed-off-by: Ido Yariv Signed-off-by: Eliad Peller --- driver

Issue with frame injection on monitor interface (ath9k)

2015-02-19 Thread Mário Lopes
Hi everyone. When using frame injection over monitor interface, with handmade packet with Radiotap header + QoS + Data, at sender I capture the packet with tcpdump and it is equal to the one I sent. Although, at receiver station, the packet is diferent, FCS was recalculated or forced to act

Re: [RFC PATCH] rtl8192cu: Fix beacon support in AP mode

2015-02-19 Thread Jon Hunter
Hi Larry, On 02/18/2015 09:24 PM, Larry Finger wrote: > On 02/18/2015 01:51 PM, Jon Hunter wrote: >> When using the rtl8192cu in AP mode a few devices (an android phone, >> iphone and ipad) were unable to associate, where as the laptops I tried >> could. Using wireshark to sniff the wlan traffic,

RE: [PATCH v2] ath10k: Increase AST table SKID length limit

2015-02-19 Thread Salakava Jegadeesan, Senthil
This fix is specific to ath10K driver + 10.x firmware combinations. This has been tested extensively, didn't observe the mentioned issue. Thanks, Senthil J -Original Message- From: Ben Greear [mailto:gree...@candelatech.com] Sent: Thursday, February 19, 2015 1:53 AM To: Salakava Jegadee

Re: [RFC] zero-copy AMSDU processing

2015-02-19 Thread Emmanuel Grumbach
On Thu, Feb 19, 2015 at 12:51 PM, Vladimir Kondratiev wrote: > > I am looking for ideas how can one process AMSDU in the software, without > copying data. > Current implementation like ieee80211_amsdu_to_8023s() do copy packet data. > > Assume I got in the driver, MPDU that is AMSDU containing se

[RFC] zero-copy AMSDU processing

2015-02-19 Thread Vladimir Kondratiev
I am looking for ideas how can one process AMSDU in the software, without copying data. Current implementation like ieee80211_amsdu_to_8023s() do copy packet data. Assume I got in the driver, MPDU that is AMSDU containing several MSDU's. It is in the single memory buffer that was allocated for DM

Re: [PATCHv2] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-19 Thread Felix Fietkau
On 2015-02-10 11:34, Yuwei Zheng wrote: > The ath9k_hif_usb_rx_cb function excute on the interrupt context, and > ath9k_rx_tasklet excute > on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more > chance to excute than > ath9k_rx_tasklet. So in the worst condition, the rx.r