wifi: mac80211: Schedule regulatory channels check on bandwith change

Some devices may support concurrent DFS operation which relies on the
BSS channel width for its relaxations. Notify cfg80211 about BW change
so it can schedule regulatory checks.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231220133549.e08f8e9ebc67.If8915d13e203ebd380579f55fd9148e9b3f43306@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Andrei Otcheretianski 2023-12-20 13:41:36 +02:00 committed by Johannes Berg
parent 9be61558de
commit 513b1a168c

View File

@ -598,6 +598,7 @@ static int ieee80211_config_bw(struct ieee80211_link_data *link,
return ret;
}
cfg80211_schedule_channels_check(&sdata->wdev);
return 0;
}