From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from m43-7.mailgun.net ([69.72.43.7]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiYnY-0005Ff-OV for ath11k@lists.infradead.org; Tue, 09 Jun 2020 07:35:57 +0000 MIME-Version: 1.0 Date: Tue, 09 Jun 2020 13:05:43 +0530 From: Karthikeyan periyasamy 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: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.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 _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k