Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5846068rwb; Tue, 1 Aug 2023 08:39:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/35COBybZUsqu/jeM8jK0zPmtKeC7IGq1aYUrGzwuvz+0Ij3KrbxBBFMT4zVwY30IIj6J X-Received: by 2002:a17:90b:286:b0:268:ef84:b0cd with SMTP id az6-20020a17090b028600b00268ef84b0cdmr1290706pjb.18.1690904364594; Tue, 01 Aug 2023 08:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690904364; cv=none; d=google.com; s=arc-20160816; b=OSYuox7jMTEzgV+iS1KNNWCurIJSE/8D8M617+5Zls/FAZ3Ehk9H+KmKkL4LSFK0YL MS/w1Bf8jpoIqNmhYwSWJ6M6VgMZPZf9F/azlhFC7IJP2Gy87fbogQodkm24Ocv5iG7F /UGiDWCYUeWh7tGz5mU4UwB8sKnXcO59dSOmQhJBbgQhh7Ys3peTJlR+DPZng1lmdhsF Sxsk/A/8Ft9QISV91+Q2RXFbj0V7Rg4bPN8TQzpKysAS+rsNu28PN1NEUmbm2kC6xqQ+ L4euodj0+ngAYGfHVA/gJZHSgPrDcEZFzqlB9SY05nLgR0LZhOCaI3sgkPBk+3DPefn3 gE4Q== 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=ZUyduN5EDsMJ9Xdo8PUcHFhADt+Vhf7GGpfKzls+gSY=; fh=Y3FK380l9vlsergbJJ9QVtHYCdJIY9srX5X4jCPIOIA=; b=OHXB8ioKSfhB3PvumLrWBJZtnclPIfZJmeyAU0sXluRfGEqE87JVDBNk60663tgiND Q3TQXJtIF1k4/IGbYjM4l/6T9/mWffRe++tN1De9+veVYmfgJ/sh9x70yT/aib+BhohR 9JIrChYNf5wz+h+5G8Ww4W7NvgwnZ1xQ5U1sRKNlg9peO8NXeEIJJtkHTNJ4fnfGlJNS fwdVAsa2iXA/xNEu53ciqCL2YjmpIaTXLZmWssSt4NwVqC5uOSdMWIUXxNWB4u2Se/CV 30ZZ6+2INpyLY4WZwCfHIceOUwPmfByQX0veB/Ly8YE8936RcyHc4gfTwkS/cq/aIEtH ksbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EL55MSEg; 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 y18-20020a17090322d200b001bbd0450af8si9493865plg.187.2023.08.01.08.39.13; Tue, 01 Aug 2023 08:39: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=EL55MSEg; 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 S234180AbjHAOsR (ORCPT + 59 others); Tue, 1 Aug 2023 10:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233942AbjHAOsQ (ORCPT ); Tue, 1 Aug 2023 10:48:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53D591BD8 for ; Tue, 1 Aug 2023 07:48:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BE3AA615CE for ; Tue, 1 Aug 2023 14:48:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C26FC433C7; Tue, 1 Aug 2023 14:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690901294; bh=fqSudnG8uVplZnRg0fqqpGBUgEkcZ4TtXKUFvofGWX8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=EL55MSEgAA+Ad5vUByTXstWqlwF2Pdf7QFsFCtQHxMYTPvt1kFfLot8zsm8rnDq5j PzzlWURtVlQij8X3a8iA/Eii+e7w8TO2HIbanaiQF3RIHaHRIuy3tAW6y4fEibrGcw rrNW7j8TNe1RtmByiUUJ76PVQ7ypE3WehhwK0WxPtmH2Wcu07b2KOA1YNe1V+XAU+y cNHahgaFLDODqfkF3qCTrXdYYYKT9wH2qxl+5rf6BJ2u6gRHFr58D5EGaaE+4Quafx NKF0uuRUGQjhxzsHx5MOWuwoJzpP2u9ok/gJevUkSHrUyr9n4Lcg10lxJywqG2TlUY 7iAhZTxJ9p93w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v3] wifi: wilc1000: add SPI commands retry mechanism From: Kalle Valo In-Reply-To: <20230724163955.4583-1-amisha.patel@microchip.com> References: <20230724163955.4583-1-amisha.patel@microchip.com> To: Cc: , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169090129129.212423.6378280547713616733.kvalo@kernel.org> Date: Tue, 1 Aug 2023 14:48:12 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 wrote: > From: Amisha Patel > > In some situations like, chip wake-up with powersave enabled, SPI > commands are failing temporarily. Reissuing commands after reset helps > to overcome the failure. So, add the retry limit and reset command > sequence API for read/write SPI commands. > > Signed-off-by: Amisha Patel Patch applied to wireless-next.git, thanks. 6fd879f9783b wifi: wilc1000: add SPI commands retry mechanism -- https://patchwork.kernel.org/project/linux-wireless/patch/20230724163955.4583-1-amisha.patel@microchip.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches