Re: [ath9k-devel] [PATCH 2/3] ath10k: FW API update for version .629

2013-05-07 Thread Sujith Manoharan
Michal Kazior wrote: > I think it would be a good idea to include the adequate cmdid structures > too, e.g. for WMI_PDEV_SET_BASE_MACADDR_CMDID. Sure, feel free to add them. I was tracking only the command IDs. Sujith ___ ath9k-devel mailing list ath9k

Re: [ath9k-devel] [PATCH 2/3] ath10k: FW API update for version .629

2013-05-07 Thread Michal Kazior
On 08/05/13 07:40, Sujith Manoharan wrote: > From: Sujith Manoharan > > Signed-off-by: Sujith Manoharan > --- > drivers/net/wireless/ath/ath10k/hw.h | 2 +- > drivers/net/wireless/ath/ath10k/wmi.c | 18 - > drivers/net/wireless/ath/ath10k/wmi.h | 49 > ++

Re: [ath9k-devel] [PATCH RFC] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-05-07 Thread Sujith Manoharan
Felix Fietkau wrote: > The problem I have with the current stats is they're just an arbitrary > collection of random stuff that is probably useless for 99% of all > users. In many cases the way the stats are collected also makes the data > completely meaningless (e.g. because the source/destination

[ath9k-devel] [PATCH 3/3] ath10k: Set the default TX encapsulation type

2013-05-07 Thread Sujith Manoharan
From: Sujith Manoharan Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath10k/mac.c | 6 ++ drivers/net/wireless/ath/ath10k/wmi.h | 8 2 files changed, 14 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 5

[ath9k-devel] [PATCH 2/3] ath10k: FW API update for version .629

2013-05-07 Thread Sujith Manoharan
From: Sujith Manoharan Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath10k/hw.h | 2 +- drivers/net/wireless/ath/ath10k/wmi.c | 18 - drivers/net/wireless/ath/ath10k/wmi.h | 49 ++- 3 files changed, 44 insertions(+), 25 deletions(-)

[ath9k-devel] [PATCH 1/3] ath10k: Strip the QoS header only for QoS data frames

2013-05-07 Thread Sujith Manoharan
From: Sujith Manoharan Also, use ieee80211_hdrlen() to simplify things. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath10k/mac.c | 50 +++ 1 file changed, 9 insertions(+), 41 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/dr

Re: [ath9k-devel] ath9k_htc works poorly in 3.9

2013-05-07 Thread Oleksij Rempel
Am 08.05.2013 05:52, schrieb Corey Richardson: > Initially, I can associate and everything works fine, but after an > hour or maybe a few, I get deauthenticated, with: > > [ 3115.047842] cfg80211: Calling CRDA for country: US > [ 3116.383330] wlan0: authenticate with 00:14:c2:ae:e1:c0 > [ 3116.4805

[ath9k-devel] ath9k_htc works poorly in 3.9

2013-05-07 Thread Corey Richardson
Initially, I can associate and everything works fine, but after an hour or maybe a few, I get deauthenticated, with: [ 3115.047842] cfg80211: Calling CRDA for country: US [ 3116.383330] wlan0: authenticate with 00:14:c2:ae:e1:c0 [ 3116.480597] wlan0: send auth to 00:14:c2:ae:e1:c0 (try 1/3) [ 3119

[ath9k-devel] ath9k_htc: Disabling HT does not work properly.

2013-05-07 Thread Ben Greear
I set disable_ht=1 in the wpa_supplicant config file, and the ht_capa debugfs file shows 'ht disabled', but tx-rate still shows /n rates. cat /debug/ieee80211/wiphy1/netdev\:wlan1/stations/00\:a0\:00\:00\:00\:90/ht_capa ht not supported Rx rate is stuck to /g rates (ie, 54Mbps), as expected. An

Re: [ath9k-devel] Standardisation - adding 2 bit STBC and Ness to MCS

2013-05-07 Thread Oleksij Rempel
Am 07.05.2013 15:55, schrieb Johannes Berg: > On Tue, 2013-05-07 at 15:54 +0200, Johannes Berg wrote: >> On Tue, 2013-05-07 at 09:40 +0200, Oleksij Rempel wrote: >>> Am 02.05.2013 22:44, schrieb Johannes Berg: On Wed, 2013-05-01 at 16:34 +0200, Oleksij Rempel wrote: >> With this I bel

Re: [ath9k-devel] [PATCH] ath10k: fix rx descriptor definition

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > Fortunately we don't use these fields but it's > good to have them defined correctly. > > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9

Re: [ath9k-devel] [PATCH] ath10k: fix possible htt rx memleak

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH] ath10k: fix htt debug flag

2013-05-07 Thread Kalle Valo
Bartosz Markowski writes: > Use HTT_DUMP for tx frag/msdu. > > Signed-off-by: Bartosz Markowski Thanks, applied. -- Kalle Valo ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH] ath10k: avoid infinite loop

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH 0/7] ath10k: random fixes/cleanups

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > Michal Kazior (7): > ath10k: add error handling to some functions > ath10k: remove unnecessary check > ath10k: remove unnecessary prints > ath10k: cleanup warning/error prints > ath10k: move htc creation error handling > ath10k: cleanup pci suspend > ath10k:

