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

2014-07-10 Thread Hosam Hittini
I managed to change the CRDA settings by getting backports package http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.15.1/, modifying the db.txt and forcing the driver to follow my db.txt This how my db.txt looks like country 00: (2402 - 2482 @ 20), (N/A, 20)

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

2014-07-09 Thread Sujith Manoharan
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 Foundation. +

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

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

2014-07-07 Thread Thomas Hühn
Hi Lorenzo, 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 +

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

2014-07-07 Thread Felix Fietkau
On 2014-07-07 13:41, Thomas Hühn wrote: +{ +struct ath_node *an; +u32 to = 0; +struct ath_dynack *da = ah-dynack; +struct ath_common *common = ath9k_hw_common(ah); + +list_for_each_entry(an, da-nodes, list) +if (an-ackto to) +to =

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 +