diff options
| author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2026-05-27 22:51:43 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-05-28 10:50:22 +0300 |
| commit | 8facc23dc26eb185146a6c0ae68ae6b9f130eee2 (patch) | |
| tree | 5ca374768090da4fc6ab8628694b99dda9067676 /include/linux/workqueue.h | |
| parent | 847f7ead7bdcd6ef4aef12fb1efbd4bf276d0a13 (diff) | |
| download | linux-8facc23dc26eb185146a6c0ae68ae6b9f130eee2.tar.xz | |
wifi: mac80211: add an option to filter out a channel in combinations check
Sometimes, ieee80211_check_combinations fails, but it is hard to know
why exactly. We will have to return an array of reasons, one per
combination.
In cases where we want to check if it failed because there are not
enough chanctxs (and maybe remove one if needed), we can just not fill
in that chanctx(s) in iface_combination_params::num_different_channels
in ieee80211_fill_ifcomb_params, so that chanctx(s) won't be taken into
account.
To allow that, add an option to pass a callback to
ieee80211_fill_ifcomb_params. This callback will be called for each
chanctx we consider to count in num_different_channels and will return
whether or not this chanctx should be skipped and not counted.
This mechanism will be used later.
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260527224745.0042232f996e.I5d323125e34f3b253510e85ceb7a770d59f689fb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