Re: [ath9k-devel] [PATCH 6/7] ath10k: cleanup pci suspend

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > - left = wait_event_interruptible_timeout(ar->event_queue, > + ret = wait_event_interruptible_timeout(ar->event_queue, > ar->is_target_paused == true, > 1 * HZ); Actually I

Re: [ath9k-devel] Standardisation - adding 2 bit STBC and Ness to MCS

2013-05-07 Thread Johannes Berg
On Tue, 2013-05-07 at 15:54 +0200, Johannes Berg wrote: > On Tue, 2013-05-07 at 09:40 +0200, Oleksij Rempel wrote: > > Am 02.05.2013 22:44, schrieb Johannes Berg: > > > On Wed, 2013-05-01 at 16:34 +0200, Oleksij Rempel wrote: > > > > > >>> With this I believe we have everything needed to start the

Re: [ath9k-devel] Standardisation - adding 2 bit STBC and Ness to MCS

2013-05-07 Thread Johannes Berg
On Tue, 2013-05-07 at 09:40 +0200, Oleksij Rempel wrote: > Am 02.05.2013 22:44, schrieb Johannes Berg: > > On Wed, 2013-05-01 at 16:34 +0200, Oleksij Rempel wrote: > > > >>> With this I believe we have everything needed to start the 3 week > >>> comment period. > > > > Yeah, I guess there was plent

Re: [ath9k-devel] [PATCH 0/5] ath10k: scan/roc fixes

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > Michal Kazior (5): > ath10k: use data_lock to protect {scan,rx}_channel > ath10k: simplify scan event locking > ath10k: increase scan timeout > ath10k: wait for remain on channel chan switch > ath10k: abort scan if start completion never came Thanks, applied. -

Re: [ath9k-devel] [PATCH 3/5] ath10k: increase scan timeout

2013-05-07 Thread Kalle Valo
Michal Kazior writes: > We can't use the max scan time as the timeout > itself. We must account for various overheads (ie. > command/event processing). > > Signed-off-by: Michal Kazior > --- > drivers/net/wireless/ath/ath10k/mac.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [ath9k-devel] [PATCH 0/2] ath10k: module parameter fine tuning

2013-05-07 Thread Kalle Valo
Kalle Valo writes: > When running some build tests I found few issues releated to > module parameters. > > --- > > Kalle Valo (2): > ath10k: rename debug_mask > ath10k: rename ath10k_p2p module parameter to p2p Applied. -- Kalle Valo ___

[ath9k-devel] [RFC PATCH 6/6] ath10k: preliminary VHT support

2013-05-07 Thread Kalle Valo
Adds preliminary VHT (802.11ac) support to ath10k. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/mac.c | 66 + drivers/net/wireless/ath/ath10k/wmi.c | 13 ++- drivers/net/wireless/ath/ath10k/wmi.h | 10 + 3 files changed, 88 insertion

[ath9k-devel] [RFC PATCH 4/6] ath10k: include all management frames to ATH10K_DBG_BEACON

2013-05-07 Thread Kalle Valo
Change ATH10K_DBG_BEACON to include all management frame tx and rx functionality. That way it doesn't spam rest of wmi debug logs. Rename the flag to ATH10K_DBG_MGMT to better reflect the functionality. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/debug.h |2 +- drivers/net

[ath9k-devel] [RFC PATCH 5/6] ath10k: add ATH10K_DBG_DATA

2013-05-07 Thread Kalle Valo
Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/debug.h |1 + drivers/net/wireless/ath/ath10k/txrx.c |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index e0ad3af..739f3b

[ath9k-devel] [RFC PATCH 3/6] ath10k: remove band_center_freq()

2013-05-07 Thread Kalle Valo
We can take the frequency directly from struct cfg80211_chan_def. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/mac.c | 25 ++--- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath

[ath9k-devel] [RFC PATCH 2/6] ath10k: change chan_to_phymode() use chandef

2013-05-07 Thread Kalle Valo
That's more logical instead of passing chandef fields one at a time. Also change ath10k_update_channel_list to hardcode the band directly. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/mac.c | 49 + 1 file changed, 31 insertions(+), 18 deletions

[ath9k-devel] [RFC PATCH 1/6] ath10k: set vht_nss correctly

2013-05-07 Thread Kalle Valo
mac80211 requires that for VHT rate_idx contains just MCS and vht_nss contains NSS. Otherwise this triggers a warning in mac80211: [ 1336.359985] [ cut here ] [ 1336.362103] WARNING: at net/mac80211/rx.c:3279 ieee80211_rx+0x7aa/0x830 [mac80211]() [ 1336.364520] Hardware n

[ath9k-devel] [RFC PATCH 0/6] ath10k: preliminary VHT support

2013-05-07 Thread Kalle Valo
Please review and send comments, I'm sure this is very buggy. --- Kalle Valo (6): ath10k: set vht_nss correctly ath10k: change chan_to_phymode() use chandef ath10k: remove band_center_freq() ath10k: include all management frames to ATH10K_DBG_BEACON ath10k: add ATH10

Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.

2013-05-07 Thread Felix Fietkau
On 2013-05-07 2:03 PM, Bhavesh Kamani wrote: > > Hi Ben, > > I tried compat-drivers-3.9-rc4-2-su, then also same problem I faced. > I also tried compat-wireless-2.6.39-1 and compat-wireless-3.6.8-1, but > facing the same issue. > > In a day more than one clients are facing the same issue. > > I

Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.

2013-05-07 Thread Bhavesh Kamani
Hi Ben, I tried compat-drivers-3.9-rc4-2-su, then also same problem I faced. I also tried compat-wireless-2.6.39-1 and compat-wireless-3.6.8-1, but facing the same issue. In a day more than one clients are facing the same issue. In the locked state, ping from client to AP not working and tcpdum

[ath9k-devel] [PATCH] ath10k: fix rx descriptor definition

2013-05-07 Thread Michal Kazior
Fortunately we don't use these fields but it's good to have them defined correctly. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/rx_desc.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/rx_desc.h b/dri

Re: [ath9k-devel] Standardisation - adding 2 bit STBC and Ness to MCS

2013-05-07 Thread Oleksij Rempel
Am 02.05.2013 22:44, schrieb Johannes Berg: > On Wed, 2013-05-01 at 16:34 +0200, Oleksij Rempel wrote: > >>> With this I believe we have everything needed to start the 3 week >>> comment period. > > Yeah, I guess there was plenty of time. I would have preferred a > separate thread, but I guess ther