Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7716364ybc; Thu, 28 Nov 2019 23:46:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwK1LVwDVms5fowePu8vPij5lDwVxO5NS6+2alhxaKRZtwI+opTnvzOEiJgRf1n1wWfw4/f X-Received: by 2002:a50:e68c:: with SMTP id z12mr44663340edm.53.1575013564043; Thu, 28 Nov 2019 23:46:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575013564; cv=none; d=google.com; s=arc-20160816; b=Yngo+DxnFt/fd10xDXZa7waaSMpAIiVkP7+PcAe1Y3RY6UOaeFHxQt9S2exh0z86Xk I7YHHyf23gokk4fXXwi/g1lx1y76vS67H3nEvxDCi8YMIZO1gYQTEsfoEz1n64mikwNR Q0YXKwmcHYoUP2SWXxZR0C8JtvNBUed0L6bdKhN8AKSxpj5oaOReIKQ9RgaUkA8A9qsA HS3mHeFn1uo7g0ivVRD+Tyq4W3a/q57LI1J9HinKCORmVhr9d4Zwe9WW4Cwi+hGAQanS i3+SLjKGSwKoQRPo+jjDuGTL1l4ISLFTVNpXN4ZN3O8j62Qd6e6mrfj/6ekyPKDJjMYH PGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:date:message-id:user-agent:cc :to:references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=mGUt8zcuOBNMNVIxAJGAqKvpWz93kOYGQqEUuscw4WE=; b=yc7KB4gpavxKdxV9579685t3ZGYJoIiVGdRo1mUUEfOFlB8rVuEyn/DadRIkjFH728 MyEqq681EBl5r/Khvc/vCxtpwsjH0vgAVf/WfPcEtuzBb+VEwE9dCMooHtjNRroD7X46 e6GImd6XQdOXqhLkgwyUezYbU4HXjxVnF7CZr6yBKeoDJd9wfgl4vCS9gvqSyALPb6VN jx8JQkhRvvyLJ3Eag2/+SU3sZNYK3DTcWaim1Bm+dG+nQqf40jEIX8nm6udo1G350IsR wzrmO4uPYGtpLOwdNRQ4s2rYEYefSjoFjCHkF6aIYbOI0O0tvYy5sBH/1+/QWo4a1hCG 4cjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=bWt2chu9; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=FwbdqY6y; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q28si16762278edb.334.2019.11.28.23.45.38; Thu, 28 Nov 2019 23:46:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=bWt2chu9; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=FwbdqY6y; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726770AbfK2Hnn (ORCPT + 99 others); Fri, 29 Nov 2019 02:43:43 -0500 Received: from a27-55.smtp-out.us-west-2.amazonses.com ([54.240.27.55]:38814 "EHLO a27-55.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbfK2Hnn (ORCPT ); Fri, 29 Nov 2019 02:43:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575013422; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date; bh=Gl2HS0wMAc+GGWoRiF/CrG8/d3aqFmKjJTUTFg3bnxI=; b=bWt2chu9AYQIqm3fNQnyv6DCmBeferJrL/pLe/45NEWBCYJArZulgDw9w1SM3A1D xdCHj0gFj/1Yn5lD7VYigtnfv2GEbrkRHjyiMHbG6rbFS9Id2rBVd6DLkxaQa8y4evJ 8DwlfZ33a2l5uhKyyl3Y7AeQLn6zC4Ca2NR6pBDg= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575013422; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date:Feedback-ID; bh=Gl2HS0wMAc+GGWoRiF/CrG8/d3aqFmKjJTUTFg3bnxI=; b=FwbdqY6yTbHJ404vUYvFl9AinNCIOOh2LdCvL6TAHZ/6YiOBvjLZUAvrA9I/iDfO akEbMhL6xUXIzxMH556NtuwJqJJrd9+ghI+XwlVmzNkA71HIHmrC4i8Bz+SZ69JhmSo KuNNly1PZ0VGcOpPzzfJz4mhrul8aVZ1/I4a86uY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 144D4C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath10k: set WMI_PEER_AUTHORIZE after a firmware crash From: Kalle Valo In-Reply-To: <0101016eaadee57a-54500c6d-4751-423f-8bab-5acd8fad2175-000000@us-west-2.amazonses.com> References: <0101016eaadee57a-54500c6d-4751-423f-8bab-5acd8fad2175-000000@us-west-2.amazonses.com> To: Wen Gong Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: <0101016eb61d9520-b0306a23-c9b9-4b57-b708-9f80ac47eef1-000000@us-west-2.amazonses.com> Date: Fri, 29 Nov 2019 07:43:42 +0000 X-SES-Outgoing: 2019.11.29-54.240.27.55 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wen Gong wrote: > After the firmware crashes ath10k recovers via ieee80211_reconfig(), > which eventually leads to firmware configuration and including the > encryption keys. However, because there is no new auth/assoc and > 4-way-handshake, and firmware set the authorize flag after > 4-way-handshake, so the authorize flag in firmware is not set in > firmware without 4-way-handshake. This will lead to a failure of data > transmission after recovery done when using encrypted connections like > WPA-PSK. Set authorize flag after installing keys to firmware will fix > the issue. > > This was noticed by testing firmware crashing using simulate_fw_crash > debugfs file. > > Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00007-QCARMSWP-1. > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 382e51c139ef ath10k: set WMI_PEER_AUTHORIZE after a firmware crash -- https://patchwork.kernel.org/patch/11263357/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches