All of lore.kernel.org
 help / color / mirror / Atom feed
* After shutdown/restart, ath10k sometimes stops receiving packets
@ 2014-06-12 23:37 Avery Pennarun
  2014-06-13  9:14 ` Michal Kazior
  2014-06-14 16:45 ` Kalle Valo
  0 siblings, 2 replies; 11+ messages in thread
From: Avery Pennarun @ 2014-06-12 23:37 UTC (permalink / raw)
  To: ath10k

Hi all,

We are experiencing a relatively-rare-but-not-rare-enough case which
has approximately these steps:

- run a wifi AP for a while with a station or two connected
- shut down hostapd (stations all get disconnected of course)
- restart hostapd (perhaps on another channel or with different settings)

After that, an external wifi sniffer can see beacons being transmitted
by the AP as expected, but all packets from stations trying to connect
are ignored.  In particular, Probe requests are not answered, and Auth
requests do not even receive a wifi ACK.

Restarting hostapd doesn't fix it.  However, rmmoding and modprobing
the ath10k_pci module does fix it.

This is with a mindspeed c2k host processor, 3.2 kernel, and modules
backported by backports from kvalo's ath-next as of
v3.15-rc1-237-gd9bc4b9 (roughly 2014-04-29).  Firmware is
10.1.467.2-1.

Has anyone else seen this?  Any suggestions where to look to narrow
down the problem?

I can't exactly produce it on demand yet, but if someone suggests
things to look for when it happens, it occurs often enough that I
should be able tor run those things.

Thanks,

Avery

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-12 23:37 After shutdown/restart, ath10k sometimes stops receiving packets Avery Pennarun
@ 2014-06-13  9:14 ` Michal Kazior
  2014-06-13  9:37   ` Avery Pennarun
  2014-06-14 16:45 ` Kalle Valo
  1 sibling, 1 reply; 11+ messages in thread
From: Michal Kazior @ 2014-06-13  9:14 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

On 13 June 2014 01:37, Avery Pennarun <apenwarr@gmail.com> wrote:
> Hi all,
>
> We are experiencing a relatively-rare-but-not-rare-enough case which
> has approximately these steps:
>
> - run a wifi AP for a while with a station or two connected
> - shut down hostapd (stations all get disconnected of course)

Did you make sure you had no interface up and running? Did the
hardware go through warm/cold reset?


> - restart hostapd (perhaps on another channel or with different settings)
>
> After that, an external wifi sniffer can see beacons being transmitted
> by the AP as expected, but all packets from stations trying to connect
> are ignored.  In particular, Probe requests are not answered, and Auth
> requests do not even receive a wifi ACK.

This means WMI is working (each beacon is submitted via WMI). This
also implies CE works.

But if there are no ACKs this suggest HW must've been instructed to
ignore frames somehow.

(..) After taking a look I think wmi_vdev_start_request_cmd isn't
really handled properly for 10.x firmware. I'm guessing this ABI issue
might be the problem.

10.x firmware has:
  struct wmi_channel chan;
  __le32 vdev_id;
  __le32 requestor_id;
  __le32 num_noa_descriptors;
  __le32 disable_hw_ack;
  struct wmi_p2p_noa_descriptor noa_descriptors[2];

disable_hw_ack overlaps with dtim_period. Perhaps that's the problem.

It's intriguing how this hasn't manifested itself until now..


> Restarting hostapd doesn't fix it.  However, rmmoding and modprobing
> the ath10k_pci module does fix it.

Did the hardware go through warm or cold reset?


> This is with a mindspeed c2k host processor, 3.2 kernel, and modules
> backported by backports from kvalo's ath-next as of
> v3.15-rc1-237-gd9bc4b9 (roughly 2014-04-29).  Firmware is
> 10.1.467.2-1.
>
> Has anyone else seen this?  Any suggestions where to look to narrow
> down the problem?

I haven't seen anything like this.

For one reloading the driver may tickle cfg80211 and regulatory
updates but I just can't imagine how that could cripple ACKing.


> I can't exactly produce it on demand yet, but if someone suggests
> things to look for when it happens, it occurs often enough that I
> should be able tor run those things.

You might want to print out the vdev_start command's dtim_period
(which overlaps with 10.x's disable_hw_ack) before it is sent to fw
and compare the value for when ACKing works and when it doesn't.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-13  9:14 ` Michal Kazior
@ 2014-06-13  9:37   ` Avery Pennarun
  2014-06-13  9:49     ` Michal Kazior
  0 siblings, 1 reply; 11+ messages in thread
From: Avery Pennarun @ 2014-06-13  9:37 UTC (permalink / raw)
  To: Michal Kazior; +Cc: ath10k

On Fri, Jun 13, 2014 at 5:14 AM, Michal Kazior <michal.kazior@tieto.com> wrote:
> On 13 June 2014 01:37, Avery Pennarun <apenwarr@gmail.com> wrote:
>> We are experiencing a relatively-rare-but-not-rare-enough case which
>> has approximately these steps:
>>
>> - run a wifi AP for a while with a station or two connected
>> - shut down hostapd (stations all get disconnected of course)
>
> Did you make sure you had no interface up and running? Did the
> hardware go through warm/cold reset?

No, I didn't see any logs about that.  The firmware seemed happy.

>> - restart hostapd (perhaps on another channel or with different settings)
>>
>> After that, an external wifi sniffer can see beacons being transmitted
>> by the AP as expected, but all packets from stations trying to connect
>> are ignored.  In particular, Probe requests are not answered, and Auth
>> requests do not even receive a wifi ACK.
>
> This means WMI is working (each beacon is submitted via WMI). This
> also implies CE works.
>
> But if there are no ACKs this suggest HW must've been instructed to
> ignore frames somehow.
>
> (..) After taking a look I think wmi_vdev_start_request_cmd isn't
> really handled properly for 10.x firmware. I'm guessing this ABI issue
> might be the problem.
>
> 10.x firmware has:
>   struct wmi_channel chan;
>   __le32 vdev_id;
>   __le32 requestor_id;
>   __le32 num_noa_descriptors;
>   __le32 disable_hw_ack;
>   struct wmi_p2p_noa_descriptor noa_descriptors[2];
>
> disable_hw_ack overlaps with dtim_period. Perhaps that's the problem.
>
> It's intriguing how this hasn't manifested itself until now..

I'm not sure what you mean by overlapping...

>> Restarting hostapd doesn't fix it.  However, rmmoding and modprobing
>> the ath10k_pci module does fix it.
>
> Did the hardware go through warm or cold reset?

Reloading the driver, I believe it does a warm reset.  I know it's not
doing a cold reset because that tends to crash my machine :)

>> This is with a mindspeed c2k host processor, 3.2 kernel, and modules
>> backported by backports from kvalo's ath-next as of
>> v3.15-rc1-237-gd9bc4b9 (roughly 2014-04-29).  Firmware is
>> 10.1.467.2-1.
>>
>> Has anyone else seen this?  Any suggestions where to look to narrow
>> down the problem?
>
> I haven't seen anything like this.
>
> For one reloading the driver may tickle cfg80211 and regulatory
> updates but I just can't imagine how that could cripple ACKing.

Just to clarify, reloading the driver fixes it, it doesn't cripple it.
It's restarting hostapd that seems to cripple it.

