From patchwork Sat Oct 20 10:13:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10650335 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 E28E7109C for ; Sat, 20 Oct 2018 10:13:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C21A7200E5 for ; Sat, 20 Oct 2018 10:13:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0549268AE; Sat, 20 Oct 2018 10:13:44 +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 490D5200E5 for ; Sat, 20 Oct 2018 10:13:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727404AbeJTSXh (ORCPT ); Sat, 20 Oct 2018 14:23:37 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:40053 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727270AbeJTSXg (ORCPT ); Sat, 20 Oct 2018 14:23:36 -0400 Received: by mail-wr1-f48.google.com with SMTP id d2-v6so39880715wro.7 for ; Sat, 20 Oct 2018 03:13:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+27fONX9vpxFQvet76TUlvJjHok+oRTxLwVavkrRBXU=; b=Ptn/VvIW9QVk0cCfHw7UAYlK6biMF8sIifv3qmpDAi4cQsNENaKGz3aHR1jtFEHwiB /boxvw485udLFEYy5VHC59y5W2talCVhl8OUnWcojm7f9kQ388rWxV625amxVuTCBNW1 es9iHCnrkoGhQUWsUX+eJU+dr2CRc1hriNUphjRNllXkZrRr3OzCB68N0Tg85ONVPNKL pgdxNz214us1pbcsRMvuHj4A6ldlE5PwcZUzVUNQls3pAXTw/pzRQ1nyIA+7F2mQR8A/ kvIUkZ8SKk74Ckzk/0u2Qk1fy09Mt4rHPNTDw3p3SnY5myuJcPUYoDLj6VZxF0z5/kiX aJwg== X-Gm-Message-State: ABuFfoh1F7qbEqLeowX2St6adTD6EG16Z9YEzFYOjBSA8NTXgeR8E6UZ WzuJFsPC2SWP886QsPspCrI5UFd7srQ= X-Google-Smtp-Source: ACcGV62kGiG1Jo/kweGUUN8ga9zfGQ10y7PTiZUc+w9AuOtH3ljdyqcvOlFWsirAUyTxa6hgbRt+7w== X-Received: by 2002:a5d:488a:: with SMTP id g10-v6mr38026106wrq.0.1540030420751; Sat, 20 Oct 2018 03:13:40 -0700 (PDT) Received: from localhost.localdomain ([151.66.57.235]) by smtp.gmail.com with ESMTPSA id c2-v6sm19548631wrt.77.2018.10.20.03.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Oct 2018 03:13:39 -0700 (PDT) From: Lorenzo Bianconi To: nbd@nbd.name Cc: sgruszka@redhat.com, linux-wireless@vger.kernel.org Subject: [PATCH 0/9] enable AP support in mt76x0e driver Date: Sat, 20 Oct 2018 12:13:23 +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 Add beacon transmission/management support to mt76x0 driver. Add missing mac80211 callbacks to mt76x0e driver in order to enable AP support Lorenzo Bianconi (9): mt76: move mt76x02_init_device in mt76x02-lib module mt76: move mac beacon routines in mt76x02-lib module mt76: move tx beacon routines in mt76x02-lib module mt76x0: pci: add pre_tbtt_tasklet support mt76: move mt76x02_sw_scan and mt76x02_sw_scan_complete in mt76x02-lib module mt76: move mt76x02_get_txpower in mt76x02_util.c mt76: move mt76x02_sta_ps in mt76x02-lib module mt76: introduce mt76x02_init_beacon_config routine mt76x0: pci: enable AP support .../wireless/mediatek/mt76/mt76x0/eeprom.c | 2 - .../net/wireless/mediatek/mt76/mt76x0/init.c | 44 +---- .../net/wireless/mediatek/mt76/mt76x0/mac.c | 20 --- .../net/wireless/mediatek/mt76/mt76x0/main.c | 52 ++---- .../wireless/mediatek/mt76/mt76x0/mt76x0.h | 6 - .../net/wireless/mediatek/mt76/mt76x0/pci.c | 24 ++- .../net/wireless/mediatek/mt76/mt76x0/usb.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 10 +- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 123 +++++++++++++ .../net/wireless/mediatek/mt76/mt76x02_mac.h | 6 + .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 127 ++++++++++++++ .../net/wireless/mediatek/mt76/mt76x02_util.c | 163 +++++++++++++++++- .../wireless/mediatek/mt76/mt76x2/Makefile | 4 +- .../net/wireless/mediatek/mt76/mt76x2/init.c | 34 ---- .../net/wireless/mediatek/mt76/mt76x2/mac.h | 5 - .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 5 - .../wireless/mediatek/mt76/mt76x2/pci_init.c | 65 +------ .../wireless/mediatek/mt76/mt76x2/pci_mac.c | 118 ------------- .../wireless/mediatek/mt76/mt76x2/pci_main.c | 55 +----- .../wireless/mediatek/mt76/mt76x2/pci_tx.c | 142 --------------- .../wireless/mediatek/mt76/mt76x2/usb_init.c | 5 +- .../wireless/mediatek/mt76/mt76x2/usb_main.c | 22 +-- 22 files changed, 487 insertions(+), 550 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2/pci_tx.c