Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1637928pxu; Thu, 17 Dec 2020 15:06:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGi7XEG1Ebl5gM3sRaNOwI8LrI0Ndo3p2f/Rp7kWHrcr/JOirfaz25EvFA96CMYQJYx+M5 X-Received: by 2002:a50:9ee6:: with SMTP id a93mr1766295edf.174.1608246417758; Thu, 17 Dec 2020 15:06:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608246417; cv=none; d=google.com; s=arc-20160816; b=xAjCQB561qdYlfhlR2UF16eMe8x6L6UbJTmFq4mpkuTrKjHAJPhJEo6Pp33QemBJuG wAjnz0/SoWpf/GphU9I4V7M1IXH7siBKGYSmWlbY9bR9uCXp4TMeU68CK1KX+9ul9fY/ Ar3xZRcXcUz4Oayhyh+MEd0vfXZtSC7+te0OtQiX+nKjIw3twy7LYCklMKIEmnFWD5Ze gHGX5Jf2DxRxaZFqeN52fWfLR5e5figBsqDO7zK62fx/U/EE2OsTmWlzE/MVhKS7Rafw 5teZd2Lm8G6do6fEYS9jinV8fMSdQ3ETtNAeu11eEK0fHs5DEIKuTKmCoTJqyXdWBjMf A+YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature:dkim-filter; bh=Uyg5he4FJHI6L89KjzVwSRXUZpXcuYXLY9a+d1zObWY=; b=M2zAWuw4rV2K0G3aOPVYDGDegOk8+HJ5GzqmACNeYfSAU0IOItwzg4qwLTF3rd9pSr FLOKAL5La45hrW3kpeHqoGvT5yY1KTajkdws9DiaQ6G3u+yifOBhvrbGchNCV1Jo3c4a KhuN++ZddoJ5kntJn9Dlk7Zvjwfdqb70fZah2E/KFNOcOBDDVnfidaEYjYrdYg5ZARoY YsONrn7ffb1EmZZqmDJJtiZ3cNf99tNWs5FUsp0gihbngFKaNhx5vKuCYqF0Kao6dFXr 0FqKvVL8apLaN6F1atrnDA/Mrb8Cn6/SWs6vSgVdUiY0+t3yoRQ+m+K9VJ8MUBFeQs3R f8gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b="cS/WEcr8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si6627145edl.539.2020.12.17.15.06.34; Thu, 17 Dec 2020 15:06:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b="cS/WEcr8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732140AbgLQW6G (ORCPT + 99 others); Thu, 17 Dec 2020 17:58:06 -0500 Received: from mail2.candelatech.com ([208.74.158.173]:41422 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730768AbgLQW6G (ORCPT ); Thu, 17 Dec 2020 17:58:06 -0500 Received: from [192.168.254.6] (unknown [50.46.158.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id AE28313C2B0; Thu, 17 Dec 2020 14:57:24 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com AE28313C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1608245845; bh=wKglh9KlDBoYb5sTHp2Zpmla8eV1kaQDIWTUPzEfRyo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cS/WEcr87wlLHpBF0id46WWTxCo51XmGYj77Tvo56pnMTrdwLdNB1MtH4HaHyOAjN k+8SxCI7rDeTEcSIPDsVOXRHUWtq7yCy9xsWK0ZvwduUSkfRkXuifou+H8Ku+zn8yO vDCDCIgoHcJwGiTSQV/1oN9T5wv6BwL5dbn9uSl4= Subject: Re: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery To: Brian Norris Cc: Youghandhar Chintala , johannes@sipsolutions.net, ath10k@lists.infradead.org, kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuabhs@chromium.org, dianders@chromium.org, pillair@codeaurora.org References: <20201215172113.5038-1-youghand@codeaurora.org> <18dfa52b-5edd-f737-49c9-f532c1c10ba2@candelatech.com> From: Ben Greear Organization: Candela Technologies Message-ID: <6cec8a4c-620f-093d-2739-7eafe89cd79a@candelatech.com> Date: Thu, 17 Dec 2020 14:57:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/17/20 2:24 PM, Brian Norris wrote: > On Tue, Dec 15, 2020 at 10:23:33AM -0800, Ben Greear wrote: >> On 12/15/20 9:21 AM, Youghandhar Chintala wrote: >>> From: Rakesh Pillai >>> >>> Currently in case of target hardware restart ,we just reconfig and >>> re-enable the security keys and enable the network queues to start >>> data traffic back from where it was interrupted. >> >> Are there any known mac80211 radios/drivers that *can* support seamless restarts? >> >> If not, then just could always enable this feature in mac80211? > > I'm quite sure that iwlwifi intentionally supports a seamless restart. > From my experience with dealing with user reports, I don't recall any > issues where restart didn't function as expected, unless there was some > deeper underlying failure (e.g., hardware/power failure; driver bugs / > lockups). > > I don't have very good stats for ath10k/QCA6174, but it survives > our testing OK and I again don't recall any user-reported complaints in > this area. I'd say this is a weaker example though, as I don't have as > clear of data. (By contrast, ath10k/WCN399x, which Rakesh, et al, are > patching here, does not pass our tests at all, and clearly fails to > recover from "seamless" restarts, as noted in patch 3.) > > I'd also note that we don't operate in AP mode -- only STA -- and IIRC > Ben, you've complained about AP mode in the past. I complain about all sorts of things, but I'm usually running station mode :) Do you actually see iwlwifi stations stay associated through firmware crashes? Anyway, happy to hear some have seamless recovery, and in that case, I have no objections to the patch. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com