>> I can't exactly produce it on demand yet, but if someone suggests
>> things to look for when it happens, it occurs often enough that I
>> should be able tor run those things.
>
> You might want to print out the vdev_start command's dtim_period
> (which overlaps with 10.x's disable_hw_ack) before it is sent to fw
> and compare the value for when ACKing works and when it doesn't.

Do you mean printing the dtim_period we are sending to the firmware,
from inside vdev_start(), and watching to see if it is ever different
than expected?

Thanks,

Avery

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-13  9:37   ` Avery Pennarun
@ 2014-06-13  9:49     ` Michal Kazior
  2014-06-13 11:00       ` Michal Kazior
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Kazior @ 2014-06-13  9:49 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

On 13 June 2014 11:37, Avery Pennarun <apenwarr@gmail.com> wrote:
> On Fri, Jun 13, 2014 at 5:14 AM, Michal Kazior <michal.kazior@tieto.com> wrote:
>> On 13 June 2014 01:37, Avery Pennarun <apenwarr@gmail.com> wrote:
>>> We are experiencing a relatively-rare-but-not-rare-enough case which
>>> has approximately these steps:
>>>
>>> - run a wifi AP for a while with a station or two connected
>>> - shut down hostapd (stations all get disconnected of course)
>>
>> Did you make sure you had no interface up and running? Did the
>> hardware go through warm/cold reset?
>
> No, I didn't see any logs about that.  The firmware seemed happy.

When last interface is brought down mac80211 calls ath10k_stop() which
in turn stops and resets the device. When you bring up first interface
up mac80211 calls ath10k_start() which boots the device (and performs
reset too).

When you say "restart hostapd" it doesn't state whether the driver
went through start-stop or not.


>>> - restart hostapd (perhaps on another channel or with different settings)
>>>
>>> After that, an external wifi sniffer can see beacons being transmitted
>>> by the AP as expected, but all packets from stations trying to connect
>>> are ignored.  In particular, Probe requests are not answered, and Auth
>>> requests do not even receive a wifi ACK.
>>
>> This means WMI is working (each beacon is submitted via WMI). This
>> also implies CE works.
>>
>> But if there are no ACKs this suggest HW must've been instructed to
>> ignore frames somehow.
>>
>> (..) After taking a look I think wmi_vdev_start_request_cmd isn't
>> really handled properly for 10.x firmware. I'm guessing this ABI issue
>> might be the problem.
>>
>> 10.x firmware has:
>>   struct wmi_channel chan;
>>   __le32 vdev_id;
>>   __le32 requestor_id;
>>   __le32 num_noa_descriptors;
>>   __le32 disable_hw_ack;
>>   struct wmi_p2p_noa_descriptor noa_descriptors[2];
>>
>> disable_hw_ack overlaps with dtim_period. Perhaps that's the problem.
>>
>> It's intriguing how this hasn't manifested itself until now..
>
> I'm not sure what you mean by overlapping...

10.x and main firmware branches have ABI differences. Some structures
differ. vdev_start is one of them but apparently this wasn't a problem
for either firmware so far.

The 10th dword (dword=32bit word) is disable_hw_ack for 10.x while for
main branch it is dtim_period.


>>> Restarting hostapd doesn't fix it.  However, rmmoding and modprobing
>>> the ath10k_pci module does fix it.
>>
>> Did the hardware go through warm or cold reset?
>
> Reloading the driver, I believe it does a warm reset.  I know it's not
> doing a cold reset because that tends to crash my machine :)

Just because it tends to doesn't mean it does, right? Unless you
disabled cold reset.


>>> This is with a mindspeed c2k host processor, 3.2 kernel, and modules
>>> backported by backports from kvalo's ath-next as of
>>> v3.15-rc1-237-gd9bc4b9 (roughly 2014-04-29).  Firmware is
>>> 10.1.467.2-1.
>>>
>>> Has anyone else seen this?  Any suggestions where to look to narrow
>>> down the problem?
>>
>> I haven't seen anything like this.
>>
>> For one reloading the driver may tickle cfg80211 and regulatory
>> updates but I just can't imagine how that could cripple ACKing.
>
> Just to clarify, reloading the driver fixes it, it doesn't cripple it.
> It's restarting hostapd that seems to cripple it.

Yeah, sorry. I meant I can't imagine how regulatory could be involved
in crippling ACKing.


>>> I can't exactly produce it on demand yet, but if someone suggests
>>> things to look for when it happens, it occurs often enough that I
>>> should be able tor run those things.
>>
>> You might want to print out the vdev_start command's dtim_period
>> (which overlaps with 10.x's disable_hw_ack) before it is sent to fw
>> and compare the value for when ACKing works and when it doesn't.
>
> Do you mean printing the dtim_period we are sending to the firmware,
> from inside vdev_start(), and watching to see if it is ever different
> than expected?

I think `printk("dtim period: %d\n", arg->dtim_period);` in
ath10k_wmi_vdev_start_restart() should be enough.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-13  9:49     ` Michal Kazior
@ 2014-06-13 11:00       ` Michal Kazior
  0 siblings, 0 replies; 11+ messages in thread
From: Michal Kazior @ 2014-06-13 11:00 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

On 13 June 2014 11:49, Michal Kazior <michal.kazior@tieto.com> wrote:
> On 13 June 2014 11:37, Avery Pennarun <apenwarr@gmail.com> wrote:
>> On Fri, Jun 13, 2014 at 5:14 AM, Michal Kazior <michal.kazior@tieto.com> wrote:
>>> On 13 June 2014 01:37, Avery Pennarun <apenwarr@gmail.com> wrote:
[...]
>>>> - restart hostapd (perhaps on another channel or with different settings)
>>>>
>>>> After that, an external wifi sniffer can see beacons being transmitted
>>>> by the AP as expected, but all packets from stations trying to connect
>>>> are ignored.  In particular, Probe requests are not answered, and Auth
>>>> requests do not even receive a wifi ACK.
>>>
>>> This means WMI is working (each beacon is submitted via WMI). This
>>> also implies CE works.
>>>
>>> But if there are no ACKs this suggest HW must've been instructed to
>>> ignore frames somehow.
>>>
>>> (..) After taking a look I think wmi_vdev_start_request_cmd isn't
>>> really handled properly for 10.x firmware. I'm guessing this ABI issue
>>> might be the problem.
>>>
>>> 10.x firmware has:
>>>   struct wmi_channel chan;
>>>   __le32 vdev_id;
>>>   __le32 requestor_id;
>>>   __le32 num_noa_descriptors;
>>>   __le32 disable_hw_ack;
>>>   struct wmi_p2p_noa_descriptor noa_descriptors[2];
>>>
>>> disable_hw_ack overlaps with dtim_period. Perhaps that's the problem.
>>>
>>> It's intriguing how this hasn't manifested itself until now..
>>
>> I'm not sure what you mean by overlapping...
>
> 10.x and main firmware branches have ABI differences. Some structures
> differ. vdev_start is one of them but apparently this wasn't a problem
> for either firmware so far.
>
> The 10th dword (dword=32bit word) is disable_hw_ack for 10.x while for
> main branch it is dtim_period.

From the looks of it disable_hw_ack is ignored by 10.x firmware anyway
so this is most likely not the source of your problem.

So this brings me back to the question whether your device goes
through reset cycle when you restart hostapd. It might be that the
chip gets into a confused state and needs a reset. Or maybe warm reset
is not sufficient and rmmod-insmod triggers cold reset.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-12 23:37 After shutdown/restart, ath10k sometimes stops receiving packets Avery Pennarun
  2014-06-13  9:14 ` Michal Kazior
@ 2014-06-14 16:45 ` Kalle Valo
  2014-06-14 18:40   ` Avery Pennarun
  1 sibling, 1 reply; 11+ messages in thread
From: Kalle Valo @ 2014-06-14 16:45 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

Avery Pennarun <apenwarr@gmail.com> writes:

> We are experiencing a relatively-rare-but-not-rare-enough case which
> has approximately these steps:
>
> - run a wifi AP for a while with a station or two connected
> - shut down hostapd (stations all get disconnected of course)
> - restart hostapd (perhaps on another channel or with different settings)
>
> After that, an external wifi sniffer can see beacons being transmitted
> by the AP as expected, but all packets from stations trying to connect
> are ignored.  In particular, Probe requests are not answered, and Auth
> requests do not even receive a wifi ACK.
>
> Restarting hostapd doesn't fix it.  However, rmmoding and modprobing
> the ath10k_pci module does fix it.
>
> This is with a mindspeed c2k host processor, 3.2 kernel, and modules
> backported by backports from kvalo's ath-next as of
> v3.15-rc1-237-gd9bc4b9 (roughly 2014-04-29).  Firmware is
> 10.1.467.2-1.
>
> Has anyone else seen this?  Any suggestions where to look to narrow
> down the problem?
>
> I can't exactly produce it on demand yet, but if someone suggests
> things to look for when it happens, it occurs often enough that I
> should be able tor run those things.

Do you have any guesses how often this happens? Once a day, once a week?

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-14 16:45 ` Kalle Valo
@ 2014-06-14 18:40   ` Avery Pennarun
  2014-06-15  5:45     ` Kalle Valo
  0 siblings, 1 reply; 11+ messages in thread
From: Avery Pennarun @ 2014-06-14 18:40 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath10k

On Sat, Jun 14, 2014 at 12:45 PM, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
> Avery Pennarun <apenwarr@gmail.com> writes:
>> We are experiencing a relatively-rare-but-not-rare-enough case which
>> has approximately these steps:
>>
>> - run a wifi AP for a while with a station or two connected
>> - shut down hostapd (stations all get disconnected of course)
>> - restart hostapd (perhaps on another channel or with different settings)
>>
>> After that, an external wifi sniffer can see beacons being transmitted
>> by the AP as expected, but all packets from stations trying to connect
>> are ignored.
>
> Do you have any guesses how often this happens? Once a day, once a week?

Someone in our QA group seems to be able to produce it after two or
three test runs with Veriwave.  Before each run, he stops and restarts
hostapd.

I don't think it happens very often at all if you stop and restart
hostapd.  I know it doesn't happen if you "only" stop and restart
hostapd, because I would have been able to easily reproduce that.  So
I think something particular has to happen during the session, then
when you restart hostapd the bug triggers.

I'm still looking so I can answer Michal's questions from earlier.  I
don't want to give incorrect answers :)

Avery

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-14 18:40   ` Avery Pennarun
@ 2014-06-15  5:45     ` Kalle Valo
  2014-06-15  6:49       ` Avery Pennarun
  2014-06-15 16:13       ` Ben Greear
  0 siblings, 2 replies; 11+ messages in thread
From: Kalle Valo @ 2014-06-15  5:45 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

Avery Pennarun <apenwarr@gmail.com> writes:

> On Sat, Jun 14, 2014 at 12:45 PM, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
>> Avery Pennarun <apenwarr@gmail.com> writes:
>>> We are experiencing a relatively-rare-but-not-rare-enough case which
>>> has approximately these steps:
>>>
>>> - run a wifi AP for a while with a station or two connected
>>> - shut down hostapd (stations all get disconnected of course)
>>> - restart hostapd (perhaps on another channel or with different settings)
>>>
>>> After that, an external wifi sniffer can see beacons being transmitted
>>> by the AP as expected, but all packets from stations trying to connect
>>> are ignored.
>>
>> Do you have any guesses how often this happens? Once a day, once a week?
>
> Someone in our QA group seems to be able to produce it after two or
> three test runs with Veriwave.  Before each run, he stops and restarts
> hostapd.

That's quite often. Was he testing DFS or something else? Maybe this is
related to radar detection or channel switching?

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-15  5:45     ` Kalle Valo
@ 2014-06-15  6:49       ` Avery Pennarun
  2014-06-16  9:30         ` Kalle Valo
  2014-06-15 16:13       ` Ben Greear
  1 sibling, 1 reply; 11+ messages in thread
From: Avery Pennarun @ 2014-06-15  6:49 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath10k

On Sun, Jun 15, 2014 at 1:45 AM, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
> Avery Pennarun <apenwarr@gmail.com> writes:
>> Someone in our QA group seems to be able to produce it after two or
>> three test runs with Veriwave.  Before each run, he stops and restarts
>> hostapd.
>
> That's quite often. Was he testing DFS or something else? Maybe this is
> related to radar detection or channel switching?

He's not using DFS channels.  This is supposedly just a simple
throughput test.  (Although I've noticed in the past that the Veriwave
sometimes produces odd sequences of packets.)  It also happened to me
without Veriwave involved, on the open air, and definitely not on a
DFS channel.  But that only happened once and I didn't have a sniffer
going at the time.  I was definitely reconfiguring it to use a new
channel at the time.

Avery

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-15  5:45     ` Kalle Valo
  2014-06-15  6:49       ` Avery Pennarun
@ 2014-06-15 16:13       ` Ben Greear
  1 sibling, 0 replies; 11+ messages in thread
From: Ben Greear @ 2014-06-15 16:13 UTC (permalink / raw)
  To: Kalle Valo, Avery Pennarun; +Cc: ath10k



On 06/14/2014 10:45 PM, Kalle Valo wrote:
> Avery Pennarun <apenwarr@gmail.com> writes:
>
>> On Sat, Jun 14, 2014 at 12:45 PM, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
>>> Avery Pennarun <apenwarr@gmail.com> writes:
>>>> We are experiencing a relatively-rare-but-not-rare-enough case which
>>>> has approximately these steps:
>>>>
>>>> - run a wifi AP for a while with a station or two connected
>>>> - shut down hostapd (stations all get disconnected of course)
>>>> - restart hostapd (perhaps on another channel or with different settings)
>>>>
>>>> After that, an external wifi sniffer can see beacons being transmitted
>>>> by the AP as expected, but all packets from stations trying to connect
>>>> are ignored.
>>>
>>> Do you have any guesses how often this happens? Once a day, once a week?
>>
>> Someone in our QA group seems to be able to produce it after two or
>> three test runs with Veriwave.  Before each run, he stops and restarts
>> hostapd.
>
> That's quite often. Was he testing DFS or something else? Maybe this is
> related to radar detection or channel switching?

For my firmware, I hacked a WMI message to return some register values.

But, can they be read directly through the pci-e bus somehow (on stock firmware)?
It would be great to get a register dump for debugging stuff like this.

Could check the rx-filters and other such registers to see if there is
some pattern involved.

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] 11+ messages in thread

