Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CFC4C433EF for ; Mon, 15 Nov 2021 09:22:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A7CD61ACE for ; Mon, 15 Nov 2021 09:22:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236481AbhKOJZb (ORCPT ); Mon, 15 Nov 2021 04:25:31 -0500 Received: from so254-9.mailgun.net ([198.61.254.9]:23415 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbhKOJYW (ORCPT ); Mon, 15 Nov 2021 04:24:22 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1636968087; h=Date: Message-ID: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=Gb9bE5w+cQk9K3VO+iQk16zoogSAWw3UVmkHgcsztzs=; b=tXyWp2FkWT8oGqEyjhCNoRiZleQyiiCFAJxk8FuT6FxFVdZGu4vKIhRpigW1IocrnJIk/uuI vst8sUp7DJfw0E95DaLb7YI6ZFh+j5E+EMtqhesr9grv3pHr1u4jSqM1FaTnqU+y100lDJSA bBQ72jHpsEdiaJmanaU5bqYdRVw= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 61922696bb7027b8e18ae154 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 15 Nov 2021 09:21:26 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DA8A0C4338F; Mon, 15 Nov 2021 09:21:25 +0000 (UTC) Received: from tykki.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 574A0C43617; Mon, 15 Nov 2021 09:21:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 574A0C43617 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=fail smtp.mailfrom=codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: fix target assert during channel switch From: Kalle Valo In-Reply-To: <1636644002-25446-1-git-send-email-quic_vnaralas@quicinc.com> References: <1636644002-25446-1-git-send-email-quic_vnaralas@quicinc.com> To: Venkateswara Naralasetty Cc: , , Venkateswara Naralasetty User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <163696808169.13305.15799037542791194582.kvalo@codeaurora.org> Date: Mon, 15 Nov 2021 09:21:25 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Venkateswara Naralasetty wrote: > Currently the updated bandwidth for the peer will be configured > to the firmware after channel switch from the sta_rc_update_wk. > If the updated bandwidth is greater than the configured peer phymode > during the peer assoc may result firmware assert. > > For example, initially AP is in HE40 mode and the peer phymode is > configured as MODE_11AX_HE40 during peer assoc. Now user change the > channel width to HE80 then, the peer bandwidth will be updated as > HE80 to the firmware. > > This will trigger firmware assert due to peer bandwidth is greater than > the peer phymode. > > Fix this issue by sending peer assoc command before setting the updated > peer bandwith to firmware. > > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Venkateswara Naralasetty > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. f187fe8e3bc6 ath11k: fix firmware crash during channel switch -- https://patchwork.kernel.org/project/linux-wireless/patch/1636644002-25446-1-git-send-email-quic_vnaralas@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches