From patchwork Tue Sep 4 14:40:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Gruszka X-Patchwork-Id: 10587403 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 95472174C for ; Tue, 4 Sep 2018 14:41:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8414929A07 for ; Tue, 4 Sep 2018 14:41:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7736029A0C; Tue, 4 Sep 2018 14:41:37 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2171429A07 for ; Tue, 4 Sep 2018 14:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=HTuU9RNXtbNHq6Uzi4Mza7WsUNQ/bLg6gS2kgUPb5tw=; b=l0a BYH87Tfmgs//IUd2cYkiRpxsK4VYORSpgfm/0kTz3U7ypAj5o6YBTwAsncf4eTFUwGzqaKsZ6cRc0 NrP4PeqksxgGKCObv4u8DUI6ThVaJY/9n/5BchRhLa8p7MVehN9RUkJ6DSgBNnvqLlgiFqQ5btAZc Gqtmat8aDHJyMspqDAG8fY1wf6BqzfrYgCj/0WVH8weorE7/s5yIIzqdZAAVnFkykJ5QJjFrOtIUm ROwpro3rsoZ/zdPc2sYOZABLATFIxl+4JCk2I0ZljBExOAudFWlpjjNCZYmPV3ch0MKk/mJ34WGY7 HUVYevgj1l0pVx1J/OGTZkwSaokmNIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxCWO-0004mi-9y for patchwork-linux-mediatek@patchwork.kernel.org; Tue, 04 Sep 2018 14:41:36 +0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxCWK-0004lS-4O for linux-mediatek@lists.infradead.org; Tue, 04 Sep 2018 14:41:34 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9D2B040216E6; Tue, 4 Sep 2018 14:41:20 +0000 (UTC) Received: from localhost (ovpn-204-92.brq.redhat.com [10.40.204.92]) by smtp.corp.redhat.com (Postfix) with ESMTP id E3DC410EE6D4; Tue, 4 Sep 2018 14:41:17 +0000 (UTC) From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Subject: [PATCH 00/22] mt76 patches 2018-09-04 Date: Tue, 4 Sep 2018 16:40:53 +0200 Message-Id: <1536072075-6990-1-git-send-email-sgruszka@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 04 Sep 2018 14:41:20 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 04 Sep 2018 14:41:20 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'sgruszka@redhat.com' RCPT:'' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180904_074132_348566_EB1BC39E X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Bianconi , linux-mediatek@lists.infradead.org, Felix Fietkau MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP More mt76x0/mt76x2 integration. This set is quite big but I would like to move patches upstream from my github tree as fast as possible. I have there 42 more ready to post patches from me and Lorenzo. https://github.com/sgruszka/wireless-drivers-next/commits/mt76x0-draft-v3 Note this set include: "mt76x0: fix wrong usage of wcid_mask in remove_interface" patch with I posted as fix for 4.19 . I assume this will be auto (or manually?) merged when -next will go to 4.20. Stanislaw Gruszka (22): mt76: move wcid fields to common mt76_dev struct mt76: unify sta_add / sta_remove mt76: pratially unify add_interface mt76x0: fix wrong usage of wcid_mask in remove_interface mt76: unify ampdu_action mt76: unify set_key mt76x0: remove empty sta_notify mt76: unify AC to hw queue mapping mt76: remove q->hw_idx mt76: unify conf_tx mt76x0: remove vif_mask mt76: unify remove_interface mt76: unify add_interface mt76: unify sta_rate_tbl_update and related helpers mt76: unify txwi and rxwi structures mt76: unify load_tx_status mt76: unify send_tx_status and related helpers mt76: use mt76_rx_status in mt76x0 mt76: unify mac_process_rate mt76x0: reserve enough space in mac80211 mt76: unify {insert/remove}_hdr_pad mt76: partially unify filling txwi fields drivers/net/wireless/mediatek/mt76/mac80211.c | 3 +- drivers/net/wireless/mediatek/mt76/mt76.h | 23 +- drivers/net/wireless/mediatek/mt76/mt76x0/Makefile | 2 +- drivers/net/wireless/mediatek/mt76/mt76x0/dma.c | 14 +- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 24 +- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c | 310 +---------------- drivers/net/wireless/mediatek/mt76/mt76x0/mac.h | 130 -------- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 215 +----------- drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 26 +- drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x0/trace.h | 12 +- drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | 144 +------- drivers/net/wireless/mediatek/mt76/mt76x0/util.c | 42 --- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 347 +++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt76x02_mac.h | 122 ++++++- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 325 ++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt76x02_util.h | 23 ++ drivers/net/wireless/mediatek/mt76/mt76x2.h | 23 +- drivers/net/wireless/mediatek/mt76/mt76x2_common.c | 254 +------------- drivers/net/wireless/mediatek/mt76/mt76x2_dma.c | 17 +- drivers/net/wireless/mediatek/mt76/mt76x2_init.c | 3 +- .../wireless/mediatek/mt76/mt76x2_init_common.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76x2_mac.c | 12 +- drivers/net/wireless/mediatek/mt76/mt76x2_mac.h | 110 +----- .../net/wireless/mediatek/mt76/mt76x2_mac_common.c | 368 +-------------------- drivers/net/wireless/mediatek/mt76/mt76x2_main.c | 50 +-- .../net/wireless/mediatek/mt76/mt76x2_phy_common.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76x2_tx.c | 3 +- .../net/wireless/mediatek/mt76/mt76x2_tx_common.c | 21 +- drivers/net/wireless/mediatek/mt76/mt76x2u_core.c | 18 +- drivers/net/wireless/mediatek/mt76/mt76x2u_main.c | 22 +- drivers/net/wireless/mediatek/mt76/tx.c | 16 + drivers/net/wireless/mediatek/mt76/usb.c | 6 +- 33 files changed, 974 insertions(+), 1723 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/util.c