mbox series

[v2,0/7] wifi: cfg80211/mac80211: add support for HE BSS color handling with Multi-Link Operation

Message ID 20240422053412.2024075-1-quic_adisi@quicinc.com (mailing list archive)
Headers show
Series wifi: cfg80211/mac80211: add support for HE BSS color handling with Multi-Link Operation | expand

Message

Aditya Kumar Singh April 22, 2024, 5:34 a.m. UTC
Currently, deflink (or link_id 0) is always considered while handling HE
BSS color. However, with Multi-Link Operation (MLO), there is a need to
handle link specific data structures based on the actual operational
link_id.

Hence, add support for the same. Non-MLO based operations will continue to
use link_id as 0 or deflink member as applicable.

At the same time, add support for BSS color by mac80211_hwsim.

Aditya Kumar Singh (7):
  wifi: cfg80211: send link id in color_change ops
  wifi: cfg80211: notify link ID in bss_color_notify
  wifi: mac80211: handle set color_change/after_color_change beacon on
    per link basis
  wifi: mac80211: handle color_change_abort and bss_config_notify on per
    link
  wifi: mac80211: start and finalize color change on link basis
  wifi: mac80211: add support to call color_change and OBSS collision on
    a link
  wifi: mac80211_hwsim: add support for BSS color
---
v2: * Rebased on ToT
    * Fix sparse warning -
      warning: context imbalance in 'ieee80211_obss_color_collision_notify'
               - different lock contexts for basic block

---
 drivers/net/wireless/ath/ath11k/mac.c         |   2 +-
 drivers/net/wireless/ath/ath11k/wmi.c         |   3 +-
 .../net/wireless/mediatek/mt76/mt7915/mcu.c   |   2 +-
 .../net/wireless/mediatek/mt76/mt7996/mcu.c   |   2 +-
 drivers/net/wireless/virtual/mac80211_hwsim.c |   6 +
 include/net/cfg80211.h                        |  29 ++--
 include/net/mac80211.h                        |   6 +-
 net/mac80211/cfg.c                            | 144 ++++++++++++------
 net/mac80211/rx.c                             |   7 +-
 net/wireless/nl80211.c                        |  10 +-
 net/wireless/trace.h                          |   6 +-
 11 files changed, 149 insertions(+), 68 deletions(-)


base-commit: b0d2d8f996c1ce3d4c8a1c8cb7d634536e7c2118