From patchwork Mon Apr 29 08:12:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10921353 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 5ABCD14B6 for ; Mon, 29 Apr 2019 08:13:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D81C28680 for ; Mon, 29 Apr 2019 08:13:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C08E287C8; Mon, 29 Apr 2019 08:13:13 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 73ADF28680 for ; Mon, 29 Apr 2019 08:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727522AbfD2INK (ORCPT ); Mon, 29 Apr 2019 04:13:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:33514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727439AbfD2INK (ORCPT ); Mon, 29 Apr 2019 04:13:10 -0400 Received: from localhost.localdomain (unknown [151.66.22.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D7A76206BF; Mon, 29 Apr 2019 08:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556525589; bh=axbGlAGlUhsmRLt32xfxYyJFZMWpJH+5Xd+wng/pJlc=; h=From:To:Cc:Subject:Date:From; b=Txl15e/I9lRSNqL1Wrp8saQcv0AaBEL6LJDD57MzaSRk4Ypng2DB1Bgn5yEeF3V2T iGma5TC+giGsWgBdXPtBgDK8bR1rgOXhrEcNVLiXsHd7rNVsFNSko7MuPD7FT5haFJ u2ZkmqWGFFDJTJQfaxTBNuoiCpP5RkwTQfcQDlcc= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, sgruszka@redhat.com Subject: [PATCH v2 0/5] mt76: move common beacon code in mt76 module Date: Mon, 29 Apr 2019 10:12:57 +0200 Message-Id: X-Mailer: git-send-email 2.20.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 Move beacon data structures shared between mt76x02 and mt7603 drivers in mt76_dev. Enable/disable pre_tbtt_tasklet tasklet in mt7603_set_channel Changes since v1: - added new patch: 'mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete' Lorenzo Bianconi (5): mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete mt76: move beacon_int in mt76_dev mt76: move beacon_mask in mt76_dev mt76: move pre_tbtt_tasklet in mt76_dev mt76: mt7603: enable/disable pre_tbtt_tasklet in mt7603_set_channel drivers/net/wireless/mediatek/mt76/mt76.h | 4 ++++ .../wireless/mediatek/mt76/mt7603/beacon.c | 19 ++++++++++--------- .../net/wireless/mediatek/mt76/mt7603/core.c | 2 +- .../net/wireless/mediatek/mt76/mt7603/init.c | 4 ++-- .../net/wireless/mediatek/mt76/mt7603/mac.c | 6 +++--- .../net/wireless/mediatek/mt76/mt7603/main.c | 11 +++++++---- .../wireless/mediatek/mt76/mt7603/mt7603.h | 5 ----- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 3 --- .../wireless/mediatek/mt76/mt76x02_beacon.c | 18 +++++++++--------- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 2 +- .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 18 +++++++++--------- .../wireless/mediatek/mt76/mt76x02_usb_core.c | 11 ++++++----- .../net/wireless/mediatek/mt76/mt76x02_util.c | 7 +------ .../wireless/mediatek/mt76/mt76x2/pci_init.c | 2 +- .../wireless/mediatek/mt76/mt76x2/pci_main.c | 4 ++-- 16 files changed, 57 insertions(+), 61 deletions(-)