Re: [ath9k-devel] [NOT FOR MERGE] ath9k: work around key cache corruption

2017-01-07 Thread Antonio Quartulli
On Wed, Oct 26, 2016 at 05:05:14PM +0300, Kalle Valo wrote: > Antonio Quartulli writes: > > > From: Antonio Quartulli > > > > This patch was crafted long time ago to work around a key cache > > corruption problem on ath9k chipsets. > > > > The workar

Re: [ath9k-devel] [NOT FOR MERGE] ath9k: work around key cache corruption

2017-01-07 Thread Antonio Quartulli
+0800, Antonio Quartulli wrote: > From: Antonio Quartulli > > This patch was crafted long time ago to work around a key cache > corruption problem on ath9k chipsets. > > The workaround consists in periodically triggering a worker that > uploads all the keys to the HW cache.

[ath9k-devel] [NOT FOR MERGE] ath9k: work around key cache corruption

2017-01-07 Thread Antonio Quartulli
From: Antonio Quartulli This patch was crafted long time ago to work around a key cache corruption problem on ath9k chipsets. The workaround consists in periodically triggering a worker that uploads all the keys to the HW cache. The worker is triggered also when the vif detects 21 undecryptable

Re: [ath9k-devel] IBSS can't beacon after rejoin / regression in TSF syncing code?

2014-01-27 Thread Antonio Quartulli
there are more than 2 nodes in the cell, that is. But it would > be prudent to scan and check if the network exists before trying to join it, > so I'll send the patch for review. Right now no scan takes place if you specify bssid and freq (+ fixed_freq attr). Then no matter if the BSS i

Re: [ath9k-devel] [BUG] Atheros AR7010+AR9287: Scheduling while atomic: ksoftirqd/0/3/0x00000302

2014-01-27 Thread Antonio Quartulli
supporting sta_rc_update() means making adhoc mode unusable.. :( Cheers, -- Antonio Quartulli signature.asc Description: OpenPGP digital signature ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [BUG] Atheros AR7010+AR9287: Scheduling while atomic: ksoftirqd/0/3/0x00000302

2014-01-23 Thread Antonio Quartulli
os AR7010+AR9287] >> Kernel: Linux pi1 3.10.27-2-ARCH #1 PREEMPT Tue Jan 21 00:42:16 MST 2014 >> armv6l GNU/Linux >> >> Any suggestion? >> >> Many thanks in advance. >> Flo >> ___ >> ath9k-devel mailing list >> ath9k-devel@lists.ath9k.org >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >> > > -- Antonio Quartulli signature.asc Description: OpenPGP digital signature ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH v2 1/5] ath: add common function ath_is_mybeacon

2014-01-16 Thread Antonio Quartulli
On 15/01/14 17:37, Oleksij Rempel wrote: > +bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr); > another late comment: wouldn't it be better is the function was called is_my_beacon() instead of is_mybeacon() ? Cheers, -- Antonio Quartulli si

Re: [ath9k-devel] [PATCH 1/5] ath: add common function ath_is_mybeacon

2014-01-16 Thread Antonio Quartulli
gt; + Apart from the fact that the expression in the if guard is badly indented, couldn't you just return the value of that expression and remove the if at all? Cheers, > + return false; > +} > +EXPORT_SYMBOL(ath_is_mybeacon); > + > void ath_prin

Re: [ath9k-devel] Key Cache corruption

2014-01-07 Thread Antonio Quartulli
Hi Adrian! Did 2014 bring any news about this issue? :) I haven't done much progress myself, but I won't give up! Cheers, -- Antonio Quartulli signature.asc Description: OpenPGP digital signature ___ ath9k-devel mailing list a

Re: [ath9k-devel] Key Cache corruption

2013-12-13 Thread Antonio Quartulli
(and thanks a lot so far!), On 13/12/13 13:35, Adrian Chadd wrote: > There's a work around, yeah. Much like I've/we've described. > > > > -adrian > > On 12 December 2013 01:17, Antonio Quartulli wrote: >> Hi Adrian! >> >> but as far as you

Re: [ath9k-devel] Key Cache corruption

2013-12-12 Thread Antonio Quartulli
8, Adrian Chadd wrote: > Hi! > > I've emailed them - they're tossing it around internally. > > > -a > > On 9 December 2013 02:17, Antonio Quartulli wrote: > Hoi Adrian, > > I don't want to push (I am just polling here ;-)), but have you been >

Re: [ath9k-devel] Key Cache corruption

2013-12-09 Thread Antonio Quartulli
t with the MAC guys this week at > Atheros and ask them about this. Stay tuned... > > > -a > > On 4 December 2013 05:23, Antonio Quartulli > wrote: Hi list, hi Adrian, hi Sujith (just added to the cc list), > > sorry for the silence, but I have been busy testing differe

Re: [ath9k-devel] Key Cache corruption (was: GTK/PTK problem - key.c magic-bitshift)

