Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1115071imu; Mon, 5 Nov 2018 14:12:06 -0800 (PST) X-Google-Smtp-Source: AJdET5cakIYWrkmGr4CpiEye3x82qEQMxqcXIxT1UX7M4UWiPJKZT19rNv2H3n105s980L1yT2Vx X-Received: by 2002:a17:902:380c:: with SMTP id l12-v6mr23856417plc.37.1541455926353; Mon, 05 Nov 2018 14:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541455926; cv=none; d=google.com; s=arc-20160816; b=i7llAJuV9tLA6CfNg1cjy76yICwFHH197czKWy+8wMkWV4sPGklIrOJIDneAz9n1bF kNVWf2abBfCAZ2IEr/sMv8S8Vm0KVCqcVhQ5l2FbegHg/DY9WTb1F+m/84k8XYqfMkfM J5w7/wKxAm7uXGciIHIaYEKsMXEndtlnuypy9jbB2SRVOVqwmCH2PQgzZZKveW6EzIHV kexpOxbeovg3dpAnLvTPTdDDO/8kqw29a/OMelAvCIft/jDl+b5I6FCy6UJw2AVq2Q7/ BYKeGJNZoFpzxsg8PgOck18MMKWdgehnYRsnW47UoxM8IE09NjrE51QVk7CwGQfwGvJ0 oEkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=PVkQJ7bRZnyVIMQEUBvriExwRvWhaBGDBiRP1kIbRWU=; b=h/dwdGyfFQ69GLBmb0narGeeRfZCFcH1I8XHdkvZ3Foqlu7cyxhd/FhFB12/lhjgiW ZXVDA+/qEkKZDfvd1k5MDJfbgPQykJ+z3yWHmF3wUK0i2/XYVKiVtC/E4c0l0wWpvWzp 8eZvnGnoV25JhXJi+NcwiVDgLaeKaewOsJfumMi7aDhVoLiS9rc/ahizmRgbnrWjIOul H5kdoc3sbvc5tx02LSjeHtuDQixCx4jMKaWYSBXznsIbySbxTXetPen2MoAer4hHZL8g v0X4JwyvTpkkZZCjoUyRWqlbeDb0bm+8VPExXOZsI8AJ2kBJVla1QDtDUB/4wkZOHEhr a58Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=fSnZwkKN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si48120857pfm.51.2018.11.05.14.11.50; Mon, 05 Nov 2018 14:12:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=fSnZwkKN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388186AbeKFHdP (ORCPT + 99 others); Tue, 6 Nov 2018 02:33:15 -0500 Received: from mail-yw1-f66.google.com ([209.85.161.66]:40539 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388169AbeKFHdO (ORCPT ); Tue, 6 Nov 2018 02:33:14 -0500 Received: by mail-yw1-f66.google.com with SMTP id l66-v6so3939323ywl.7 for ; Mon, 05 Nov 2018 14:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=PVkQJ7bRZnyVIMQEUBvriExwRvWhaBGDBiRP1kIbRWU=; b=fSnZwkKNFo5dWDeg60b9aQFuAIeVSnErnxzpikk2EdhuaOHWAlMExlIY/4opcwmXr7 0Ae2MlAXJGsnM5Q64yDcR+JoaZPAIJeUhclgPApHPgHdg/Eogc6r4Wq16UbhaIAJ2/ks /n60S2rG8r5IMgEjfOnTOC5+HEIngTZNRQGxQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=PVkQJ7bRZnyVIMQEUBvriExwRvWhaBGDBiRP1kIbRWU=; b=UGJ/sQedwnZeXi5bcMbbonU2IOy/g3gMzs9z2b2LpTINt/8pwQrXrx5cMjwPpoMeeu ODwgaOGrbJeWP5zMwxaD7mrDJIZpmhzaZLveydwKeWXemwRilpkErHZOkWfn5GnP/gHz jfGntfJ2q54p0vrmJLOI+kihHN4e2IEoZ55XKmCaroelcZXqWTJ4880f3XW1ncnQRHsx LfvQpwr/LfpE5hsTsb0ihDaipGI40qkRtl8zwFA3k6cADaP8NL1Q+u2gWNGvZyKfsT/7 00zKJtpCOFQZQbn2JKGYL8AnBWM4hVIdqV290r0NIPuABZs/dTg9FzXo4Y0TpJSV+wW5 qBHw== X-Gm-Message-State: AGRZ1gKLjPQV+pSa9GeB8uaTVanMQBiYAL0rnoOBX+6W8J1VQwRJVrtZ RtanXUS75EbXQBfLjt5EI8vl8g== X-Received: by 2002:a81:3b55:: with SMTP id i82-v6mr6527426ywa.397.1541455882433; Mon, 05 Nov 2018 14:11:22 -0800 (PST) Received: from [10.177.251.60] ([192.19.248.250]) by smtp.gmail.com with ESMTPSA id u134-v6sm6479480ywf.86.2018.11.05.14.11.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 14:11:21 -0800 (PST) Subject: Re: [PATCH v2 3/3] b43: Use cordic algorithm from kernel library To: =?UTF-8?Q?Michael_B=c3=bcsch?= , Priit Laes References: <77709642dacd9d855618bd9c2f3a56a88e881eaa.1541446422.git-series.plaes@plaes.org> <20181105223909.61860cdd@wiggum> Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, "David S. Miller" , Kalle Valo , b43-dev@lists.infradead.org From: Arend van Spriel Message-ID: <1b536f41-6bda-712b-cd57-0034f924992a@broadcom.com> Date: Mon, 5 Nov 2018 23:11:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181105223909.61860cdd@wiggum> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/5/2018 10:39 PM, Michael B?sch wrote: > On Mon, 5 Nov 2018 21:37:18 +0200 > Priit Laes wrote: > >> Kernel library has a common cordic algorithm which is identical >> to internally implementatd one, so use it and drop the duplicate >> implementation. >> >> Signed-off-by: Priit Laes > > > This looks nice. > But what is the testing status of this? > Has this been tested on actual b43-LP hardware? > > Is the replacement algorithm exactly the same, or are there slight > differences (e.g. in corner cases)? Hi Michael, I recall doing a comparison between the algorithms and thought I put that in the original commit message. However, it is not there. It is not exactly the same as in b43 so there are difference for certain angles, most results are the same however. This implementation is slightly more accurate on the full scale.