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: 10587397 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 9A979174C for ; Tue, 4 Sep 2018 14:41:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8744B29A00 for ; Tue, 4 Sep 2018 14:41:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78C8F29A07; Tue, 4 Sep 2018 14:41:24 +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=-7.9 required=2.0 tests=BAYES_00,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 5CAEB29A00 for ; Tue, 4 Sep 2018 14:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbeIDTGo (ORCPT ); Tue, 4 Sep 2018 15:06:44 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46330 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725995AbeIDTGo (ORCPT ); Tue, 4 Sep 2018 15:06:44 -0400 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 Cc: Lorenzo Bianconi , Felix Fietkau , linux-mediatek@lists.infradead.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:'' 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 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