Re: [PATCH v2] ath10k: remove VHT capabilities from 2.4GHz

2016-04-26 Thread Krishna Chaitanya
On Wed, Apr 27, 2016 at 1:40 AM, Ben Greear wrote: > On 04/26/2016 01:07 PM, Krishna Chaitanya wrote: >> >> On Tue, Apr 26, 2016 at 5:33 PM, Valo, Kalle >> wrote: >>> >>> Johannes Berg writes: >>> On Thu, 2016-04-21 at 08:15 -0700, Ben Greear wrote: > The thing is, it actually work

Re: QCA6174 firmware crash

2016-04-26 Thread Michal Kazior
On 26 April 2016 at 21:52, Michael Ney wrote: > Michal, > > I'm using Backports 4.2. I added that patch and no change to the crash. That > patch changed the TX NSS config, but didn't do anything with the RX. I can > watch kernel log and see that the crash happens immediately when I send the > N

Re: QCA99XX with MU-MIMO and beamforming?

2016-04-26 Thread Michal Kazior
On 26 April 2016 at 16:35, Ben Greear wrote: > > > On 04/25/2016 11:16 PM, Michal Kazior wrote: >> >> On 25 April 2016 at 22:31, Ben Greear wrote: >>> >>> Has anyone tried this? Looks like hostapd has the ability to set the >>> feature flags, but I am not sure if it is really working in ath10k?

Re: IBSS mode with DFS function

2016-04-26 Thread horse
Thanks Michal. I think my question is same as another thread http://lists.infradead.org/pipermail/ath10k/2016-April/007376.html enable 802.11h and 802.11d in IBSS mode. Do i need to modify wpa_supplicant to support DFS? Horse Michal Kazior 於 2016/4/27 下午 01:07 寫道: On 26 April 2016 at 13:18,

Re: Missing QCA6174 card in board-2.bin

2016-04-26 Thread Michal Kazior
On 27 April 2016 at 00:40, wrote: > Hey, > The board-2.bin file is missing subsystem 168c:3344 for my qca6174 > hw ver 2.1. Does the kvalo's firmware repo requires an update? Hi, Is it 6174 or 6164? There is already a subsystem vendor entry matching this: ; strings board-2.bin | grep bus

Re: enable 802.11h and 802.11d in IBSS mode

2016-04-26 Thread Michal Kazior
On 26 April 2016 at 22:05, Jose Núñez-Martínez (CTTC) wrote: > I'm not using wpa_supplicant. I'm directly using "iw" commands to configure > the wireless cards. I don't think you're really supposed to do that? There'd be nothing to handle radar detection event which is pretty much in violation of

Re: IBSS mode with DFS function

2016-04-26 Thread Michal Kazior
On 26 April 2016 at 13:18, horse wrote: > Hello, > > Has anyone enable DFS function under IBSS mode? > I tried 9880 with firmware 999.999.0.636. > I can create ibss mode, however, i have no idea how to enable DFS at the > same time. 636 does not support DFS from IIRC. Only 10.x does that but offi

Missing QCA6174 card in board-2.bin

2016-04-26 Thread gloudon . jamie
Hey, The board-2.bin file is missing subsystem 168c:3344 for my qca6174 hw ver 2.1. Does the kvalo's firmware repo requires an update? Regards, ___ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k

Re: [PATCH v2] ath10k: remove VHT capabilities from 2.4GHz

2016-04-26 Thread Ben Greear
On 04/26/2016 01:07 PM, Krishna Chaitanya wrote: On Tue, Apr 26, 2016 at 5:33 PM, Valo, Kalle wrote: Johannes Berg writes: On Thu, 2016-04-21 at 08:15 -0700, Ben Greear wrote: The thing is, it actually works just fine with the patch I posted to fix mac80211, and at any rate, even if the ma

Re: [PATCH v2] ath10k: remove VHT capabilities from 2.4GHz

2016-04-26 Thread Krishna Chaitanya
On Tue, Apr 26, 2016 at 5:33 PM, Valo, Kalle wrote: > Johannes Berg writes: > >> On Thu, 2016-04-21 at 08:15 -0700, Ben Greear wrote: >> >>> The thing is, it actually works just fine with the patch I posted >>> to fix mac80211, and at any rate, even if the mac80211 patch isn't >>> applied, the at

Re: enable 802.11h and 802.11d in IBSS mode

2016-04-26 Thread CTTC
I'm not using wpa_supplicant. I'm directly using "iw" commands to configure the wireless cards. Regards, Jose On 04/26/2016 06:51 PM, Peter Oh wrote: On 04/26/2016 05:36 AM, Jose Nunez-Martinez (CTTC) wrote: Hi all, I'm using ath10k in IBSS with 2 wireless cards based on qca988x. How can I e

Re: QCA6174 firmware crash

2016-04-26 Thread Michael Ney
Michal, I'm using Backports 4.2. I added that patch and no change to the crash. That patch changed the TX NSS config, but didn't do anything with the RX. I can watch kernel log and see that the crash happens immediately when I send the Null Data / QOS Null Data with any of the CF attributes, so

QCA99XX, IBSS, and no transmitted frames?

2016-04-26 Thread Ben Greear
Just curious if anyone has any ideas...I've been staring that this one for days without much luck... Test case is to bring up two 9990 NICs, using my kernel and firmware, and then run 56kbps UDP traffic bi-directional. It works for a bit, and then I see a case where one side cannot seem to answe

Re: enable 802.11h and 802.11d in IBSS mode

