Skip to content

mac80211: backport bss color collision work patch

Marina Maslova requested to merge marsik-bss-color-work into devel

From 9288188438d85e22c23cfd6657ee8a801babc83c Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi lorenzo@kernel.org Date: Wed, 25 Jan 2023 12:01:02 +0100 Subject: wifi: mac80211: move color collision detection report in a delayed work

Move color collision report in a dedicated delayed work and do not run it in interrupt context in order to rate-limit the number of events reported to userspace. Moreover grab wdev mutex in ieee80211_color_collision_detection_work routine since it is required by cfg80211_obss_color_collision_notify().

Tested-by: Nicolas Cavallari nicolas.cavallari@green-communications.fr Signed-off-by: Lorenzo Bianconi lorenzo@kernel.org Fixes: 5f9404abdf2a ("mac80211: add support for BSS color change") Link: https://lore.kernel.org/r/3f6cf60c892ad40c1cca4a55d62b1224ef1c6ce9.1674644379.git.lorenzo@kernel.org Signed-off-by: Johannes Berg johannes.berg@intel.com

Merge request reports