Re: [ath9k-devel] [PATCH 09/10] ath9k: add ath9k_enable_dynack() method

2014-07-22 Thread Lorenzo Bianconi
Hi John, On Sun, Jul 20, 2014 at 02:31:25PM +0200, Lorenzo Bianconi wrote: Add ath9k_enable_dynack() method to enable ack timeout estimation algorithm. Moreover disable dynack if the coverage class has been configured Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com

Re: [ath9k-devel] [PATCH 09/10] ath9k: add ath9k_enable_dynack() method

2014-07-22 Thread Lorenzo Bianconi
On Tue, Jul 22, 2014 at 09:52:04PM +0200, Lorenzo Bianconi wrote: Hi John, On Sun, Jul 20, 2014 at 02:31:25PM +0200, Lorenzo Bianconi wrote: Add ath9k_enable_dynack() method to enable ack timeout estimation algorithm. Moreover disable dynack if the coverage class has been configured

[ath9k-devel] [PATCH 01/10] ath9k: export methods related to ack timeout estimation

2014-07-20 Thread Lorenzo Bianconi
Remove static keyword and export ath9k_hw_setslottime(), ath9k_hw_set_ack_timeout() and ath9k_hw_set_cts_timeout() in hw.h. These methods will be used in dynamic ack timeout estimation Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 6

[ath9k-devel] [PATCH 05/10] ath9k: do not overwrite ack timeout estimation

2014-07-20 Thread Lorenzo Bianconi
Do not overwrite ack timeout estimation in ath9k_hw_init_global_settings() if dynack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath

[ath9k-devel] [PATCH 02/10] ath9k: add duration field to ath_tx_status

2014-07-20 Thread Lorenzo Bianconi
Add duration field to ath_tx_status in order to report frame duration for each entry in multi-retry chain. These fields will be used in dynamic ack timeout processing Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/ar9002_mac.c | 7 +++ drivers

[ath9k-devel] [PATCH 03/10] ath9k: add dynamic ack timeout estimation

2014-07-20 Thread Lorenzo Bianconi
Add dynamic ack timeout estimation algorithm based on ack frame RX timestamp, TX frame timestamp and frame duration. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com Tested-by: Philippe Duchein wireless-...@duchein.net --- drivers/net/wireless/ath/ath.h | 2 + drivers/net

[ath9k-devel] [PATCH 10/10] ath9k: initialize ath_node linked list

2014-07-20 Thread Lorenzo Bianconi
Initialize neighbor linked list used by estimation algorithm to compute maximum sta ack timeout Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b

[ath9k-devel] [PATCH 09/10] ath9k: add ath9k_enable_dynack() method

2014-07-20 Thread Lorenzo Bianconi
Add ath9k_enable_dynack() method to enable ack timeout estimation algorithm. Moreover disable dynack if the coverage class has been configured Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 34 ++ 1 file

[ath9k-devel] [PATCH 04/10] ath9k: add config for (en|dis)abling ack timeout estimation

2014-07-20 Thread Lorenzo Bianconi
Add ack timeout estimation to ath9k Makefile Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/Kconfig | 7 +++ drivers/net/wireless/ath/ath9k/Makefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k

[ath9k-devel] [PATCH 07/10] ath9k: enable control frame reception

2014-07-20 Thread Lorenzo Bianconi
Enable control frame reception if dynamic ack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net

[ath9k-devel] [PATCH 08/10] ath9k: add debugfs support for dynack

2014-07-20 Thread Lorenzo Bianconi
Add ack_to entry to debugfs in order to dump current ack timeout value. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/debug.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/debug.c

[ath9k-devel] [PATCH] ath9k: set up tx power into the MRR

2014-07-16 Thread Lorenzo Bianconi
Set up tx power for each MRR segment in the tx descriptor Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/ar9002_mac.c | 6 +- drivers/net/wireless/ath/ath9k/ar9003_mac.c | 6 +- drivers/net/wireless/ath/ath9k/mac.h| 10

Re: [ath9k-devel] [PATCH] ath9k: set up tx power into the MRR

2014-07-16 Thread Lorenzo Bianconi
Greetings from Berlin Thomas Best regards, Lorenzo Set up tx power for each MRR segment in the tx descriptor Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/ar9002_mac.c | 6 +- drivers/net/wireless/ath/ath9k/ar9003_mac.c | 6

[ath9k-devel] [RFCv2 02/10] ath9k: add duration field to ath_tx_status

2014-07-13 Thread Lorenzo Bianconi
Add duration field to ath_tx_status in order to report frame duration for each entry in multi-retry chain. These fields will be used in dynamic ack timeout processing Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/ar9002_mac.c | 7 +++ drivers

[ath9k-devel] [RFCv2 09/10] ath9k: disable dynack algorithm when coverage class is set

2014-07-13 Thread Lorenzo Bianconi
Disable ack timeout estimation algorithm if the coverage class has been configured Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net

[ath9k-devel] [RFCv2 01/10] ath9k: export methods related to ack timeout estimation

2014-07-13 Thread Lorenzo Bianconi
Remove static keyword and export ath9k_hw_setslottime(), ath9k_hw_set_ack_timeout() and ath9k_hw_set_cts_timeout() in hw.h. These methods will be used in dynamic ack timeout estimation Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 6

[ath9k-devel] [RFCv2 05/10] ath9k: do not overwrite ack timeout estimation

2014-07-13 Thread Lorenzo Bianconi
Do not overwrite ack timeout estimation in ath9k_hw_init_global_settings() if dynack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath

[ath9k-devel] [RFCv2 08/10] ath9k: add debugfs support for dynack

2014-07-13 Thread Lorenzo Bianconi
Add ack_to entry to debugfs in order to dump current ack timeout value. Add dynack entry to enable/disable ack timeout estimation algorithm: echo (1|0) /sys/kernel/debug/ieee80211/phy0/ath9k/dynack Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k

[ath9k-devel] [RFCv2 04/10] ath9k: add config for (en|dis)abling ack timeout estimation

2014-07-13 Thread Lorenzo Bianconi
Add ack timeout estimation to ath9k Makefile Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/Kconfig | 7 +++ drivers/net/wireless/ath/ath9k/Makefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k

[ath9k-devel] [RFCv2 07/10] ath9k: enable control frame reception

2014-07-13 Thread Lorenzo Bianconi
Enable control frame reception if dynamic ack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net

[ath9k-devel] [RFCv2 03/10] ath9k: add dynamic ack timeout estimation

2014-07-13 Thread Lorenzo Bianconi
Add dynamic ack timeout estimation algorithm based on ack frame RX timestamp, TX frame timestamp and frame duration. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com Tested-by: Philippe Duchein wireless-...@duchein.net --- drivers/net/wireless/ath/ath.h | 2 + drivers/net

[ath9k-devel] [RFCv2 10/10] ath9k: initialize ath_node linked list

2014-07-13 Thread Lorenzo Bianconi
Initialize neighbor linked list used by estimation algorithm to compute maximum sta ack timeout Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b

[ath9k-devel] [RFCv2 06/10] ath9k: add sampling methods for (tx|rx) timestamp

2014-07-13 Thread Lorenzo Bianconi
Add sampling methods for ack RX timestamp in ath_rx_tasklet() and for TX frame timestamp in ath_tx_complete_aggr() and in ath_tx_process_buffer() Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/recv.c | 5 + drivers/net/wireless/ath/ath9k

Re: [ath9k-devel] [RFCv2 09/10] ath9k: disable dynack algorithm when coverage class is set

2014-07-13 Thread Lorenzo Bianconi
On 2014-07-13 12:18, Lorenzo Bianconi wrote: Disable ack timeout estimation algorithm if the coverage class has been configured Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com I think this is broken, since it doesn't allow you to re-enable dynack through the same way

Re: [ath9k-devel] [RFC 03/10] ath9k: add dynamic ack timeout estimation

2014-07-09 Thread Lorenzo Bianconi
Hi Sujith, Lorenzo Bianconi wrote: +/* + * Copyright 2014, Lorenzo Bianconi lorenzo.biancon...@gmail.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software

[ath9k-devel] [RFC 08/10] ath9k: add debugfs support for dynack

2014-07-07 Thread Lorenzo Bianconi
Add ack_to entry to debugfs in order to dump current ack timeout value. Add dynack entry to enable/disable ack timeout estimation algorithm: echo (1|0) /sys/kernel/debug/ieee80211/phy0/ath9k/dynack Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k

[ath9k-devel] [RFC 05/10] ath9k: do not overwrite ack timeout estimation

2014-07-07 Thread Lorenzo Bianconi
Do not overwrite ack timeout estimation in ath9k_hw_init_global_settings() if dynack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath

[ath9k-devel] [RFC 06/10] ath9k: add sampling methods for (tx|rx) timestamp

2014-07-07 Thread Lorenzo Bianconi
Add sampling methods for ack RX timestamp in ath_rx_tasklet() and for TX frame timestamp in ath_tx_complete_aggr() and in ath_tx_process_buffer() Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/recv.c | 5 + drivers/net/wireless/ath/ath9k

[ath9k-devel] [RFC 09/10] ath9k: disable dynack algorithm when coverage class is set

2014-07-07 Thread Lorenzo Bianconi
Disable ack timeout estimation algorithm if the coverage class has been configured Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net

[ath9k-devel] [RFC 03/10] ath9k: add dynamic ack timeout estimation

2014-07-07 Thread Lorenzo Bianconi
Add dynamic ack timeout estimation algorithm based on ack frame RX timestamp, TX frame timestamp and frame duration. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath.h | 2 + drivers/net/wireless/ath/ath9k/ath9k.h | 3 + drivers/net

[ath9k-devel] [RFC 02/10] ath9k: add duration field to ath_tx_status

2014-07-07 Thread Lorenzo Bianconi
Add duration field to ath_tx_status in order to report frame duration for each entry in multi-retry chain. These fields will be used in dynamic ack timeout processing Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/ar9002_mac.c | 7 +++ drivers

[ath9k-devel] [RFC 10/10] ath9k: add ath_node linked list

2014-07-07 Thread Lorenzo Bianconi
Add neighbor linked list used by estimation algorithm to compute maximum sta ack timeout Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/main.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b

[ath9k-devel] [RFC 01/10] ath9k: export methods related to ack timeout estimation

2014-07-07 Thread Lorenzo Bianconi
Remove static keyword and export ath9k_hw_setslottime(), ath9k_hw_set_ack_timeout() and ath9k_hw_set_cts_timeout() in hw.h. These methods will be used in dynamic ack timeout estimation Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/hw.c | 6

[ath9k-devel] [RFC 07/10] ath9k: enable control frame reception

2014-07-07 Thread Lorenzo Bianconi
Enable control frame reception if dynamic ack processing is enabled Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net

[ath9k-devel] [RFC 00/10] add support for ack timeout estimation in ath9k driver

2014-07-07 Thread Lorenzo Bianconi
) configured as AP and using AR9280 chipset (running 3.16.0-rc3) configured as STA. Ath9k dynack needs to be tested on a long distance link in outdoor environment. Lorenzo Bianconi (10): ath9k: export methods related to ack timeout estimation ath9k: add duration field to ath_tx_status ath9k: add

[ath9k-devel] [RFC 04/10] ath9k: add config for (en|dis)abling ack timeout estimation

2014-07-07 Thread Lorenzo Bianconi
Add ack timeout estimation to ath9k Makefile Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/Kconfig | 7 +++ drivers/net/wireless/ath/ath9k/Makefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k

Re: [ath9k-devel] [RFC 03/10] ath9k: add dynamic ack timeout estimation

2014-07-07 Thread Lorenzo Bianconi
Hi Lorenzo, Hi Thomas, My comments are inline. Add dynamic ack timeout estimation algorithm based on ack frame RX timestamp, TX frame timestamp and frame duration. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath.h | 2 + drivers

Re: [ath9k-devel] [PATCH 3/3] ath9k: fix retry chain initialization in tx99 code

2013-11-25 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath9k/tx99.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/tx99.c b/drivers/net/wireless/ath/ath9k/tx99.c index c90eca3..ab154fe 100644 --- a/drivers/net/wireless/ath/ath9k

Re: [ath9k-devel] [Help] Performing per packet Power and Rate control

2010-10-27 Thread Lorenzo Bianconi
Hi! Hi, We are trying to test a new link layer adaptation algorithm on a real ath9k WLAN cards. For this, we want to change the transmission power and datarate for each 802.11 frame. Can you tell me which part of the linux kernel we have to change to implement this? To change the TX

[ath9k-devel] [PATCH] ath9k: fix issue of ath_atx_tid paused flag management

2010-08-01 Thread Lorenzo Bianconi
-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com Signed-off-by: Felix Fietkau n...@openwrt.org --- --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c @@ -120,26 +120,14 @@ static void ath_tx_queue_tid(struct ath_ list_add_tail(ac-list, txq-axq_acq

[ath9k-devel] [PATCH] ath9k: Avoid acktimeout wraps around at bootstrap

2010-04-27 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -425,7 +425,7 @@ ah-sta_id1_defaults = AR_STA_ID1_CRPT_MIC_ENABLE; ah-beacon_interval = 100; ah-enable_32kHz_clock = DONT_USE_32KHZ

Re: [ath9k-devel] minstrel_ht crashing kernel on IXP4xx platform during iperf throughput test

2010-04-16 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -318,9 +318,9 @@ if (!mg-supported) continue; - if (++mg-index MCS_GROUP_RATES) { + if (++mg-index

Re: [ath9k-devel] minstrel_ht crashing kernel on IXP4xx platform during iperf throughput test

2010-04-14 Thread Lorenzo Bianconi
maybe I should report to openwrt-devel list, but I think it is the problem of ath9k, caused by using the module minstrel_ht. I have the same issue using ath9k/minstrel_ht. I think the problem is due to the way the streams variable is calculated in minstrel_ht_get_group_idx(). I printed some

Re: [ath9k-devel] Significiant performance differences between ath5k and ath9k in 802.11a

2010-01-29 Thread Lorenzo Bianconi
2010/1/29 Felix Fietkau n...@openwrt.org: On 2010-01-29 9:10 AM, Joerg Pommnitz wrote: --- rootki...@yahoo.it rootki...@yahoo.it wrote: Can you try in AP-client mode? I think you'll get more throughput so. No, IBSS is what I'm interested in. And the point is, that there is a 30%

Re: [ath9k-devel] 80.11n Performance Tunning

2010-01-25 Thread Lorenzo Bianconi
2010/1/25 Sivakumar Mohan sivakumar.mo...@aricent.com Hi all ! I am new to 802.11n. Please let me know what are the performance tunning parameters that I can use for tuning my 11n Ap. Would this be able to be done using the traditional iwconfig like wireless extension toolkit.

Re: [ath9k-devel] weak signal strength using ar928x

2010-01-17 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -2817,8 +2817,10 @@        } skip_chan_change: -       if (changed IEEE80211_CONF_CHANGE_POWER) +       if (changed IEEE80211_CONF_CHANGE_POWER

Re: [ath9k-devel] weak signal strength using ar928x

2010-01-15 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -2817,8 +2817,10 @@ } skip_chan_change: - if (changed IEEE80211_CONF_CHANGE_POWER) + if (changed IEEE80211_CONF_CHANGE_POWER

Re: [ath9k-devel] weak signal strength using ar928x

2010-01-15 Thread Lorenzo Bianconi
-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -2817,8 +2817,10 @@        } skip_chan_change: -       if (changed IEEE80211_CONF_CHANGE_POWER) +       if (changed IEEE80211_CONF_CHANGE_POWER

[ath9k-devel] Possible memory leak in ath9k monitor mode injection

2009-11-12 Thread Lorenzo Bianconi
the leak. Cheers. Lorenzo Bianconi #include linux/init.h #include linux/module.h #include linux/etherdevice.h #include linux/netdevice.h #include linux/skbuff.h #include linux/timer.h #include linux/version.h MODULE_LICENSE(Dual BSD/GPL); const char ping_packet[] = \x00\x00\x1a\x00\x2f\x48