Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2400080rwi; Fri, 28 Oct 2022 06:43:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7U1EqXc0Jc+S9tcGHuojrQfRDiuqPBIARTGpF1oIiqS3kZ0XzgBcv04fJaAGsDQsRKG59j X-Received: by 2002:a50:ed82:0:b0:461:ab45:df1a with SMTP id h2-20020a50ed82000000b00461ab45df1amr26888191edr.295.1666964604624; Fri, 28 Oct 2022 06:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666964604; cv=none; d=google.com; s=arc-20160816; b=ZJxs1CWMTfSFo+A0Y/ye/It8SeZ075zw0ozxwx9v7J//riu2QiIibjvL1zDpLgV64g 0do/LpEqLLqN1NY4A5JJFkq6Ywon5XXS3xTcMAO2+yjPlj4jokFyQ6sski3PxoH1L7wl Ac3p+n1nDntezHDUyVOoDEgt5d2YuDYgAXbI1fiV+nx3ZpsuHse5DnbRfQ4No98ztfLH 5dhlPQDdeLIWbYCxU3aFAA84hQq/KcqaDk03e0YLqzMZBzp1sfs3xcoNx8Wt+2zUqxFb eSzIb+UEpepJ3ndBiJZ/jZVKVJWCDHFfvxtaFCw3+GZPPxFbPyAp2DVf/NY773S7fGTi 8M1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=JnNlFHM+78krfiUi9IvxtqZNR8uZ9HBas3bq2ddbGxc=; b=UwIYo6ZxqmvTemaVDqmqFOTdqQivuvPNBRKXl3jHGsa+m4zsuoNQJiQ5+rICWZQ8cl 8EeKMewm0Mo4Lp9JY+cJ3TsQWDUcqH/5zrLUj1zTr1YtyXfMuBUn0aIYlBmgf15z5hxc grxhchQxlXrXjTy6AAtPb7dOgkIXSPZoxn05lBJi44Jo5gKxDI2MsmlLmU31SME9bmzQ Ym6igx8rKTjzwL2qjZDla81JoARp1E5u0AdO5+qBycNLeh151s9FAUeoCB2yijV/7Dj/ R+NP+AU1OVLo6LTgIAbmPz+EQY9N4AVvtxfPvM1krxpxJuxFElZiWFHb3+p8HEGv98/t xP1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I3h20+uy; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rp24-20020a170906d97800b007815ca78c38si3792824ejb.235.2022.10.28.06.43.08; Fri, 28 Oct 2022 06:43:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I3h20+uy; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbiJ1NmG (ORCPT + 65 others); Fri, 28 Oct 2022 09:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbiJ1Nlw (ORCPT ); Fri, 28 Oct 2022 09:41:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5624D167F65 for ; Fri, 28 Oct 2022 06:40:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 089B3B829B9 for ; Fri, 28 Oct 2022 13:40:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4F58C43143; Fri, 28 Oct 2022 13:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666964453; bh=80M5z3G6EudmtnIBuKj1K24+NxFXRZMki+pjSgoRv1A=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=I3h20+uyo/1OiHMzZQrWkxkcpzZAk4IzL9JudkSP8GNXSKGql74hytO3Y4EzB1eQg T5jEnt5UISJYBZOsmi/8ZvOeUXi77bmyDqePe9CL1azCKoK4sUBnfaPv92xmTpky9g A3xCnCZUA9q1QWBjSPFN+wlisycY0cimSNIyLnQuqXvAJQBX0/5INDdaQe9a0N3eX3 zEsbOIwqv6SbEKRpoXhCfz4Pg1QTID0lDxb+bq9FBv12QOivk3WE0V/0G30TE8N5MZ soJ5T1mfp3FHR8SN21NkU0Lvs4qZjhsuOtjaq54RFB7w+SD/bfQDEfsej0p4W2BzM4 V/mbnDTqNwOtA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: ath11k: fix monitor vdev creation with firmware recovery From: Kalle Valo In-Reply-To: <20221014155054.11471-1-quic_nmaran@quicinc.com> References: <20221014155054.11471-1-quic_nmaran@quicinc.com> To: Nagarajan Maran Cc: , , Nagarajan Maran User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166696444811.2585.6793212023358512651.kvalo@kernel.org> Date: Fri, 28 Oct 2022 13:40:52 +0000 (UTC) X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Nagarajan Maran wrote: > During firmware recovery, the monitor interface is not > getting created in the driver and firmware since > the respective flags are not updated properly. > > So after firmware recovery is successful, when monitor > interface is brought down manually, firmware assertion > is observed, since we are trying to bring down the > interface which is not yet created in the firmware. > > Fix this by updating the monitor flags properly per > phy#, during firmware recovery. > > Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Nagarajan Maran > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. f3ca72b03271 wifi: ath11k: fix monitor vdev creation with firmware recovery -- https://patchwork.kernel.org/project/linux-wireless/patch/20221014155054.11471-1-quic_nmaran@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches