Re: mt76x2e MCU message 31 timed out

2018-07-11 Thread Janusz Dziedzic
2018-07-11 14:29 GMT+02:00 Stanislaw Gruszka : > (correct Felix email address) > > On Fri, Jun 22, 2018 at 05:51:53PM +0200, Janusz Dziedzic wrote: >> 2018-06-22 16:48 GMT+02:00 Stanislaw Gruszka : >> > Hi >> > >> > On Fri, Jun 22, 2018 at 10:37:35A

Re: mt76x2e MCU message 31 timed out

2018-06-22 Thread Janusz Dziedzic
2018-06-22 16:48 GMT+02:00 Stanislaw Gruszka : > Hi > > On Fri, Jun 22, 2018 at 10:37:35AM +0200, Janusz Dziedzic wrote: >> Have this card in my laptop: >> 02:00.0 Network controller: MEDIATEK Corp. Device 7612 >> >> [8.478104] mt76x2e :02:00.0: ASIC re

mt76x2e MCU message 31 timed out

2018-06-22 Thread Janusz Dziedzic
Hello, Have this card in my laptop: 02:00.0 Network controller: MEDIATEK Corp. Device 7612 [8.478104] mt76x2e :02:00.0: ASIC revision: 76120044 [8.489582] mt76x2e :02:00.0: ROM patch already applied [8.833476] mt76x2e :02:00.0: Firmware Version: 0.0.00 [8.833477]

Re: [PATCH 0/4] cfg80211/mac80211: Add support to configure and monitor txrate threshold

2018-06-15 Thread Janusz Dziedzic
ed handover as opposed to station roaming. > Suspect the user-space application referred to here is a proprietary > application. At plumbers conf I attended a couple of years ago there was an > idea to have a network management application controlling multiple hostapd > instances for this type of functionality, but not sure if that project ever > got of the ground. > > Regards, > Arend > -- Janusz Dziedzic

Re: Atheros AR9462 - 5Ghz not working

2018-06-14 Thread Janusz Dziedzic
2018-06-14 6:15 GMT+02:00 : > > mgre...@cinci.rr.com wrote: >> >> mgre...@cinci.rr.com wrote: >> > >> > mgre...@cinci.rr.com wrote: >> > > >> > > Sedat Dilek wrote: >> > > > On Tue, May 22, 2018 at 7:21 PM, wrote: >> > > > > I've run out of ideas and am hoping someone here

Re: Question on setting key right after the EAPOL 4/4 is sent.

2017-06-09 Thread Janusz Dziedzic
y seems better. > > > I guess I don't fully understand the PAE thing, but if you all like it, > then sounds good to me. > > For kernels not supporting this new feature, it seems that having supplicant > wait for tx-status would be a good interim fix? > > Thanks, > Ben > > -- > Ben Greear <gree...@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > > ___ > Hostap mailing list > hos...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/hostap -- Janusz Dziedzic

iwlwifi 8260 crash (4.11rc6)

2017-05-06 Thread Janusz Dziedzic
cpus=3 node=0 flags=0x0 nice=0 hung=10s workers=3 idle: 27326 27018 [42312.507799] Restarting kernel threads ... done. [42312.508562] OOM killer enabled. [42312.508569] Restarting tasks ... done. -- Janusz Dziedzic

Re: [RESEND] ath9k failure to authenticate WPA2 client mode

2017-03-29 Thread Janusz Dziedzic
On 29 March 2017 at 19:03, Tim Harvey wrote: > Greetings, > > (resending plaintext - oops) > > I'm seeing failures to authenticate with a WPA2 secured AP using ath9k > based cards on wireless-next: > > root@xenial-armhf:~# wpa_passphrase testssid testpass > >

Re: [PATCH 3/3] ath9k: add noise floor override option

2017-03-17 Thread Janusz Dziedzic
On 17 March 2017 at 09:55, Simon Wunderlich <s...@simonwunderlich.de> wrote: > On Friday, March 17, 2017 9:48:07 AM CET Janusz Dziedzic wrote: >> On 16 March 2017 at 16:13, Simon Wunderlich <s...@simonwunderlich.de> wrote: >> > Introduce a debugfs option to man

Re: [PATCH 3/3] ath9k: add noise floor override option

2017-03-17 Thread Janusz Dziedzic
On 16 March 2017 at 16:13, Simon Wunderlich wrote: > Introduce a debugfs option to manually override the noise floor, > ignoring the automatically tuned noise floor of the driver/hw. > > In my tests with a AR9580 based module and a tx99 5 MHz interferer, > I could tune

Re: ath9k gpio request

2016-06-02 Thread Janusz Dziedzic
On 2 June 2016 at 10:02, Pan, Miaoqing wrote: > Seems there are something wrong in the datasheet, try > > --- a/drivers/net/wireless/ath/ath9k/reg.h > +++ b/drivers/net/wireless/ath/ath9k/reg.h > @@ -1122,8 +1122,8 @@ enum { > #define AR9300_NUM_GPIO

Re: [PATCH 1/4] ath10k: remove supported chain mask

2016-02-23 Thread Janusz Dziedzic
On 29 October 2015 at 12:01, Kalle Valo wrote: > Rajkumar Manoharan writes: > >> Removing supported chainmask fields as it can be always derived >> from num_rf_chains. >> >> Signed-off-by: Rajkumar Manoharan > Hello,

intel7260 - iface up sometimes failed

2016-02-23 Thread Janusz Dziedzic
Hello, I have intel7260 connected via external PCIe + DELL latitude e6430. [ 5199.805417] iwlwifi :04:00.0: enabling device (0100 -> 0102) [ 5199.809222] iwlwifi :04:00.0: loaded firmware version 17.275772.0 op_mode iwlmvm [ 5199.819548] iwlwifi :04:00.0: Detected Intel(R) Dual Band

[PATCH 2/2] mac80211: add NEED_ALIGNED4_SKBS hw flag

2016-02-19 Thread Janusz Dziedzic
completion (to be sure monitor will report this tx frame correctly). With this patch we can skip this memmove() and save CPU. Currently this was tested with ath9k, both hw/sw crypt for wep/tkip/ccmp. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- include/net/mac80211.h | 3 ++

[PATCH 1/2] mac80211: add hdrlen to ieee80211_tx_data

2016-02-19 Thread Janusz Dziedzic
Add hdrlen to ieee80211_tx_data and use this when wep/ccmd/tkip. This is preparation for aligned4 code. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- net/mac80211/ieee80211_i.h | 1 + net/mac80211/tx.c | 6 +++--- net/mac80211/util.c| 5 - net/ma

[RFC/RFT v4 2/2] mac80211: add NEED_ALIGNED4_SKBS hw flag

2016-01-21 Thread Janusz Dziedzic
(ieee80211_hdrsize()) twice. Currently this was tested with ath9k, both hw/sw crypt for tkip/ccmp. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- not sure __ieee80211_hdrlen is the best choice here ... include/net/mac80211.h | 4 net/mac80211/debugfs.c | 1 + net/ma

[RFC/RFT v4 1/2] mac80211: add hdrlen to ieee80211_tx_data

2016-01-21 Thread Janusz Dziedzic
Add hdrlen to ieee80211_tx_data and use this when wep/ccmd/tkip. This is preparation for aligned4 code. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- net/mac80211/ieee80211_i.h | 1 + net/mac80211/tx.c | 6 +++--- net/mac80211/util.c| 5 - net/ma

[PATCH] mac80211: add use_minrate param to ieee80211_tx_prepare_skb()

2016-01-05 Thread Janusz Dziedzic
Add use_minrate param to ieee80211_tx_prepare_skb() function. This is useful in case we would like to send frames with lowest rates, eg. nullfunc, probe_resp. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 5 +++-- include/net/mac8

Re: [PATCH] mac80211: add use_minrate param to ieee80211_tx_prepare_skb()

2016-01-05 Thread Janusz Dziedzic
On 5 January 2016 at 10:45, Jouni Malinen <j...@w1.fi> wrote: > On Tue, Jan 05, 2016 at 10:00:19AM +0100, Janusz Dziedzic wrote: >> Add use_minrate param to ieee80211_tx_prepare_skb() function. >> This is useful in case we would like to send frames >> with lowest rate

Re: [PATCH] mac80211: add use_minrate param to ieee80211_tx_prepare_skb()

2016-01-05 Thread Janusz Dziedzic
On 5 January 2016 at 11:16, Janusz Dziedzic <janusz.dzied...@tieto.com> wrote: > On 5 January 2016 at 11:06, Jouni Malinen <j...@w1.fi> wrote: >> On Tue, Jan 05, 2016 at 10:56:18AM +0100, Janusz Dziedzic wrote: >>> On 5 January 2016 at 10:45, Jouni Malinen <j...@w

[PATCH v2 1/2] mac80211: check requested flags in ieee80211_tx_prepare_skb()

2016-01-05 Thread Janusz Dziedzic
In case driver already set info->flags (eg. IEEE80211_TX_CTL_NO_CCK_RATE in ath9k driver), before this patch we skip this requested flags. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- net/mac80211/tx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/mac802

[PATCH v2 2/2] ath9k: use min rate when MCC and nullfunc

2016-01-05 Thread Janusz Dziedzic
In case of nullfunc and MCC case use lowest possible rates. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath

Re: [PATCH] mac80211: add use_minrate param to ieee80211_tx_prepare_skb()

2016-01-05 Thread Janusz Dziedzic
On 5 January 2016 at 11:06, Jouni Malinen <j...@w1.fi> wrote: > On Tue, Jan 05, 2016 at 10:56:18AM +0100, Janusz Dziedzic wrote: >> On 5 January 2016 at 10:45, Jouni Malinen <j...@w1.fi> wrote: >> > On Tue, Jan 05, 2016 at 10:00:19AM +0100, Janusz Dziedzic wrot

[RFC/RFT v3] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2016-01-05 Thread Janusz Dziedzic
(ieee80211_hdrsize()) twice. Currently this was tested with ath9k, both hw/sw crypt for tkip/ccmp. For sure more tests required. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- V3: remove padding for monitor iface include/net/mac80211.h | 4 net/mac80211/debugfs.c | 1

Re: [RFC/RFT 1/2] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2015-12-18 Thread Janusz Dziedzic
On 17 December 2015 at 11:12, Felix Fietkau <n...@openwrt.org> wrote: > On 2015-12-17 10:20, Janusz Dziedzic wrote: >> HW/driver should set NEED_ALIGNED4_SKBS flag in case require >> aligned skbs to four-byte boundaries. >> >> Before we have to do memmove() in the

[RFC/RFT v2] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2015-12-18 Thread Janusz Dziedzic
(ieee80211_hdrsize()) twice. Currently this was tested with ath9k, both hw/sw crypt for tkip/ccmp. For sure more tests required (eg. fast path isn't used for ath9k STA, wep sw crypt). Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- include/net/mac80211.h | 4 net/mac80211/deb

Re: [RFC/RFT v2] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2015-12-18 Thread Janusz Dziedzic
On 18 December 2015 at 13:07, Johannes Berg <johan...@sipsolutions.net> wrote: > On Fri, 2015-12-18 at 12:57 +0100, Janusz Dziedzic wrote: >> HW/driver should set NEED_ALIGNED4_SKBS flag in case require >> aligned skbs to four-byte boundaries. >> >> Before we h

Re: [PATCH v2 11/13] ath9k: MCC add sta_ap_ratio module param

2015-12-17 Thread Janusz Dziedzic
On 11 December 2015 at 09:19, Kalle Valo <kv...@codeaurora.org> wrote: > Janusz Dziedzic <janusz.dzied...@tieto.com> writes: > >> In case of MCC we can setup STA/AP(GO) ratio. >> Eg. setting sta_ap_ratio=80 >> STA will get 80% of time, while AP(GO) 20%. >>

SUPPORTS_CLONED_SKBS question

2015-12-14 Thread Janusz Dziedzic
Hello Johannes, During ath9k test we found a performance problem in TCP TX direction. Seems a lot of time we spent in memcpy() and this is because ath9k don't set SUPPORTS_CLONED_SKBS, and next pskb_expand_head() is called for every TCP frame. Base of SUPPORTS_CLONED_SKBS description, we can set

Re: wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808

2015-12-03 Thread Janusz Dziedzic
On 3 December 2015 at 08:07, Kalle Valo wrote: > Hi, > > For few weeks (I think) I have seen these kind of messages: > > ath10k_pci :02:00.0 wlan0: set_features() failed (-1); wanted > 0x4008, left 0x4808 > > iwlwifi :03:00.0 wlan0:

Re: ath10k: device has crashed during init - qca6174 chipset

2015-11-30 Thread Janusz Dziedzic
On 1 December 2015 at 07:20, Bartlomiej Grzeskowiak wrote: > Hi, > > I am trying to use ath10k driver from the latest backports-4.4-rc.2-1 with > kernel 3.10.65 and qca6174 based wlan module. Could you give me some hints > about possible problem. > ath10k_core.ko

[PATCH v2 09/13] ath9k: request NOA update when chanctx active

2015-11-27 Thread Janusz Dziedzic
Request NOA update when chanctx active, also in case of STA. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- This depends on: mac80211: add new IEEE80211_VIF_GET_NOA_UPDATE flag drivers/net/wireless/ath/ath9k/channel.c | 2 +- drivers/net/wireless/ath/ath9k/main.c| 5 ++

[PATCH v2 11/13] ath9k: MCC add sta_ap_ratio module param

2015-11-27 Thread Janusz Dziedzic
In case of MCC we can setup STA/AP(GO) ratio. Eg. setting sta_ap_ratio=80 STA will get 80% of time, while AP(GO) 20%. Setup correct ctwindow. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/ath9k.h | 2 + drivers/net/wireless/ath/ath9k/cha

[PATCH v2 05/13] ath9k: use u32 when calculate tsf

2015-11-27 Thread Janusz Dziedzic
Use u32 while ath9k_hw_gettsf32() and ath9k_hw_gen_timer_start() require u32. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/cha

[PATCH v2 13/13] ath9k: remove ath9k_mod_tsf64_tu

2015-11-27 Thread Janusz Dziedzic
Remove ath9k_mod_tsf64_tu() function while we could use div_u64_rem() function. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/common-beacon.c | 22 -- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/drive

[PATCH v2 12/13] ath9k: MCC, print time elapsed between events

2015-11-27 Thread Janusz Dziedzic
This is useful for MCC debugging and bug fixing. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/channel.c | 19 +-- 2 files changed, 18 insertions(+), 2 deletions(-) diff

[PATCH v2 02/13] ath9k: print real timer value

2015-11-27 Thread Janusz Dziedzic
In case of low HZ before this patch we saw wrong values in debug message. Print real timeout value. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drive

[PATCH v2 04/13] ath9k: P2P_CLIENT, send frames after 1ms AP/GO will aprear

2015-11-27 Thread Janusz Dziedzic
AP/GO will aprear after NOA, wait 1ms to be sure AP could receive/answer this frames. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/channe

[PATCH v2 03/13] ath9k: queue null frames in case of MCC

2015-11-27 Thread Janusz Dziedzic
While mac80211 using null frames when connection polling, we should queue this frames while NOA could be there, and AP, P2P_GO could be not present. Without this patch, with no traffic we often saw disconnections while we try to send nullfunc when AP/GO wasn't present. Signed-off-by: Janusz

[PATCH v2 01/13] ath9k: add debug messages to aggr/chanctx funcs

2015-11-27 Thread Janusz Dziedzic
Add/extend debug messages when chanctx used. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 11 --- drivers/net/wireless/ath/ath9k/hw.c | 8 drivers/net/wireless/ath/ath9k/xmit.c| 15 +++ 3

[PATCH v2 06/13] ath9k: setup correct skb priority for nullfunc

2015-11-27 Thread Janusz Dziedzic
After queue nullfunc for MCC case, we hit WARN_ON in xmit.c:2398 while skb priority wasn't set. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/channe

[PATCH v2 07/13] ath9k: MCC enable Opportunistic Power Save

2015-11-27 Thread Janusz Dziedzic
When adding NOA attr enable Opportunistic Power Save. Before we calculate ctwindow but didn't enable oppps. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath

[PATCH v2 08/13] ath9k: P2P_CLIENT, get/set NOA correctly

2015-11-27 Thread Janusz Dziedzic
In case we get BSS_CHANGED_P2P_PS early, from mac80211, we didn't set NOA timer correctly, while p2p_ps_vif was NULL. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[PATCH v2 10/13] ath9k: MCC, add NOA also in case of an AP

2015-11-27 Thread Janusz Dziedzic
In case of MCC and AP interface, add also NOA attr that will inform stations about absence of an AP. There is a chance that some stations will handle this NOA attr correctly and will know exactly when AP is present/absent. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- d

Re: [PATCH v2] ath9k: incorrect queue may be stopped/awaken

2015-11-13 Thread Janusz Dziedzic
Send again as txt. On 13 November 2015 at 12:17, Janusz Dziedzic <janusz.dzied...@tieto.com> wrote: > > > > On 13 November 2015 at 11:45, Borja Salazar <borja.sala...@fon.com> wrote: >> >> Hi, >> >> Let me explain the patch more thoroughly. We

Re: [PATCH] ath9k: incorrect queue may be stopped/awaken

2015-11-12 Thread Janusz Dziedzic
On 3 November 2015 at 18:37, Borja Salazar wrote: > When channel context is enabled, we could be > stopping/awakening an incorrect queue. > --- > drivers/net/wireless/ath/ath9k/xmit.c | 22 -- > 1 file changed, 12 insertions(+), 10 deletions(-) > > diff

Re: Does mac80211 guarantee no data frames are sent to driver until encryption is setup?

2015-11-12 Thread Janusz Dziedzic
On 13 November 2015 at 01:59, Ben Greear wrote: > A certain firmware tries to do EAPOL inspection and only allow data pkts > to be sent after the 4-way M4 has been sent, for instance. > > This was breaking .11r because in that case you don't do the 4-way after > roaming,

[PATCH 02/12] ath9k: print real timer value

2015-11-12 Thread Janusz Dziedzic
In case of low HZ before this patch we saw wrong values in debug message. Print real timeout value. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drive

[PATCH 10/12] ath9k: MCC, add NOA also in case of an AP

2015-11-12 Thread Janusz Dziedzic
In case of MCC and AP interface, add also NOA attr that will inform stations about absence of an AP. There is a chance that some stations will handle this NOA attr correctly and will know exactly when AP is present/absent. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- d

[PATCH 03/12] ath9k: queue null frames in case of MCC

2015-11-12 Thread Janusz Dziedzic
While mac80211 using null frames when connection polling, we should queue this frames while NOA could be there, and AP, P2P_GO could be not present. Without this patch, with no traffic we often saw disconnections while we try to send nullfunc when AP/GO wasn't present. Signed-off-by: Janusz

[PATCH 08/12] ath9k: P2P_CLIENT, get/set NOA correctly

2015-11-12 Thread Janusz Dziedzic
In case we get BSS_CHANGED_P2P_PS early, from mac80211, we didn't set NOA timer correctly, while p2p_ps_vif was NULL. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[PATCH 05/12] ath9k: use u32 when calculate tsf

2015-11-12 Thread Janusz Dziedzic
Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index 5640e88..d86566b

[PATCH 01/12] ath9k: add debug messages to aggr/chanctx funcs

2015-11-12 Thread Janusz Dziedzic
Add/extend debug messages when chanctx used. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 11 --- drivers/net/wireless/ath/ath9k/hw.c | 8 drivers/net/wireless/ath/ath9k/xmit.c| 15 +++ 3

[PATCH 11/12] ath9k: MCC add sta_ap_ratio module param

2015-11-12 Thread Janusz Dziedzic
In case of MCC we can setup STA/AP(GO) ratio. Eg. setting sta_ap_ratio=80 STA will get 80% of time, while AP(GO) 20%. Setup correct ctwindow. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/ath9k.h | 2 + drivers/net/wireless/ath/ath9k/cha

[PATCH 06/12] ath9k: setup correct skb priority for nullfunc

2015-11-12 Thread Janusz Dziedzic
After queue nullfunc for MCC case, we hit WARN_ON in xmit.c:2398 while skb priority wasn't set. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/channe

[PATCH 12/12] ath9k: MCC, print time elapsed between events

2015-11-12 Thread Janusz Dziedzic
This is useful for MCC debugging and bug fixing. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/channel.c | 19 +-- 2 files changed, 18 insertions(+), 2 deletions(-) diff

[PATCH 04/12] ath9k: P2P_CLIENT, send frames after 1ms AP/GO will aprear

2015-11-12 Thread Janusz Dziedzic
AP/GO will aprear after NOA, wait 1ms to be sure AP could receive/answer this frames. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/channe

[PATCH 07/12] ath9k: MCC enable Opportunistic Power Save

2015-11-12 Thread Janusz Dziedzic
When adding NOA attr enable Opportunistiv Power Save. Before we calculate ctwindow but didn't enable oppps. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- drivers/net/wireless/ath/ath9k/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath

Re: [PATCH] mac80211: add new IEEE80211_VIF_GET_NOA_UPDATE flag

2015-11-05 Thread Janusz Dziedzic
Any comments? :) On 27 October 2015 at 08:38, Janusz Dziedzic <janusz.dzied...@tieto.com> wrote: > Add new VIF flag, that will allow get NOA update > notification when driver will request this, even > this is not pure P2P vif (eg. STA vif). > > Signed-off-by: Janusz D

[PATCH 01/14] mac80211: fix divide by zero when NOA update

2015-10-27 Thread Janusz Dziedzic
panic - not syncing: Fatal exception in interrupt Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- net/mac80211/util.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 60c4dbf..96ec2d1 100644 --- a/net/mac80211/util.c +++ b/net/mac

[PATCH] mac80211: add new IEEE80211_VIF_GET_NOA_UPDATE flag

2015-10-27 Thread Janusz Dziedzic
Add new VIF flag, that will allow get NOA update notification when driver will request this, even this is not pure P2P vif (eg. STA vif). Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- include/net/mac80211.h | 4 net/mac80211/mlme.c| 6 -- 2 files chan

[PATCH] ath10k: fix MSI-X registering for qca99x0

2015-09-17 Thread Janusz Dziedzic
In case of qca99x0 and MSI-X supported/enabled we failed during interrupts registering with message: ath10k_pci :04:00.0: failed to request MSI-X ce irq 50: -22 Issue/fix was reproduced/tested using Dell Latitude E6430 laptop. Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.

[PATCH] ibss: add VHT80 support for IBSS

2015-09-10 Thread Janusz Dziedzic
Add VHT80 support for IBSS. eg. iw wlan0 ibss join 5180 80MHZ iw wlan0 ibbs join 5220 80MHZ Signed-off-by: Janusz Dziedzic <janusz.dzied...@tieto.com> --- ibss.c | 48 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/ib

[PATCH v3 1/4] ath9k: advertise p2p dev support when chanctx

2015-07-21 Thread Janusz Dziedzic
Advertise p2p device support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p find (scan phase) failed with EOPNOTSUPP. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless

[PATCH v3 2/4] ath9k: handle RoC cancel correctly

2015-07-21 Thread Janusz Dziedzic
[ cut here ] WARNING: CPU: 0 PID: 3312 at drivers/net/wireless/ath/ath9k/main.c:2319 Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/ath9k.h | 9 - drivers/net

[PATCH v3 3/4] ath9k: setup rxfilter for all chanctx

2015-07-21 Thread Janusz Dziedzic
While mac80211 setup this per HW, set same rxfilter configuration for all chanctx. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b

[PATCH v3 4/4] ath9k: setup rxfilter when offchannel

2015-07-21 Thread Janusz Dziedzic
Setup rxfiler correctly for offchannel ctx. This fix problem we didn't configure rxfilter, next didn't receive probe requests and next failed p2p_find. This was seen when ath9k loaded with use_chanctx=1 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k

Re: [ath9k-devel] Wi-Fi Direct multi-role support in ath9k

2015-07-14 Thread Janusz Dziedzic
On 14 July 2015 at 16:31, Adrien Decostre ad.decos...@gmail.com wrote: Dear all, I am experimenting a bit with Wi-Fi Direct on top of the ath9k driver and I am wondering if it is possible to operate at the same moment, on the same IEEE802.11n module, a software AP for an infrastructure

Re: ath9k: multicast don't work when: two STA (sta + p2p_client) + hwcrypt

2015-07-12 Thread Janusz Dziedzic
On 18 June 2015 at 10:06, Janusz Dziedzic janusz.dzied...@tieto.com wrote: STA iface: ath: phy0: Set HW Key 0 (pairwise) vif: 2c:d0:5a:d3:f1:e9 sta: f4:b7:e2:38:83:f3 - idx: 4 ath: phy0: Set HW Key 0 (group) vif: 2c:d0:5a:d3:f1:e9 sta: (null) - idx: 1 P2P_CLIENT iface: ath: phy0: Set HW

[PATCH 2/2] ath9k: setup rxfilter when offchannel

2015-07-09 Thread Janusz Dziedzic
Setup rxfiler correctly for offchannel ctx. This fix problem we didn't configure rxfilter, next didn't receive probe requests and next failed p2p_find. This was seen when ath9k loaded with use_chanctx=1 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k

[PATCH 1/2] ath9k: setup rxfilter for all chanctx

2015-07-09 Thread Janusz Dziedzic
While mac80211 setup this per HW, set same rxfilter configuration for all chanctx. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b

Re: AP + P2P_GO multichan tests with intel7260 as a P2P_CLIENT - direct probe issue

2015-07-02 Thread Janusz Dziedzic
On 2 July 2015 at 09:27, Johannes Berg johan...@sipsolutions.net wrote: On Sat, 2015-06-27 at 23:49 +0200, Janusz Dziedzic wrote: I just check the mac80211/cfg80211 code, and I am not sure this direct probe could work correctly. Function ieee80211_rx_mgmt_probe_resp() is interesting. Seems

Re: AP + P2P_GO multichan tests with intel7260 as a P2P_CLIENT - direct probe issue

2015-06-27 Thread Janusz Dziedzic
On 27 June 2015 at 23:49, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 24 June 2015 at 14:20, Peer, Ilan ilan.p...@intel.com wrote: Hi Janusz, Any chance you can check if the attached patch fixes the issue you reported? Thanks in advance, I just check the mac80211/cfg80211 code

Re: AP + P2P_GO multichan tests with intel7260 as a P2P_CLIENT - direct probe issue

2015-06-27 Thread Janusz Dziedzic
chaitanya.m...@gmail.commailto:Krishna%20Chaitanya%20%3cchaitanya.m g...@gmail.com%3e To: Peer, Ilan ilan.p...@intel.commailto:%22Peer,%20Ilan%22%20%3cilan.peer@intel.c om%3e Cc: Janusz Dziedzic janusz.dzied...@tieto.commailto:Janusz%20Dziedzic%20%3cjanusz.dziedzic @tieto.com%3e, linux-wireless

Re: [PATCH 1/3] ath9k: handle RoC abort correctly

2015-06-23 Thread Janusz Dziedzic
On 22 June 2015 at 16:01, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Mon, Jun 22, 2015 at 6:32 PM, Michal Kazior michal.kaz...@tieto.com wrote: On 22 June 2015 at 13:56, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Mon, Jun 22, 2015 at 5:13 PM, Janusz Dziedzic janusz.dzied

[PATCH 1/3 v2] ath9k: handle RoC cancel correctly

2015-06-23 Thread Janusz Dziedzic
[ cut here ] WARNING: CPU: 0 PID: 3312 at drivers/net/wireless/ath/ath9k/main.c:2319 Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/ath9k.h | 8 +++- drivers/net

[PATCH 0/3] ath9k: P2P patches when chanctx used

2015-06-22 Thread Janusz Dziedzic
Patches for problems I hit during P2P tests when multichannel used (driver loaded with use_chanctx=1). Janusz Dziedzic (3): ath9k: handle RoC abort correctly ath9k: make rxfilter per HW ath9k: advertise p2p dev support when chanctx drivers/net/wireless/ath/ath9k/ath9k.h | 3

[PATCH 1/3] ath9k: handle RoC abort correctly

2015-06-22 Thread Janusz Dziedzic
] WARNING: CPU: 0 PID: 3312 at drivers/net/wireless/ath/ath9k/main.c:2319 Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/channel.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 2/3] ath9k: make rxfilter per HW

