From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ot0-f193.google.com ([74.125.82.193]:34844 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755266AbdCGOjz (ORCPT ); Tue, 7 Mar 2017 09:39:55 -0500 Received: by mail-ot0-f193.google.com with SMTP id a12so431616ota.2 for ; Tue, 07 Mar 2017 06:38:24 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <87h9356wlf.fsf@purkki.adurom.net> References: <20170224172423.10980-1-zajec5@gmail.com> <87h9356wlf.fsf@purkki.adurom.net> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Tue, 7 Mar 2017 15:38:23 +0100 Message-ID: (sfid-20170307_153959_742809_FE08EDD3) Subject: Re: [PATCH RFC] brcmfmac: shutdown interfaces on PSM's watchdog fire To: Kalle Valo Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Pieter-Paul Giesberts , Franky Lin , "linux-wireless@vger.kernel.org" , "open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER" , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 7 March 2017 at 14:32, Kalle Valo wrote: > Rafa=C5=82 Mi=C5=82ecki writes: > >> From: Rafa=C5=82 Mi=C5=82ecki >> >> 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 >> --- >> 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-DISABLE= D >> >> 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) I guess I should have put linux-wireless in To. Normally I put you, but since it's RFC, I left it empty and it went like this. Anyway I believe it still reached linux-wireless. So any comments on this? = :) --=20 Rafa=C5=82