Re: [PATCH v2 0/4] Add support for MediaTek MT7615 wireless chipsets

From: Ryder Lee
Date: Mon Apr 01 2019 - 03:20:52 EST


On Mon, 2019-04-01 at 14:56 +0800, Ryder Lee wrote:
> This adds support for MediaTek MT7615E 4x4 802.11ac PCIe-based chipsets.
>
> In the legacy tx arch, we move and store the whole skb content to the
> on-device memory when we send packets via high speed interface. (e.g. PCIe)
>
> However, MT7615 and the following generation use a new tx arch called
> âcut-throughâ, which only passes the physical address to the hardware,
> and the packet engine will fetch the packets before transmission.
>
> It saves on-chip memory for high throughput devices, and the token mechanism
> is used to manage the release of skb under this arch.
>
> And there might be other (existing or future) chips that use the same driver
> (e.g. mt7622/mt7663...), this is a starting point to unify MTK wireless chipsets.
>
> Detailed hardware information for this chip could be found on
> https://wikidevi.com/wiki/MediaTek_MT7615
>
> Ryder Lee (4):
> mt76: add mac80211 driver for MT7615 PCIe-based chipsets
> mt76: add unlikely() for dma_mapping_error() check
> mt76: use macro for sn and seq_ctrl conversion
> MAINTAINERS : update entry for mt76 wireless driver
>
> MAINTAINERS | 2 +
> drivers/net/wireless/mediatek/mt76/Kconfig | 1 +
> drivers/net/wireless/mediatek/mt76/Makefile | 1 +
> drivers/net/wireless/mediatek/mt76/agg-rx.c | 2 +-
> drivers/net/wireless/mediatek/mt76/dma.c | 8 +-
> drivers/net/wireless/mediatek/mt76/mt7603/mac.c | 2 +-
> drivers/net/wireless/mediatek/mt76/mt7603/main.c | 2 +-
> drivers/net/wireless/mediatek/mt76/mt7615/Kconfig | 7 +
> drivers/net/wireless/mediatek/mt76/mt7615/Makefile | 5 +
> drivers/net/wireless/mediatek/mt76/mt7615/dma.c | 205 +++
> drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c | 98 ++
> drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h | 18 +
> drivers/net/wireless/mediatek/mt76/mt7615/init.c | 229 +++
> drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 774 +++++++++
> drivers/net/wireless/mediatek/mt76/mt7615/mac.h | 300 ++++
> drivers/net/wireless/mediatek/mt76/mt7615/main.c | 499 ++++++
> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 1656 ++++++++++++++++++++
> drivers/net/wireless/mediatek/mt76/mt7615/mcu.h | 520 ++++++
> drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h | 195 +++
> drivers/net/wireless/mediatek/mt76/mt7615/pci.c | 150 ++
> drivers/net/wireless/mediatek/mt76/mt7615/regs.h | 203 +++
> drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 2 +-
> 22 files changed, 4871 insertions(+), 8 deletions(-)
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/Makefile
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/dma.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/init.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/mac.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/mac.h
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/main.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/pci.c
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/regs.h
>

My bad. I fixed the compilation issue in V3.

Sorry for the inconvenience.
Ryder