[PATCH 2/3] ath10k: refactor ath10k_init_download_firmware()

2014-10-13 Thread Kalle Valo
This is preparation for being able to download calibration data from a file. Signed-off-by: Kalle Valo kv...@qca.qualcomm.com --- drivers/net/wireless/ath/ath10k/core.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git

Re: [PATCH 4/5] ath10k: split reset logic from power up

2014-10-13 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: The power up procedure was overly complex due to warm/cold reset workarounds and issues. Signed-off-by: Michal Kazior michal.kaz...@tieto.com [...] + ret = ath10k_pci_wait_for_target_init(ar); + if (ret) { +

Re: ath10k firmware crash

2014-10-13 Thread Michal Kazior
On 13 October 2014 09:35, voncken cedric.vonc...@acksys.fr wrote: Thanks for your reply, Can you then provide a crash register dump for 10.1, please? I can't help you much with the 636 dump. Yes I can, but where I find it?

Re: ath10k firmware crash

2014-10-13 Thread Michal Kazior
On 13 October 2014 11:20, voncken cedric.vonc...@acksys.fr wrote: -Message d'origine- De : Michal Kazior [mailto:michal.kaz...@tieto.com] Envoyé : lundi 13 octobre 2014 09:54 À : voncken Cc : ath...@lists.infradead.org; linux-wireless Objet : Re: ath10k firmware crash On 13

Re: ath10k firmware crash

2014-10-13 Thread Michal Kazior
On 13 October 2014 11:23, voncken cedric.vonc...@acksys.fr wrote: Are you perhaps trying to run STA with 4addr bridging? If so then make sure you use recent ath10k as this was known to be a problem. We tested without the 4addr bridging, that works fine but we can't add the interface in

RE: ath10k firmware crash

2014-10-13 Thread voncken
Are you perhaps trying to run STA with 4addr bridging? If so then make sure you use recent ath10k as this was known to be a problem. We tested without the 4addr bridging, that works fine but we can't add the interface in bridge :-( Have you a benchmark reference with ATH10K ? at this

RE: ath10k firmware crash

2014-10-13 Thread voncken
I'm using the compat wireless from Openwrt. Compat wireless version 2014-05-22, but we updated the firmware with the latest version provided by openwrt (commit number 38eeda3ae6f90fde5546bdd48ee4ff3090f238c0 from kernel.org/pub/scm/linux/kernel/git/firmare/linux-firmware) The

[PATCH v2] mac80211: fix typo in starting baserate for rts_cts_rate_idx

2014-10-13 Thread Karl Beldan
From: Karl Beldan karl.bel...@rivierawaves.com It affects non-(V)HT rates and can lead to selecting an rts_cts rate that is not a basic rate or way superior to the reference rate (ATM rates[0] used for the 1st attempt of the protected frame data). E.g, assuming drivers register growing (bitrate)

RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-13 Thread Amitkumar Karwar
Hi Marek, That's good :) Actually kernel will take care of freeing skb when driver submits received packet using netif_rx(). Could you please share your hack? Yes it should be freed when netif_rx() is processed but I have feeling that sometimes (my case) during high load (-b 100m) packets are

RE: ath10k firmware crash

2014-10-13 Thread voncken
Are you perhaps trying to run STA with 4addr bridging? If so then make sure you use recent ath10k as this was known to be a problem. Yes I'm testing with 4 addr bridging because I need to bridge this interface. I' ll try without this option. I'm testing with commit number

Re: [PATCH] net: wireless: brcm80211: brcmfmac: dhd_sdio.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-10-13 Thread Rickard Strandqvist
2014-10-13 10:55 GMT+02:00 David Laight david.lai...@aculab.com: From: Rickard Strandqvist Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And changed from using strncpy to strlcpy to simplify code. I think you should return an error if the strings get truncated.

[PATCH 0/9] ath9k patches

2014-10-13 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com MCC fixes for -next. Sujith Manoharan (9): ath9k: Add a function to check for an active GO ath9k: Check for active GO in mgd_prepare_tx() ath9k: Use a helper function for offchannel NoA ath9k: Use a helper function to set NoA ath9k: Use

[PATCH 4/9] ath9k: Use a helper function to set NoA

2014-10-13 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/channel.c | 61 +++- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/channel.c

[PATCH 6/9] ath9k: Fix RoC expiration

2014-10-13 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com mac80211 has to be notified when a RoC period expires in the driver. In MCC mode, since the offchannel/RoC timer is set with the requested duration, ieee80211_remain_on_channel_expired() needs to be called when the timer expires. But, currently it

[PATCH 1/9] ath9k: Add a function to check for an active GO

2014-10-13 Thread Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/channel.c | 30 ++ 2 files changed, 31 insertions(+) diff --git