Patch 1 and 2 are clean ups.
Patch 3 is actually fixing the issue.
---
Changes in v4:
- Rebased on ToT.
- Handled get radio idx callers properly and simplified the logic overall.
- Link to v3: https://lore.kernel.org/r/20250625-fix_scan_ap_flag_requirement_during_mlo-v3-1-dca408b10ba4@oss.qualcomm.com
Changes in v3:
- Rebased on ToT.
- Fixed hwsim warning issues.
- Link to v2: https://lore.kernel.org/r/20250624-fix_scan_ap_flag_requirement_during_mlo-v2-1-c8067d0ee1f0@oss.qualcomm.com
Changes in v2:
- Rebased on ToT after dependent changes got merged.
- Link to v1: https://lore.kernel.org/r/20250528-fix_scan_ap_flag_requirement_during_mlo-v1-1-35ac0e3a2f7b@oss.qualcomm.com
---
Aditya Kumar Singh (3):
wifi: cfg80211: fix return value in cfg80211_get_radio_idx_by_chan()
wifi: mac80211: simplify return value handling of cfg80211_get_radio_idx_by_chan()
wifi: mac80211: consider links for validating SCAN_FLAG_AP in scan request during MLO
include/net/cfg80211.h | 2 +-
net/mac80211/cfg.c | 34 +++++++++++++++++-----------------
net/mac80211/chan.c | 11 -----------
net/mac80211/util.c | 15 ++++++---------
net/wireless/util.c | 2 +-
5 files changed, 25 insertions(+), 39 deletions(-)
---
base-commit: d9104cec3e8fe4b458b74709853231385779001f
change-id: 20250527-fix_scan_ap_flag_requirement_during_mlo-d9bce1b859a1