From patchwork Sat Nov 3 09:59:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 10666589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E339D14BD for ; Sat, 3 Nov 2018 10:07:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF9B9289C4 for ; Sat, 3 Nov 2018 10:07:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0D4428F23; Sat, 3 Nov 2018 10:07:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A535289C4 for ; Sat, 3 Nov 2018 10:07:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727879AbeKCTSc (ORCPT ); Sat, 3 Nov 2018 15:18:32 -0400 Received: from plaes.org ([188.166.43.21]:34696 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbeKCTSc (ORCPT ); Sat, 3 Nov 2018 15:18:32 -0400 Received: from localhost (85.253.196.132.cable.starman.ee [85.253.196.132]) by plaes.org (Postfix) with ESMTPSA id 62E73402D5; Sat, 3 Nov 2018 09:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1541239187; bh=076cGR5Hl0t3DPOTg/ElnSYqRxYmx0svDdzT5q9SkbY=; h=From:To:Cc:Subject:Date:From; b=dBR2H6IG6dHswntQGETkcNNXPLgltrcJfceHUixerDJbneuE5kILz2cTT6fpJdzbz U3zYHJoHqkRA5A1xOFfln7XB7qdIWKCFArXjiAMaxFTjifeYWyEe4OH219tpUwvXe2 ZUHmuhzgDXEoIBOPTNeIt8aNK4ulzvKbL7xvGP7hFbBPv2YyfMDv4QuoxKY37H1Um2 76sR7WHvZztKjK5DtqLxBgOhqgj9sDaNNifTrhL4IlXVAm0B3wIisGJIb9y8KMbacm VlFNQVvp4rT976t6CNpMwuHOy/xlfwWudsEgU+0AArr/PCFaRgcqO47YqVa0s1C4YH n6C4RVOgjMXAg== From: Priit Laes To: linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com Subject: [PATCH 0/5] Use common cordic algorithm for b43 Date: Sat, 3 Nov 2018 11:59:39 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP b43 wireless driver included internal implementation of cordic algorithm which has now been removed in favor of library implementation. During the process, brcmfmac was driver was also cleaned. Please note that this series is only compile-tested, as I do not have access to the hardware. Priit Laes (5): lib: cordic: Move cordic macros and defines to header file brcmfmac: Use common CORDIC_FLOAT macro from lib brcmfmac: Drop unused cordic defines and macros b43: Use common cordic algorithm from kernel lib b43: Drop internal cordic algorithm implementation drivers/net/wireless/broadcom/b43/Kconfig | 1 +- drivers/net/wireless/broadcom/b43/phy_common.c | 47 +------- drivers/net/wireless/broadcom/b43/phy_common.h | 9 +- drivers/net/wireless/broadcom/b43/phy_lp.c | 13 +- drivers/net/wireless/broadcom/b43/phy_n.c | 13 +- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h | 7 +- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 4 +- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 4 +- include/linux/cordic.h | 9 +- lib/cordic.c | 23 +--- 10 files changed, 35 insertions(+), 95 deletions(-) base-commit: 5f21585384a4a69b8bfdd2cae7e3648ae805f57d