wifi: cfg80211: add a flag for the first part of a scan
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 9 Jun 2025 18:35:23 +0000 (21:35 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jul 2025 09:52:36 +0000 (11:52 +0200)
commit62c57ebb3107842482bc5e3568a0202295a8db0d
treed17ab1f71dc0a67c1dff4a1b575a23a0476c8107
parent984462751d57047828ff4a799cc7d4670a2cfeb2
wifi: cfg80211: add a flag for the first part of a scan

When there are no non-6 GHz channels, then the 6 GHz scan is the first
part of a split scan. Add a boolean denoting whether the scan is the
first part of a scan as it might be useful to drivers for internal
bookkeeping. This flag is also set if the scan is not split.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250609213231.07e5a8a452ec.Ibf18f513e507422078fb31b28947e582a20df87a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/scan.c