Thread (3 messages) flat view 3 messages, 2 authors, 2017-03-07

Re: [PATCH RFC] brcmfmac: shutdown interfaces on PSM's watchdog fire

From: Kalle Valo <hidden>
Date: 2017-03-07 13:32:57

Rafa=C5=82 Mi=C5=82ecki [off-list ref] writes:
From: Rafa=C5=82 Mi=C5=82ecki <rafal@milecki.pl>

When PSM's watchdog fires hardware / firmware is not operational. It
seems there isn't a way to restart firmware & reapply all settings so
instead shut all interfaces down. This is at least some signal for the
user things went wrong and allows reacting to it.

Signed-off-by: Rafa=C5=82 Mi=C5=82ecki <rafal@milecki.pl>
---
This patch is RFC as I'm wondering if there is any other way to handle
such errors. I couldn't find anything except for that
cfg80211_shutdown_all_interfaces.

Unfortunately hostapd doesn't seem to react to this except for sth like:
Fri Feb 24 13:41:07 2017 daemon.notice hostapd: wlan0: INTERFACE-DISABLED

Shall we introduce some nl80211 even for such cases maybe?

Or maybe I'm totally wrong and there is some simple way for a driver to
request reconfiguration of all interfaces?
Did you notice this on your email:

To:     unlisted-recipients:; (no To-header on input)

--=20
Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help