2016-04-26 Thread Peter Oh
On 04/26/2016 05:36 AM, Jose Nunez-Martinez (CTTC) wrote: Hi all, I'm using ath10k in IBSS with 2 wireless cards based on qca988x. How can I enable DFS (802.11h AND 802.11d) in IBSS mode (I mean there's not hostapd.conf file)? As I understand, IBSS is using wpa_supplicant and wpa_supplicant d

[PATCH] ath10k: fix kernel panic, move arvifs list head init before htt init

2016-04-26 Thread akolli
From: Anilkumar Kolli It is observed that while loading and unloading ath10k modules in an infinite loop, before ath10k_core_start() completion HTT rx frames are received, while processing these frames, dereferencing the arvifs list code is getting hit before initilizing the arvifs list, causing

[PATCH] ath10k: Move spectral related structures under ath10k debugfs

2016-04-26 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Spectral related structures are accessed / modified only if ath10k debugfs is enabled, so it makes more sense to move them under ATH10K_DEBUGFS Signed-off-by: Mohammed Shafi Shajakhan --- [compile tested disabling ATH10K_DEBUGFS] drivers/net/wireless/ath/ath10k/

Re: QCA99XX with MU-MIMO and beamforming?

2016-04-26 Thread Ben Greear
On 04/25/2016 11:16 PM, Michal Kazior wrote: On 25 April 2016 at 22:31, Ben Greear wrote: Has anyone tried this? Looks like hostapd has the ability to set the feature flags, but I am not sure if it is really working in ath10k? Yes, it works. You need a few vht_capabs. I have mine like this

IBSS mode with DFS function

2016-04-26 Thread horse
Hello, Has anyone enable DFS function under IBSS mode? I tried 9880 with firmware 999.999.0.636. I can create ibss mode, however, i have no idea how to enable DFS at the same time. Actually, it seems i can get into CAC time (no beacon send out), however, after 60 seconds, beacon still not send

enable 802.11h and 802.11d in IBSS mode

2016-04-26 Thread CTTC
Hi all, I'm using ath10k in IBSS with 2 wireless cards based on qca988x. How can I enable DFS (802.11h AND 802.11d) in IBSS mode (I mean there's not hostapd.conf file)? Kernel is 4.2.0+ from CT and firmware is 10.1.467-ct-com-full-014-96d543. Thanks, Jose

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-26 Thread Christian Lamparter
On Tuesday, April 26, 2016 07:20:32 AM Valo, Kalle wrote: > Christian Lamparter writes: > > On Monday, April 25, 2016 10:53:41 AM David Hutchison wrote: > >> So with some modifications to pci.c, hw.h and core.c I was able to get > >> the radio initialized! :) > > > > Hey, that's nice! Can you make

Re: [PATCH] ath10k: release pre_cal_file while unloading driver

2016-04-26 Thread Valo, Kalle
Rajkumar Manoharan writes: > Failing to release pre_cal_file caldata on deinit causes memory leak. > > Fixes: b131129d9657 ("ath10k: fix calibration init sequence of qca99x0") > Signed-off-by: Rajkumar Manoharan Doesn't apply, please rebase. Applying: ath10k: release pre_cal_file while unloadi

Re: [PATCH v2] ath10k: remove VHT capabilities from 2.4GHz

2016-04-26 Thread Valo, Kalle
Johannes Berg writes: > On Thu, 2016-04-21 at 08:15 -0700, Ben Greear wrote: > >> The thing is, it actually works just fine with the patch I posted >> to fix mac80211, and at any rate, even if the mac80211 patch isn't >> applied, the ath10k driver works just fine in HT mode. > > This patch has no

Re: [PATCH 4/4] ath10k: update bss channel survey information

2016-04-26 Thread Valo, Kalle
Rajkumar Manoharan writes: > During hw scan, firmware sends two channel information events (pre- > complete, complete) to host for each channel change. The snap shot of cycle > counters (rx_clear and total) between these two events are given for > survey dump. In order to get latest survey statis

Re: QCA99XX with MU-MIMO and beamforming?

2016-04-26 Thread Valo, Kalle
Michal Kazior writes: > On 25 April 2016 at 22:31, Ben Greear wrote: >> Has anyone tried this? Looks like hostapd has the ability to set the >> feature flags, but I am not sure if it is really working in ath10k? > > Yes, it works. You need a few vht_capabs. I have mine like this: > > > > vht_

[PATCH] ath10k: release pre_cal_file while unloading driver

2016-04-26 Thread Rajkumar Manoharan
Failing to release pre_cal_file caldata on deinit causes memory leak. Fixes: b131129d9657 ("ath10k: fix calibration init sequence of qca99x0") Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-26 Thread Valo, Kalle
Christian Lamparter writes: > Hello, > > On Monday, April 25, 2016 10:53:41 AM David Hutchison wrote: >> So with some modifications to pci.c, hw.h and core.c I was able to get >> the radio initialized! :) > > Hey, that's nice! Can you make and post a patch for that? > I'm sure if it's just a mat

Re: [PATCH v2] ath10k: remove VHT capabilities from 2.4GHz

2016-04-26 Thread Johannes Berg
On Thu, 2016-04-21 at 08:15 -0700, Ben Greear wrote: > The thing is, it actually works just fine with the patch I posted > to fix mac80211, and at any rate, even if the mac80211 patch isn't > applied, the ath10k driver works just fine in HT mode. This patch has no implications on HT, and I wasn't