From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail26.static.mailgun.info ([104.130.122.26]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jPLFP-0001v3-Kx for ath10k@lists.infradead.org; Fri, 17 Apr 2020 07:17:15 +0000 From: Kalle Valo Subject: Re: [PATCH] ath10k: improve power save performance for sdio References: <0101016ed9241282-73dd8b35-e2e5-4f37-9b50-cf2fb6524dfc-000000@us-west-2.amazonses.com> <877dyfr4fb.fsf@kamboji.qca.qualcomm.com> Date: Fri, 17 Apr 2020 10:17:00 +0300 In-Reply-To: (Wen Gong's message of "Fri, 17 Apr 2020 12:32:09 +0800") Message-ID: <87y2quponn.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Wen Gong Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Wen Gong writes: > On 2020-04-16 20:38, Kalle Valo wrote: >> Wen Gong writes: >> > >> >>> +static inline int ath10k_hif_set_mbox_sleep(struct ath10k *ar, >>> bool enable_sleep) >>> +{ >>> + if (ar->hif.ops->set_mbox_sleep) >>> + return ar->hif.ops->set_mbox_sleep(ar, enable_sleep); >>> + return 0; >>> +} >> >> I don't think we need to add another hif op for this. I sent v2 which >> uses existing op. > > Yes, I see it. but I see it removed ath10k_hif_set_mbox_sleep in >ath10k_core_start, expected it will not effect the patch's power save. So the idea is that the same functionality is still there as with your version, the callpath is just a bit different: ath10k_core_start() -> ath10k_hif_start_post() -> ath10k_sdio_hif_start_post() -> ath10k_sdio_set_mbox_sleep() But please do double check that I didn't miss anything. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k