Reporting firmware stats to ethtool

Kalle Valo kvalo at qca.qualcomm.com
Sat Aug 9 08:56:55 PDT 2014


Arend van Spriel <arend at broadcom.com> writes:

>>> Does ath driver notify mac80211 about firmware restart, ie. through
>>> ieee80211_restart_hw().
>>
>> ath10k does use ieee80211_restart_hw().
>>
>>> If only user-space could get that info.
>>
>> Yeah, that would be nice to have for ath10k firmware crash dump
>> functionality. And doesn't Android also need something similar?
>
> Probably. bcmdhd seems to send a "firmware hang" event up to wpa_supp,
> which probably ends up in the android wifi framework through the
> control interface. Currently, this is a driver private event handled
> by wpa_supplicant_lib, but it seems trivial to me to add a nl80211
> event to trigger that.
>
> I am not sure what infrastructure your "ath10k firmware crash dump" is
> going to use.

Currently we are planning to just provide a debugfs file to retrieve the
latest dump.

> I have seen similar thing from Marvell recently [1] which relies on
> udev and ethtool to do the work. I guess aligning the solutions is why
> this topic is listed for the wireless breakout session at kernel
> summit in Chicago.

Yeah, we did talk about that a bit in the mailing list few months back.

-- 
Kalle Valo



More information about the ath10k mailing list