2013-12-04 Thread Antonio Quartulli
e key can be properly restored. Any better idea? Regards, - -- Antonio Quartulli -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCAAGBQJSnyzgAAoJEEKTMo6mOh1VxggP/jzp+UB8lPiFItwMPXwob8ik qNd1WcQhcShft8MrmK9kfjzp91t/uBby/QVsqwxKu8sVIpuQJaGI4ikOtIZ6/8b6 FGkn+

Re: [ath9k-devel] GTK/PTK problem - key.c magic-bitshift

2013-11-26 Thread Antonio Quartulli
corruption? It may be the case that received frames are decrypted properly (PTK-RX is ok)...but still..the PTX-TX may have been corrupted. Right? When should I trigger the periodic worker in this case? - -- Antonio Quartulli -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux

Re: [ath9k-devel] GTK/PTK problem - key.c magic-bitshift

2013-11-22 Thread Antonio Quartulli
uests from the STA to the AP are properly decrypted (only ARP replies going in the other direction are not). If the cache is really compromised, how can this happen? I would expect the AP to not be able to decrypt the requests as well...don't you think so? Cheers, -- Antonio

Re: [ath9k-devel] GTK/PTK problem - key.c magic-bitshift

2013-11-18 Thread Antonio Quartulli
project lits.) Sounds ugly..but I understood what you mean. But why a periodic job? Isn't it enough to run the task once when there is a decryption problem ? Thanks a lot for your feedback! > > HTH, > > > > -adrian > > > > On 17 November 2013 03:08, Anton

Re: [ath9k-devel] GTK/PTK problem - key.c magic-bitshift

2013-11-18 Thread Antonio Quartulli
esync task" only in that case. Cheers, -- Antonio Quartulli signature.asc Description: Digital signature ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] GTK/PTK problem - key.c magic-bitshift

2013-11-18 Thread Antonio Quartulli
the latest one, so if somebody knows whether this GTK/PTK problem is known and fixed I would be glad if you could tell me :-) Thanks a lot for your time. Regards, -- Antonio Quartulli signature.asc Description: Digital signature ___ ath9k-devel mai

Re: [ath9k-devel] WARNING with ath9k_htc on TL-WN721N

2013-09-05 Thread Antonio Quartulli
st of it. If other devices use ISO or > > Interrupt, They well have priority. Ok Oleksij, I'll try to do these tests soonish. You think the problem is triggered by a scan operation? If so, I'll try to reproduce it by scanning. Till now I had no clue about the cause. Che

Re: [ath9k-devel] WARNING with ath9k_htc on TL-WN721N

2013-09-05 Thread Antonio Quartulli
Gigabit Ethernet PCIe (rev 10) I'm not using the Intel card listed in lspci. (the iwldvm module is loaded but the interface is down). Cheers, On Thu, Sep 05, 2013 at 12:25:06PM +0200, Oleksij Rempel wrote: > Am 05.09.2013 12:09, schrieb Antonio Quartulli: > > Hello list, > >

[ath9k-devel] WARNING with ath9k_htc on TL-WN721N

2013-09-05 Thread Antonio Quartulli
ault+0x11d/0x440 [ 7762.963257] [] ? do_mmap_pgoff+0x2f8/0x3b0 [ 7762.963261] [] ? cpuacct_account_field+0x11/0x60 [ 7762.963264] [] ? do_page_fault+0x22/0x40 [ 7762.963267] [] ? page_fault+0x22/0x30 [ 7762.963269] ---[ end trace 3c536c5012f2e043 ]--- -- Antonio Quartulli ..each of us alon

Re: [ath9k-devel] [PATCH 1/2] ath9k_htc: Add support for NL80211_IFTYPE_MESH_POINT interfaces

2012-10-26 Thread Antonio Quartulli
HW_SUPPORTS_PER_STA_GTK. We'll retest the series and > resubmit. > If anyone interested, the reworked series lives here: > https://github.com/cozybit/open80211s/tree/ft-ath9k-htc-support > IIRC, per-STA GTK is missing the driver support, so it should not be a HW constraint. Howe

Re: [ath9k-devel] [RFC 1/2] ath9k_htc: Advertize allowed vif combinations

2012-10-09 Thread Antonio Quartulli
On Mon, Oct 08, 2012 at 09:20:38PM +0530, Mohammed Shafi wrote: > On Sat, Sep 29, 2012 at 3:01 PM, Antonio Quartulli > wrote: > > On Fri, Sep 28, 2012 at 04:12:40 +0530, Sujith Manoharan wrote: > >> Mohammed Shafi Shajakhan wrote: > >> > oh yeah, you are saying t

Re: [ath9k-devel] [RFC 1/2] ath9k_htc: Advertize allowed vif combinations

2012-09-29 Thread Antonio Quartulli
this problem? Can we bind the single TSF to multiple virtualTSF? or must the device somehow support us? Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara pgpNs246GWiFq.pgp Description: PGP signature _