2015-06-22 Thread Janusz Dziedzic
ath_chanctx with incorrect rxfilter. Then we didn't receive probe requests and fail p2p_find. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath9k/ath9k.h | 3 ++- drivers/net/wireless/ath/ath9k/main.c | 2 +- drivers/net/wireless/ath/ath9k/recv.c | 12

[PATCH 3/3] ath9k: advertise p2p dev support when chanctx

2015-06-22 Thread Janusz Dziedzic
Advertise p2p device support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p find (scan phase) failed with EOPNOTSUPP. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless

Re: [RFCv2] ath9k: make rxfilter per HW

2015-06-17 Thread Janusz Dziedzic
On 17 June 2015 at 11:00, Sujith Manoharan suj...@msujith.org wrote: Felix Fietkau wrote: mac80211 calculates the filter per hw, not per channel context or per vif. Setting it for the current channel context only would mean it might be applied to the wrong context. This patch fixes that issue.

[RFCv2] ath9k: make rxfilter per HW

2015-06-16 Thread Janusz Dziedzic
rxfilter. Then we didn't receive probe requests and fail p2p_find. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- @Sujith, Felix please review drivers/net/wireless/ath/ath9k/ath9k.h | 3 ++- drivers/net/wireless/ath/ath9k/main.c | 2 +- drivers/net/wireless/ath/ath9k/recv.c | 12

