Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10736624pxu; Wed, 30 Dec 2020 10:09:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfbI4p2ns11n39gJpVyvprgurCLtwn86BMBJSL0NcTRR9fwF/Yk+kJMwK2yUOy+d7V3VYx X-Received: by 2002:a17:906:391b:: with SMTP id f27mr48850653eje.195.1609351777237; Wed, 30 Dec 2020 10:09:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609351777; cv=none; d=google.com; s=arc-20160816; b=ZI0suHqrrLIsIrPGOJkkOpxnPASz68uXzND+9k2hXxzeBXiv7iHHkhUPNqDLW3QB1m R/6eBS2zptFn4QAMgJKFGjMk4ftblZRwvk4o3vODWU8rLbP2id9oiYNmxpF53pzTkvVZ agQ5LjfaIAbdm5d02r6TCRe1rwiwtO7JDj93W7SgKtjhFJoR2shoqT7rLU5tZtwic4ij QYgzKNzkzxi64JhWfo1XyZKNX7hswaZaxAgYjqayh5nEZL7wOX6BYSJwHTBSWtCJ8zkF zLBclW5EhVZkOllHfiJbL+L/sEYWq3d3UnvNZlFO3leE1bwOcaIiCvOjnmijtcGMFl9S /Xhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=5zpjmxPASsaRipGRJkOdgOyOQlJ8zqw0rlyQJNH/INY=; b=r/tlBzXbz++KscKwmJt0GsiZOm/nMsqpqvhYlnBFmmnc0kj1+oEv+b3V8dYHBK5/Sp VEEk92rhiqu9LKBCQBahUIy7EkgQmdyz795EMXpwRoR6ehkqB16rXSHUPaW4lxxhqKHl mRwoVZ0GtjzrwCxeMS4fLq8e2Tx74SXzjtWrhZVTTiKLYoEN4Of7Lwh7NvAKJOQmsoR9 spSLU8fVvdylVhLC4fFFaj8ASJ0hr1DAKUrcev4k/L4wgzwDeQoecSacHnSM+7HCzHTR 7Hx4UiWYzCVPYMYNDPFwZaeF8upf4CdjDkzNwOJY46zSXVUji0nh8BWm5x0vqjw/QYTi FAag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si7si21989310ejb.5.2020.12.30.10.09.13; Wed, 30 Dec 2020 10:09:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgL3SH1 (ORCPT + 99 others); Wed, 30 Dec 2020 13:07:27 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:33542 "EHLO mailgw01.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbgL3SH1 (ORCPT ); Wed, 30 Dec 2020 13:07:27 -0500 X-UUID: 11e883e495fa496e962e851fd94d1675-20201231 X-UUID: 11e883e495fa496e962e851fd94d1675-20201231 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 731332662; Thu, 31 Dec 2020 02:06:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 31 Dec 2020 02:06:30 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 31 Dec 2020 02:06:30 +0800 From: To: , CC: , , , , , , , , , , Sean Wang Subject: [PATCH -next v4 00/13] introduce mt7921e support Date: Thu, 31 Dec 2020 02:06:11 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Sean Wang Introduce support for mt7921e 802.11ax (Wi-Fi 6) 2x2:2SS chipset. v2: - Mark the patch as -next v3: - Remove sw scan support - Get rid of dbdc code - Run mt7921_configure_filter hodling mt76 mutex - Correct Txp programming in Txd - Correct fw log to host command - Correct eeprom offset definition - Update rate adaption info report - Remove unused code and fields in struture - Split the previous driver into several patches for easy review v4: - introduce sched scan support - introduce 802.11 PS support in sta mode - introduce support for hardware beacon filter - introduce beacon_loss mcu event - introduce PM support - refine sta_rec_phy and add sta_rec_ra_info - remove incorrect mt7921_mcu_tx_config member - fix erroneous endianness conversion in mt7921_tx_complete_skb() - fix endianness warning in mt7921_get_wtbl_info() - fix endianness warnings in mt7921_mcu_sta_tlv() - remove unused code in mt7921_mcu_send_message - remove scan with random mac until fw is ready - channel domain is added for hw scan Sean Wang (13): mt76: mt7921: add module support mt76: mt7921: add MCU support mt76: mt7921: add MAC support mt76: mt7921: add DMA support mt76: mt7921: add EEPROM support mt76: mt7921: add ieee80211_ops mt76: mt7921: introduce mt7921e support mt76: mt7921: add debugfs support mt76: mt7921: introduce schedule scan support mt76: mt7921: introduce 802.11 PS support in sta mode mt76: mt7921: introduce support for hardware beacon filter mt76: mt7921: introduce beacon_loss mcu event mt76: mt7921: introduce PM support drivers/net/wireless/mediatek/mt76/Kconfig | 1 + drivers/net/wireless/mediatek/mt76/Makefile | 1 + .../net/wireless/mediatek/mt76/mt7921/Kconfig | 10 + .../wireless/mediatek/mt76/mt7921/Makefile | 5 + .../wireless/mediatek/mt76/mt7921/debugfs.c | 178 + .../net/wireless/mediatek/mt76/mt7921/dma.c | 356 ++ .../wireless/mediatek/mt76/mt7921/eeprom.c | 101 + .../wireless/mediatek/mt76/mt7921/eeprom.h | 27 + .../net/wireless/mediatek/mt76/mt7921/init.c | 270 ++ .../net/wireless/mediatek/mt76/mt7921/mac.c | 1366 ++++++++ .../net/wireless/mediatek/mt76/mt7921/mac.h | 333 ++ .../net/wireless/mediatek/mt76/mt7921/main.c | 1050 ++++++ .../net/wireless/mediatek/mt76/mt7921/mcu.c | 2924 +++++++++++++++++ .../net/wireless/mediatek/mt76/mt7921/mcu.h | 1175 +++++++ .../wireless/mediatek/mt76/mt7921/mt7921.h | 374 +++ .../net/wireless/mediatek/mt76/mt7921/pci.c | 279 ++ .../net/wireless/mediatek/mt76/mt7921/regs.h | 413 +++ 17 files changed, 8863 insertions(+) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Kconfig create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Makefile create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/dma.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/main.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mcu.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/pci.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/regs.h -- 2.25.1