Re: [ath9k-devel] [RFC 1/2] ath9k_htc: Advertize allowed vif combinations

2012-09-27 Thread Antonio Quartulli
On Thu, Sep 27, 2012 at 09:23:35PM +0530, Mohammed Shafi Shajakhan wrote: > On Thursday 27 September 2012 09:22 PM, Mohammed Shafi Shajakhan wrote: > > From: Antonio Quartulli > > > > Advertize allowed VIFs combinations to the cfg80211 sublayer. > > Other than that,

Re: [ath9k-devel] [PATCHv2 1/2] ath9k_htc: remove driver specific checks for interfaces combinations

2012-09-04 Thread Antonio Quartulli
sting. please let me know! > Well, during my test I didn't hit any problem, but since the ath9k_htc maintainer has much more experience then me I will perform a more stressful test and see what happens. I'll let you know! Thanks, -- Antonio Quartulli ..each of us alone is wor

[ath9k-devel] [PATCH] ath9k_htc: implement sta_rc_update() mac80211 callback

2012-08-12 Thread Antonio Quartulli
In case of changes in the supported rates set for a given station, it is now possible to use this callback to update the current internal state of the station in the htc driver. Reported-by: Gui Iribarren Signed-off-by: Antonio Quartulli --- drivers/net/wireless/ath/ath9k/htc_drv_main.c | 29

Re: [ath9k-devel] [PATCH 1/2] mac80211: add sta_update_rates callback

2012-08-09 Thread Antonio Quartulli
On Thu, Aug 09, 2012 at 11:32:46AM +0200, Antonio Quartulli wrote: > On Thu, Aug 09, 2012 at 08:14:57AM +0200, Johannes Berg wrote: > > Also there's already an update call sta_rc_update() so I think you > > should just define a new change flag for that? > > mh, at the v

Re: [ath9k-devel] [PATCH 1/2] mac80211: add sta_update_rates callback

2012-08-09 Thread Antonio Quartulli
On Thu, Aug 09, 2012 at 08:14:57AM +0200, Johannes Berg wrote: > On Thu, 2012-08-09 at 03:11 +0200, Antonio Quartulli wrote: > > some drivers need to be notified in case of rates update. This callback > > tells > > the driver that something has been changed in the suppo

[ath9k-devel] [PATCH 2/2] ath9k_htc: implement sta_update_rates callback

2012-08-08 Thread Antonio Quartulli
Signed-off-by: Antonio Quartulli --- drivers/net/wireless/ath/ath9k/htc_drv_main.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index c785129..6f5c134 100644

[ath9k-devel] [PATCH 1/2] mac80211: add sta_update_rates callback

2012-08-08 Thread Antonio Quartulli
-off-by: Antonio Quartulli --- ** This is the first time that I play with trace.h, so it could be the case that I made something completely wrong! Sorry :) include/net/mac80211.h|4 net/mac80211/driver-ops.h | 14 ++ net/mac80211/ibss.c |4 +++- net/mac80211

Re: [ath9k-devel] ath9k_htc 1mbps in IBSS mode

2012-08-08 Thread Antonio Quartulli
I was not in the thread since then) I realised that the problem concerns only some drivers. I better looked at the code and I realised where the problem is. Thank you. Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara pgpMsyW1DNkfj.pgp Description:

Re: [ath9k-devel] ath9k_htc 1mbps in IBSS mode

2012-08-08 Thread Antonio Quartulli
1 passing through the emulated link and I can see with "iw dev wlan0 station dump" that the tx rate gets higher and higher up to 54mbps. Therefore I do not see any problem with the update of the basic rates. Am I missing/overlooking something? @Sujith, do you have a more clear idea of wha

Re: [ath9k-devel] ath9k_htc 1mbps in IBSS mode

2012-07-23 Thread Antonio Quartulli
hole basic_rates/mcast_rate thing) as soon as possible :-) Thank you. Cheers, > Cheers! > > Gui > > [0] https://en.wikipedia.org/wiki/Dulce_de_leche > > On Sun, Jul 15, 2012 at 5:28 AM, Antonio Quartulli > wrote: > > On Sun, Jul 15, 2012 at 11:09:49AM +0530, Sujith

Re: [ath9k-devel] ath9k_htc 1mbps in IBSS mode

2012-07-15 Thread Antonio Quartulli
styling...I think this is a good moment to counter the issue :-) If nobody else is going to work on this, I will try to propose a solution in the following days. Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara pgpNrWxW8Sr1b.pgp Description: PGP

[ath9k-devel] [PATCH] ath9k_htc: claim support for IBSS RSN

2012-01-18 Thread Antonio Quartulli
Skip group keys configuration in hardware in order to make IBSS RSN work. Keys will be managed using software. Signed-off-by: Antonio Quartulli --- drivers/net/wireless/ath/ath9k/htc_drv_init.c |2 ++ drivers/net/wireless/ath/ath9k/htc_drv_main.c | 15 +++ 2 files changed, 17