mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Robin <johnrobin044@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: kuba@kernel.org, matthias.bgg@gmail.com,
	angelogioacchino.delregno@collabora.com,
	linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
	John Robin <johnrobin044@gmail.com>
Subject: [PATCH v2 0/4] wifi: mt7601u: add AP and Wi-Fi Direct support
Date: Sun,  8 Nov 2026 12:47:42 +0530	[thread overview]
Message-ID: <20261108071820.35303-1-johnrobin044@gmail.com> (raw)
In-Reply-To: <7ededd2f-98d0-41ac-91b4-2977963c4637@gmail.com>

v2: Split the single large commit into a 4-patch series as requested.

This series enables Access Point (AP) and Wi-Fi Direct (P2P_GO/P2P_CLIENT)
interface modes on the MT7601U device, allowing concurrent Station and AP
operation. 

The changes are split into the following patches:

- Patch 1 fixes a potential out-of-bounds access in the rate index and
  safely falls back to CCK rates.
- Patch 2 registers the AP, P2P, and ADHOC modes, defines the interface 
  combinations, and sets NEEDS_UNIQUE_STA_ADDR.
- Patch 3 implements start_ap()/stop_ap() and adds beacon frame handling
  along with appropriate SYNC modes.
- Patch 4 optimizes queue management by routing management and injected
  frames to the Voice (VO) queue to bypass firmware suspension.

All implemented modes were verified to be working. Tested AP mode and
simultaneous STA+AP with iperf3 to verify stability.

Sorry for the delay in getting back to this, and thanks for the review.
Here is the split series as requested.

John Robin (4):
  wifi: mt7601u: fix out-of-bounds access in rate index
  wifi: mt7601u: enable AP and Wi-Fi Direct interface modes
  wifi: mt7601u: add AP operations and beacon handling
  wifi: mt7601u: optimize management frame routing and queues

 drivers/net/wireless/mediatek/mt7601u/init.c  | 31 ++++++-
 drivers/net/wireless/mediatek/mt7601u/mac.c   | 91 +++++++++++++++----
 drivers/net/wireless/mediatek/mt7601u/mac.h   |  3 +-
 drivers/net/wireless/mediatek/mt7601u/main.c  | 56 +++++++++++-
 .../net/wireless/mediatek/mt7601u/mt7601u.h   |  3 +-
 drivers/net/wireless/mediatek/mt7601u/tx.c    | 19 +++-
 6 files changed, 175 insertions(+), 28 deletions(-)

-- 
2.56.0


  reply	other threads:[~2026-11-08  7:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-15 12:41 [PATCH wireless-next] wifi: mt76: mt7601u: add support for AP and P2P concurrent modes John Robin
2026-10-09 13:11 ` Bitterblue Smith
2026-11-08  7:17   ` John Robin [this message]
2026-11-08  7:17     ` [PATCH v2 1/4] wifi: mt7601u: fix out-of-bounds access in rate index John Robin
2026-11-08  7:17     ` [PATCH v2 2/4] wifi: mt7601u: enable AP and Wi-Fi Direct interface modes John Robin
2026-11-08  7:17     ` [PATCH v2 3/4] wifi: mt7601u: add AP operations and beacon handling John Robin
2026-11-08  7:17     ` [PATCH v2 4/4] wifi: mt7601u: optimize management frame routing and queues John Robin

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=20261108071820.35303-1-johnrobin044@gmail.com \
    --to=johnrobin044@gmail.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    /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

all inboxes | Powered by JetHome®