Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v2 0/9] wifi: mt76: add mt7925 NAN support
@ 2026-06-25  0:18 Sean Wang
  2026-06-25  0:18 ` [PATCH v2 1/9] wifi: mt76: mt792x: advertise mgmt frame registration Sean Wang
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Sean Wang @ 2026-06-25  0:18 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi
  Cc: chengwei.yu, yu-ching.liu, jenhao.yang, posh.sun, linux-wireless,
	linux-mediatek, Sean Wang

Add NAN support for mt7925.  The series first advertises userspace
management-frame registration and hardens BSS capability lookups used by
partially configured BSS state.

The rest of the series adds the connac NAN connection type, mt7925 NAN 
MCU helpers and event handling, a generic init_wiphy callback, mac80211
NAN operations, firmware-gated interface combinations and NAN data
advertisement.

Changes since v1
  - Rebased and reworked the 7-patch v1 series into 9 focused patches.
  - v1 patch 2 and 3 are folded into one BSS capability guard patch.
  - v1 patch 7 is split into a framework-only interface combination
    patch and a final NAN/NAN_DATA advertisement patch.
  - v1 patch 5 is split into NAN MCU helpers and mt7925 MCU response,
    event and NAN-specific BSS/STA TLV handling.
  - v1 patch 6 is split so NAN PHY capability setup uses a generic
    init_wiphy callback before mac80211 NAN ops are wired.
  - Order init_wiphy before the mt7925 NAN ops patch so each patch
    builds independently.
  - Define MT792x_FW_CAP_NAN in the patch that first uses it. 
  - Move common NAN MCU command/event IDs to the connac patch and handle
    NAN_DATA as a NAN connection type.
  - Add NAN_DATA interface support, 2.4/5 GHz NAN bands and secure NAN 
    advertisement.
  - Add NMI address programming, DW notifications, local availability
    updates, peer schedule updates and NDI STA mapping.
  - Add cleanup and rollback for NAN peer indexes, NDP contexts and MCU 
    failures.
  - Drop temporary NAN channel debug logging and fix checkpatch issues.

Sean Wang (9):
  wifi: mt76: mt792x: advertise mgmt frame registration
  wifi: mt76: mt7925: guard BSS capability lookups
  wifi: mt76: connac: add NAN connection type
  wifi: mt76: mt7925: add NAN MCU helpers
  wifi: mt76: mt7925: add NAN MCU handling
  wifi: mt76: add init_wiphy callback
  wifi: mt76: mt7925: wire up NAN operations
  wifi: mt76: mt792x: build iface combinations dynamically
  wifi: mt76: mt792x: advertise NAN data support

 drivers/net/wireless/mediatek/mt76/mac80211.c |    7 +
 drivers/net/wireless/mediatek/mt76/mt76.h     |    3 +
 .../wireless/mediatek/mt76/mt76_connac_mcu.c  |   14 +
 .../wireless/mediatek/mt76/mt76_connac_mcu.h  |    4 +
 .../wireless/mediatek/mt76/mt7925/Makefile    |    2 +-
 .../net/wireless/mediatek/mt76/mt7925/init.c  |   29 +
 .../net/wireless/mediatek/mt76/mt7925/main.c  |  201 ++-
 .../net/wireless/mediatek/mt76/mt7925/mcu.c   |  125 +-
 .../net/wireless/mediatek/mt76/mt7925/nan.c   | 1091 +++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7925/nan.h   |  440 +++++++
 .../net/wireless/mediatek/mt76/mt7925/regd.c  |   30 +
 .../net/wireless/mediatek/mt76/mt7925/regd.h  |    3 +
 drivers/net/wireless/mediatek/mt76/mt792x.h   |   43 +
 .../net/wireless/mediatek/mt76/mt792x_core.c  |  125 +-
 14 files changed, 2077 insertions(+), 40 deletions(-)
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/nan.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/nan.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-06-25  0:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25  0:18 [PATCH v2 0/9] wifi: mt76: add mt7925 NAN support Sean Wang
2026-06-25  0:18 ` [PATCH v2 1/9] wifi: mt76: mt792x: advertise mgmt frame registration Sean Wang
2026-06-25  0:18 ` [PATCH v2 2/9] wifi: mt76: mt7925: guard BSS capability lookups Sean Wang
2026-06-25  0:18 ` [PATCH v2 3/9] wifi: mt76: connac: add NAN connection type Sean Wang
2026-06-25  0:18 ` [PATCH v2 4/9] wifi: mt76: mt7925: add NAN MCU helpers Sean Wang
2026-06-25  0:18 ` [PATCH v2 5/9] wifi: mt76: mt7925: add NAN MCU handling Sean Wang
2026-06-25  0:18 ` [PATCH v2 6/9] wifi: mt76: add init_wiphy callback Sean Wang
2026-06-25  0:18 ` [PATCH v2 7/9] wifi: mt76: mt7925: wire up NAN operations Sean Wang
2026-06-25  0:18 ` [PATCH v2 8/9] wifi: mt76: mt792x: build iface combinations dynamically Sean Wang
2026-06-25  0:18 ` [PATCH v2 9/9] wifi: mt76: mt792x: advertise NAN data support Sean Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox