[PATCH 1/2] ath10k: share board file loading code across FW APIs

2015-03-23 Thread Michal Kazior
There's no need to implement the same thing twice. Reduce code duplication. Signed-off-by: Michal Kazior michal.kaz...@tieto.com --- drivers/net/wireless/ath/ath10k/core.c | 68 +++--- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git

[PATCH 2/2] ath10k: allow loading device specific board files

2015-03-23 Thread Michal Kazior
Some devices differ slightly and require different board files. These devices can be differentiated by looking at PCI subsystem device id. That is the case for qca6174 devices at least. Use that and load subsystem id specific board files if possible. Otherwise fall back to use the (old) generic

[PATCH 0/2] ath10k: load device specific board files

2015-03-23 Thread Michal Kazior
Until now it was okay to use a very generic board data since OTP was supposed to fill in the blanks (except some cases in which a complete cal data is provided via cal-pci-xxx or device tree). However since qca6174 this has changed. It is now necessary to load specific board file for different

Re: [PATCH 2/4] ath10k: add WOW disconnect/magic-packet support

2015-03-23 Thread Kalle Valo
Janusz Dziedzic janusz.dzied...@tieto.com writes: Add support for WOW disconnect and magic-packet. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com [...] +#ifdef CONFIG_PM +int ath10k_wow_init(struct ieee80211_hw *hw); [...] +#else +static inline int ath10k_wow_init(struct

Re: [PATCH v2 1/2] ath10k: fix rts profile for second rate series

2015-03-23 Thread Kalle Valo
Rajkumar Manoharan rmano...@qti.qualcomm.com writes: By default rts protection is enabled in firmware for the second rateset. Currently ath10k selects RTS profile (only for software retries), when legacy stations are associated or asked by mac80211. On congested environment, when AP is

Re: [PATCH 0/6] ath10k: thermal mitigation fixes

2015-03-23 Thread Kalle Valo
Rajkumar Manoharan rmano...@qti.qualcomm.com writes: Here are few enhancements in thermal throttling that allows user to control throttling state and quiet period. Also enables throttling for station mode. These patches are rebased on latest TOT. Rajkumar Manoharan (6): ath10k: add

Re: [PATCH] ath10k: enable channel 144 on 5GHz band

2015-03-23 Thread Kalle Valo
Peter Oh p...@qca.qualcomm.com writes: Enable channel 144 on 5GHz band since 802.11ac introduced it. Signed-off-by: Peter Oh p...@qca.qualcomm.com Thanks, applied. -- Kalle Valo ___ ath10k mailing list ath10k@lists.infradead.org

Re: [PATCH v2 1/2] ath10k: enable Adaptive Noise Immunity (ANI) by default

2015-03-23 Thread Kalle Valo
Ashok Raj Nagarajan arnag...@qti.qualcomm.com writes: ANI helps to improve connectvity and performance in a noisy environment. Enabling this feature would help the user experience a better and stable wireless connection in a noisy environmnet. This feature is currently not enabled for ath10k.

Re: [PATCH v2 2/2] ath10k: allow user to toggle ani_enable via debugfs

2015-03-23 Thread Ashok Raj Nagarajan
On Fri, Mar 20, 2015 at 10:28:06AM +0100, Jose Antonio Delgado Alfonso wrote: Hi Ashok, Just a quick question, is it supported by all firmware versions? Yes Jose. It is supported by all firmware versions. Thanks, Ashok Thanks, Jose A. Delgado On 19/03/15 12:08, Ashok Raj Nagarajan

Re: Re: QCA6174 hw2.1?

2015-03-23 Thread Jason H
Sent: Monday, March 23, 2015 at 4:23 AM From: Michal Kazior michal.kaz...@tieto.com To: Jason H jh...@gmx.com Cc: ath10k@lists.infradead.org ath10k@lists.infradead.org Subject: Re: Re: QCA6174 hw2.1? On 21 March 2015 at 21:31, jh...@gmx.com wrote: is there anyway you could process

Re: [PATCH v4 0/7] ath10k: add multi-channel support

2015-03-23 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: New qca6174 with wmi-tlv firmware supports multi-channel operation. To make use of it ath10k needs a few changes: implement mac80211's chanctx API and rework tx queue control a bit. 3-way merge fails: Applying: ath10k: allow empty ssid vdev

Re: [PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-23 Thread Kalle Valo
Marek Puzyniak marek.puzyn...@tieto.com writes: As a part of tdls implementation introduce tdls related wmi data structures, constant values and functions. Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com This patch had non-trivial conflicts, please check carefully my resolution in

Re: [PATCH 1/2] ath10k: share board file loading code across FW APIs

2015-03-23 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: There's no need to implement the same thing twice. Reduce code duplication. Signed-off-by: Michal Kazior michal.kaz...@tieto.com [...] @@ -730,6 +716,12 @@ static int ath10k_core_fetch_firmware_files(struct ath10k *ar) /* calibration

Re: [PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-23 Thread Michal Kazior
On 22 March 2015 at 08:49, Arik Nemtsov a...@wizery.com wrote: On Fri, Mar 20, 2015 at 1:02 PM, Marek Puzyniak marek.puzyn...@tieto.com wrote: As a part of tdls implementation introduce tdls related wmi data structures, constant values and functions. Signed-off-by: Marek Puzyniak

Re: Repeated firmware crash when admin down.

2015-03-23 Thread Michal Kazior
On 20 March 2015 at 22:46, Ben Greear gree...@candelatech.com wrote: Someone reported this bug to me. It is repeatable on various firmware, including my own and official QCA firmware. I am not certain of the hardware platform, but I think it might be a Ventana imx6 board. Kernel is based

[PATCH] ath10k: fix aid setup in station mode

2015-03-23 Thread Michal Kazior
While debugging something else I noticed AID was set to 0. This could lead to powersave issues in station mode. Maybe this isn't really necessary but set it properly just to be sure. Signed-off-by: Michal Kazior michal.kaz...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 8 +++- 1

Re: Re: QCA6174 hw2.1?

2015-03-23 Thread Michal Kazior
On 21 March 2015 at 21:31, jh...@gmx.com wrote: is there anyway you could process these files for me?. I would be willing to send you the files and go through some back and forth of feedback and whatnot. The issue is I just don't think I have the time or the expertise to devote to this.

Re: Repeated firmware crash when admin down.

2015-03-23 Thread Ben Greear
The user reports this does indeed fix the problem. Thanks, Ben On 03/22/2015 11:37 PM, Michal Kazior wrote: On 20 March 2015 at 22:46, Ben Greear gree...@candelatech.com wrote: Someone reported this bug to me. It is repeatable on various firmware, including my own and official QCA firmware.