From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XG0DV-0001Rf-Uf for ath10k@lists.infradead.org; Sat, 09 Aug 2014 06:33:26 +0000 From: Kalle Valo Subject: Re: Reporting firmware stats to ethtool References: <53E3F65D.8080102@candelatech.com> <87wqajz6yg.fsf@kamboji.qca.qualcomm.com> <53E4EFCB.5090501@candelatech.com> <53E4F6B8.50009@candelatech.com> <53E4FEA9.80803@broadcom.com> <53E507EB.7030703@candelatech.com> Date: Sat, 9 Aug 2014 09:32:56 +0300 In-Reply-To: <53E507EB.7030703@candelatech.com> (Ben Greear's message of "Fri, 8 Aug 2014 10:24:59 -0700") Message-ID: <87r40quq93.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Ben Greear Cc: Arend van Spriel , "linux-wireless@vger.kernel.org" , Dave Taht , ath10k Ben Greear 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 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k