* Trouble connecting to broadcom AC APs? @ 2014-03-19 17:01 Ben Greear 2014-03-20 6:36 ` Kalle Valo 0 siblings, 1 reply; 12+ messages in thread From: Ben Greear @ 2014-03-19 17:01 UTC (permalink / raw) To: ath10k We are seeing various funny things when trying to connect ath10k stations to commercial APs with broadcom AC NICs. It sort of works sometimes, but we often see failure to acquire DHCP lease in a timely manner, etc. Similar testing on APs using QCA AC NICs appears to work much better. Our problems could be most anything, including the fact that this testing is done on our modified firmware, but I am curious if anyone else seems any similar issues? Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-19 17:01 Trouble connecting to broadcom AC APs? Ben Greear @ 2014-03-20 6:36 ` Kalle Valo 2014-03-20 15:59 ` Ben Greear 0 siblings, 1 reply; 12+ messages in thread From: Kalle Valo @ 2014-03-20 6:36 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k Ben Greear <greearb@candelatech.com> writes: > We are seeing various funny things when trying to connect > ath10k stations to commercial APs with broadcom AC NICs. > > It sort of works sometimes, but we often see failure to > acquire DHCP lease in a timely manner, etc. So it's a problem with broadcast frames? With or without encryption? Did you try disabling power save? > Similar testing on APs using QCA AC NICs appears to work > much better. > > Our problems could be most anything, including the fact that this > testing is done on our modified firmware, but I am curious if anyone > else seems any similar issues? Occasionally I test connecting to D-Link DIR-865L in STA mode. But I just do just simple ping tests and with manual IPs. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 6:36 ` Kalle Valo @ 2014-03-20 15:59 ` Ben Greear 2014-03-20 19:17 ` Adrian Chadd 0 siblings, 1 reply; 12+ messages in thread From: Ben Greear @ 2014-03-20 15:59 UTC (permalink / raw) To: Kalle Valo; +Cc: ath10k On 03/19/2014 11:36 PM, Kalle Valo wrote: > Ben Greear <greearb@candelatech.com> writes: > >> We are seeing various funny things when trying to connect >> ath10k stations to commercial APs with broadcom AC NICs. >> >> It sort of works sometimes, but we often see failure to >> acquire DHCP lease in a timely manner, etc. > > So it's a problem with broadcast frames? With or without encryption? Did > you try disabling power save? With and without encryption we see issues. I am disabling power-save, but from poking around in firmware, I'm not sure how much affect that has. I'm using commands like this to disable it: ./local/sbin/iw dev sta219 set power_save off >> Similar testing on APs using QCA AC NICs appears to work >> much better. >> >> Our problems could be most anything, including the fact that this >> testing is done on our modified firmware, but I am curious if anyone >> else seems any similar issues? > > Occasionally I test connecting to D-Link DIR-865L in STA mode. But I > just do just simple ping tests and with manual IPs. We'll keep poking at things and see if we can find any pattern or work around. Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 15:59 ` Ben Greear @ 2014-03-20 19:17 ` Adrian Chadd 2014-03-20 19:23 ` Ben Greear 0 siblings, 1 reply; 12+ messages in thread From: Adrian Chadd @ 2014-03-20 19:17 UTC (permalink / raw) To: Ben Greear; +Cc: Kalle Valo, ath10k Did the per-rate transmit statistics ever make it into the firmware / driver? I'd start by looking at what rate(s) it's trying and what the transmit completion statistics say. It could be doing something exceedingly dumb like transmitting on an invalid rate or stream setup. Same deal with STBC/LDPC. Try disabling those; see what happens. -a On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: > On 03/19/2014 11:36 PM, Kalle Valo wrote: >> Ben Greear <greearb@candelatech.com> writes: >> >>> We are seeing various funny things when trying to connect >>> ath10k stations to commercial APs with broadcom AC NICs. >>> >>> It sort of works sometimes, but we often see failure to >>> acquire DHCP lease in a timely manner, etc. >> >> So it's a problem with broadcast frames? With or without encryption? Did >> you try disabling power save? > > With and without encryption we see issues. I am disabling power-save, > but from poking around in firmware, I'm not sure how much affect that > has. > > I'm using commands like this to disable it: > ./local/sbin/iw dev sta219 set power_save off > >>> Similar testing on APs using QCA AC NICs appears to work >>> much better. >>> >>> Our problems could be most anything, including the fact that this >>> testing is done on our modified firmware, but I am curious if anyone >>> else seems any similar issues? >> >> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >> just do just simple ping tests and with manual IPs. > > We'll keep poking at things and see if we can find any > pattern or work around. > > Thanks, > Ben > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 19:17 ` Adrian Chadd @ 2014-03-20 19:23 ` Ben Greear 2014-03-20 19:26 ` Adrian Chadd 2014-03-21 6:01 ` Janusz Dziedzic 0 siblings, 2 replies; 12+ messages in thread From: Ben Greear @ 2014-03-20 19:23 UTC (permalink / raw) To: Adrian Chadd; +Cc: Kalle Valo, ath10k On 03/20/2014 12:17 PM, Adrian Chadd wrote: > Did the per-rate transmit statistics ever make it into the firmware / driver? > > I'd start by looking at what rate(s) it's trying and what the transmit > completion statistics say. It could be doing something exceedingly > dumb like transmitting on an invalid rate or stream setup. > > Same deal with STBC/LDPC. Try disabling those; see what happens. It appears the packets get to the AP, and AP at least tries to respond. If we bring up stations one at a time instead of multiple at once it works better, and using ddwrt works better than stock firmware on the AP too. Anyone know how well monitor mode works on ath10k? Would be nice to see what is actually on the air. Truth is, my main concern now is some issue with tx flush hanging, so it may be a bit until I can dig closely into the issues with the BCM APs. Thanks, Ben > > > > -a > > > On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>> Ben Greear <greearb@candelatech.com> writes: >>> >>>> We are seeing various funny things when trying to connect >>>> ath10k stations to commercial APs with broadcom AC NICs. >>>> >>>> It sort of works sometimes, but we often see failure to >>>> acquire DHCP lease in a timely manner, etc. >>> >>> So it's a problem with broadcast frames? With or without encryption? Did >>> you try disabling power save? >> >> With and without encryption we see issues. I am disabling power-save, >> but from poking around in firmware, I'm not sure how much affect that >> has. >> >> I'm using commands like this to disable it: >> ./local/sbin/iw dev sta219 set power_save off >> >>>> Similar testing on APs using QCA AC NICs appears to work >>>> much better. >>>> >>>> Our problems could be most anything, including the fact that this >>>> testing is done on our modified firmware, but I am curious if anyone >>>> else seems any similar issues? >>> >>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>> just do just simple ping tests and with manual IPs. >> >> We'll keep poking at things and see if we can find any >> pattern or work around. >> >> Thanks, >> Ben >> >> -- >> Ben Greear <greearb@candelatech.com> >> Candela Technologies Inc http://www.candelatech.com >> >> >> _______________________________________________ >> ath10k mailing list >> ath10k@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/ath10k -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 19:23 ` Ben Greear @ 2014-03-20 19:26 ` Adrian Chadd 2014-03-20 23:27 ` Ben Greear 2014-03-21 6:01 ` Janusz Dziedzic 1 sibling, 1 reply; 12+ messages in thread From: Adrian Chadd @ 2014-03-20 19:26 UTC (permalink / raw) To: Ben Greear; +Cc: Kalle Valo, ath10k Is the broadcom ap doing sane or insane things with the sleep bits in transmitted frames? Is this a problem with 11ac only? -a On 20 March 2014 12:23, Ben Greear <greearb@candelatech.com> wrote: > On 03/20/2014 12:17 PM, Adrian Chadd wrote: >> Did the per-rate transmit statistics ever make it into the firmware / driver? >> >> I'd start by looking at what rate(s) it's trying and what the transmit >> completion statistics say. It could be doing something exceedingly >> dumb like transmitting on an invalid rate or stream setup. >> >> Same deal with STBC/LDPC. Try disabling those; see what happens. > > It appears the packets get to the AP, and AP at least tries to > respond. > > If we bring up stations one at a time instead of multiple at once > it works better, and using ddwrt works better than stock firmware > on the AP too. > > Anyone know how well monitor mode works on ath10k? Would be nice > to see what is actually on the air. > > Truth is, my main concern now is some issue with tx flush hanging, > so it may be a bit until I can dig closely into the issues > with the BCM APs. > > Thanks, > Ben > >> >> >> >> -a >> >> >> On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >>> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>>> Ben Greear <greearb@candelatech.com> writes: >>>> >>>>> We are seeing various funny things when trying to connect >>>>> ath10k stations to commercial APs with broadcom AC NICs. >>>>> >>>>> It sort of works sometimes, but we often see failure to >>>>> acquire DHCP lease in a timely manner, etc. >>>> >>>> So it's a problem with broadcast frames? With or without encryption? Did >>>> you try disabling power save? >>> >>> With and without encryption we see issues. I am disabling power-save, >>> but from poking around in firmware, I'm not sure how much affect that >>> has. >>> >>> I'm using commands like this to disable it: >>> ./local/sbin/iw dev sta219 set power_save off >>> >>>>> Similar testing on APs using QCA AC NICs appears to work >>>>> much better. >>>>> >>>>> Our problems could be most anything, including the fact that this >>>>> testing is done on our modified firmware, but I am curious if anyone >>>>> else seems any similar issues? >>>> >>>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>>> just do just simple ping tests and with manual IPs. >>> >>> We'll keep poking at things and see if we can find any >>> pattern or work around. >>> >>> Thanks, >>> Ben >>> >>> -- >>> Ben Greear <greearb@candelatech.com> >>> Candela Technologies Inc http://www.candelatech.com >>> >>> >>> _______________________________________________ >>> ath10k mailing list >>> ath10k@lists.infradead.org >>> http://lists.infradead.org/mailman/listinfo/ath10k > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 19:26 ` Adrian Chadd @ 2014-03-20 23:27 ` Ben Greear 2014-03-20 23:34 ` Adrian Chadd 0 siblings, 1 reply; 12+ messages in thread From: Ben Greear @ 2014-03-20 23:27 UTC (permalink / raw) To: Adrian Chadd; +Cc: Kalle Valo, ath10k On 03/20/2014 12:26 PM, Adrian Chadd wrote: > Is the broadcom ap doing sane or insane things with the sleep bits in > transmitted frames? > > Is this a problem with 11ac only? ath9k stations connect just fine, so it's either something with the ath10k (including our modified firmware), or the AP has issues with AC specifically. Thanks, Ben > > > -a > > > On 20 March 2014 12:23, Ben Greear <greearb@candelatech.com> wrote: >> On 03/20/2014 12:17 PM, Adrian Chadd wrote: >>> Did the per-rate transmit statistics ever make it into the firmware / driver? >>> >>> I'd start by looking at what rate(s) it's trying and what the transmit >>> completion statistics say. It could be doing something exceedingly >>> dumb like transmitting on an invalid rate or stream setup. >>> >>> Same deal with STBC/LDPC. Try disabling those; see what happens. >> >> It appears the packets get to the AP, and AP at least tries to >> respond. >> >> If we bring up stations one at a time instead of multiple at once >> it works better, and using ddwrt works better than stock firmware >> on the AP too. >> >> Anyone know how well monitor mode works on ath10k? Would be nice >> to see what is actually on the air. >> >> Truth is, my main concern now is some issue with tx flush hanging, >> so it may be a bit until I can dig closely into the issues >> with the BCM APs. >> >> Thanks, >> Ben >> >>> >>> >>> >>> -a >>> >>> >>> On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >>>> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>>>> Ben Greear <greearb@candelatech.com> writes: >>>>> >>>>>> We are seeing various funny things when trying to connect >>>>>> ath10k stations to commercial APs with broadcom AC NICs. >>>>>> >>>>>> It sort of works sometimes, but we often see failure to >>>>>> acquire DHCP lease in a timely manner, etc. >>>>> >>>>> So it's a problem with broadcast frames? With or without encryption? Did >>>>> you try disabling power save? >>>> >>>> With and without encryption we see issues. I am disabling power-save, >>>> but from poking around in firmware, I'm not sure how much affect that >>>> has. >>>> >>>> I'm using commands like this to disable it: >>>> ./local/sbin/iw dev sta219 set power_save off >>>> >>>>>> Similar testing on APs using QCA AC NICs appears to work >>>>>> much better. >>>>>> >>>>>> Our problems could be most anything, including the fact that this >>>>>> testing is done on our modified firmware, but I am curious if anyone >>>>>> else seems any similar issues? >>>>> >>>>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>>>> just do just simple ping tests and with manual IPs. >>>> >>>> We'll keep poking at things and see if we can find any >>>> pattern or work around. >>>> >>>> Thanks, >>>> Ben >>>> >>>> -- >>>> Ben Greear <greearb@candelatech.com> >>>> Candela Technologies Inc http://www.candelatech.com >>>> >>>> >>>> _______________________________________________ >>>> ath10k mailing list >>>> ath10k@lists.infradead.org >>>> http://lists.infradead.org/mailman/listinfo/ath10k >> >> >> -- >> Ben Greear <greearb@candelatech.com> >> Candela Technologies Inc http://www.candelatech.com >> > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 23:27 ` Ben Greear @ 2014-03-20 23:34 ` Adrian Chadd 0 siblings, 0 replies; 12+ messages in thread From: Adrian Chadd @ 2014-03-20 23:34 UTC (permalink / raw) To: Ben Greear; +Cc: Kalle Valo, ath10k .. right, but if you can reproduce it with ath10k in 11n only mode, you can use an existing ath9k sniffer to sniff and see if there's anything fruity in the frames. -a On 20 March 2014 16:27, Ben Greear <greearb@candelatech.com> wrote: > On 03/20/2014 12:26 PM, Adrian Chadd wrote: >> Is the broadcom ap doing sane or insane things with the sleep bits in >> transmitted frames? >> >> Is this a problem with 11ac only? > > ath9k stations connect just fine, so it's either something with > the ath10k (including our modified firmware), or the AP has issues > with AC specifically. > > Thanks, > Ben > >> >> >> -a >> >> >> On 20 March 2014 12:23, Ben Greear <greearb@candelatech.com> wrote: >>> On 03/20/2014 12:17 PM, Adrian Chadd wrote: >>>> Did the per-rate transmit statistics ever make it into the firmware / driver? >>>> >>>> I'd start by looking at what rate(s) it's trying and what the transmit >>>> completion statistics say. It could be doing something exceedingly >>>> dumb like transmitting on an invalid rate or stream setup. >>>> >>>> Same deal with STBC/LDPC. Try disabling those; see what happens. >>> >>> It appears the packets get to the AP, and AP at least tries to >>> respond. >>> >>> If we bring up stations one at a time instead of multiple at once >>> it works better, and using ddwrt works better than stock firmware >>> on the AP too. >>> >>> Anyone know how well monitor mode works on ath10k? Would be nice >>> to see what is actually on the air. >>> >>> Truth is, my main concern now is some issue with tx flush hanging, >>> so it may be a bit until I can dig closely into the issues >>> with the BCM APs. >>> >>> Thanks, >>> Ben >>> >>>> >>>> >>>> >>>> -a >>>> >>>> >>>> On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >>>>> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>>>>> Ben Greear <greearb@candelatech.com> writes: >>>>>> >>>>>>> We are seeing various funny things when trying to connect >>>>>>> ath10k stations to commercial APs with broadcom AC NICs. >>>>>>> >>>>>>> It sort of works sometimes, but we often see failure to >>>>>>> acquire DHCP lease in a timely manner, etc. >>>>>> >>>>>> So it's a problem with broadcast frames? With or without encryption? Did >>>>>> you try disabling power save? >>>>> >>>>> With and without encryption we see issues. I am disabling power-save, >>>>> but from poking around in firmware, I'm not sure how much affect that >>>>> has. >>>>> >>>>> I'm using commands like this to disable it: >>>>> ./local/sbin/iw dev sta219 set power_save off >>>>> >>>>>>> Similar testing on APs using QCA AC NICs appears to work >>>>>>> much better. >>>>>>> >>>>>>> Our problems could be most anything, including the fact that this >>>>>>> testing is done on our modified firmware, but I am curious if anyone >>>>>>> else seems any similar issues? >>>>>> >>>>>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>>>>> just do just simple ping tests and with manual IPs. >>>>> >>>>> We'll keep poking at things and see if we can find any >>>>> pattern or work around. >>>>> >>>>> Thanks, >>>>> Ben >>>>> >>>>> -- >>>>> Ben Greear <greearb@candelatech.com> >>>>> Candela Technologies Inc http://www.candelatech.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> ath10k mailing list >>>>> ath10k@lists.infradead.org >>>>> http://lists.infradead.org/mailman/listinfo/ath10k >>> >>> >>> -- >>> Ben Greear <greearb@candelatech.com> >>> Candela Technologies Inc http://www.candelatech.com >>> >> >> _______________________________________________ >> ath10k mailing list >> ath10k@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/ath10k >> > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-20 19:23 ` Ben Greear 2014-03-20 19:26 ` Adrian Chadd @ 2014-03-21 6:01 ` Janusz Dziedzic 2014-03-21 7:07 ` Janusz Dziedzic 1 sibling, 1 reply; 12+ messages in thread From: Janusz Dziedzic @ 2014-03-21 6:01 UTC (permalink / raw) To: Ben Greear; +Cc: Adrian Chadd, Kalle Valo, ath10k On 20 March 2014 20:23, Ben Greear <greearb@candelatech.com> wrote: > On 03/20/2014 12:17 PM, Adrian Chadd wrote: >> Did the per-rate transmit statistics ever make it into the firmware / driver? >> >> I'd start by looking at what rate(s) it's trying and what the transmit >> completion statistics say. It could be doing something exceedingly >> dumb like transmitting on an invalid rate or stream setup. >> >> Same deal with STBC/LDPC. Try disabling those; see what happens. > > It appears the packets get to the AP, and AP at least tries to > respond. > > If we bring up stations one at a time instead of multiple at once > it works better, and using ddwrt works better than stock firmware > on the AP too. > > Anyone know how well monitor mode works on ath10k? Would be nice > to see what is actually on the air. > With AP firmware, works fine. Could you send airlogs? > Truth is, my main concern now is some issue with tx flush hanging, > so it may be a bit until I can dig closely into the issues > with the BCM APs. > > Thanks, > Ben > >> >> >> >> -a >> >> >> On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >>> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>>> Ben Greear <greearb@candelatech.com> writes: >>>> >>>>> We are seeing various funny things when trying to connect >>>>> ath10k stations to commercial APs with broadcom AC NICs. >>>>> >>>>> It sort of works sometimes, but we often see failure to >>>>> acquire DHCP lease in a timely manner, etc. >>>> >>>> So it's a problem with broadcast frames? With or without encryption? Did >>>> you try disabling power save? >>> >>> With and without encryption we see issues. I am disabling power-save, >>> but from poking around in firmware, I'm not sure how much affect that >>> has. >>> >>> I'm using commands like this to disable it: >>> ./local/sbin/iw dev sta219 set power_save off >>> >>>>> Similar testing on APs using QCA AC NICs appears to work >>>>> much better. >>>>> >>>>> Our problems could be most anything, including the fact that this >>>>> testing is done on our modified firmware, but I am curious if anyone >>>>> else seems any similar issues? >>>> >>>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>>> just do just simple ping tests and with manual IPs. >>> >>> We'll keep poking at things and see if we can find any >>> pattern or work around. >>> >>> Thanks, >>> Ben >>> >>> -- >>> Ben Greear <greearb@candelatech.com> >>> Candela Technologies Inc http://www.candelatech.com >>> >>> >>> _______________________________________________ >>> ath10k mailing list >>> ath10k@lists.infradead.org >>> http://lists.infradead.org/mailman/listinfo/ath10k > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-21 6:01 ` Janusz Dziedzic @ 2014-03-21 7:07 ` Janusz Dziedzic 2014-03-21 17:41 ` Ben Greear 0 siblings, 1 reply; 12+ messages in thread From: Janusz Dziedzic @ 2014-03-21 7:07 UTC (permalink / raw) To: Ben Greear; +Cc: Adrian Chadd, Kalle Valo, ath10k On 21 March 2014 07:01, Janusz Dziedzic <janusz.dziedzic@tieto.com> wrote: > On 20 March 2014 20:23, Ben Greear <greearb@candelatech.com> wrote: >> On 03/20/2014 12:17 PM, Adrian Chadd wrote: >>> Did the per-rate transmit statistics ever make it into the firmware / driver? >>> >>> I'd start by looking at what rate(s) it's trying and what the transmit >>> completion statistics say. It could be doing something exceedingly >>> dumb like transmitting on an invalid rate or stream setup. >>> >>> Same deal with STBC/LDPC. Try disabling those; see what happens. >> >> It appears the packets get to the AP, and AP at least tries to >> respond. >> >> If we bring up stations one at a time instead of multiple at once >> it works better, and using ddwrt works better than stock firmware >> on the AP too. >> >> Anyone know how well monitor mode works on ath10k? Would be nice >> to see what is actually on the air. >> > With AP firmware, works fine. Could you send airlogs? > BTW, I have same problem with WRT54G and orginal linksys SW - my home router. Problem disappears when will use FW 636 :) So, seems AP (389, 467) FW is not the best choice for STA mode. I suspect PS problem here - but didn't check this yet ... BR Janusz >> Truth is, my main concern now is some issue with tx flush hanging, >> so it may be a bit until I can dig closely into the issues >> with the BCM APs. >> >> Thanks, >> Ben >> >>> >>> >>> >>> -a >>> >>> >>> On 20 March 2014 08:59, Ben Greear <greearb@candelatech.com> wrote: >>>> On 03/19/2014 11:36 PM, Kalle Valo wrote: >>>>> Ben Greear <greearb@candelatech.com> writes: >>>>> >>>>>> We are seeing various funny things when trying to connect >>>>>> ath10k stations to commercial APs with broadcom AC NICs. >>>>>> >>>>>> It sort of works sometimes, but we often see failure to >>>>>> acquire DHCP lease in a timely manner, etc. >>>>> >>>>> So it's a problem with broadcast frames? With or without encryption? Did >>>>> you try disabling power save? >>>> >>>> With and without encryption we see issues. I am disabling power-save, >>>> but from poking around in firmware, I'm not sure how much affect that >>>> has. >>>> >>>> I'm using commands like this to disable it: >>>> ./local/sbin/iw dev sta219 set power_save off >>>> >>>>>> Similar testing on APs using QCA AC NICs appears to work >>>>>> much better. >>>>>> >>>>>> Our problems could be most anything, including the fact that this >>>>>> testing is done on our modified firmware, but I am curious if anyone >>>>>> else seems any similar issues? >>>>> >>>>> Occasionally I test connecting to D-Link DIR-865L in STA mode. But I >>>>> just do just simple ping tests and with manual IPs. >>>> >>>> We'll keep poking at things and see if we can find any >>>> pattern or work around. >>>> >>>> Thanks, >>>> Ben >>>> >>>> -- >>>> Ben Greear <greearb@candelatech.com> >>>> Candela Technologies Inc http://www.candelatech.com >>>> >>>> >>>> _______________________________________________ >>>> ath10k mailing list >>>> ath10k@lists.infradead.org >>>> http://lists.infradead.org/mailman/listinfo/ath10k >> >> >> -- >> Ben Greear <greearb@candelatech.com> >> Candela Technologies Inc http://www.candelatech.com >> >> >> _______________________________________________ >> ath10k mailing list >> ath10k@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-21 7:07 ` Janusz Dziedzic @ 2014-03-21 17:41 ` Ben Greear 2014-03-24 19:45 ` Janusz Dziedzic 0 siblings, 1 reply; 12+ messages in thread From: Ben Greear @ 2014-03-21 17:41 UTC (permalink / raw) To: Janusz Dziedzic; +Cc: Adrian Chadd, Kalle Valo, ath10k On 03/21/2014 12:07 AM, Janusz Dziedzic wrote: > On 21 March 2014 07:01, Janusz Dziedzic <janusz.dziedzic@tieto.com> wrote: >> On 20 March 2014 20:23, Ben Greear <greearb@candelatech.com> wrote: >>> On 03/20/2014 12:17 PM, Adrian Chadd wrote: >>>> Did the per-rate transmit statistics ever make it into the firmware / driver? >>>> >>>> I'd start by looking at what rate(s) it's trying and what the transmit >>>> completion statistics say. It could be doing something exceedingly >>>> dumb like transmitting on an invalid rate or stream setup. >>>> >>>> Same deal with STBC/LDPC. Try disabling those; see what happens. >>> >>> It appears the packets get to the AP, and AP at least tries to >>> respond. >>> >>> If we bring up stations one at a time instead of multiple at once >>> it works better, and using ddwrt works better than stock firmware >>> on the AP too. >>> >>> Anyone know how well monitor mode works on ath10k? Would be nice >>> to see what is actually on the air. >>> >> With AP firmware, works fine. Could you send airlogs? >> > BTW, I have same problem with WRT54G and orginal linksys SW - my home router. > Problem disappears when will use FW 636 :) > So, seems AP (389, 467) FW is not the best choice for STA mode. > I suspect PS problem here - but didn't check this yet ... Here is another data point...if we make br0 on the AP promisc, then suddenly it works fine. (we noticed this because starting tcpdump on br0 also 'fixes' the problem). Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble connecting to broadcom AC APs? 2014-03-21 17:41 ` Ben Greear @ 2014-03-24 19:45 ` Janusz Dziedzic 0 siblings, 0 replies; 12+ messages in thread From: Janusz Dziedzic @ 2014-03-24 19:45 UTC (permalink / raw) To: Ben Greear; +Cc: Adrian Chadd, Kalle Valo, ath10k On 21 March 2014 18:41, Ben Greear <greearb@candelatech.com> wrote: > On 03/21/2014 12:07 AM, Janusz Dziedzic wrote: >> On 21 March 2014 07:01, Janusz Dziedzic <janusz.dziedzic@tieto.com> wrote: >>> On 20 March 2014 20:23, Ben Greear <greearb@candelatech.com> wrote: >>>> On 03/20/2014 12:17 PM, Adrian Chadd wrote: >>>>> Did the per-rate transmit statistics ever make it into the firmware / driver? >>>>> >>>>> I'd start by looking at what rate(s) it's trying and what the transmit >>>>> completion statistics say. It could be doing something exceedingly >>>>> dumb like transmitting on an invalid rate or stream setup. >>>>> >>>>> Same deal with STBC/LDPC. Try disabling those; see what happens. >>>> >>>> It appears the packets get to the AP, and AP at least tries to >>>> respond. >>>> >>>> If we bring up stations one at a time instead of multiple at once >>>> it works better, and using ddwrt works better than stock firmware >>>> on the AP too. >>>> >>>> Anyone know how well monitor mode works on ath10k? Would be nice >>>> to see what is actually on the air. >>>> >>> With AP firmware, works fine. Could you send airlogs? >>> >> BTW, I have same problem with WRT54G and orginal linksys SW - my home router. >> Problem disappears when will use FW 636 :) >> So, seems AP (389, 467) FW is not the best choice for STA mode. >> I suspect PS problem here - but didn't check this yet ... > > Here is another data point...if we make br0 on the AP promisc, > then suddenly it works fine. > > (we noticed this because starting tcpdump on br0 also > 'fixes' the problem). > In my case: ath10k: ath10k_peer_assoc_h_crypto: rsn ie found ath10k: ath10k_peer_assoc_h_crypto: wpa ie found ath10k: mac peer 00:14:bf:16:b8:44 phymode 11g Next tx don't work because, FW discard this packets for some reason (at least broadcast), I see a lot of: ath10k: htt tx completion msdu_id 0 discard 1 no_ack 0 while with 636 firmware ath10k: htt tx completion msdu_id 0 discard 0 no_ack 0 So, could be quite different issue you have. I will check switch to CCMP only while now there is TKIP/CCMP. BR Jansuz _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-03-24 19:46 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-03-19 17:01 Trouble connecting to broadcom AC APs? Ben Greear 2014-03-20 6:36 ` Kalle Valo 2014-03-20 15:59 ` Ben Greear 2014-03-20 19:17 ` Adrian Chadd 2014-03-20 19:23 ` Ben Greear 2014-03-20 19:26 ` Adrian Chadd 2014-03-20 23:27 ` Ben Greear 2014-03-20 23:34 ` Adrian Chadd 2014-03-21 6:01 ` Janusz Dziedzic 2014-03-21 7:07 ` Janusz Dziedzic 2014-03-21 17:41 ` Ben Greear 2014-03-24 19:45 ` Janusz Dziedzic
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.