Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3392719yba; Mon, 29 Apr 2019 01:13:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBPAmB9e3VtJeDafph1lqNkIeS3sWFgzoPuqzk4KpA0tcfHeOhEaAlGTI60QyhU+oL1qaU X-Received: by 2002:a17:902:8609:: with SMTP id f9mr58044762plo.32.1556525622665; Mon, 29 Apr 2019 01:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556525622; cv=none; d=google.com; s=arc-20160816; b=IcBpoU9i72WSeDMjj6yDvoQ2pYdAyumQLuSrfp2VJzUm9KD+Pl0seRlYYjlPkbwocK 07H4J3F9RBFQ0tYAGe9uGHmUbvNAADzLVY2YtDjir5QkzUleSw1Nv4za9uuBdyBDdnc7 OaVeoZmXTIy4/sQDxzZLkuirUU/jPFG+uTW/NjNz3HNQbYZ+TRCck2lKf0VwqI4D5TL/ 36dvIAlHheZhmwUKABWbG9j9e+fzfdrpvonY9iQVp16AKT0dt7isXcQvEt/DBdrUwxh5 u/eCFC8gFSaFsIsACKP7VFLuC8JNct2FvBQpoP+Ju6Jq0mxd+v23rrX3PV1vWQY2qqez UbRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pyp2MpefaT8g/l4VXzC4IodidYPXO8JdQE12C6acdQU=; b=bbLpMvdTVsKqhGRQbbknzraK+xoSIoiQYHWZG5fDZ49IR6J+wALsUDXsyVeYaAxa+m OGbav1pWhqCy9dZlaKR++dVlFC0Wm8PUNHyBrLS8iVHXQBUcuuIk9jnlkUWGLbQ/CpaR ydKYqvEYmXE2nL70KZYq/hv2MYwFkmBIqcJQRQFxbvPcYdz4S9G+0g10l4J4dppjjzWT 0anJ9TlxZMdXgbdgTxOJNVF+yq8+UrgBcJFDvd/woS+ah4oRlgjlD0nCE9iQvM/vqVKg ORPAfgHV1Wa+AQwLMTk3XW/Rvmx0mBQNTjMvoTLZUJctHmiwaEDIN6AnyJjThd7sxfyU xW5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Txl15e/I"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si31024071pgb.501.2019.04.29.01.13.22; Mon, 29 Apr 2019 01:13:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Txl15e/I"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbfD2INK (ORCPT + 99 others); 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 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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(-) -- 2.20.1