linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: nbd@nbd.name
Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org
Subject: [PATCH v2 00/15] mt76: introduce connac3_mac support
Date: Fri,  9 Jun 2023 10:15:29 +0200	[thread overview]
Message-ID: <cover.1686298162.git.lorenzo@kernel.org> (raw)

Introduce connac3_mac in mt76_connac library to reuse mac code shared
between WiFi7 chipsets.
Move the following common mac fields in mt76_struct/mt76_wcid:
- sta_poll_list
- sta_poll_lock
- poll_list
- ampdu_state

Move the following routines in mt76-connac lib since they are shared
between mt7915 and mt7921:
- mt76_connac2_tx_check_aggr
- mt76_connac2_txwi_free
- mt76_connac2_tx_token_put

Changes since v1:
- rebase on top wireless-next tree
- fix connac3_mac library
- fix compilation warnings

Lorenzo Bianconi (15):
  wifi: mt76: mt7915: move sta_poll_list and sta_poll_lock in mt76_dev
  wifi: mt76: mt7603: rely on shared sta_poll_list and sta_poll_lock
  wifi: mt76: mt7615: rely on shared sta_poll_list and sta_poll_lock
  wifi: mt76: mt7996: rely on shared sta_poll_list and sta_poll_lock
  wifi: mt76: mt7921: rely on shared sta_poll_list and sta_poll_lock
  wifi: mt76: mt7915: move poll_list in mt76_wcid
  wifi: mt76: mt7603: rely on shared poll_list field
  wifi: mt76: mt7615: rely on shared poll_list field
  wifi: mt76: mt7996: rely on shared poll_list field
  wifi: mt76: mt7921: rely on shared poll_list field
  wifi: mt76: move ampdu_state in mt76_wcid
  mt76: connac: move more mt7921/mt7915 mac shared code in connac lib
  wifi: mt76: move rate info in mt76_vif
  wifi: mt76: connac: move connac3 definitions in mt76_connac3_mac.h
  wifi: mt76: connac: add connac3 mac library

 drivers/net/wireless/mediatek/mt76/Makefile   |   2 +-
 drivers/net/wireless/mediatek/mt76/mac80211.c |   2 +
 drivers/net/wireless/mediatek/mt76/mt76.h     |   9 +
 .../net/wireless/mediatek/mt76/mt7603/init.c  |   2 -
 .../net/wireless/mediatek/mt76/mt7603/mac.c   |  22 +-
 .../net/wireless/mediatek/mt76/mt7603/main.c  |  20 +-
 .../wireless/mediatek/mt76/mt7603/mt7603.h    |   4 -
 .../net/wireless/mediatek/mt76/mt7615/init.c  |   2 -
 .../net/wireless/mediatek/mt76/mt7615/mac.c   |  31 +-
 .../net/wireless/mediatek/mt76/mt7615/main.c  |  20 +-
 .../wireless/mediatek/mt76/mt7615/mt7615.h    |   4 -
 .../net/wireless/mediatek/mt76/mt76_connac.h  |  24 +
 .../wireless/mediatek/mt76/mt76_connac3_mac.c | 742 ++++++++++++++++
 .../wireless/mediatek/mt76/mt76_connac3_mac.h | 343 ++++++++
 .../wireless/mediatek/mt76/mt76_connac_mac.c  |  82 ++
 .../net/wireless/mediatek/mt76/mt7915/init.c  |   4 +-
 .../net/wireless/mediatek/mt76/mt7915/mac.c   | 140 +--
 .../net/wireless/mediatek/mt76/mt7915/main.c  |  30 +-
 .../wireless/mediatek/mt76/mt7915/mt7915.h    |   5 -
 .../net/wireless/mediatek/mt76/mt7921/init.c  |   2 -
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 104 +--
 .../net/wireless/mediatek/mt76/mt7921/main.c  |  26 +-
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |   9 -
 .../net/wireless/mediatek/mt76/mt7921/pci.c   |   2 +-
 .../wireless/mediatek/mt76/mt7921/pci_mac.c   |  16 +-
 .../net/wireless/mediatek/mt76/mt7996/init.c  |   6 +-
 .../net/wireless/mediatek/mt76/mt7996/mac.c   | 803 +-----------------
 .../net/wireless/mediatek/mt76/mt7996/mac.h   | 315 +------
 .../net/wireless/mediatek/mt76/mt7996/main.c  |  42 +-
 .../net/wireless/mediatek/mt76/mt7996/mcu.c   |  11 +-
 .../wireless/mediatek/mt76/mt7996/mt7996.h    |  36 +-
 31 files changed, 1403 insertions(+), 1457 deletions(-)
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.h

-- 
2.40.1


             reply	other threads:[~2023-06-09  8:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09  8:15 Lorenzo Bianconi [this message]
2023-06-09  8:15 ` [PATCH v2 01/15] wifi: mt76: mt7915: move sta_poll_list and sta_poll_lock in mt76_dev Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 02/15] wifi: mt76: mt7603: rely on shared sta_poll_list and sta_poll_lock Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 03/15] wifi: mt76: mt7615: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 04/15] wifi: mt76: mt7996: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 05/15] wifi: mt76: mt7921: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 06/15] wifi: mt76: mt7915: move poll_list in mt76_wcid Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 07/15] wifi: mt76: mt7603: rely on shared poll_list field Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 08/15] wifi: mt76: mt7615: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 09/15] wifi: mt76: mt7996: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 10/15] wifi: mt76: mt7921: " Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 11/15] wifi: mt76: move ampdu_state in mt76_wcid Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 12/15] mt76: connac: move more mt7921/mt7915 mac shared code in connac lib Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 13/15] wifi: mt76: move rate info in mt76_vif Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 14/15] wifi: mt76: connac: move connac3 definitions in mt76_connac3_mac.h Lorenzo Bianconi
2023-06-09  8:15 ` [PATCH v2 15/15] wifi: mt76: connac: add connac3 mac library Lorenzo Bianconi
2023-06-09 16:15   ` Ryder Lee
2023-06-09 16:34     ` lorenzo.bianconi
2023-06-09 16:38       ` Ryder Lee
2023-06-09 16:45         ` lorenzo
     [not found]           ` <PH8PR12MB7230DC95457EF9C667E679AEAC51A@PH8PR12MB7230.namprd12.prod.outlook.com>
     [not found]             ` <3cae89c45b0f17eaab20876eb50572ef202f92bc.camel@mediatek.com>
2023-06-09 19:04               ` shayne.chen
2023-06-10 10:06                 ` lorenzo
2023-06-10 13:49                   ` shayne.chen
2023-06-10 14:59                     ` Ryder Lee
2023-06-10  2:22           ` Deren Wu (武德仁)
2023-06-10  7:49             ` lorenzo
2023-06-12  8:58               ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1686298162.git.lorenzo@kernel.org \
    --to=lorenzo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).