public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless-next v1 0/4]  wifi: nl80211: introduce PROBE_PEER for AP and STA with MLO support
@ 2026-04-15  9:43 Priyansha Tiwari
  2026-04-15  9:43 ` [PATCH wireless-next v1 1/4] wifi: nl80211: rename PROBE_CLIENT to PROBE_PEER and add STA-side probing support Priyansha Tiwari
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Priyansha Tiwari @ 2026-04-15  9:43 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, quic_drohan

From: Priyansha Tiwari <priyansha.tiwari@oss.qualcomm.com>

This series introduces a unified mechanism to probe connected peers.
It generalizes the legacy AP-only PROBE_CLIENT functionality by adding
NL80211_CMD_PROBE_PEER and enabling (feature-gated) STA-side probing.
With this, AP/GO continues to probe associated stations as before, and
STA/P2P-client can probe the connected AP for faster link health checks.
For MLO connections, mac80211 supports per-link STA probing to obtain
link-specific ACK and RSSI information.

Patch 1 adds NL80211_CMD_PROBE_PEER (keeping PROBE_CLIENT as a
compatibility alias) and introduces NL80211_EXT_FEATURE_PROBE_AP to
advertise STA-side support in drivers/firmware.

Patch 2 renames the cfg80211 driver op from probe_client() to probe_peer(),
extends cfg80211_probe_status() to carry (peer address, link_id), updates the
nl80211 handler to NL80211_CMD_PROBE_PEER with proper validation (AP/GO:
MAC required; STA: MAC omitted, feature-gated), and adjusts all in-tree
users (wil6210, mwifiex, mac80211) so the tree builds after this patch.

Patch 3 adds per-link PROBE_PEER support in mac80211 for STA/P2P-client
mode. For MLO STA/P2P-client, it uses IEEE80211_LINK_UNSPECIFIED with
MLD addresses and lets the driver select the link. For non-MLO
STA/P2P-client, it uses link 0 with the per-link BSSID and link
address. In the TX status path, the peer address is omitted for
STA/P2P-client mode and the transmitted link is reported through the
link_valid/link_id bitfields in struct ieee80211_tx_info.status, which
drivers fill before calling ieee80211_tx_status_ext(). AP/GO behavior
is unchanged.

Patch 4 makes mac80211_hwsim populate link_valid/link_id in TX status
for both the direct TX status path and the wmediumd/netlink TX status
path.

Priyansha Tiwari (4):
  wifi: nl80211: rename PROBE_CLIENT to PROBE_PEER and add STA-side
    probing support
  wifi: cfg80211/nl80211: rename to probe_peer(), extend probe status,
    and update in-tree users
  wifi: mac80211: add per-link PROBE_PEER support
  wifi: mac80211_hwsim: report TX status link_id

 drivers/net/wireless/ath/wil6210/cfg80211.c   |  11 +-
 .../net/wireless/marvell/mwifiex/cfg80211.c   |   8 +-
 drivers/net/wireless/virtual/mac80211_hwsim.c |  46 +++-
 include/net/cfg80211.h                        |  16 +-
 include/net/mac80211.h                        |   2 +-
 include/uapi/linux/nl80211.h                  |  27 ++-
 net/mac80211/cfg.c                            | 199 ++++++++++++------
 net/mac80211/status.c                         |  30 ++-
 net/wireless/nl80211.c                        |  93 +++++---
 net/wireless/rdev-ops.h                       |  10 +-
 net/wireless/trace.h                          |   2 +-
 11 files changed, 315 insertions(+), 129 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-17 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15  9:43 [PATCH wireless-next v1 0/4] wifi: nl80211: introduce PROBE_PEER for AP and STA with MLO support Priyansha Tiwari
2026-04-15  9:43 ` [PATCH wireless-next v1 1/4] wifi: nl80211: rename PROBE_CLIENT to PROBE_PEER and add STA-side probing support Priyansha Tiwari
2026-04-15  9:53   ` Johannes Berg
2026-04-17 13:28     ` Priyansha Tiwari
2026-04-15  9:43 ` [PATCH wireless-next v1 2/4] wifi: cfg80211/nl80211: rename to probe_peer(), extend probe status, and update in-tree users Priyansha Tiwari
2026-04-15  9:43 ` [PATCH wireless-next v1 3/4] wifi: mac80211: add per-link PROBE_PEER support Priyansha Tiwari
2026-04-15  9:43 ` [PATCH wireless-next v1 4/4] wifi: mac80211_hwsim: report TX status link_id Priyansha Tiwari
2026-04-15  9:48   ` Johannes Berg

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