Re: [ath9k-devel] ath9k compliance with new EN 300 328 v.1.8

2014-07-20 Thread Adrien Decostre
Dear, Would you know if there exists an open software tool to trigger the tests required for EN 300 328 v1.8.1. As far as I know, Atheros has developed the ART tool but this is not open source software. Is there any alternative for ath9k? Many thanks in advance for any answer. Best

[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

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

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

[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

[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

[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

[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

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

2014-07-20 Thread Philippe DUCHEIN
Hi Lorenzo, Since friday I enable dynack on an AP who serve 35 sta (on 2 MIMO 2x2 5ghz wireless cards 1223) in outdoor (up to 8 kms) results are good. latency is good for all sta I’ll take your new patches and make one for openwrt and, recompile Thanks; Philippe Le 20 juil. 2014 à 14:31,

[ath9k-devel] ??? AR9565 ath9k hostapd not run

2014-07-20 Thread OSAMU SAIKI
HI. please help me!! hostapd -Bd /etc/hostapd/hostapd.conf random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf ctrl_interface_group=0 nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory) rfkill:

[ath9k-devel] ??? AR9565 ath9k hostapd not run

2014-07-20 Thread OSAMU SAIKI
HI. please help me!! hostapd -Bd /etc/hostapd/hostapd.conf random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf ctrl_interface_group=0 nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory) rfkill:

Re: [ath9k-devel] idle time or (Tx + Rx)Time

2014-07-20 Thread Kamran Nishat
Hi adrian, Where can i find these MIB variables? and this rxclear. kamran On Sun, Jul 20, 2014 at 3:29 AM, Adrian Chadd adr...@freebsd.org wrote: Hi! You can just look at the difference between the MIB variables - idle is likely the timer count minus (tx + rx). rxclear too, if you care

Re: [ath9k-devel] ath9k compliance with new EN 300 328 v.1.8

2014-07-20 Thread Sujith Manoharan
Adrien Decostre wrote: Would you know if there exists an open software tool to trigger the tests required for EN 300 328 v1.8.1. As far as I know, Atheros has developed the ART tool but this is not open source software. Is there any alternative for ath9k? I am not sure. But, maybe the ART

Re: [ath9k-devel] [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-20 Thread David Miller
From: Benoit Taine benoit.ta...@lip6.fr Date: Fri, 18 Jul 2014 17:26:47 +0200 We should prefer `const struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. A simplified version of the semantic patch that makes