linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Ben Greear <greearb@candelatech.com>
Cc: Arend van Spriel <arend@broadcom.com>,
	Dave Taht <dave.taht@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	ath10k <ath10k@lists.infradead.org>
Subject: Re: Reporting firmware stats to ethtool
Date: Sat, 9 Aug 2014 09:32:56 +0300	[thread overview]
Message-ID: <87r40quq93.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <53E507EB.7030703@candelatech.com> (Ben Greear's message of "Fri, 8 Aug 2014 10:24:59 -0700")

Ben Greear <greearb@candelatech.com> writes:

>> Does ath driver notify mac80211 about firmware restart, ie. through
>> ieee80211_restart_hw(). If only user-space could get that info.
>
> We should soon have a udev event on firmware crash

Who should send the event, the driver or mac80211? I'm not very familiar
with udev stuff, what kind of rules there are for udev events?

> A simple restart (w/out crash) might not be so interesting?

Yeah, we should not report that. ath10k stops the firmware on interface
down and starts it again on interface up which is business as usual.

> Might be nice to have a fw restart and fw crash counter in ethtool
> stats in case something wants to poll that instead of dealing with
> uevents. I will add those counters.

Yeah, those would be great to have.

-- 
Kalle Valo

  reply	other threads:[~2014-08-09  6:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 21:57 Reporting firmware stats to ethtool Ben Greear
2014-08-08  9:06 ` Kalle Valo
2014-08-08 15:42   ` Ben Greear
2014-08-08 15:55     ` Dave Taht
2014-08-08 16:11       ` Ben Greear
2014-08-08 16:45         ` Arend van Spriel
2014-08-08 17:24           ` Ben Greear
2014-08-09  6:32             ` Kalle Valo [this message]
2014-08-09  6:30           ` Kalle Valo
2014-08-09  7:30             ` Arend van Spriel
2014-08-09 15:56               ` Kalle Valo
2014-08-09  6:27     ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r40quq93.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=arend@broadcom.com \
    --cc=ath10k@lists.infradead.org \
    --cc=dave.taht@gmail.com \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).