Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp304157ybg; Tue, 9 Jun 2020 00:37:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8qXl7wx//I7dgRZwM1UlDs13RhRWyZRdSntqyHMpZELyQ02i1vLSjTArTBzScfFWvCCQ0 X-Received: by 2002:a05:6402:221b:: with SMTP id cq27mr24793445edb.302.1591688232645; Tue, 09 Jun 2020 00:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591688232; cv=none; d=google.com; s=arc-20160816; b=ufD/MFr+uOL/JE+5zPYfEtptLeUmOgoykiIZlgJjE9vgyfgU6wUx4kDO+I6IaTY8GV 3UoxE0XTHn299JrUjP9ZBC1ny1eCf74lMWms9zlemU2jzPe2NgCNKvnCkkTcwP0YHvvX 9UWP/sT88XwfTeVC22Y2k4LRE0868GVQYRmCZ2JoS4MdWjA+I92upeqdf2ScVEC4/xH5 bxQE/X3C2AkBoyWl5Ay2OZdpXWuDdwlMiqiLpogVQnVFWlp1CvAjY6nQ0/kKTINmA5sW cQxHGFiyooBMbo6+5Cg3v56NzZZ91cI3jnSuNHFhp4anBgaN42Zz00cV0j2fVvRibCra fjSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=2S8jjaIxaL+rFw6a6rIsjTP2YlHKLBy4tIQRKCGilzs=; b=R63HR/JfbmVantr/JZgL7g2sJpAT4OT001D/bv1+wVpMycpxUEHYS0OfyFiM0ZP/o9 foVhG18tNa5vtzbBI3m4CiSlaOtyAmSXT8IaCbZ4Gy4XAnYlOdKz2o3q8FYwN2gpAh/o NUJTYYrm4oNH9P066Qb5K88BStvsaK3vP+mAK5aULtmUhzLbzudiKeuFuzePv+b6Utoy s4zzyVcKb7z2MLTWrcLcgqFpsxpXPoT8gO+KLvRq8NzVFNYN7ecdze6hQTm3gEv3GpZJ U11qILOdNfRSSQJKfARqDtGBXxwVUgp81kIitLbScBgH/TsuT4yaNYtEz7aLvo3sQXT3 ONyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=o1cfWMRH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly15si10870665ejb.649.2020.06.09.00.36.49; Tue, 09 Jun 2020 00:37:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=o1cfWMRH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726428AbgFIHgF (ORCPT + 99 others); Tue, 9 Jun 2020 03:36:05 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:37231 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbgFIHgE (ORCPT ); Tue, 9 Jun 2020 03:36:04 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1591688164; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=2S8jjaIxaL+rFw6a6rIsjTP2YlHKLBy4tIQRKCGilzs=; b=o1cfWMRHNDcHRYMdpPIxIQt9xHU3XopYhfg9ZJMstjXWhdZ/fYoSpKmq7ADrSFGcJ1dlszcI v1VIDHaU4mOX6OcUYvQNckCzIRMlWuDvxiqEkn5DB9oXhhQmS+f4chZoMxLO8kRdvRGMGJNh DtoF+xy6c6oMMp7W6pqKxq8ITWs= X-Mailgun-Sending-Ip: 104.130.122.27 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-n06.prod.us-east-1.postgun.com with SMTP id 5edf3bd196950fa0ffd49856 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 09 Jun 2020 07:35:45 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0497DC433C6; Tue, 9 Jun 2020 07:35:45 +0000 (UTC) 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=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: periyasa) by smtp.codeaurora.org (Postfix) with ESMTPSA id E1379C433C6; Tue, 9 Jun 2020 07:35:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 09 Jun 2020 13:05:43 +0530 From: Karthikeyan periyasamy To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH 1/2] ath11k: Add direct buffer ring support In-Reply-To: <20200609063958.C3869C43391@smtp.codeaurora.org> References: <1591673945-25300-1-git-send-email-periyasa@codeaurora.org> <20200609063958.C3869C43391@smtp.codeaurora.org> Message-ID: X-Sender: periyasa@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >> Add direct buffer ring (dbring) with helper API, which is used by the >> spectral scan. Initialise the direct buffer ring based on the dma ring >> capability, which get announced in the wmi service ready extended >> event. >> This ring is slightly changed from data path rings. Compare to data >> path >> ring this ring shares the hp and tp address to firmware though WMI >> commands. >> Also the replenish buffer size is derived from firmware announcement. >> driver receive indication through WMI event >> WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID. >> >> Tested-on: IPQ8074 WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 >> >> Signed-off-by: Karthikeyan Periyasamy > > Fails to build: > > Error in reading or end of file. > drivers/net/wireless/ath/ath11k/dbring.c: In function > 'ath11k_dbring_buffer_release_event': > drivers/net/wireless/ath/ath11k/dbring.c:271:8: error: assignment to > 'struct ath11k_dbring *' from incompatible pointer type 'struct > ath11k_db_ring *' [-Werror=incompatible-pointer-types] > 271 | ring = ath11k_spectral_get_dbring(ar); > | ^ > cc1: some warnings being treated as errors > make[5]: *** [drivers/net/wireless/ath/ath11k/dbring.o] Error 1 > make[5]: *** Waiting for unfinished jobs.... > make[4]: *** [drivers/net/wireless/ath/ath11k] Error 2 > make[4]: *** Waiting for unfinished jobs.... > make[3]: *** [drivers/net/wireless/ath] Error 2 > make[2]: *** [drivers/net/wireless] Error 2 > make[1]: *** [drivers/net] Error 2 > make: *** [drivers] Error 2 > > 2 patches set to Changes Requested. > > 11594295 [1/2] ath11k: Add direct buffer ring support > 11594297 [2/2] ath11k: add support for spectral scan My bad, fixed this build error in the next version patch Thanks, Karthikeyan