[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 +++

[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

[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

[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 ---

[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

[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

[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 +

[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

[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 +

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

2014-07-13 Thread Felix Fietkau
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 as it was

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

2014-07-13 Thread Hosam Hittini
I don’t know why I’m a part of this Getting so many emails! Regards, Eng. Hosam Hittini On Jul 13, 2014, at 2:30 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-07-13 12:18, Lorenzo Bianconi wrote: Disable ack timeout estimation algorithm if the coverage class has been configured

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 as it was

[ath9k-devel] periodic hang of ath9k

2014-07-13 Thread Dave Taht
cc-ing ath9k-devel for this update on http://www.bufferbloat.net/issues/442 this bug, which some people (usually on macs with low signal strength) can get to occur fairly rapidly, but I can't, is driving me 9 kinds of crazy... some new details below On Sun, Jul 13, 2014 at 10:44 AM, Sebastian

Re: [ath9k-devel] periodic hang of ath9k

2014-07-13 Thread Ben Greear
On 07/13/2014 12:18 PM, Dave Taht wrote: cc-ing ath9k-devel for this update on http://www.bufferbloat.net/issues/442 this bug, which some people (usually on macs with low signal strength) can get to occur fairly rapidly, but I can't, is driving me 9 kinds of crazy... I've mentioned this

Re: [ath9k-devel] [Cerowrt-devel] periodic hang of ath9k

2014-07-13 Thread Sujith Manoharan
Dave Taht wrote: cc-ing ath9k-devel for this update on http://www.bufferbloat.net/issues/442 this bug, which some people (usually on macs with low signal strength) can get to occur fairly rapidly, but I can't, is driving me 9 kinds of crazy... Does stock OpenWrt also have this bug, or is