Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-25 Thread Koen Vandeputte
On 24.02.19 21:32, Joe Ayers wrote: First of all, thanks for contributing this fix. I've incorporated into the http://www.arednmesh.org project, just getting into our nightly builds now. A comment and a couple questions... The MAX_DELAY was way too short for our community, had to increase

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-25 Thread Lorenzo Bianconi
> > On 24.02.19 21:32, Joe Ayers wrote: Hi Joe, > > First of all, thanks for contributing this fix. I've incorporated > > into the http://www.arednmesh.org project, just getting into our > > nightly builds now. A comment and a couple questions... > > > > The MAX_DELAY was way too short for

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-25 Thread Joe Ayers
On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi wrote: > > > > > On 24.02.19 21:32, Joe Ayers wrote: > > Hi Joe, > > > > First of all, thanks for contributing this fix. I've incorporated > > > into the http://www.arednmesh.org project, just getting into our > > > nightly builds now. A comment

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-25 Thread Koen Vandeputte
On 25.02.19 17:33, Joe Ayers wrote: On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi wrote: On 24.02.19 21:32, Joe Ayers wrote: Hi Joe, Hi Joe, First of all, thanks for contributing this fix. I've incorporated into the http://www.arednmesh.org project, just getting into our nightly build

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-25 Thread Joe Ayers
On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte wrote: > > > On 25.02.19 17:33, Joe Ayers wrote: > > On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi > > wrote: > >>> On 24.02.19 21:32, Joe Ayers wrote: > >> Hi Joe, > Hi Joe, > First of all, thanks for contributing this fix. I've incorpora

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-26 Thread Koen Vandeputte
On 26.02.19 06:28, Joe Ayers wrote: On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte wrote: On 25.02.19 17:33, Joe Ayers wrote: On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi wrote: On 24.02.19 21:32, Joe Ayers wrote: Hi Joe, Hi Joe, First of all, thanks for contributing this fix. I'

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-26 Thread Lorenzo Bianconi
> > On 26.02.19 06:28, Joe Ayers wrote: > > On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte > > wrote: > > > > > > On 25.02.19 17:33, Joe Ayers wrote: > > > > On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi > > > > wrote: > > > > > > On 24.02.19 21:32, Joe Ayers wrote: > > > > > Hi Joe, > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-26 Thread Joe Ayers
On Tue, Feb 26, 2019 at 2:04 AM Lorenzo Bianconi wrote: > > > > > On 26.02.19 06:28, Joe Ayers wrote: > > > On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte > > > wrote: > > > > > > > > On 25.02.19 17:33, Joe Ayers wrote: > > > > > On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianconi > > > > > wrote:

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-26 Thread Lorenzo Bianconi
> On Tue, Feb 26, 2019 at 2:04 AM Lorenzo Bianconi > wrote: > > > > > > > > On 26.02.19 06:28, Joe Ayers wrote: > > > > On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte > > > > wrote: > > > > > > > > > > On 25.02.19 17:33, Joe Ayers wrote: > > > > > > On Mon, Feb 25, 2019 at 1:56 AM Lorenzo Bianco

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-26 Thread Lorenzo Bianconi
> On Tue, Feb 26, 2019 at 1:57 PM Lorenzo Bianconi > wrote: > > > > > On Tue, Feb 26, 2019 at 2:04 AM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > On 26.02.19 06:28, Joe Ayers wrote: > > > > > > On Mon, Feb 25, 2019 at 8:42 AM Koen Vandeputte > > > > > > wrote: > > > > > > > > > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-28 Thread Koen Vandeputte
On 27.02.19 08:13, Lorenzo Bianconi wrote: What I mean is just a p2p link running in AP-STA mode, I guess there is no difference for users. Am I missing something? Is dynack going to receive the late acks if I manage to run wpa_supplicant (wpad-mini?) in plaintext or key_mgmt=NONE mode?

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-28 Thread Joe Ayers
On Thu, Feb 28, 2019 at 1:59 AM Koen Vandeputte wrote: > > > On 27.02.19 08:13, Lorenzo Bianconi wrote: > >> > > What I mean is just a p2p link running in AP-STA mode, I guess there is no > > difference for users. Am I missing something? > > The design of the out-of-box firmware for AREDN, there

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-02-28 Thread Lorenzo Bianconi
> On Thu, Feb 28, 2019 at 1:59 AM Koen Vandeputte > wrote: > > > > > > On 27.02.19 08:13, Lorenzo Bianconi wrote: > > >> > > > What I mean is just a p2p link running in AP-STA mode, I guess there is no > > > difference for users. Am I missing something? > > > > > The design of the out-of-box fir

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-04 Thread Lorenzo Bianconi
> Lorenzo,I've pulled out all patches related to extended ham radio > channels and ath9k is same out of openwrt 18.06.2.I replaced wpad-mini > with the full version and "option encryption psk2". In testing between a > mickrotik QRT5 and LHG5 about 10m apart (roof to office), ack_to will

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-04 Thread Lorenzo Bianconi
> On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > wrote: > > > > > Lorenzo,I've pulled out all patches related to extended ham radio > > > channels and ath9k is same out of openwrt 18.06.2.I replaced wpad-mini > > > with the full version and "option encryption psk2". In testing betwee

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-04 Thread Joe Ayers
On Mon, Mar 4, 2019 at 10:31 AM Lorenzo Bianconi wrote: > > > On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > > wrote: > > > > > > > Lorenzo,I've pulled out all patches related to extended ham radio > > > > channels and ath9k is same out of openwrt 18.06.2.I replaced > > > > wpad-mini

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-05 Thread Lorenzo Bianconi
> On Mon, Mar 4, 2019 at 10:31 AM Lorenzo Bianconi > wrote: > > > > > On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > > > wrote: > > > > > > > > > Lorenzo,I've pulled out all patches related to extended ham radio > > > > > channels and ath9k is same out of openwrt 18.06.2.I replaced >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-05 Thread Joe Ayers
On Tue, Mar 5, 2019 at 1:54 AM Lorenzo Bianconi wrote: > > > On Mon, Mar 4, 2019 at 10:31 AM Lorenzo Bianconi > > wrote: > > > > > > > On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > Lorenzo,I've pulled out all patches related to extended ham > > > > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-05 Thread Lorenzo Bianconi
> On Tue, Mar 5, 2019 at 1:54 AM Lorenzo Bianconi > wrote: > > > > > On Mon, Mar 4, 2019 at 10:31 AM Lorenzo Bianconi > > > wrote: > > > > > > > > > On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > > > > > wrote: > > > > > > > > > > > > > Lorenzo,I've pulled out all patches related to exten

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-05 Thread Joe Ayers
On Tue, Mar 5, 2019 at 8:31 AM Lorenzo Bianconi wrote: > > > On Tue, Mar 5, 2019 at 1:54 AM Lorenzo Bianconi > > wrote: > > > > > > > On Mon, Mar 4, 2019 at 10:31 AM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > On Mon, Mar 4, 2019 at 1:07 AM Lorenzo Bianconi > > > > > > wrote: > > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-18 Thread Joe Ayers
Lorenzo, I have tested dynack on a (real distance apart) ~60km link with some success. This is the code change made: --- a/drivers/net/wireless/ath/ath9k/dynack.c +++ b/drivers/net/wireless/ath/ath9k/dynack.c @@ -20,8 +20,9 @@ #define COMPUTE_TO (5 * HZ) #define LATEACK_DELAY (10 * HZ) -#def

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-31 Thread Lorenzo Bianconi
> > bump. Hi Joe, sorry for the delay > > On Mon, Mar 18, 2019 at 10:59 PM Joe Ayers wrote: >> >> Lorenzo, I have tested dynack on a (real distance apart) ~60km link >> with some success. This is the code change made: >> >> --- a/drivers/net/wireless/ath/ath9k/dynack.c >> +++ b/drivers/net/w

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-31 Thread Joe Ayers
On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi wrote: > > > > > bump. > > Hi Joe, > > sorry for the delay > > > > > On Mon, Mar 18, 2019 at 10:59 PM Joe Ayers wrote: > >> > >> Lorenzo, I have tested dynack on a (real distance apart) ~60km link > >> with some success. This is the code change

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-31 Thread Lorenzo Bianconi
> > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi > wrote: > > > > > > > > bump. > > > > Hi Joe, > > > > sorry for the delay > > > > > > > > On Mon, Mar 18, 2019 at 10:59 PM Joe Ayers wrote: > > >> > > >> Lorenzo, I have tested dynack on a (real distance apart) ~60km link > > >> with some suc

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-31 Thread Joe Ayers
On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi wrote: > > > > > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi > > wrote: > > > > > > > > > > > bump. > > > > > > Hi Joe, > > > > > > sorry for the delay > > > > > > > > > > > On Mon, Mar 18, 2019 at 10:59 PM Joe Ayers wrote: > > > >> > > > >>

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-03-31 Thread Lorenzo Bianconi
> > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi > wrote: > > > > > > > > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > bump. > > > > > > > > Hi Joe, > > > > > > > > sorry for the delay > > > > > > > > > > > > > > On Mon, Mar 18, 2019 at 10:59 PM J

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-01 Thread Koen Vandeputte
On 31.03.19 15:45, Lorenzo Bianconi wrote: could you please try to attached patch? The max distance the hw can support depends of channel width: e.g @20MHz (HT20, 5GHz) max distance is ~ 61Km @Koen: do you have any chance to test the attached patch in your environment? Thx Hi Lorenzo, I d

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-01 Thread Joe Ayers
On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi wrote: > > > > > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi > > wrote: > > > > > > > > > > > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > > > > > > > bump. > > > > > > > > > > Hi Joe, > > > > > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-02 Thread Lorenzo Bianconi
> > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > wrote: > > > > > > > > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi > > > > > wrote: > > > > > > > > > > > > > > > > > > > > bump. > > > > > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-03 Thread Joe Ayers
On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi wrote: > > > > > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > > wrote: > > > > > > > > > > > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 6:45 AM Lorenzo Bianconi

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-03 Thread Lorenzo Bianconi
> > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > wrote: > > > > > > > > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi > > > > > wrote: > > > > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-03 Thread Joe Ayers
On Wed, Apr 3, 2019 at 7:40 AM Lorenzo Bianconi wrote: > > > > > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > > wrote: > > > > > > > > > > > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 12:15 PM Lorenzo Bianconi

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-04-04 Thread Lorenzo Bianconi
> On Wed, Apr 3, 2019 at 7:40 AM Lorenzo Bianconi > wrote: > > > > > > > > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > > > > > wrote: > > > > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-06-03 Thread Joe Ayers
On Thu, Apr 4, 2019 at 12:20 AM Lorenzo Bianconi wrote: > > > On Wed, Apr 3, 2019 at 7:40 AM Lorenzo Bianconi > > wrote: > > > > > > > > > > > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 11:49 PM Lorenzo Bianconi > > >

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-06-04 Thread Lorenzo Bianconi
> On Thu, Apr 4, 2019 at 12:20 AM Lorenzo Bianconi > wrote: > > > > > On Wed, Apr 3, 2019 at 7:40 AM Lorenzo Bianconi > > > wrote: > > > > > > > > > > > > > > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > > > > > wrote: > > > > > > > > > > > > > > > > > > > > On Sun, Mar 31, 2019 at 11:49 P

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-06-04 Thread Joe Ayers
On Tue, Jun 4, 2019 at 3:18 AM Lorenzo Bianconi wrote: > > > On Thu, Apr 4, 2019 at 12:20 AM Lorenzo Bianconi > > wrote: > > > > > > > On Wed, Apr 3, 2019 at 7:40 AM Lorenzo Bianconi > > > > wrote: > > > > > > > > > > > > > > > > > On Tue, Apr 2, 2019 at 11:45 PM Lorenzo Bianconi > > > > > > wr

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-08-16 Thread Koen Vandeputte
Hi Joe, Lorenzo, I deployed an ath9k auto distance solution in April that is working for the AREDN community http://www.arednmesh.org . https://github.com/aredn/aredn_ar71xx/blob/develop/patches/712-auto-distance-settings.patch Summary of solution: * no dependency on wpa_supplicant * init

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-08-18 Thread Lorenzo Bianconi
> > > >> Hi Joe, > >> > >>> Lorenzo, I deployed an ath9k auto distance solution in April that is > >>> working for the AREDN community http://www.arednmesh.org . > >>> > >>> https://github.com/aredn/aredn_ar71xx/blob/develop/patches/712-auto-distance-settings.patch > >>> > >>> Summary of solution:

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-08-28 Thread Koen Vandeputte
initialized the ackto to max: A) avoidance of late-ack state B) not require wpa_supplicant -- not in use by our community today C) Suspect some conditions, e.g. low SNR Neighbors, do not trigger "late ack" (consistent, with observation of low SNR Neighbors sticking at max ack_to with my chang

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-08-28 Thread Joe Ayers
> > initialized the ackto to max: > > > > A) avoidance of late-ack state > > B) not require wpa_supplicant -- not in use by our community today > > C) Suspect some conditions, e.g. low SNR Neighbors, do not trigger > > "late ack" (consistent, with observation of low SNR Neighbors sticking > > at m

Re: [OpenWrt-Devel] ath9k: fix dynack in IBSS mode

2019-08-29 Thread Koen Vandeputte
On 28.08.19 19:34, Joe Ayers wrote: initialized the ackto to max: A) avoidance of late-ack state B) not require wpa_supplicant -- not in use by our community today C) Suspect some conditions, e.g. low SNR Neighbors, do not trigger "late ack" (consistent, with observation of low SNR Neighbors