* Re: After shutdown/restart, ath10k sometimes stops receiving packets
  2014-06-15  6:49       ` Avery Pennarun
@ 2014-06-16  9:30         ` Kalle Valo
  0 siblings, 0 replies; 11+ messages in thread
From: Kalle Valo @ 2014-06-16  9:30 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: ath10k

Avery Pennarun <apenwarr@gmail.com> writes:

> On Sun, Jun 15, 2014 at 1:45 AM, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
>> Avery Pennarun <apenwarr@gmail.com> writes:
>>> Someone in our QA group seems to be able to produce it after two or
>>> three test runs with Veriwave.  Before each run, he stops and restarts
>>> hostapd.
>>
>> That's quite often. Was he testing DFS or something else? Maybe this is
>> related to radar detection or channel switching?
>
> He's not using DFS channels.

Good, so we can rule out that.

> This is supposedly just a simple throughput test. (Although I've
> noticed in the past that the Veriwave sometimes produces odd sequences
> of packets.)

Yeah, these kind of test equipments can behave different than normal
802.11 devices. For example, I remember one very expensive test box was
acting as an AP and it just ignored PM bit from the clients. No wonder
the packet loss was high :)

In this case it might that the way Veriwave behaves so which makes it
easy to reproduce the bug. And that's a good thing.

Any chance you could get full trace-cmd logs (ath10k, mac80211, cfg80211
and hostapd) when the bug fails with Veriwave? I'm sure that would get
more hints what's happening.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-06-16  9:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12 23:37 After shutdown/restart, ath10k sometimes stops receiving packets Avery Pennarun
2014-06-13  9:14 ` Michal Kazior
2014-06-13  9:37   ` Avery Pennarun
2014-06-13  9:49     ` Michal Kazior
2014-06-13 11:00       ` Michal Kazior
2014-06-14 16:45 ` Kalle Valo
2014-06-14 18:40   ` Avery Pennarun
2014-06-15  5:45     ` Kalle Valo
2014-06-15  6:49       ` Avery Pennarun
2014-06-16  9:30         ` Kalle Valo
2014-06-15 16:13       ` Ben Greear

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.