Re: [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-16 Thread Janusz Dziedzic
On 16 June 2015 at 03:25, Sujith Manoharan suj...@msujith.org wrote: Arend van Spriel wrote: The p2p-device is designed to be used for p2p discovery and p2p action frame exchange. It make it easier for driver and/or firmware to determine if user-space request is p2p related or not. However, in

Re: [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Janusz Dziedzic
On 15 June 2015 at 12:33, Sujith Manoharan suj...@msujith.org wrote: Janusz Dziedzic wrote: Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p scan failed. Signed-off-by: Janusz

Re: [RFC] ath9k: allow to receive probe request when offchannel

2015-06-15 Thread Janusz Dziedzic
adding Sujith correct mail On 10 June 2015 at 07:03, Janusz Dziedzic janusz.dzied...@tieto.com wrote: This fix problem that p2p group negotiation didn't work correctly when chanctx used, because we didn't receive probe requests when offchannel and use_chanctx=1 Signed-off-by: Janusz Dziedzic

Re: [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Janusz Dziedzic
On 15 June 2015 at 13:38, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 June 2015 at 12:33, Sujith Manoharan suj...@msujith.org wrote: Janusz Dziedzic wrote: Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Janusz Dziedzic
On 11 June 2015 at 16:15, Kalle Valo kv...@qca.qualcomm.com wrote: Janusz Dziedzic janusz.dzied...@tieto.com writes: Enable VHT support for IBSS, while mac80211/cfg80211 and wpa_supplicant already support this. In my test env, ath10k 2x2 I get: (udp) ath10k-1 ath10k-2 (server) - speed

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Janusz Dziedzic
2015-06-11 8:32 GMT+02:00 Sangwoo Moon swm...@lanada.kaist.ac.kr: Hello, I have successfully installed the latest version of ath10k driver from backports. However, I have some difficulties on configuring wpa_supplicant for IBSS VHT mode. Looked at wpa_supplicant configuration file, but I

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-10 Thread Janusz Dziedzic
-1 ath10k-2 (server) - speed: 404 Mbits/sec During tests I used wpa_supplicant (current version), which already support IBSS VHT, and choose highest available BW. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 2 ++ 1 file changed, 2

[PATCH v2] ath10k: enable VHT for IBSS

2015-06-09 Thread Janusz Dziedzic
), which already support IBSS VHT, and choose highest available BW. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c

[RFC] ath9k: allow to receive probe request when offchannel

2015-06-09 Thread Janusz Dziedzic
This fix problem that p2p group negotiation didn't work correctly when chanctx used, because we didn't receive probe requests when offchannel and use_chanctx=1 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- @Felix, Sujith could you review? I am not sure I put this in correct place

[RFC] ath9k: advertise p2p dev support when chanctx

2015-06-09 Thread Janusz Dziedzic
Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p scan failed. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- @Felix, Sujith please review. I am not sure if didn't miss

[PATCH] ath10k: enable VHT for IBSS

2015-06-07 Thread Janusz Dziedzic
Enable VHT support for IBSS. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index f4de717..14a8f25 100644

Re: [RFC 2/2] ath10k: don't disable PS when not connected

2015-04-15 Thread Janusz Dziedzic
On 15 April 2015 at 19:10, YanBo dreamfly...@gmail.com wrote: On Tue, Apr 14, 2015 at 10:00 PM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 April 2015 at 00:45, YanBo dreamfly...@gmail.com wrote: On Mon, Apr 13, 2015 at 12:45 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote

Re: [RFC 2/2] ath10k: don't disable PS when not connected

2015-04-14 Thread Janusz Dziedzic
On 15 April 2015 at 00:45, YanBo dreamfly...@gmail.com wrote: On Mon, Apr 13, 2015 at 12:45 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: Don't disable PS while we are not connected. In other case we will get higher power consumption. Signed-off-by: Janusz Dziedzic janusz.dzied

[RFC 2/2] ath10k: don't disable PS when not connected

2015-04-13 Thread Janusz Dziedzic
Don't disable PS while we are not connected. In other case we will get higher power consumption. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath

Re: [PATCH 7/7] mac80211: Count correctly interface types

2015-04-01 Thread Janusz Dziedzic
On 12 March 2015 at 07:53, Emmanuel Grumbach emmanuel.grumb...@intel.com wrote: From: Andrei Otcheretianski andrei.otcheretian...@intel.com Previously, interface combination check in mac80211 considered only interfaces that have channel context. This wouldn't take P2P device interfaces into

Re: [PATCH] ath10k: disable burst mode

2015-03-31 Thread Janusz Dziedzic
2015-03-30 15:15 GMT+02:00 Kalle Valo kv...@qca.qualcomm.com: Janusz Dziedzic janusz.dzied...@tieto.com writes: Firmwares that indicate BURST_SERVICE as enabled could overwrite some wmm parameters (eg. txop). This could lead IOT and balancing issues. Hence disable this by default. Signed

[PATCH] iw: handle NL80211_ATTR_EXT_FEATURES attribute

2015-03-30 Thread Janusz Dziedzic
Print if VHT-IBSS is supported. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- info.c | 20 1 file changed, 20 insertions(+) diff --git a/info.c b/info.c index 66887e3..91dff15 100644 --- a/info.c +++ b/info.c @@ -63,6 +63,18 @@ static char *dfs_state_name

[PATCH] ath10k: disable burst mode

2015-03-25 Thread Janusz Dziedzic
Firmwares that indicate BURST_SERVICE as enabled could overwrite some wmm parameters (eg. txop). This could lead IOT and balancing issues. Hence disable this by default. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 10 ++ 1 file

  1   2   >